(self.webpackChunkmavunoorgbackend=self.webpackChunkmavunoorgbackend||[]).push([[1590],{55360:(U,C,e)=>{"use strict";e.d(C,{c:()=>P});var i=e(71420),a=e.n(i),l=e(34452),c=e.n(l),v=e(70396),_=e.n(v),T=new URL(e(11920),e.b),A=c()(a()),R=_()(T);A.push([U.id,`/*!
 * Cropper.js v1.6.0
 * https://fengyuanchen.github.io/cropperjs
 *
 * Copyright 2015-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2023-08-26T08:14:25.104Z
 */

.cropper-container {
  direction: ltr;
  font-size: 0;
  line-height: 0;
  position: relative;
  -ms-touch-action: none;
      touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.cropper-container img {
    backface-visibility: hidden;
    display: block;
    height: 100%;
    image-orientation: 0deg;
    max-height: none !important;
    max-width: none !important;
    min-height: 0 !important;
    min-width: 0 !important;
    width: 100%;
  }

.cropper-wrap-box,
.cropper-canvas,
.cropper-drag-box,
.cropper-crop-box,
.cropper-modal {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.cropper-wrap-box,
.cropper-canvas {
  overflow: hidden;
}

.cropper-drag-box {
  background-color: #fff;
  opacity: 0;
}

.cropper-modal {
  background-color: #000;
  opacity: 0.5;
}

.cropper-view-box {
  display: block;
  height: 100%;
  outline: 1px solid #39f;
  outline-color: rgba(51, 153, 255, 75%);
  overflow: hidden;
  width: 100%;
}

.cropper-dashed {
  border: 0 dashed #eee;
  display: block;
  opacity: 0.5;
  position: absolute;
}

.cropper-dashed.dashed-h {
    border-bottom-width: 1px;
    border-top-width: 1px;
    height: calc(100% / 3);
    left: 0;
    top: calc(100% / 3);
    width: 100%;
  }

.cropper-dashed.dashed-v {
    border-left-width: 1px;
    border-right-width: 1px;
    height: 100%;
    left: calc(100% / 3);
    top: 0;
    width: calc(100% / 3);
  }

.cropper-center {
  display: block;
  height: 0;
  left: 50%;
  opacity: 0.75;
  position: absolute;
  top: 50%;
  width: 0;
}

.cropper-center::before,
  .cropper-center::after {
    background-color: #eee;
    content: " ";
    display: block;
    position: absolute;
  }

.cropper-center::before {
    height: 1px;
    left: -3px;
    top: 0;
    width: 7px;
  }

.cropper-center::after {
    height: 7px;
    left: 0;
    top: -3px;
    width: 1px;
  }

.cropper-face,
.cropper-line,
.cropper-point {
  display: block;
  height: 100%;
  opacity: 0.1;
  position: absolute;
  width: 100%;
}

.cropper-face {
  background-color: #fff;
  left: 0;
  top: 0;
}

.cropper-line {
  background-color: #39f;
}

.cropper-line.line-e {
    cursor: ew-resize;
    right: -3px;
    top: 0;
    width: 5px;
  }

.cropper-line.line-n {
    cursor: ns-resize;
    height: 5px;
    left: 0;
    top: -3px;
  }

.cropper-line.line-w {
    cursor: ew-resize;
    left: -3px;
    top: 0;
    width: 5px;
  }

.cropper-line.line-s {
    bottom: -3px;
    cursor: ns-resize;
    height: 5px;
    left: 0;
  }

.cropper-point {
  background-color: #39f;
  height: 5px;
  opacity: 0.75;
  width: 5px;
}

.cropper-point.point-e {
    cursor: ew-resize;
    margin-top: -3px;
    right: -3px;
    top: 50%;
  }

.cropper-point.point-n {
    cursor: ns-resize;
    left: 50%;
    margin-left: -3px;
    top: -3px;
  }

.cropper-point.point-w {
    cursor: ew-resize;
    left: -3px;
    margin-top: -3px;
    top: 50%;
  }

.cropper-point.point-s {
    bottom: -3px;
    cursor: s-resize;
    left: 50%;
    margin-left: -3px;
  }

.cropper-point.point-ne {
    cursor: nesw-resize;
    right: -3px;
    top: -3px;
  }

.cropper-point.point-nw {
    cursor: nwse-resize;
    left: -3px;
    top: -3px;
  }

.cropper-point.point-sw {
    bottom: -3px;
    cursor: nesw-resize;
    left: -3px;
  }

.cropper-point.point-se {
    bottom: -3px;
    cursor: nwse-resize;
    height: 20px;
    opacity: 1;
    right: -3px;
    width: 20px;
  }

@media (min-width: 768px) {

.cropper-point.point-se {
      height: 15px;
      width: 15px;
  }
    }

@media (min-width: 992px) {

.cropper-point.point-se {
      height: 10px;
      width: 10px;
  }
    }

@media (min-width: 1200px) {

.cropper-point.point-se {
      height: 5px;
      opacity: 0.75;
      width: 5px;
  }
    }

.cropper-point.point-se::before {
    background-color: #39f;
    bottom: -50%;
    content: " ";
    display: block;
    height: 200%;
    opacity: 0;
    position: absolute;
    right: -50%;
    width: 200%;
  }

.cropper-invisible {
  opacity: 0;
}

.cropper-bg {
  background-image: url(${R});
}

.cropper-hide {
  display: block;
  height: 0;
  position: absolute;
  width: 0;
}

.cropper-hidden {
  display: none !important;
}

.cropper-move {
  cursor: move;
}

.cropper-crop {
  cursor: crosshair;
}

.cropper-disabled .cropper-drag-box,
.cropper-disabled .cropper-face,
.cropper-disabled .cropper-line,
.cropper-disabled .cropper-point {
  cursor: not-allowed;
}
`,""]);const P=A},11936:(U,C,e)=>{"use strict";e.d(C,{c:()=>_});var i=e(71420),a=e.n(i),l=e(34452),c=e.n(l),v=c()(a());v.push([U.id,`/*

Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>

*/

.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #002b36;
  color: #839496;
}

.hljs-comment,
.hljs-quote {
  color: #586e75;
}

/* Solarized Green */
.hljs-keyword,
.hljs-selector-tag,
.hljs-addition {
  color: #859900;
}

/* Solarized Cyan */
.hljs-number,
.hljs-string,
.hljs-meta .hljs-meta-string,
.hljs-literal,
.hljs-doctag,
.hljs-regexp {
  color: #2aa198;
}

/* Solarized Blue */
.hljs-title,
.hljs-section,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class {
  color: #268bd2;
}

/* Solarized Yellow */
.hljs-attribute,
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-class .hljs-title,
.hljs-type {
  color: #b58900;
}

/* Solarized Orange */
.hljs-symbol,
.hljs-bullet,
.hljs-subst,
.hljs-meta,
.hljs-meta .hljs-keyword,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-link {
  color: #cb4b16;
}

/* Solarized Red */
.hljs-built_in,
.hljs-deletion {
  color: #dc322f;
}

.hljs-formula {
  background: #073642;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}
`,""]);const _=v},18216:(U,C,e)=>{"use strict";e.d(C,{default:()=>R});var i=e(95840),a=e(42816),l=e(19968),c=e(71324);const _=()=>(0,l.jsx)(c.c,{});var T=e(6324),A=e(10556);const R={register(P){P.addMenuLink({to:`/plugins/${a.I.pluginId}`,icon:_,intlLabel:{id:`${a.I.pluginId}.name`,defaultMessage:a.I.name},Component:async()=>await e.e(2600).then(e.bind(e,27852)),permissions:A.c.main}),P.createSettingSection({id:a.I.pluginId,intlLabel:{id:(0,T.c)("name"),defaultMessage:"Soft Delete"}},[{intlLabel:{id:(0,T.c)("setting.restorationBehavior"),defaultMessage:"Restoration Behavior"},id:`${a.I.pluginId}.setting.restorationBehavior`,to:`/settings/${a.I.pluginId}/restoration-behavior`,Component:async()=>await e.e(2600).then(e.bind(e,54244)),permissions:A.c.settings}]),P.registerPlugin({id:a.I.pluginId,name:a.I.name})},bootstrap(P){},async registerTrads(P){const{locales:M}=P,O=await Promise.all(M.map(N=>e(73984)(`./${N}.json`).then(({default:B})=>({data:(0,i.Ux)(B,a.I.pluginId),locale:N})).catch(()=>({data:{},locale:N}))));return Promise.resolve(O)}}},10556:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(42816);const l={main:[{action:`plugin::${i.I.pluginId}.read`,subject:null}],settings:[{action:`plugin::${i.I.pluginId}.settings`,subject:null}]}},6324:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(42816);const l=c=>`${i.I.pluginId}.${c}`},42816:(U,C,e)=>{"use strict";e.d(C,{I:()=>i});var i={};e.r(i),e.d(i,{name:()=>l,pluginId:()=>c,supportsContentType:()=>v});const a=JSON.parse('{"N9":"strapi-plugin-soft-delete","Qp":{"N9":"soft-delete"}}'),l=a.Qp.N9,c=a.N9.replace(/^(@[^-,.][\w,-]+\/|strapi-)plugin-/i,""),v=_=>_?.match(/^api::/)||!1},43720:(U,C,e)=>{"use strict";var i=e(96728),a=e(95840),l=e(32048),c=e(85676),v=e(52540),_=e(19968),T=e(62552),A=e(70516),R=e(12132),P=e(96556),M=e(36196),O=e(35184),N=e(21968),B=e(60832),j=e(26516),z=e.n(j),W=e(96612),X=e(85604),Q=e(57520),K=e(61397),Y=e(83180),Z=e(44972),J=e(93668),ee=e(9568),re=e(48632),me=e(31812),fe=e(13192),le=e(40980),Ve=e(3396),Ze=e(79804),Ce=e(6420);((Ae,{plugins:Fe,...Qe})=>(0,W.m_)(Ae,{...Qe,plugins:{"content-type-builder":X.H,email:Z.a,upload:J.G,contentReleases:Ce.l,...Fe}}))(document.getElementById("strapi"),{plugins:{documentation:i.i,i18n:l.i,"users-permissions":B.i,"soft-delete":z()}})},27952:(U,C,e)=>{"use strict";e.d(C,{c:()=>Ui});function i(rn){if(rn.sheet)return rn.sheet;for(var $n=0;$n<document.styleSheets.length;$n++)if(document.styleSheets[$n].ownerNode===rn)return document.styleSheets[$n]}function a(rn){var $n=document.createElement("style");return $n.setAttribute("data-emotion",rn.key),rn.nonce!==void 0&&$n.setAttribute("nonce",rn.nonce),$n.appendChild(document.createTextNode("")),$n.setAttribute("data-s",""),$n}var l=function(){function rn(yi){var Jr=this;this._insertTag=function(cn){var mt;Jr.tags.length===0?Jr.insertionPoint?mt=Jr.insertionPoint.nextSibling:Jr.prepend?mt=Jr.container.firstChild:mt=Jr.before:mt=Jr.tags[Jr.tags.length-1].nextSibling,Jr.container.insertBefore(cn,mt),Jr.tags.push(cn)},this.isSpeedy=yi.speedy===void 0?!0:yi.speedy,this.tags=[],this.ctr=0,this.nonce=yi.nonce,this.key=yi.key,this.container=yi.container,this.prepend=yi.prepend,this.insertionPoint=yi.insertionPoint,this.before=null}var $n=rn.prototype;return $n.hydrate=function(Jr){Jr.forEach(this._insertTag)},$n.insert=function(Jr){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(a(this));var cn=this.tags[this.tags.length-1];if(!1)var mt;if(this.isSpeedy){var we=i(cn);try{we.insertRule(Jr,we.cssRules.length)}catch{}}else cn.appendChild(document.createTextNode(Jr));this.ctr++},$n.flush=function(){this.tags.forEach(function(Jr){return Jr.parentNode&&Jr.parentNode.removeChild(Jr)}),this.tags=[],this.ctr=0},rn}(),c=Math.abs,v=String.fromCharCode,_=Object.assign;function T(rn,$n){return O(rn,0)^45?((($n<<2^O(rn,0))<<2^O(rn,1))<<2^O(rn,2))<<2^O(rn,3):0}function A(rn){return rn.trim()}function R(rn,$n){return(rn=$n.exec(rn))?rn[0]:rn}function P(rn,$n,yi){return rn.replace($n,yi)}function M(rn,$n){return rn.indexOf($n)}function O(rn,$n){return rn.charCodeAt($n)|0}function N(rn,$n,yi){return rn.slice($n,yi)}function B(rn){return rn.length}function j(rn){return rn.length}function z(rn,$n){return $n.push(rn),rn}function W(rn,$n){return rn.map($n).join("")}var X=1,Q=1,K=0,Y=0,Z=0,J="";function ee(rn,$n,yi,Jr,cn,mt,we){return{value:rn,root:$n,parent:yi,type:Jr,props:cn,children:mt,line:X,column:Q,length:we,return:""}}function re(rn,$n){return _(ee("",null,null,"",null,null,0),rn,{length:-rn.length},$n)}function me(){return Z}function fe(){return Z=Y>0?O(J,--Y):0,Q--,Z===10&&(Q=1,X--),Z}function le(){return Z=Y<K?O(J,Y++):0,Q++,Z===10&&(Q=1,X++),Z}function Ve(){return O(J,Y)}function Ze(){return Y}function Ce(rn,$n){return N(J,rn,$n)}function ye(rn){switch(rn){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ae(rn){return X=Q=1,K=B(J=rn),Y=0,[]}function Fe(rn){return J="",rn}function Qe(rn){return A(Ce(Y-1,Se(rn===91?rn+2:rn===40?rn+1:rn)))}function ce(rn){return Fe(Pe(Ae(rn)))}function Ge(rn){for(;(Z=Ve())&&Z<33;)le();return ye(rn)>2||ye(Z)>3?"":" "}function Pe(rn){for(;le();)switch(ye(Z)){case 0:append(Ne(Y-1),rn);break;case 2:append(Qe(Z),rn);break;default:append(from(Z),rn)}return rn}function pe(rn,$n){for(;--$n&&le()&&!(Z<48||Z>102||Z>57&&Z<65||Z>70&&Z<97););return Ce(rn,Ze()+($n<6&&Ve()==32&&le()==32))}function Se(rn){for(;le();)switch(Z){case rn:return Y;case 34:case 39:rn!==34&&rn!==39&&Se(Z);break;case 40:rn===41&&Se(rn);break;case 92:le();break}return Y}function _e(rn,$n){for(;le()&&rn+Z!==47+10;)if(rn+Z===42+42&&Ve()===47)break;return"/*"+Ce($n,Y-1)+"*"+v(rn===47?rn:le())}function Ne(rn){for(;!ye(Ve());)le();return Ce(rn,Y)}var Le="-ms-",Ke="-moz-",bt="-webkit-",yt="comm",It="rule",_t="decl",zt="@page",Vt="@media",St="@import",Xt="@charset",jt="@viewport",sn="@supports",dt="@document",Ln="@namespace",fn="@keyframes",cr="@font-face",wr="@counter-style",Jn="@font-feature-values",nn="@layer";function or(rn,$n){for(var yi="",Jr=j(rn),cn=0;cn<Jr;cn++)yi+=$n(rn[cn],cn,rn,$n)||"";return yi}function bn(rn,$n,yi,Jr){switch(rn.type){case nn:if(rn.children.length)break;case St:case _t:return rn.return=rn.return||rn.value;case yt:return"";case fn:return rn.return=rn.value+"{"+or(rn.children,Jr)+"}";case It:rn.value=rn.props.join(",")}return B(yi=or(rn.children,Jr))?rn.return=rn.value+"{"+yi+"}":""}function Sn(rn){var $n=j(rn);return function(yi,Jr,cn,mt){for(var we="",je=0;je<$n;je++)we+=rn[je](yi,Jr,cn,mt)||"";return we}}function Hn(rn){return function($n){$n.root||($n=$n.return)&&rn($n)}}function er(rn,$n,yi,Jr){if(rn.length>-1&&!rn.return)switch(rn.type){case DECLARATION:rn.return=prefix(rn.value,rn.length,yi);return;case KEYFRAMES:return serialize([copy(rn,{value:replace(rn.value,"@","@"+WEBKIT)})],Jr);case RULESET:if(rn.length)return combine(rn.props,function(cn){switch(match(cn,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(rn,{props:[replace(cn,/:(read-\w+)/,":"+MOZ+"$1")]})],Jr);case"::placeholder":return serialize([copy(rn,{props:[replace(cn,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(rn,{props:[replace(cn,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(rn,{props:[replace(cn,/:(plac\w+)/,MS+"input-$1")]})],Jr)}return""})}}function an(rn){switch(rn.type){case RULESET:rn.props=rn.props.map(function($n){return combine(tokenize($n),function(yi,Jr,cn){switch(charat(yi,0)){case 12:return substr(yi,1,strlen(yi));case 0:case 40:case 43:case 62:case 126:return yi;case 58:cn[++Jr]==="global"&&(cn[Jr]="",cn[++Jr]="\f"+substr(cn[Jr],Jr=1,-1));case 32:return Jr===1?"":yi;default:switch(Jr){case 0:return rn=yi,sizeof(cn)>1?"":yi;case(Jr=sizeof(cn)-1):case 2:return Jr===2?yi+rn+rn:yi+rn;default:return yi}}})})}}function Cn(rn){return Fe(de("",null,null,null,[""],rn=Ae(rn),0,[0],rn))}function de(rn,$n,yi,Jr,cn,mt,we,je,pt){for(var at=0,kt=0,vn=we,Wn=0,nr=0,rr=0,Ot=1,Gt=1,Pt=1,Tt=0,An="",on=cn,dn=mt,$e=Jr,Yt=An;Gt;)switch(rr=Tt,Tt=le()){case 40:if(rr!=108&&O(Yt,vn-1)==58){M(Yt+=P(Qe(Tt),"&","&\f"),"&\f")!=-1&&(Pt=-1);break}case 34:case 39:case 91:Yt+=Qe(Tt);break;case 9:case 10:case 13:case 32:Yt+=Ge(rr);break;case 92:Yt+=pe(Ze()-1,7);continue;case 47:switch(Ve()){case 42:case 47:z(Ye(_e(le(),Ze()),$n,yi),pt);break;default:Yt+="/"}break;case 123*Ot:je[at++]=B(Yt)*Pt;case 125*Ot:case 59:case 0:switch(Tt){case 0:case 125:Gt=0;case 59+kt:Pt==-1&&(Yt=P(Yt,/\f/g,"")),nr>0&&B(Yt)-vn&&z(nr>32?Et(Yt+";",Jr,yi,vn-1):Et(P(Yt," ","")+";",Jr,yi,vn-2),pt);break;case 59:Yt+=";";default:if(z($e=oe(Yt,$n,yi,at,kt,cn,je,An,on=[],dn=[],vn),mt),Tt===123)if(kt===0)de(Yt,$n,$e,$e,on,mt,vn,je,dn);else switch(Wn===99&&O(Yt,3)===110?100:Wn){case 100:case 108:case 109:case 115:de(rn,$e,$e,Jr&&z(oe(rn,$e,$e,0,0,cn,je,An,cn,on=[],vn),dn),cn,dn,vn,je,Jr?on:dn);break;default:de(Yt,$e,$e,$e,[""],dn,0,je,dn)}}at=kt=nr=0,Ot=Pt=1,An=Yt="",vn=we;break;case 58:vn=1+B(Yt),nr=rr;default:if(Ot<1){if(Tt==123)--Ot;else if(Tt==125&&Ot++==0&&fe()==125)continue}switch(Yt+=v(Tt),Tt*Ot){case 38:Pt=kt>0?1:(Yt+="\f",-1);break;case 44:je[at++]=(B(Yt)-1)*Pt,Pt=1;break;case 64:Ve()===45&&(Yt+=Qe(le())),Wn=Ve(),kt=vn=B(An=Yt+=Ne(Ze())),Tt++;break;case 45:rr===45&&B(Yt)==2&&(Ot=0)}}return mt}function oe(rn,$n,yi,Jr,cn,mt,we,je,pt,at,kt){for(var vn=cn-1,Wn=cn===0?mt:[""],nr=j(Wn),rr=0,Ot=0,Gt=0;rr<Jr;++rr)for(var Pt=0,Tt=N(rn,vn+1,vn=c(Ot=we[rr])),An=rn;Pt<nr;++Pt)(An=A(Ot>0?Wn[Pt]+" "+Tt:P(Tt,/&\f/g,Wn[Pt])))&&(pt[Gt++]=An);return ee(rn,$n,yi,cn===0?It:je,pt,at,kt)}function Ye(rn,$n,yi){return ee(rn,$n,yi,yt,v(me()),N(rn,2,-2),0)}function Et(rn,$n,yi,Jr){return ee(rn,$n,yi,_t,N(rn,0,Jr),N(rn,Jr+1,-1),Jr)}var xe=function($n,yi,Jr){for(var cn=0,mt=0;cn=mt,mt=Ve(),cn===38&&mt===12&&(yi[Jr]=1),!ye(mt);)le();return Ce($n,Y)},Re=function($n,yi){var Jr=-1,cn=44;do switch(ye(cn)){case 0:cn===38&&Ve()===12&&(yi[Jr]=1),$n[Jr]+=xe(Y-1,yi,Jr);break;case 2:$n[Jr]+=Qe(cn);break;case 4:if(cn===44){$n[++Jr]=Ve()===58?"&\f":"",yi[Jr]=$n[Jr].length;break}default:$n[Jr]+=v(cn)}while(cn=le());return $n},We=function($n,yi){return Fe(Re(Ae($n),yi))},gt=new WeakMap,Nt=function($n){if(!($n.type!=="rule"||!$n.parent||$n.length<1)){for(var yi=$n.value,Jr=$n.parent,cn=$n.column===Jr.column&&$n.line===Jr.line;Jr.type!=="rule";)if(Jr=Jr.parent,!Jr)return;if(!($n.props.length===1&&yi.charCodeAt(0)!==58&&!gt.get(Jr))&&!cn){gt.set($n,!0);for(var mt=[],we=We(yi,mt),je=Jr.props,pt=0,at=0;pt<we.length;pt++)for(var kt=0;kt<je.length;kt++,at++)$n.props[at]=mt[pt]?we[pt].replace(/&\f/g,je[kt]):je[kt]+" "+we[pt]}}},Ct=function($n){if($n.type==="decl"){var yi=$n.value;yi.charCodeAt(0)===108&&yi.charCodeAt(2)===98&&($n.return="",$n.value="")}},tn="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",ge=function($n){return $n.type==="comm"&&$n.children.indexOf(tn)>-1},At=function($n){return function(yi,Jr,cn){if(!(yi.type!=="rule"||$n.compat)){var mt=yi.value.match(/(:first|:nth|:nth-last)-child/g);if(mt){for(var we=!!yi.parent,je=we?yi.parent.children:cn,pt=je.length-1;pt>=0;pt--){var at=je[pt];if(at.line<yi.line)break;if(at.column<yi.column){if(ge(at))return;break}}mt.forEach(function(kt){console.error('The pseudo class "'+kt+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+kt.split("-child")[0]+'-of-type".')})}}}},mn=function($n){return $n.type.charCodeAt(1)===105&&$n.type.charCodeAt(0)===64},xn=function($n,yi){for(var Jr=$n-1;Jr>=0;Jr--)if(!mn(yi[Jr]))return!0;return!1},Un=function($n){$n.type="",$n.value="",$n.return="",$n.children="",$n.props=""},gr=function($n,yi,Jr){mn($n)&&($n.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Un($n)):xn(yi,Jr)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Un($n)))};function Ur(rn,$n){switch(T(rn,$n)){case 5103:return bt+"print-"+rn+rn;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return bt+rn+rn;case 5349:case 4246:case 4810:case 6968:case 2756:return bt+rn+Ke+rn+Le+rn+rn;case 6828:case 4268:return bt+rn+Le+rn+rn;case 6165:return bt+rn+Le+"flex-"+rn+rn;case 5187:return bt+rn+P(rn,/(\w+).+(:[^]+)/,bt+"box-$1$2"+Le+"flex-$1$2")+rn;case 5443:return bt+rn+Le+"flex-item-"+P(rn,/flex-|-self/,"")+rn;case 4675:return bt+rn+Le+"flex-line-pack"+P(rn,/align-content|flex-|-self/,"")+rn;case 5548:return bt+rn+Le+P(rn,"shrink","negative")+rn;case 5292:return bt+rn+Le+P(rn,"basis","preferred-size")+rn;case 6060:return bt+"box-"+P(rn,"-grow","")+bt+rn+Le+P(rn,"grow","positive")+rn;case 4554:return bt+P(rn,/([^-])(transform)/g,"$1"+bt+"$2")+rn;case 6187:return P(P(P(rn,/(zoom-|grab)/,bt+"$1"),/(image-set)/,bt+"$1"),rn,"")+rn;case 5495:case 3959:return P(rn,/(image-set\([^]*)/,bt+"$1$`$1");case 4968:return P(P(rn,/(.+:)(flex-)?(.*)/,bt+"box-pack:$3"+Le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+bt+rn+rn;case 4095:case 3583:case 4068:case 2532:return P(rn,/(.+)-inline(.+)/,bt+"$1$2")+rn;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(B(rn)-1-$n>6)switch(O(rn,$n+1)){case 109:if(O(rn,$n+4)!==45)break;case 102:return P(rn,/(.+:)(.+)-([^]+)/,"$1"+bt+"$2-$3$1"+Ke+(O(rn,$n+3)==108?"$3":"$2-$3"))+rn;case 115:return~M(rn,"stretch")?Ur(P(rn,"stretch","fill-available"),$n)+rn:rn}break;case 4949:if(O(rn,$n+1)!==115)break;case 6444:switch(O(rn,B(rn)-3-(~M(rn,"!important")&&10))){case 107:return P(rn,":",":"+bt)+rn;case 101:return P(rn,/(.+:)([^;!]+)(;|!.+)?/,"$1"+bt+(O(rn,14)===45?"inline-":"")+"box$3$1"+bt+"$2$3$1"+Le+"$2box$3")+rn}break;case 5936:switch(O(rn,$n+11)){case 114:return bt+rn+Le+P(rn,/[svh]\w+-[tblr]{2}/,"tb")+rn;case 108:return bt+rn+Le+P(rn,/[svh]\w+-[tblr]{2}/,"tb-rl")+rn;case 45:return bt+rn+Le+P(rn,/[svh]\w+-[tblr]{2}/,"lr")+rn}return bt+rn+Le+rn+rn}return rn}var Or=function($n,yi,Jr,cn){if($n.length>-1&&!$n.return)switch($n.type){case _t:$n.return=Ur($n.value,$n.length);break;case fn:return or([re($n,{value:P($n.value,"@","@"+bt)})],cn);case It:if($n.length)return W($n.props,function(mt){switch(R(mt,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return or([re($n,{props:[P(mt,/:(read-\w+)/,":"+Ke+"$1")]})],cn);case"::placeholder":return or([re($n,{props:[P(mt,/:(plac\w+)/,":"+bt+"input-$1")]}),re($n,{props:[P(mt,/:(plac\w+)/,":"+Ke+"$1")]}),re($n,{props:[P(mt,/:(plac\w+)/,Le+"input-$1")]})],cn)}return""})}},ii=[Or],Ui=function($n){var yi=$n.key;if(yi==="css"){var Jr=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(Jr,function(Ot){var Gt=Ot.getAttribute("data-emotion");Gt.indexOf(" ")!==-1&&(document.head.appendChild(Ot),Ot.setAttribute("data-s",""))})}var cn=$n.stylisPlugins||ii,mt={},we,je=[];we=$n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+yi+' "]'),function(Ot){for(var Gt=Ot.getAttribute("data-emotion").split(" "),Pt=1;Pt<Gt.length;Pt++)mt[Gt[Pt]]=!0;je.push(Ot)});var pt,at=[Nt,Ct];{var kt,vn=[bn,Hn(function(Ot){kt.insert(Ot)})],Wn=Sn(at.concat(cn,vn)),nr=function(Gt){return or(Cn(Gt),Wn)};pt=function(Gt,Pt,Tt,An){kt=Tt,nr(Gt?Gt+"{"+Pt.styles+"}":Pt.styles),An&&(rr.inserted[Pt.name]=!0)}}var rr={key:yi,sheet:new l({key:yi,container:we,nonce:$n.nonce,speedy:$n.speedy,prepend:$n.prepend,insertionPoint:$n.insertionPoint}),nonce:$n.nonce,inserted:mt,registered:{},insert:pt};return rr.sheet.hydrate(je),rr}},3196:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a){var l=Object.create(null);return function(c){return l[c]===void 0&&(l[c]=a(c)),l[c]}}},40496:(U,C,e)=>{"use strict";e.d(C,{gV:()=>bn,im:()=>Jn,xZ:()=>Sn});var i=e(62552),a=e(27952),l=!0;function c(xe,Re,We){var gt="";return We.split(" ").forEach(function(Nt){xe[Nt]!==void 0?Re.push(xe[Nt]+";"):gt+=Nt+" "}),gt}var v=function(Re,We,gt){var Nt=Re.key+"-"+We.name;(gt===!1||l===!1)&&Re.registered[Nt]===void 0&&(Re.registered[Nt]=We.styles)},_=function(Re,We,gt){v(Re,We,gt);var Nt=Re.key+"-"+We.name;if(Re.inserted[We.name]===void 0){var Ct=We;do Re.insert(We===Ct?"."+Nt:"",Ct,Re.sheet,!0),Ct=Ct.next;while(Ct!==void 0)}};function T(xe){for(var Re=0,We,gt=0,Nt=xe.length;Nt>=4;++gt,Nt-=4)We=xe.charCodeAt(gt)&255|(xe.charCodeAt(++gt)&255)<<8|(xe.charCodeAt(++gt)&255)<<16|(xe.charCodeAt(++gt)&255)<<24,We=(We&65535)*1540483477+((We>>>16)*59797<<16),We^=We>>>24,Re=(We&65535)*1540483477+((We>>>16)*59797<<16)^(Re&65535)*1540483477+((Re>>>16)*59797<<16);switch(Nt){case 3:Re^=(xe.charCodeAt(gt+2)&255)<<16;case 2:Re^=(xe.charCodeAt(gt+1)&255)<<8;case 1:Re^=xe.charCodeAt(gt)&255,Re=(Re&65535)*1540483477+((Re>>>16)*59797<<16)}return Re^=Re>>>13,Re=(Re&65535)*1540483477+((Re>>>16)*59797<<16),((Re^Re>>>15)>>>0).toString(36)}var A={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},R=e(3196),P=null,M="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",O=/[A-Z]|^ms/g,N=/_EMO_([^_]+?)_([^]*?)_EMO_/g,B=function(Re){return Re.charCodeAt(1)===45},j=function(Re){return Re!=null&&typeof Re!="boolean"},z=(0,R.c)(function(xe){return B(xe)?xe:xe.replace(O,"-$&").toLowerCase()}),W=function(Re,We){switch(Re){case"animation":case"animationName":if(typeof We=="string")return We.replace(N,function(gt,Nt,Ct){return Ve={name:Nt,styles:Ct,next:Ve},Nt})}return A[Re]!==1&&!B(Re)&&typeof We=="number"&&We!==0?We+"px":We};if(!1)var X,Q,K,Y,Z,J;var ee="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function re(xe,Re,We){if(We==null)return"";if(We.__emotion_styles!==void 0)return We;switch(typeof We){case"boolean":return"";case"object":{if(We.anim===1)return Ve={name:We.name,styles:We.styles,next:Ve},We.name;if(We.styles!==void 0){var gt=We.next;if(gt!==void 0)for(;gt!==void 0;)Ve={name:gt.name,styles:gt.styles,next:Ve},gt=gt.next;var Nt=We.styles+";";return Nt}return me(xe,Re,We)}case"function":{if(xe!==void 0){var Ct=Ve,tn=We(xe);return Ve=Ct,re(xe,Re,tn)}break}case"string":if(!1)var ge,At;break}if(Re==null)return We;var mn=Re[We];return mn!==void 0?mn:We}function me(xe,Re,We){var gt="";if(Array.isArray(We))for(var Nt=0;Nt<We.length;Nt++)gt+=re(xe,Re,We[Nt])+";";else for(var Ct in We){var tn=We[Ct];if(typeof tn!="object")Re!=null&&Re[tn]!==void 0?gt+=Ct+"{"+Re[tn]+"}":j(tn)&&(gt+=z(Ct)+":"+W(Ct,tn)+";");else if(Array.isArray(tn)&&typeof tn[0]=="string"&&(Re==null||Re[tn[0]]===void 0))for(var ge=0;ge<tn.length;ge++)j(tn[ge])&&(gt+=z(Ct)+":"+W(Ct,tn[ge])+";");else{var At=re(xe,Re,tn);switch(Ct){case"animation":case"animationName":{gt+=z(Ct)+":"+At+";";break}default:gt+=Ct+"{"+At+"}"}}}return gt}var fe=/label:\s*([^\s;\n{]+)\s*(;|$)/g,le,Ve,Ze=function(Re,We,gt){if(Re.length===1&&typeof Re[0]=="object"&&Re[0]!==null&&Re[0].styles!==void 0)return Re[0];var Nt=!0,Ct="";Ve=void 0;var tn=Re[0];tn==null||tn.raw===void 0?(Nt=!1,Ct+=re(gt,We,tn)):Ct+=tn[0];for(var ge=1;ge<Re.length;ge++)Ct+=re(gt,We,Re[ge]),Nt&&(Ct+=tn[ge]);var At;fe.lastIndex=0;for(var mn="",xn;(xn=fe.exec(Ct))!==null;)mn+="-"+xn[1];var Un=T(Ct)+mn;return{name:Un,styles:Ct,next:Ve}},Ce=function(Re){return Re()},ye=i.useInsertionEffect?i.useInsertionEffect:!1,Ae=ye||Ce,Fe=ye||i.useLayoutEffect,Qe=!0,ce={}.hasOwnProperty,Ge=i.createContext(typeof HTMLElement<"u"?(0,a.c)({key:"css"}):null),Pe=Ge.Provider,pe=function(){return useContext(Ge)},Se=function(Re){return(0,i.forwardRef)(function(We,gt){var Nt=(0,i.useContext)(Ge);return Re(We,Nt,gt)})};Qe||(Se=function(Re){return function(We){var gt=(0,i.useContext)(Ge);return gt===null?(gt=(0,a.c)({key:"css"}),i.createElement(Ge.Provider,{value:gt},Re(We,gt))):Re(We,gt)}});var _e=i.createContext({}),Ne=function(){return React.useContext(_e)},Le=function(Re,We){if(typeof We=="function"){var gt=We(Re);return gt}return _extends({},Re,We)},Ke=null,bt=function(Re){var We=React.useContext(_e);return Re.theme!==We&&(We=Ke(We)(Re.theme)),React.createElement(_e.Provider,{value:We},Re.children)};function yt(xe){var Re=xe.displayName||xe.name||"Component",We=function(Ct,tn){var ge=React.useContext(_e);return React.createElement(xe,_extends({theme:ge,ref:tn},Ct))},gt=React.forwardRef(We);return gt.displayName="WithTheme("+Re+")",hoistNonReactStatics(gt,xe)}var It=function(Re){var We=Re.split(".");return We[We.length-1]},_t=function(Re){var We=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(Re);if(We||(We=/^([A-Za-z0-9$.]+)@/.exec(Re),We))return It(We[1])},zt=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),Vt=function(Re){return Re.replace(/\$/g,"-")},St=function(Re){if(Re)for(var We=Re.split(`
`),gt=0;gt<We.length;gt++){var Nt=_t(We[gt]);if(Nt){if(zt.has(Nt))break;if(/^[A-Z]/.test(Nt))return Vt(Nt)}}},Xt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",jt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",sn=function(Re,We){var gt={};for(var Nt in We)ce.call(We,Nt)&&(gt[Nt]=We[Nt]);if(gt[Xt]=Re,!1)var Ct;return gt},dt=function(Re){var We=Re.cache,gt=Re.serialized,Nt=Re.isStringTag;return v(We,gt,Nt),Ae(function(){return _(We,gt,Nt)}),null},Ln=Se(function(xe,Re,We){var gt=xe.css;typeof gt=="string"&&Re.registered[gt]!==void 0&&(gt=Re.registered[gt]);var Nt=xe[Xt],Ct=[gt],tn="";typeof xe.className=="string"?tn=c(Re.registered,Ct,xe.className):xe.className!=null&&(tn=xe.className+" ");var ge=Ze(Ct,void 0,i.useContext(_e));if(!1)var At;tn+=Re.key+"-"+ge.name;var mn={};for(var xn in xe)ce.call(xe,xn)&&xn!=="css"&&xn!==Xt&&(mn[xn]=xe[xn]);return mn.ref=We,mn.className=tn,i.createElement(i.Fragment,null,i.createElement(dt,{cache:Re,serialized:ge,isStringTag:typeof Nt=="string"}),i.createElement(Nt,mn))}),fn=Ln,cr=e(35384),wr={name:"@emotion/react",version:"11.11.3",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Jn=function(Re,We){var gt=arguments;if(We==null||!ce.call(We,"css"))return i.createElement.apply(void 0,gt);var Nt=gt.length,Ct=new Array(Nt);Ct[0]=fn,Ct[1]=sn(Re,We);for(var tn=2;tn<Nt;tn++)Ct[tn]=gt[tn];return i.createElement.apply(null,Ct)},nn=!1,or=null;function bn(){for(var xe=arguments.length,Re=new Array(xe),We=0;We<xe;We++)Re[We]=arguments[We];return Ze(Re)}var Sn=function(){var Re=bn.apply(void 0,arguments),We="animation-"+Re.name;return{name:We,styles:"@keyframes "+We+"{"+Re.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Hn=function xe(Re){for(var We=Re.length,gt=0,Nt="";gt<We;gt++){var Ct=Re[gt];if(Ct!=null){var tn=void 0;switch(typeof Ct){case"boolean":break;case"object":{if(Array.isArray(Ct))tn=xe(Ct);else{tn="";for(var ge in Ct)Ct[ge]&&ge&&(tn&&(tn+=" "),tn+=ge)}break}default:tn=Ct}tn&&(Nt&&(Nt+=" "),Nt+=tn)}}return Nt};function er(xe,Re,We){var gt=[],Nt=getRegisteredStyles(xe,gt,We);return gt.length<2?We:Nt+Re(gt)}var an=function(Re){var We=Re.cache,gt=Re.serializedArr;return useInsertionEffectAlwaysWithSyncFallback(function(){for(var Nt=0;Nt<gt.length;Nt++)insertStyles(We,gt[Nt],!1)}),null},Cn=null;if(!1)var de,oe,Ye,Et},97060:(U,C,e)=>{"use strict";e.d(C,{ON:()=>P});function i(M){return Math.floor(Math.log(M)*Math.LOG10E)}function a(M,O){if(typeof M.repeat=="function")return M.repeat(O);for(var N=new Array(O),B=0;B<N.length;B++)N[B]=M;return N.join("")}function l(M,O,N,B){M.get(O)||M.set(O,Object.create(null));var j=M.get(O);j[N]=B}function c(M,O,N){for(var B=0,j=Object.keys(N);B<j.length;B++){var z=j[B];l(M,O,z,N[z])}}function v(M,O,N){return _(M,O,N)[N]}function _(M,O){for(var N=[],B=2;B<arguments.length;B++)N[B-2]=arguments[B];var j=M.get(O);if(!j)throw new TypeError("".concat(O," InternalSlot has not been initialized"));return N.reduce(function(z,W){return z[W]=j[W],z},Object.create(null))}function T(M){return M.type==="literal"}function A(M,O,N){var B=N.value;Object.defineProperty(M,O,{configurable:!0,enumerable:!1,writable:!0,value:B})}var R=/-u(?:-[0-9a-z]{2,8})+/gi;function P(M,O,N){if(N===void 0&&(N=Error),!M)throw new N(O)}},3453:(U,C,e)=>{"use strict";e.d(C,{A:()=>O,s:()=>i});function i(N,B){var j=B&&B.cache?B.cache:M,z=B&&B.serializer?B.serializer:R,W=B&&B.strategy?B.strategy:_;return W(N,{cache:j,serializer:z})}function a(N){return N==null||typeof N=="number"||typeof N=="boolean"}function l(N,B,j,z){var W=a(z)?z:j(z),X=B.get(W);return typeof X>"u"&&(X=N.call(this,z),B.set(W,X)),X}function c(N,B,j){var z=Array.prototype.slice.call(arguments,3),W=j(z),X=B.get(W);return typeof X>"u"&&(X=N.apply(this,z),B.set(W,X)),X}function v(N,B,j,z,W){return j.bind(B,N,z,W)}function _(N,B){var j=N.length===1?l:c;return v(N,this,j,B.cache.create(),B.serializer)}function T(N,B){return v(N,this,c,B.cache.create(),B.serializer)}function A(N,B){return v(N,this,l,B.cache.create(),B.serializer)}var R=function(){return JSON.stringify(arguments)};function P(){this.cache=Object.create(null)}P.prototype.get=function(N){return this.cache[N]},P.prototype.set=function(N,B){this.cache[N]=B};var M={create:function(){return new P}},O={variadic:T,monadic:A}},66484:(U,C,e)=>{"use strict";e.d(C,{_M:()=>l,kd:()=>_,Ml:()=>A,iO:()=>j,kl:()=>v,Mp:()=>T,fX:()=>B,WC:()=>M,EZ:()=>O,uU:()=>P,AX:()=>N,ue:()=>R,K0:()=>an});var i=e(7353),a;(function(de){de[de.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",de[de.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",de[de.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",de[de.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",de[de.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",de[de.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",de[de.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",de[de.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",de[de.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",de[de.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",de[de.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",de[de.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",de[de.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",de[de.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",de[de.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",de[de.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",de[de.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",de[de.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",de[de.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",de[de.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",de[de.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",de[de.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",de[de.INVALID_TAG=23]="INVALID_TAG",de[de.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",de[de.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",de[de.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(a||(a={}));var l;(function(de){de[de.literal=0]="literal",de[de.argument=1]="argument",de[de.number=2]="number",de[de.date=3]="date",de[de.time=4]="time",de[de.select=5]="select",de[de.plural=6]="plural",de[de.pound=7]="pound",de[de.tag=8]="tag"})(l||(l={}));var c;(function(de){de[de.number=0]="number",de[de.dateTime=1]="dateTime"})(c||(c={}));function v(de){return de.type===l.literal}function _(de){return de.type===l.argument}function T(de){return de.type===l.number}function A(de){return de.type===l.date}function R(de){return de.type===l.time}function P(de){return de.type===l.select}function M(de){return de.type===l.plural}function O(de){return de.type===l.pound}function N(de){return de.type===l.tag}function B(de){return!!(de&&typeof de=="object"&&de.type===c.number)}function j(de){return!!(de&&typeof de=="object"&&de.type===c.dateTime)}function z(de){return{type:l.literal,value:de}}function W(de,oe){return{type:l.number,value:de,style:oe}}var X=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Q=/[\t-\r \x85\u200E\u200F\u2028\u2029]/,K=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Y(de){var oe={};return de.replace(K,function(Ye){var Et=Ye.length;switch(Ye[0]){case"G":oe.era=Et===4?"long":Et===5?"narrow":"short";break;case"y":oe.year=Et===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":oe.month=["numeric","2-digit","short","long","narrow"][Et-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":oe.day=["numeric","2-digit"][Et-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":oe.weekday=Et===4?"short":Et===5?"narrow":"short";break;case"e":if(Et<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");oe.weekday=["short","long","narrow","short"][Et-4];break;case"c":if(Et<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");oe.weekday=["short","long","narrow","short"][Et-4];break;case"a":oe.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":oe.hourCycle="h12",oe.hour=["numeric","2-digit"][Et-1];break;case"H":oe.hourCycle="h23",oe.hour=["numeric","2-digit"][Et-1];break;case"K":oe.hourCycle="h11",oe.hour=["numeric","2-digit"][Et-1];break;case"k":oe.hourCycle="h24",oe.hour=["numeric","2-digit"][Et-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":oe.minute=["numeric","2-digit"][Et-1];break;case"s":oe.second=["numeric","2-digit"][Et-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":oe.timeZoneName=Et<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),oe}var Z=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function J(de){if(de.length===0)throw new Error("Number skeleton cannot be empty");for(var oe=de.split(Z).filter(function(At){return At.length>0}),Ye=[],Et=0,xe=oe;Et<xe.length;Et++){var Re=xe[Et],We=Re.split("/");if(We.length===0)throw new Error("Invalid number skeleton");for(var gt=We[0],Nt=We.slice(1),Ct=0,tn=Nt;Ct<tn.length;Ct++){var ge=tn[Ct];if(ge.length===0)throw new Error("Invalid number skeleton")}Ye.push({stem:gt,options:Nt})}return Ye}function ee(de){return de.replace(/^(.*?)-/,"")}var re=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,me=/^(@+)?(\+|#+)?[rs]?$/g,fe=/(\*)(0+)|(#+)(0+)|(0+)/g,le=/^(0+)$/;function Ve(de){var oe={};return de[de.length-1]==="r"?oe.roundingPriority="morePrecision":de[de.length-1]==="s"&&(oe.roundingPriority="lessPrecision"),de.replace(me,function(Ye,Et,xe){return typeof xe!="string"?(oe.minimumSignificantDigits=Et.length,oe.maximumSignificantDigits=Et.length):xe==="+"?oe.minimumSignificantDigits=Et.length:Et[0]==="#"?oe.maximumSignificantDigits=Et.length:(oe.minimumSignificantDigits=Et.length,oe.maximumSignificantDigits=Et.length+(typeof xe=="string"?xe.length:0)),""}),oe}function Ze(de){switch(de){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Ce(de){var oe;if(de[0]==="E"&&de[1]==="E"?(oe={notation:"engineering"},de=de.slice(2)):de[0]==="E"&&(oe={notation:"scientific"},de=de.slice(1)),oe){var Ye=de.slice(0,2);if(Ye==="+!"?(oe.signDisplay="always",de=de.slice(2)):Ye==="+?"&&(oe.signDisplay="exceptZero",de=de.slice(2)),!le.test(de))throw new Error("Malformed concise eng/scientific notation");oe.minimumIntegerDigits=de.length}return oe}function ye(de){var oe={},Ye=Ze(de);return Ye||oe}function Ae(de){for(var oe={},Ye=0,Et=de;Ye<Et.length;Ye++){var xe=Et[Ye];switch(xe.stem){case"percent":case"%":oe.style="percent";continue;case"%x100":oe.style="percent",oe.scale=100;continue;case"currency":oe.style="currency",oe.currency=xe.options[0];continue;case"group-off":case",_":oe.useGrouping=!1;continue;case"precision-integer":case".":oe.maximumFractionDigits=0;continue;case"measure-unit":case"unit":oe.style="unit",oe.unit=ee(xe.options[0]);continue;case"compact-short":case"K":oe.notation="compact",oe.compactDisplay="short";continue;case"compact-long":case"KK":oe.notation="compact",oe.compactDisplay="long";continue;case"scientific":oe=(0,i.C3)((0,i.C3)((0,i.C3)({},oe),{notation:"scientific"}),xe.options.reduce(function(Nt,Ct){return(0,i.C3)((0,i.C3)({},Nt),ye(Ct))},{}));continue;case"engineering":oe=(0,i.C3)((0,i.C3)((0,i.C3)({},oe),{notation:"engineering"}),xe.options.reduce(function(Nt,Ct){return(0,i.C3)((0,i.C3)({},Nt),ye(Ct))},{}));continue;case"notation-simple":oe.notation="standard";continue;case"unit-width-narrow":oe.currencyDisplay="narrowSymbol",oe.unitDisplay="narrow";continue;case"unit-width-short":oe.currencyDisplay="code",oe.unitDisplay="short";continue;case"unit-width-full-name":oe.currencyDisplay="name",oe.unitDisplay="long";continue;case"unit-width-iso-code":oe.currencyDisplay="symbol";continue;case"scale":oe.scale=parseFloat(xe.options[0]);continue;case"integer-width":if(xe.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");xe.options[0].replace(fe,function(Nt,Ct,tn,ge,At,mn){if(Ct)oe.minimumIntegerDigits=tn.length;else{if(ge&&At)throw new Error("We currently do not support maximum integer digits");if(mn)throw new Error("We currently do not support exact integer digits")}return""});continue}if(le.test(xe.stem)){oe.minimumIntegerDigits=xe.stem.length;continue}if(re.test(xe.stem)){if(xe.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");xe.stem.replace(re,function(Nt,Ct,tn,ge,At,mn){return tn==="*"?oe.minimumFractionDigits=Ct.length:ge&&ge[0]==="#"?oe.maximumFractionDigits=ge.length:At&&mn?(oe.minimumFractionDigits=At.length,oe.maximumFractionDigits=At.length+mn.length):(oe.minimumFractionDigits=Ct.length,oe.maximumFractionDigits=Ct.length),""});var Re=xe.options[0];Re==="w"?oe=(0,i.C3)((0,i.C3)({},oe),{trailingZeroDisplay:"stripIfInteger"}):Re&&(oe=(0,i.C3)((0,i.C3)({},oe),Ve(Re)));continue}if(me.test(xe.stem)){oe=(0,i.C3)((0,i.C3)({},oe),Ve(xe.stem));continue}var We=Ze(xe.stem);We&&(oe=(0,i.C3)((0,i.C3)({},oe),We));var gt=Ce(xe.stem);gt&&(oe=(0,i.C3)((0,i.C3)({},oe),gt))}return oe}var Fe={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Qe(de,oe){for(var Ye="",Et=0;Et<de.length;Et++){var xe=de.charAt(Et);if(xe==="j"){for(var Re=0;Et+1<de.length&&de.charAt(Et+1)===xe;)Re++,Et++;var We=1+(Re&1),gt=Re<2?1:3+(Re>>1),Nt="a",Ct=ce(oe);for((Ct=="H"||Ct=="k")&&(gt=0);gt-- >0;)Ye+=Nt;for(;We-- >0;)Ye=Ct+Ye}else xe==="J"?Ye+="H":Ye+=xe}return Ye}function ce(de){var oe=de.hourCycle;if(oe===void 0&&de.hourCycles&&de.hourCycles.length&&(oe=de.hourCycles[0]),oe)switch(oe){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var Ye=de.language,Et;Ye!=="root"&&(Et=de.maximize().region);var xe=Fe[Et||""]||Fe[Ye||""]||Fe["".concat(Ye,"-001")]||Fe["001"];return xe[0]}var Ge,Pe=new RegExp("^".concat(X.source,"*")),pe=new RegExp("".concat(X.source,"*$"));function Se(de,oe){return{start:de,end:oe}}var _e=!!String.prototype.startsWith,Ne=!!String.fromCodePoint,Le=!!Object.fromEntries,Ke=!!String.prototype.codePointAt,bt=!!String.prototype.trimStart,yt=!!String.prototype.trimEnd,It=!!Number.isSafeInteger,_t=It?Number.isSafeInteger:function(de){return typeof de=="number"&&isFinite(de)&&Math.floor(de)===de&&Math.abs(de)<=9007199254740991},zt=!0;try{var Vt=fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");zt=((Ge=Vt.exec("a"))===null||Ge===void 0?void 0:Ge[0])==="a"}catch{zt=!1}var St=_e?function(oe,Ye,Et){return oe.startsWith(Ye,Et)}:function(oe,Ye,Et){return oe.slice(Et,Et+Ye.length)===Ye},Xt=Ne?String.fromCodePoint:function(){for(var oe=[],Ye=0;Ye<arguments.length;Ye++)oe[Ye]=arguments[Ye];for(var Et="",xe=oe.length,Re=0,We;xe>Re;){if(We=oe[Re++],We>1114111)throw RangeError(We+" is not a valid code point");Et+=We<65536?String.fromCharCode(We):String.fromCharCode(((We-=65536)>>10)+55296,We%1024+56320)}return Et},jt=Le?Object.fromEntries:function(oe){for(var Ye={},Et=0,xe=oe;Et<xe.length;Et++){var Re=xe[Et],We=Re[0],gt=Re[1];Ye[We]=gt}return Ye},sn=Ke?function(oe,Ye){return oe.codePointAt(Ye)}:function(oe,Ye){var Et=oe.length;if(!(Ye<0||Ye>=Et)){var xe=oe.charCodeAt(Ye),Re;return xe<55296||xe>56319||Ye+1===Et||(Re=oe.charCodeAt(Ye+1))<56320||Re>57343?xe:(xe-55296<<10)+(Re-56320)+65536}},dt=bt?function(oe){return oe.trimStart()}:function(oe){return oe.replace(Pe,"")},Ln=yt?function(oe){return oe.trimEnd()}:function(oe){return oe.replace(pe,"")};function fn(de,oe){return new RegExp(de,oe)}var cr;if(zt){var wr=fn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");cr=function(oe,Ye){var Et;wr.lastIndex=Ye;var xe=wr.exec(oe);return(Et=xe[1])!==null&&Et!==void 0?Et:""}}else cr=function(oe,Ye){for(var Et=[];;){var xe=sn(oe,Ye);if(xe===void 0||Sn(xe)||Hn(xe))break;Et.push(xe),Ye+=xe>=65536?2:1}return Xt.apply(void 0,Et)};var Jn=function(){function de(oe,Ye){Ye===void 0&&(Ye={}),this.message=oe,this.position={offset:0,line:1,column:1},this.ignoreTag=!!Ye.ignoreTag,this.locale=Ye.locale,this.requiresOtherClause=!!Ye.requiresOtherClause,this.shouldParseSkeletons=!!Ye.shouldParseSkeletons}return de.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},de.prototype.parseMessage=function(oe,Ye,Et){for(var xe=[];!this.isEOF();){var Re=this.char();if(Re===123){var We=this.parseArgument(oe,Et);if(We.err)return We;xe.push(We.val)}else{if(Re===125&&oe>0)break;if(Re===35&&(Ye==="plural"||Ye==="selectordinal")){var gt=this.clonePosition();this.bump(),xe.push({type:l.pound,location:Se(gt,this.clonePosition())})}else if(Re===60&&!this.ignoreTag&&this.peek()===47){if(Et)break;return this.error(a.UNMATCHED_CLOSING_TAG,Se(this.clonePosition(),this.clonePosition()))}else if(Re===60&&!this.ignoreTag&&nn(this.peek()||0)){var We=this.parseTag(oe,Ye);if(We.err)return We;xe.push(We.val)}else{var We=this.parseLiteral(oe,Ye);if(We.err)return We;xe.push(We.val)}}}return{val:xe,err:null}},de.prototype.parseTag=function(oe,Ye){var Et=this.clonePosition();this.bump();var xe=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(xe,"/>"),location:Se(Et,this.clonePosition())},err:null};if(this.bumpIf(">")){var Re=this.parseMessage(oe+1,Ye,!0);if(Re.err)return Re;var We=Re.val,gt=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!nn(this.char()))return this.error(a.INVALID_TAG,Se(gt,this.clonePosition()));var Nt=this.clonePosition(),Ct=this.parseTagName();return xe!==Ct?this.error(a.UNMATCHED_CLOSING_TAG,Se(Nt,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:l.tag,value:xe,children:We,location:Se(Et,this.clonePosition())},err:null}:this.error(a.INVALID_TAG,Se(gt,this.clonePosition())))}else return this.error(a.UNCLOSED_TAG,Se(Et,this.clonePosition()))}else return this.error(a.INVALID_TAG,Se(Et,this.clonePosition()))},de.prototype.parseTagName=function(){var oe=this.offset();for(this.bump();!this.isEOF()&&bn(this.char());)this.bump();return this.message.slice(oe,this.offset())},de.prototype.parseLiteral=function(oe,Ye){for(var Et=this.clonePosition(),xe="";;){var Re=this.tryParseQuote(Ye);if(Re){xe+=Re;continue}var We=this.tryParseUnquoted(oe,Ye);if(We){xe+=We;continue}var gt=this.tryParseLeftAngleBracket();if(gt){xe+=gt;continue}break}var Nt=Se(Et,this.clonePosition());return{val:{type:l.literal,value:xe,location:Nt},err:null}},de.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!or(this.peek()||0))?(this.bump(),"<"):null},de.prototype.tryParseQuote=function(oe){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(oe==="plural"||oe==="selectordinal")break;return null;default:return null}this.bump();var Ye=[this.char()];for(this.bump();!this.isEOF();){var Et=this.char();if(Et===39)if(this.peek()===39)Ye.push(39),this.bump();else{this.bump();break}else Ye.push(Et);this.bump()}return Xt.apply(void 0,Ye)},de.prototype.tryParseUnquoted=function(oe,Ye){if(this.isEOF())return null;var Et=this.char();return Et===60||Et===123||Et===35&&(Ye==="plural"||Ye==="selectordinal")||Et===125&&oe>0?null:(this.bump(),Xt(Et))},de.prototype.parseArgument=function(oe,Ye){var Et=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,Se(Et,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(a.EMPTY_ARGUMENT,Se(Et,this.clonePosition()));var xe=this.parseIdentifierIfPossible().value;if(!xe)return this.error(a.MALFORMED_ARGUMENT,Se(Et,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,Se(Et,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:xe,location:Se(Et,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,Se(Et,this.clonePosition())):this.parseArgumentOptions(oe,Ye,xe,Et);default:return this.error(a.MALFORMED_ARGUMENT,Se(Et,this.clonePosition()))}},de.prototype.parseIdentifierIfPossible=function(){var oe=this.clonePosition(),Ye=this.offset(),Et=cr(this.message,Ye),xe=Ye+Et.length;this.bumpTo(xe);var Re=this.clonePosition(),We=Se(oe,Re);return{value:Et,location:We}},de.prototype.parseArgumentOptions=function(oe,Ye,Et,xe){var Re,We=this.clonePosition(),gt=this.parseIdentifierIfPossible().value,Nt=this.clonePosition();switch(gt){case"":return this.error(a.EXPECT_ARGUMENT_TYPE,Se(We,Nt));case"number":case"date":case"time":{this.bumpSpace();var Ct=null;if(this.bumpIf(",")){this.bumpSpace();var tn=this.clonePosition(),ge=this.parseSimpleArgStyleIfPossible();if(ge.err)return ge;var At=Ln(ge.val);if(At.length===0)return this.error(a.EXPECT_ARGUMENT_STYLE,Se(this.clonePosition(),this.clonePosition()));var mn=Se(tn,this.clonePosition());Ct={style:At,styleLocation:mn}}var xn=this.tryParseArgumentClose(xe);if(xn.err)return xn;var Un=Se(xe,this.clonePosition());if(Ct&&St(Ct?.style,"::",0)){var gr=dt(Ct.style.slice(2));if(gt==="number"){var ge=this.parseNumberSkeletonFromString(gr,Ct.styleLocation);return ge.err?ge:{val:{type:l.number,value:Et,location:Un,style:ge.val},err:null}}else{if(gr.length===0)return this.error(a.EXPECT_DATE_TIME_SKELETON,Un);var Ur=gr;this.locale&&(Ur=Qe(gr,this.locale));var At={type:c.dateTime,pattern:Ur,location:Ct.styleLocation,parsedOptions:this.shouldParseSkeletons?Y(Ur):{}},Or=gt==="date"?l.date:l.time;return{val:{type:Or,value:Et,location:Un,style:At},err:null}}}return{val:{type:gt==="number"?l.number:gt==="date"?l.date:l.time,value:Et,location:Un,style:(Re=Ct?.style)!==null&&Re!==void 0?Re:null},err:null}}case"plural":case"selectordinal":case"select":{var ii=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(a.EXPECT_SELECT_ARGUMENT_OPTIONS,Se(ii,(0,i.C3)({},ii)));this.bumpSpace();var Ui=this.parseIdentifierIfPossible(),rn=0;if(gt!=="select"&&Ui.value==="offset"){if(!this.bumpIf(":"))return this.error(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Se(this.clonePosition(),this.clonePosition()));this.bumpSpace();var ge=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,a.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(ge.err)return ge;this.bumpSpace(),Ui=this.parseIdentifierIfPossible(),rn=ge.val}var $n=this.tryParsePluralOrSelectOptions(oe,gt,Ye,Ui);if($n.err)return $n;var xn=this.tryParseArgumentClose(xe);if(xn.err)return xn;var yi=Se(xe,this.clonePosition());return gt==="select"?{val:{type:l.select,value:Et,options:jt($n.val),location:yi},err:null}:{val:{type:l.plural,value:Et,options:jt($n.val),offset:rn,pluralType:gt==="plural"?"cardinal":"ordinal",location:yi},err:null}}default:return this.error(a.INVALID_ARGUMENT_TYPE,Se(We,Nt))}},de.prototype.tryParseArgumentClose=function(oe){return this.isEOF()||this.char()!==125?this.error(a.EXPECT_ARGUMENT_CLOSING_BRACE,Se(oe,this.clonePosition())):(this.bump(),{val:!0,err:null})},de.prototype.parseSimpleArgStyleIfPossible=function(){for(var oe=0,Ye=this.clonePosition();!this.isEOF();){var Et=this.char();switch(Et){case 39:{this.bump();var xe=this.clonePosition();if(!this.bumpUntil("'"))return this.error(a.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Se(xe,this.clonePosition()));this.bump();break}case 123:{oe+=1,this.bump();break}case 125:{if(oe>0)oe-=1;else return{val:this.message.slice(Ye.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(Ye.offset,this.offset()),err:null}},de.prototype.parseNumberSkeletonFromString=function(oe,Ye){var Et=[];try{Et=J(oe)}catch{return this.error(a.INVALID_NUMBER_SKELETON,Ye)}return{val:{type:c.number,tokens:Et,location:Ye,parsedOptions:this.shouldParseSkeletons?Ae(Et):{}},err:null}},de.prototype.tryParsePluralOrSelectOptions=function(oe,Ye,Et,xe){for(var Re,We=!1,gt=[],Nt=new Set,Ct=xe.value,tn=xe.location;;){if(Ct.length===0){var ge=this.clonePosition();if(Ye!=="select"&&this.bumpIf("=")){var At=this.tryParseDecimalInteger(a.EXPECT_PLURAL_ARGUMENT_SELECTOR,a.INVALID_PLURAL_ARGUMENT_SELECTOR);if(At.err)return At;tn=Se(ge,this.clonePosition()),Ct=this.message.slice(ge.offset,this.offset())}else break}if(Nt.has(Ct))return this.error(Ye==="select"?a.DUPLICATE_SELECT_ARGUMENT_SELECTOR:a.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,tn);Ct==="other"&&(We=!0),this.bumpSpace();var mn=this.clonePosition();if(!this.bumpIf("{"))return this.error(Ye==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:a.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Se(this.clonePosition(),this.clonePosition()));var xn=this.parseMessage(oe+1,Ye,Et);if(xn.err)return xn;var Un=this.tryParseArgumentClose(mn);if(Un.err)return Un;gt.push([Ct,{value:xn.val,location:Se(mn,this.clonePosition())}]),Nt.add(Ct),this.bumpSpace(),Re=this.parseIdentifierIfPossible(),Ct=Re.value,tn=Re.location}return gt.length===0?this.error(Ye==="select"?a.EXPECT_SELECT_ARGUMENT_SELECTOR:a.EXPECT_PLURAL_ARGUMENT_SELECTOR,Se(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!We?this.error(a.MISSING_OTHER_CLAUSE,Se(this.clonePosition(),this.clonePosition())):{val:gt,err:null}},de.prototype.tryParseDecimalInteger=function(oe,Ye){var Et=1,xe=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(Et=-1);for(var Re=!1,We=0;!this.isEOF();){var gt=this.char();if(gt>=48&&gt<=57)Re=!0,We=We*10+(gt-48),this.bump();else break}var Nt=Se(xe,this.clonePosition());return Re?(We*=Et,_t(We)?{val:We,err:null}:this.error(Ye,Nt)):this.error(oe,Nt)},de.prototype.offset=function(){return this.position.offset},de.prototype.isEOF=function(){return this.offset()===this.message.length},de.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},de.prototype.char=function(){var oe=this.position.offset;if(oe>=this.message.length)throw Error("out of bound");var Ye=sn(this.message,oe);if(Ye===void 0)throw Error("Offset ".concat(oe," is at invalid UTF-16 code unit boundary"));return Ye},de.prototype.error=function(oe,Ye){return{val:null,err:{kind:oe,message:this.message,location:Ye}}},de.prototype.bump=function(){if(!this.isEOF()){var oe=this.char();oe===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=oe<65536?1:2)}},de.prototype.bumpIf=function(oe){if(St(this.message,oe,this.offset())){for(var Ye=0;Ye<oe.length;Ye++)this.bump();return!0}return!1},de.prototype.bumpUntil=function(oe){var Ye=this.offset(),Et=this.message.indexOf(oe,Ye);return Et>=0?(this.bumpTo(Et),!0):(this.bumpTo(this.message.length),!1)},de.prototype.bumpTo=function(oe){if(this.offset()>oe)throw Error("targetOffset ".concat(oe," must be greater than or equal to the current offset ").concat(this.offset()));for(oe=Math.min(oe,this.message.length);;){var Ye=this.offset();if(Ye===oe)break;if(Ye>oe)throw Error("targetOffset ".concat(oe," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},de.prototype.bumpSpace=function(){for(;!this.isEOF()&&Sn(this.char());)this.bump()},de.prototype.peek=function(){if(this.isEOF())return null;var oe=this.char(),Ye=this.offset(),Et=this.message.charCodeAt(Ye+(oe>=65536?2:1));return Et??null},de}();function nn(de){return de>=97&&de<=122||de>=65&&de<=90}function or(de){return nn(de)||de===47}function bn(de){return de===45||de===46||de>=48&&de<=57||de===95||de>=97&&de<=122||de>=65&&de<=90||de==183||de>=192&&de<=214||de>=216&&de<=246||de>=248&&de<=893||de>=895&&de<=8191||de>=8204&&de<=8205||de>=8255&&de<=8256||de>=8304&&de<=8591||de>=11264&&de<=12271||de>=12289&&de<=55295||de>=63744&&de<=64975||de>=65008&&de<=65533||de>=65536&&de<=983039}function Sn(de){return de>=9&&de<=13||de===32||de===133||de>=8206&&de<=8207||de===8232||de===8233}function Hn(de){return de>=33&&de<=35||de===36||de>=37&&de<=39||de===40||de===41||de===42||de===43||de===44||de===45||de>=46&&de<=47||de>=58&&de<=59||de>=60&&de<=62||de>=63&&de<=64||de===91||de===92||de===93||de===94||de===96||de===123||de===124||de===125||de===126||de===161||de>=162&&de<=165||de===166||de===167||de===169||de===171||de===172||de===174||de===176||de===177||de===182||de===187||de===191||de===215||de===247||de>=8208&&de<=8213||de>=8214&&de<=8215||de===8216||de===8217||de===8218||de>=8219&&de<=8220||de===8221||de===8222||de===8223||de>=8224&&de<=8231||de>=8240&&de<=8248||de===8249||de===8250||de>=8251&&de<=8254||de>=8257&&de<=8259||de===8260||de===8261||de===8262||de>=8263&&de<=8273||de===8274||de===8275||de>=8277&&de<=8286||de>=8592&&de<=8596||de>=8597&&de<=8601||de>=8602&&de<=8603||de>=8604&&de<=8607||de===8608||de>=8609&&de<=8610||de===8611||de>=8612&&de<=8613||de===8614||de>=8615&&de<=8621||de===8622||de>=8623&&de<=8653||de>=8654&&de<=8655||de>=8656&&de<=8657||de===8658||de===8659||de===8660||de>=8661&&de<=8691||de>=8692&&de<=8959||de>=8960&&de<=8967||de===8968||de===8969||de===8970||de===8971||de>=8972&&de<=8991||de>=8992&&de<=8993||de>=8994&&de<=9e3||de===9001||de===9002||de>=9003&&de<=9083||de===9084||de>=9085&&de<=9114||de>=9115&&de<=9139||de>=9140&&de<=9179||de>=9180&&de<=9185||de>=9186&&de<=9254||de>=9255&&de<=9279||de>=9280&&de<=9290||de>=9291&&de<=9311||de>=9472&&de<=9654||de===9655||de>=9656&&de<=9664||de===9665||de>=9666&&de<=9719||de>=9720&&de<=9727||de>=9728&&de<=9838||de===9839||de>=9840&&de<=10087||de===10088||de===10089||de===10090||de===10091||de===10092||de===10093||de===10094||de===10095||de===10096||de===10097||de===10098||de===10099||de===10100||de===10101||de>=10132&&de<=10175||de>=10176&&de<=10180||de===10181||de===10182||de>=10183&&de<=10213||de===10214||de===10215||de===10216||de===10217||de===10218||de===10219||de===10220||de===10221||de===10222||de===10223||de>=10224&&de<=10239||de>=10240&&de<=10495||de>=10496&&de<=10626||de===10627||de===10628||de===10629||de===10630||de===10631||de===10632||de===10633||de===10634||de===10635||de===10636||de===10637||de===10638||de===10639||de===10640||de===10641||de===10642||de===10643||de===10644||de===10645||de===10646||de===10647||de===10648||de>=10649&&de<=10711||de===10712||de===10713||de===10714||de===10715||de>=10716&&de<=10747||de===10748||de===10749||de>=10750&&de<=11007||de>=11008&&de<=11055||de>=11056&&de<=11076||de>=11077&&de<=11078||de>=11079&&de<=11084||de>=11085&&de<=11123||de>=11124&&de<=11125||de>=11126&&de<=11157||de===11158||de>=11159&&de<=11263||de>=11776&&de<=11777||de===11778||de===11779||de===11780||de===11781||de>=11782&&de<=11784||de===11785||de===11786||de===11787||de===11788||de===11789||de>=11790&&de<=11798||de===11799||de>=11800&&de<=11801||de===11802||de===11803||de===11804||de===11805||de>=11806&&de<=11807||de===11808||de===11809||de===11810||de===11811||de===11812||de===11813||de===11814||de===11815||de===11816||de===11817||de>=11818&&de<=11822||de===11823||de>=11824&&de<=11833||de>=11834&&de<=11835||de>=11836&&de<=11839||de===11840||de===11841||de===11842||de>=11843&&de<=11855||de>=11856&&de<=11857||de===11858||de>=11859&&de<=11903||de>=12289&&de<=12291||de===12296||de===12297||de===12298||de===12299||de===12300||de===12301||de===12302||de===12303||de===12304||de===12305||de>=12306&&de<=12307||de===12308||de===12309||de===12310||de===12311||de===12312||de===12313||de===12314||de===12315||de===12316||de===12317||de>=12318&&de<=12319||de===12320||de===12336||de===64830||de===64831||de>=65093&&de<=65094}function er(de){de.forEach(function(oe){if(delete oe.location,P(oe)||M(oe))for(var Ye in oe.options)delete oe.options[Ye].location,er(oe.options[Ye].value);else T(oe)&&B(oe.style)||(A(oe)||R(oe))&&j(oe.style)?delete oe.style.location:N(oe)&&er(oe.children)})}function an(de,oe){oe===void 0&&(oe={}),oe=(0,i.C3)({shouldParseSkeletons:!0,requiresOtherClause:!0},oe);var Ye=new Jn(de,oe).parse();if(Ye.err){var Et=SyntaxError(a[Ye.err.kind]);throw Et.location=Ye.err.location,Et.originalMessage=Ye.err.message,Et}return oe?.captureLocation||er(Ye.val),Ye.val}var Cn=null},70716:(U,C,e)=>{"use strict";e.d(C,{AQ:()=>v,Ub:()=>A,Wq:()=>R,oR:()=>c,q2:()=>T,yk:()=>_});var i=e(7353),a;(function(P){P.FORMAT_ERROR="FORMAT_ERROR",P.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",P.INVALID_CONFIG="INVALID_CONFIG",P.MISSING_DATA="MISSING_DATA",P.MISSING_TRANSLATION="MISSING_TRANSLATION"})(a||(a={}));var l=function(P){(0,i.ct)(M,P);function M(O,N,B){var j=this,z=B?B instanceof Error?B:new Error(String(B)):void 0;return j=P.call(this,"[@formatjs/intl Error ".concat(O,"] ").concat(N,`
`).concat(z?`
`.concat(z.message,`
`).concat(z.stack):""))||this,j.code=O,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(j,M),j}return M}(Error),c=function(P){(0,i.ct)(M,P);function M(O,N){return P.call(this,a.UNSUPPORTED_FORMATTER,O,N)||this}return M}(l),v=function(P){(0,i.ct)(M,P);function M(O,N){return P.call(this,a.INVALID_CONFIG,O,N)||this}return M}(l),_=function(P){(0,i.ct)(M,P);function M(O,N){return P.call(this,a.MISSING_DATA,O,N)||this}return M}(l),T=function(P){(0,i.ct)(M,P);function M(O,N,B){var j=P.call(this,a.FORMAT_ERROR,"".concat(O,`
Locale: `).concat(N,`
`),B)||this;return j.locale=N,j}return M}(l),A=function(P){(0,i.ct)(M,P);function M(O,N,B,j){var z=P.call(this,"".concat(O,`
MessageID: `).concat(B?.id,`
Default Message: `).concat(B?.defaultMessage,`
Description: `).concat(B?.description,`
`),N,j)||this;return z.descriptor=B,z.locale=N,z}return M}(T),R=function(P){(0,i.ct)(M,P);function M(O,N){var B=P.call(this,a.MISSING_TRANSLATION,'Missing message: "'.concat(O.id,'" for locale "').concat(N,'", using ').concat(O.defaultMessage?"default message (".concat(typeof O.defaultMessage=="string"?O.defaultMessage:O.defaultMessage.map(function(j){var z;return(z=j.value)!==null&&z!==void 0?z:JSON.stringify(j)}).join(),")"):"id"," as fallback."))||this;return B.descriptor=O,B}return M}(l)},14600:(U,C,e)=>{"use strict";e.d(C,{AH:()=>M,OY:()=>v,SI:()=>A,Se:()=>R,_u:()=>O});var i=e(7353),a=e(77208),l=e(3453),c=e(70716);function v(N,B,j){return j===void 0&&(j={}),B.reduce(function(z,W){return W in N?z[W]=N[W]:W in j&&(z[W]=j[W]),z},{})}var _=function(N){},T=function(N){},A={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:_,onWarn:T};function R(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function P(N){return{create:function(){return{get:function(B){return N[B]},set:function(B,j){N[B]=j}}}}}function M(N){N===void 0&&(N=R());var B=Intl.RelativeTimeFormat,j=Intl.ListFormat,z=Intl.DisplayNames,W=(0,l.s)(function(){for(var K,Y=[],Z=0;Z<arguments.length;Z++)Y[Z]=arguments[Z];return new((K=Intl.DateTimeFormat).bind.apply(K,(0,i.Mt)([void 0],Y,!1)))},{cache:P(N.dateTime),strategy:l.A.variadic}),X=(0,l.s)(function(){for(var K,Y=[],Z=0;Z<arguments.length;Z++)Y[Z]=arguments[Z];return new((K=Intl.NumberFormat).bind.apply(K,(0,i.Mt)([void 0],Y,!1)))},{cache:P(N.number),strategy:l.A.variadic}),Q=(0,l.s)(function(){for(var K,Y=[],Z=0;Z<arguments.length;Z++)Y[Z]=arguments[Z];return new((K=Intl.PluralRules).bind.apply(K,(0,i.Mt)([void 0],Y,!1)))},{cache:P(N.pluralRules),strategy:l.A.variadic});return{getDateTimeFormat:W,getNumberFormat:X,getMessageFormat:(0,l.s)(function(K,Y,Z,J){return new a.W(K,Y,Z,(0,i.C3)({formatters:{getNumberFormat:X,getDateTimeFormat:W,getPluralRules:Q}},J||{}))},{cache:P(N.message),strategy:l.A.variadic}),getRelativeTimeFormat:(0,l.s)(function(){for(var K=[],Y=0;Y<arguments.length;Y++)K[Y]=arguments[Y];return new(B.bind.apply(B,(0,i.Mt)([void 0],K,!1)))},{cache:P(N.relativeTime),strategy:l.A.variadic}),getPluralRules:Q,getListFormat:(0,l.s)(function(){for(var K=[],Y=0;Y<arguments.length;Y++)K[Y]=arguments[Y];return new(j.bind.apply(j,(0,i.Mt)([void 0],K,!1)))},{cache:P(N.list),strategy:l.A.variadic}),getDisplayNames:(0,l.s)(function(){for(var K=[],Y=0;Y<arguments.length;Y++)K[Y]=arguments[Y];return new(z.bind.apply(z,(0,i.Mt)([void 0],K,!1)))},{cache:P(N.displayNames),strategy:l.A.variadic})}}function O(N,B,j,z){var W=N&&N[B],X;if(W&&(X=W[j]),X)return X;z(new c.oR("No ".concat(B," format named: ").concat(j)))}},87108:(U,C,e)=>{"use strict";e.d(C,{KS:()=>Ae});var i=e(70188),a=e(67432),l=e(62552),c=e(70516),v=e(89592),_=function(Fe,Qe){for(var ce=0,Ge=Qe.length,Pe=Fe.length;ce<Ge;ce++,Pe++)Fe[Pe]=Qe[ce];return Fe},T=Object.defineProperty,A=Object.defineProperties,R=Object.getOwnPropertyDescriptors,P=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,N=function(Fe,Qe,ce){return Qe in Fe?T(Fe,Qe,{enumerable:!0,configurable:!0,writable:!0,value:ce}):Fe[Qe]=ce},B=function(Fe,Qe){for(var ce in Qe||(Qe={}))M.call(Qe,ce)&&N(Fe,ce,Qe[ce]);if(P)for(var Ge=0,Pe=P(Qe);Ge<Pe.length;Ge++){var ce=Pe[Ge];O.call(Qe,ce)&&N(Fe,ce,Qe[ce])}return Fe},j=function(Fe,Qe){return A(Fe,R(Qe))};function z(Fe,Qe,ce,Ge){var Pe=(0,l.useMemo)(function(){return{queryArgs:Fe,serialized:typeof Fe=="object"?Qe({queryArgs:Fe,endpointDefinition:ce,endpointName:Ge}):Fe}},[Fe,Qe,ce,Ge]),pe=(0,l.useRef)(Pe);return(0,l.useEffect)(function(){pe.current.serialized!==Pe.serialized&&(pe.current=Pe)},[Pe]),pe.current.serialized===Pe.serialized?pe.current.queryArgs:Fe}var W=Symbol();function X(Fe){var Qe=(0,l.useRef)(Fe);return(0,l.useEffect)(function(){(0,c.G)(Qe.current,Fe)||(Qe.current=Fe)},[Fe]),(0,c.G)(Qe.current,Fe)?Qe.current:Fe}var Q=WeakMap?new WeakMap:void 0,K=function(Fe){var Qe=Fe.endpointName,ce=Fe.queryArgs,Ge="",Pe=Q?.get(ce);if(typeof Pe=="string")Ge=Pe;else{var pe=JSON.stringify(ce,function(Se,_e){return(0,v.oF)(_e)?Object.keys(_e).sort().reduce(function(Ne,Le){return Ne[Le]=_e[Le],Ne},{}):_e});(0,v.oF)(ce)&&Q?.set(ce,pe),Ge=pe}return Qe+"("+Ge+")"},Y=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect,Z=function(Fe){return Fe},J=function(Fe){return Fe.isUninitialized?j(B({},Fe),{isUninitialized:!1,isFetching:!0,isLoading:Fe.data===void 0,status:i.E9.pending}):Fe};function ee(Fe){var Qe=Fe.api,ce=Fe.moduleOptions,Ge=ce.batch,Pe=ce.useDispatch,pe=ce.useSelector,Se=ce.useStore,_e=ce.unstable__sideEffectsInRender,Ne=Fe.serializeQueryArgs,Le=Fe.context,Ke=_e?function(zt){return zt()}:l.useEffect;return{buildQueryHooks:It,buildMutationHook:_t,usePrefetch:yt};function bt(zt,Vt,St){if(Vt?.endpointName&&zt.isUninitialized){var Xt=Vt.endpointName,jt=Le.endpointDefinitions[Xt];Ne({queryArgs:Vt.originalArgs,endpointDefinition:jt,endpointName:Xt})===Ne({queryArgs:St,endpointDefinition:jt,endpointName:Xt})&&(Vt=void 0)}var sn=zt.isSuccess?zt.data:Vt?.data;sn===void 0&&(sn=zt.data);var dt=sn!==void 0,Ln=zt.isLoading,fn=!dt&&Ln,cr=zt.isSuccess||Ln&&dt;return j(B({},zt),{data:sn,currentData:zt.data,isFetching:Ln,isLoading:fn,isSuccess:cr})}function yt(zt,Vt){var St=Pe(),Xt=X(Vt);return(0,l.useCallback)(function(jt,sn){return St(Qe.util.prefetch(zt,jt,B(B({},Xt),sn)))},[zt,St,Xt])}function It(zt){var Vt=function(jt,sn){var dt=sn===void 0?{}:sn,Ln=dt.refetchOnReconnect,fn=dt.refetchOnFocus,cr=dt.refetchOnMountOrArgChange,wr=dt.skip,Jn=wr===void 0?!1:wr,nn=dt.pollingInterval,or=nn===void 0?0:nn,bn=Qe.endpoints[zt].initiate,Sn=Pe(),Hn=z(Jn?i.W9:jt,K,Le.endpointDefinitions[zt],zt),er=X({refetchOnReconnect:Ln,refetchOnFocus:fn,pollingInterval:or}),an=(0,l.useRef)(!1),Cn=(0,l.useRef)(),de=Cn.current||{},oe=de.queryCacheKey,Ye=de.requestId,Et=!1;if(oe&&Ye){var xe=Sn(Qe.internalActions.internal_probeSubscription({queryCacheKey:oe,requestId:Ye}));Et=!!xe}var Re=!Et&&an.current;return Ke(function(){an.current=Et}),Ke(function(){Re&&(Cn.current=void 0)},[Re]),Ke(function(){var We,gt=Cn.current;if(typeof process<"u",Hn===i.W9){gt?.unsubscribe(),Cn.current=void 0;return}var Nt=(We=Cn.current)==null?void 0:We.subscriptionOptions;if(!gt||gt.arg!==Hn){gt?.unsubscribe();var Ct=Sn(bn(Hn,{subscriptionOptions:er,forceRefetch:cr}));Cn.current=Ct}else er!==Nt&&gt.updateSubscriptionOptions(er)},[Sn,bn,cr,Hn,er,Re]),(0,l.useEffect)(function(){return function(){var We;(We=Cn.current)==null||We.unsubscribe(),Cn.current=void 0}},[]),(0,l.useMemo)(function(){return{refetch:function(){var We;if(!Cn.current)throw new Error("Cannot refetch a query that has not been started yet.");return(We=Cn.current)==null?void 0:We.refetch()}}},[])},St=function(jt){var sn=jt===void 0?{}:jt,dt=sn.refetchOnReconnect,Ln=sn.refetchOnFocus,fn=sn.pollingInterval,cr=fn===void 0?0:fn,wr=Qe.endpoints[zt].initiate,Jn=Pe(),nn=(0,l.useState)(W),or=nn[0],bn=nn[1],Sn=(0,l.useRef)(),Hn=X({refetchOnReconnect:dt,refetchOnFocus:Ln,pollingInterval:cr});Ke(function(){var Cn,de,oe=(Cn=Sn.current)==null?void 0:Cn.subscriptionOptions;Hn!==oe&&((de=Sn.current)==null||de.updateSubscriptionOptions(Hn))},[Hn]);var er=(0,l.useRef)(Hn);Ke(function(){er.current=Hn},[Hn]);var an=(0,l.useCallback)(function(Cn,de){de===void 0&&(de=!1);var oe;return Ge(function(){var Ye;(Ye=Sn.current)==null||Ye.unsubscribe(),Sn.current=oe=Jn(wr(Cn,{subscriptionOptions:er.current,forceRefetch:!de})),bn(Cn)}),oe},[Jn,wr]);return(0,l.useEffect)(function(){return function(){var Cn;(Cn=Sn?.current)==null||Cn.unsubscribe()}},[]),(0,l.useEffect)(function(){or!==W&&!Sn.current&&an(or,!0)},[or,an]),(0,l.useMemo)(function(){return[an,or]},[an,or])},Xt=function(jt,sn){var dt=sn===void 0?{}:sn,Ln=dt.skip,fn=Ln===void 0?!1:Ln,cr=dt.selectFromResult,wr=Qe.endpoints[zt].select,Jn=z(fn?i.W9:jt,Ne,Le.endpointDefinitions[zt],zt),nn=(0,l.useRef)(),or=(0,l.useMemo)(function(){return(0,a.M3)([wr(Jn),function(an,Cn){return Cn},function(an){return Jn}],bt)},[wr,Jn]),bn=(0,l.useMemo)(function(){return cr?(0,a.M3)([or],cr):or},[or,cr]),Sn=pe(function(an){return bn(an,nn.current)},c.G),Hn=Se(),er=or(Hn.getState(),nn.current);return Y(function(){nn.current=er},[er]),Sn};return{useQueryState:Xt,useQuerySubscription:Vt,useLazyQuerySubscription:St,useLazyQuery:function(jt){var sn=St(jt),dt=sn[0],Ln=sn[1],fn=Xt(Ln,j(B({},jt),{skip:Ln===W})),cr=(0,l.useMemo)(function(){return{lastArg:Ln}},[Ln]);return(0,l.useMemo)(function(){return[dt,fn,cr]},[dt,fn,cr])},useQuery:function(jt,sn){var dt=Vt(jt,sn),Ln=Xt(jt,B({selectFromResult:jt===i.W9||sn?.skip?void 0:J},sn)),fn=Ln.data,cr=Ln.status,wr=Ln.isLoading,Jn=Ln.isSuccess,nn=Ln.isError,or=Ln.error;return(0,l.useDebugValue)({data:fn,status:cr,isLoading:wr,isSuccess:Jn,isError:nn,error:or}),(0,l.useMemo)(function(){return B(B({},Ln),dt)},[Ln,dt])}}}function _t(zt){return function(Vt){var St=Vt===void 0?{}:Vt,Xt=St.selectFromResult,jt=Xt===void 0?Z:Xt,sn=St.fixedCacheKey,dt=Qe.endpoints[zt],Ln=dt.select,fn=dt.initiate,cr=Pe(),wr=(0,l.useState)(),Jn=wr[0],nn=wr[1];(0,l.useEffect)(function(){return function(){Jn?.arg.fixedCacheKey||Jn?.reset()}},[Jn]);var or=(0,l.useCallback)(function(gt){var Nt=cr(fn(gt,{fixedCacheKey:sn}));return nn(Nt),Nt},[cr,fn,sn]),bn=(Jn||{}).requestId,Sn=(0,l.useMemo)(function(){return(0,a.M3)([Ln({fixedCacheKey:sn,requestId:Jn?.requestId})],jt)},[Ln,Jn,jt,sn]),Hn=pe(Sn,c.G),er=sn==null?Jn?.arg.originalArgs:void 0,an=(0,l.useCallback)(function(){Ge(function(){Jn&&nn(void 0),sn&&cr(Qe.internalActions.removeMutationResult({requestId:bn,fixedCacheKey:sn}))})},[cr,sn,Jn,bn]),Cn=Hn.endpointName,de=Hn.data,oe=Hn.status,Ye=Hn.isLoading,Et=Hn.isSuccess,xe=Hn.isError,Re=Hn.error;(0,l.useDebugValue)({endpointName:Cn,data:de,status:oe,isLoading:Ye,isSuccess:Et,isError:xe,error:Re});var We=(0,l.useMemo)(function(){return j(B({},Hn),{originalArgs:er,reset:an})},[Hn,er,an]);return(0,l.useMemo)(function(){return[or,We]},[or,We])}}}var re;(function(Fe){Fe.query="query",Fe.mutation="mutation"})(re||(re={}));function me(Fe){return Fe.type===re.query}function fe(Fe){return Fe.type===re.mutation}function le(Fe){return Fe.replace(Fe[0],Fe[0].toUpperCase())}function Ve(Fe){for(var Qe=[],ce=1;ce<arguments.length;ce++)Qe[ce-1]=arguments[ce];Object.assign.apply(Object,_([Fe],Qe))}var Ze=Symbol(),Ce=function(Fe){var Qe=Fe===void 0?{}:Fe,ce=Qe.batch,Ge=ce===void 0?c.wN:ce,Pe=Qe.useDispatch,pe=Pe===void 0?c.OY:Pe,Se=Qe.useSelector,_e=Se===void 0?c.w1:Se,Ne=Qe.useStore,Le=Ne===void 0?c.o3:Ne,Ke=Qe.unstable__sideEffectsInRender,bt=Ke===void 0?!1:Ke;return{name:Ze,init:function(yt,It,_t){var zt=It.serializeQueryArgs,Vt=yt,St=ee({api:yt,moduleOptions:{batch:Ge,useDispatch:pe,useSelector:_e,useStore:Le,unstable__sideEffectsInRender:bt},serializeQueryArgs:zt,context:_t}),Xt=St.buildQueryHooks,jt=St.buildMutationHook,sn=St.usePrefetch;return Ve(Vt,{usePrefetch:sn}),Ve(_t,{batch:Ge}),{injectEndpoint:function(dt,Ln){if(me(Ln)){var fn=Xt(dt),cr=fn.useQuery,wr=fn.useLazyQuery,Jn=fn.useLazyQuerySubscription,nn=fn.useQueryState,or=fn.useQuerySubscription;Ve(Vt.endpoints[dt],{useQuery:cr,useLazyQuery:wr,useLazyQuerySubscription:Jn,useQueryState:nn,useQuerySubscription:or}),yt["use"+le(dt)+"Query"]=cr,yt["useLazy"+le(dt)+"Query"]=wr}else if(fe(Ln)){var bn=jt(dt);Ve(Vt.endpoints[dt],{useMutation:bn}),yt["use"+le(dt)+"Mutation"]=bn}}}}}};function ye(Fe){var Qe=React.useState(function(){var ce;return configureStore({reducer:(ce={},ce[Fe.api.reducerPath]=Fe.api.reducer,ce),middleware:function(Ge){return Ge().concat(Fe.api.middleware)}})})[0];return useEffect4(function(){return Fe.setupListeners===!1?void 0:setupListeners(Qe.dispatch,Fe.setupListeners)},[Fe.setupListeners,Qe.dispatch]),React.createElement(Provider,{store:Qe,context:Fe.context},Fe.children)}var Ae=(0,i.UZ)((0,i._4)(),Ce())},70188:(U,C,e)=>{"use strict";e.d(C,{E9:()=>Q,UZ:()=>xe,W9:()=>Hn,_4:()=>yi});var i=e(89592),a=e(29088),l=e(67432),c=e(21160),v=e(5028),_=function(cn,mt){var we={label:0,sent:function(){if(at[0]&1)throw at[1];return at[1]},trys:[],ops:[]},je,pt,at,kt;return kt={next:vn(0),throw:vn(1),return:vn(2)},typeof Symbol=="function"&&(kt[Symbol.iterator]=function(){return this}),kt;function vn(nr){return function(rr){return Wn([nr,rr])}}function Wn(nr){if(je)throw new TypeError("Generator is already executing.");for(;we;)try{if(je=1,pt&&(at=nr[0]&2?pt.return:nr[0]?pt.throw||((at=pt.return)&&at.call(pt),0):pt.next)&&!(at=at.call(pt,nr[1])).done)return at;switch(pt=0,at&&(nr=[nr[0]&2,at.value]),nr[0]){case 0:case 1:at=nr;break;case 4:return we.label++,{value:nr[1],done:!1};case 5:we.label++,pt=nr[1],nr=[0];continue;case 7:nr=we.ops.pop(),we.trys.pop();continue;default:if(at=we.trys,!(at=at.length>0&&at[at.length-1])&&(nr[0]===6||nr[0]===2)){we=0;continue}if(nr[0]===3&&(!at||nr[1]>at[0]&&nr[1]<at[3])){we.label=nr[1];break}if(nr[0]===6&&we.label<at[1]){we.label=at[1],at=nr;break}if(at&&we.label<at[2]){we.label=at[2],we.ops.push(nr);break}at[2]&&we.ops.pop(),we.trys.pop();continue}nr=mt.call(cn,we)}catch(rr){nr=[6,rr],pt=0}finally{je=at=0}if(nr[0]&5)throw nr[1];return{value:nr[0]?nr[1]:void 0,done:!0}}},T=function(cn,mt){for(var we=0,je=mt.length,pt=cn.length;we<je;we++,pt++)cn[pt]=mt[we];return cn},A=Object.defineProperty,R=Object.defineProperties,P=Object.getOwnPropertyDescriptors,M=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,B=function(cn,mt,we){return mt in cn?A(cn,mt,{enumerable:!0,configurable:!0,writable:!0,value:we}):cn[mt]=we},j=function(cn,mt){for(var we in mt||(mt={}))O.call(mt,we)&&B(cn,we,mt[we]);if(M)for(var je=0,pt=M(mt);je<pt.length;je++){var we=pt[je];N.call(mt,we)&&B(cn,we,mt[we])}return cn},z=function(cn,mt){return R(cn,P(mt))},W=function(cn,mt){var we={};for(var je in cn)O.call(cn,je)&&mt.indexOf(je)<0&&(we[je]=cn[je]);if(cn!=null&&M)for(var pt=0,at=M(cn);pt<at.length;pt++){var je=at[pt];mt.indexOf(je)<0&&N.call(cn,je)&&(we[je]=cn[je])}return we},X=function(cn,mt,we){return new Promise(function(je,pt){var at=function(Wn){try{vn(we.next(Wn))}catch(nr){pt(nr)}},kt=function(Wn){try{vn(we.throw(Wn))}catch(nr){pt(nr)}},vn=function(Wn){return Wn.done?je(Wn.value):Promise.resolve(Wn.value).then(at,kt)};vn((we=we.apply(cn,mt)).next())})},Q;(function(cn){cn.uninitialized="uninitialized",cn.pending="pending",cn.fulfilled="fulfilled",cn.rejected="rejected"})(Q||(Q={}));function K(cn){return{status:cn,isUninitialized:cn===Q.uninitialized,isLoading:cn===Q.pending,isSuccess:cn===Q.fulfilled,isError:cn===Q.rejected}}function Y(cn){return new RegExp("(^|:)//").test(cn)}var Z=function(cn){return cn.replace(/\/$/,"")},J=function(cn){return cn.replace(/^\//,"")};function ee(cn,mt){if(!cn)return mt;if(!mt)return cn;if(Y(mt))return mt;var we=cn.endsWith("/")||!mt.startsWith("?")?"/":"";return cn=Z(cn),mt=J(mt),""+cn+we+mt}var re=function(cn){return[].concat.apply([],cn)};function me(){return typeof navigator>"u"||navigator.onLine===void 0?!0:navigator.onLine}function fe(){return typeof document>"u"?!0:document.visibilityState!=="hidden"}var le=i.oF;function Ve(cn,mt){if(cn===mt||!(le(cn)&&le(mt)||Array.isArray(cn)&&Array.isArray(mt)))return mt;for(var we=Object.keys(mt),je=Object.keys(cn),pt=we.length===je.length,at=Array.isArray(mt)?[]:{},kt=0,vn=we;kt<vn.length;kt++){var Wn=vn[kt];at[Wn]=Ve(cn[Wn],mt[Wn]),pt&&(pt=cn[Wn]===at[Wn])}return pt?cn:at}var Ze=function(){for(var cn=[],mt=0;mt<arguments.length;mt++)cn[mt]=arguments[mt];return fetch.apply(void 0,cn)},Ce=function(cn){return cn.status>=200&&cn.status<=299},ye=function(cn){return/ion\/(vnd\.api\+)?json/.test(cn.get("content-type")||"")};function Ae(cn){if(!isPlainObject2(cn))return cn;for(var mt=j({},cn),we=0,je=Object.entries(mt);we<je.length;we++){var pt=je[we],at=pt[0],kt=pt[1];kt===void 0&&delete mt[at]}return mt}function Fe(cn){var mt=this;cn===void 0&&(cn={});var we=cn,je=we.baseUrl,pt=we.prepareHeaders,at=pt===void 0?function(Yt){return Yt}:pt,kt=we.fetchFn,vn=kt===void 0?Ze:kt,Wn=we.paramsSerializer,nr=we.isJsonContentType,rr=nr===void 0?ye:nr,Ot=we.jsonContentType,Gt=Ot===void 0?"application/json":Ot,Pt=we.jsonReplacer,Tt=we.timeout,An=we.responseHandler,on=we.validateStatus,dn=W(we,["baseUrl","prepareHeaders","fetchFn","paramsSerializer","isJsonContentType","jsonContentType","jsonReplacer","timeout","responseHandler","validateStatus"]);return typeof fetch>"u"&&vn===Ze&&console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."),function(Yt,$t){return X(mt,null,function(){var Jt,Lt,yn,In,yr,Rr,Xr,ci,Hr,un,ct,Ut,wt,kn,wn,Qn,ur,fi,ot,ft,Mt,qt,sr,lr,Cr,xr,qr,jr,vr,$r,Wr,be,Ue,ut,Ht,Fn;return _(this,function(ln){switch(ln.label){case 0:return Jt=$t.signal,Lt=$t.getState,yn=$t.extra,In=$t.endpoint,yr=$t.forced,Rr=$t.type,ci=typeof Yt=="string"?{url:Yt}:Yt,Hr=ci.url,un=ci.headers,ct=un===void 0?new Headers(dn.headers):un,Ut=ci.params,wt=Ut===void 0?void 0:Ut,kn=ci.responseHandler,wn=kn===void 0?An??"json":kn,Qn=ci.validateStatus,ur=Qn===void 0?on??Ce:Qn,fi=ci.timeout,ot=fi===void 0?Tt:fi,ft=W(ci,["url","headers","params","responseHandler","validateStatus","timeout"]),Mt=j(z(j({},dn),{signal:Jt}),ft),ct=new Headers(Ae(ct)),qt=Mt,[4,at(ct,{getState:Lt,extra:yn,endpoint:In,forced:yr,type:Rr})];case 1:qt.headers=ln.sent()||ct,sr=function(jn){return typeof jn=="object"&&(isPlainObject2(jn)||Array.isArray(jn)||typeof jn.toJSON=="function")},!Mt.headers.has("content-type")&&sr(Mt.body)&&Mt.headers.set("content-type",Gt),sr(Mt.body)&&rr(Mt.headers)&&(Mt.body=JSON.stringify(Mt.body,Pt)),wt&&(lr=~Hr.indexOf("?")?"&":"?",Cr=Wn?Wn(wt):new URLSearchParams(Ae(wt)),Hr+=lr+Cr),Hr=ee(je,Hr),xr=new Request(Hr,Mt),qr=new Request(Hr,Mt),Xr={request:qr},vr=!1,$r=ot&&setTimeout(function(){vr=!0,$t.abort()},ot),ln.label=2;case 2:return ln.trys.push([2,4,5,6]),[4,vn(xr)];case 3:return jr=ln.sent(),[3,6];case 4:return Wr=ln.sent(),[2,{error:{status:vr?"TIMEOUT_ERROR":"FETCH_ERROR",error:String(Wr)},meta:Xr}];case 5:return $r&&clearTimeout($r),[7];case 6:be=jr.clone(),Xr.response=be,ut="",ln.label=7;case 7:return ln.trys.push([7,9,,10]),[4,Promise.all([$e(jr,wn).then(function(jn){return Ue=jn},function(jn){return Ht=jn}),be.text().then(function(jn){return ut=jn},function(){})])];case 8:if(ln.sent(),Ht)throw Ht;return[3,10];case 9:return Fn=ln.sent(),[2,{error:{status:"PARSING_ERROR",originalStatus:jr.status,data:ut,error:String(Fn)},meta:Xr}];case 10:return[2,ur(jr,Ue)?{data:Ue,meta:Xr}:{error:{status:jr.status,data:Ue},meta:Xr}]}})})};function $e(Yt,$t){return X(this,null,function(){var Jt;return _(this,function(Lt){switch(Lt.label){case 0:return typeof $t=="function"?[2,$t(Yt)]:($t==="content-type"&&($t=rr(Yt.headers)?"json":"text"),$t!=="json"?[3,2]:[4,Yt.text()]);case 1:return Jt=Lt.sent(),[2,Jt.length?JSON.parse(Jt):null];case 2:return[2,Yt.text()]}})})}}var Qe=function(){function cn(mt,we){we===void 0&&(we=void 0),this.value=mt,this.meta=we}return cn}();function ce(cn,mt){return cn===void 0&&(cn=0),mt===void 0&&(mt=5),X(this,null,function(){var we,je;return _(this,function(pt){switch(pt.label){case 0:return we=Math.min(cn,mt),je=~~((Math.random()+.4)*(300<<we)),[4,new Promise(function(at){return setTimeout(function(kt){return at(kt)},je)})];case 1:return pt.sent(),[2]}})})}function Ge(cn){throw Object.assign(new Qe({error:cn}),{throwImmediately:!0})}var Pe={},pe=function(cn,mt){return function(we,je,pt){return X(void 0,null,function(){var at,kt,vn,Wn,nr,rr,Ot;return _(this,function(Gt){switch(Gt.label){case 0:at=[5,(mt||Pe).maxRetries,(pt||Pe).maxRetries].filter(function(Pt){return Pt!==void 0}),kt=at.slice(-1)[0],vn=function(Pt,Tt,An){var on=An.attempt;return on<=kt},Wn=j(j({maxRetries:kt,backoff:ce,retryCondition:vn},mt),pt),nr=0,Gt.label=1;case 1:Gt.label=2;case 2:return Gt.trys.push([2,4,,6]),[4,cn(we,je,pt)];case 3:if(rr=Gt.sent(),rr.error)throw new Qe(rr);return[2,rr];case 4:if(Ot=Gt.sent(),nr++,Ot.throwImmediately){if(Ot instanceof Qe)return[2,Ot.value];throw Ot}return Ot instanceof Qe&&!Wn.retryCondition(Ot.value.error,we,{attempt:nr,baseQueryApi:je,extraOptions:pt})?[2,Ot.value]:[4,Wn.backoff(nr,Wn.maxRetries)];case 5:return Gt.sent(),[3,6];case 6:return[3,1];case 7:return[2]}})})}},Se=Object.assign(pe,{fail:Ge}),_e=(0,i.Uh)("__rtkq/focused"),Ne=(0,i.Uh)("__rtkq/unfocused"),Le=(0,i.Uh)("__rtkq/online"),Ke=(0,i.Uh)("__rtkq/offline"),bt=!1;function yt(cn,mt){function we(){var je=function(){return cn(_e())},pt=function(){return cn(Ne())},at=function(){return cn(Le())},kt=function(){return cn(Ke())},vn=function(){window.document.visibilityState==="visible"?je():pt()};bt||typeof window<"u"&&window.addEventListener&&(window.addEventListener("visibilitychange",vn,!1),window.addEventListener("focus",je,!1),window.addEventListener("online",at,!1),window.addEventListener("offline",kt,!1),bt=!0);var Wn=function(){window.removeEventListener("focus",je),window.removeEventListener("visibilitychange",vn),window.removeEventListener("online",at),window.removeEventListener("offline",kt),bt=!1};return Wn}return mt?mt(cn,{onFocus:_e,onFocusLost:Ne,onOffline:Ke,onOnline:Le}):we()}var It;(function(cn){cn.query="query",cn.mutation="mutation"})(It||(It={}));function _t(cn){return cn.type===It.query}function zt(cn){return cn.type===It.mutation}function Vt(cn,mt,we,je,pt,at){return St(cn)?cn(mt,we,je,pt).map(Xt).map(at):Array.isArray(cn)?cn.map(Xt).map(at):[]}function St(cn){return typeof cn=="function"}function Xt(cn){return typeof cn=="string"?{type:cn}:cn}function jt(cn){return cn!=null}var sn=Symbol("forceQueryFn"),dt=function(cn){return typeof cn[sn]=="function"};function Ln(cn){var mt=cn.serializeQueryArgs,we=cn.queryThunk,je=cn.mutationThunk,pt=cn.api,at=cn.context,kt=new Map,vn=new Map,Wn=pt.internalActions,nr=Wn.unsubscribeQueryResult,rr=Wn.removeMutationResult,Ot=Wn.updateSubscriptionOptions;return{buildInitiateQuery:Yt,buildInitiateMutation:$t,getRunningQueryThunk:Tt,getRunningMutationThunk:An,getRunningQueriesThunk:on,getRunningMutationsThunk:dn,getRunningOperationPromises:Pt,removalWarning:Gt};function Gt(){throw new Error(`This method had to be removed due to a conceptual bug in RTK.
       Please see https://github.com/reduxjs/redux-toolkit/pull/2481 for details.
       See https://redux-toolkit.js.org/rtk-query/usage/server-side-rendering for new guidance on SSR.`)}function Pt(){typeof process<"u";var Jt=function(Lt){return Array.from(Lt.values()).flatMap(function(yn){return yn?Object.values(yn):[]})};return T(T([],Jt(kt)),Jt(vn)).filter(jt)}function Tt(Jt,Lt){return function(yn){var In,yr=at.endpointDefinitions[Jt],Rr=mt({queryArgs:Lt,endpointDefinition:yr,endpointName:Jt});return(In=kt.get(yn))==null?void 0:In[Rr]}}function An(Jt,Lt){return function(yn){var In;return(In=vn.get(yn))==null?void 0:In[Lt]}}function on(){return function(Jt){return Object.values(kt.get(Jt)||{}).filter(jt)}}function dn(){return function(Jt){return Object.values(vn.get(Jt)||{}).filter(jt)}}function $e(Jt){if(!1)var Lt}function Yt(Jt,Lt){var yn=function(In,yr){var Rr=yr===void 0?{}:yr,Xr=Rr.subscribe,ci=Xr===void 0?!0:Xr,Hr=Rr.forceRefetch,un=Rr.subscriptionOptions,ct=sn,Ut=Rr[ct];return function(wt,kn){var wn,Qn,ur=mt({queryArgs:In,endpointDefinition:Lt,endpointName:Jt}),fi=we((wn={type:"query",subscribe:ci,forceRefetch:Hr,subscriptionOptions:un,endpointName:Jt,originalArgs:In,queryCacheKey:ur},wn[sn]=Ut,wn)),ot=pt.endpoints[Jt].select(In),ft=wt(fi),Mt=ot(kn());$e(wt);var qt=ft.requestId,sr=ft.abort,lr=Mt.requestId!==qt,Cr=(Qn=kt.get(wt))==null?void 0:Qn[ur],xr=function(){return ot(kn())},qr=Object.assign(Ut?ft.then(xr):lr&&!Cr?Promise.resolve(Mt):Promise.all([Cr,ft]).then(xr),{arg:In,requestId:qt,subscriptionOptions:un,queryCacheKey:ur,abort:sr,unwrap:function(){return X(this,null,function(){var vr;return _(this,function($r){switch($r.label){case 0:return[4,qr];case 1:if(vr=$r.sent(),vr.isError)throw vr.error;return[2,vr.data]}})})},refetch:function(){return wt(yn(In,{subscribe:!1,forceRefetch:!0}))},unsubscribe:function(){ci&&wt(nr({queryCacheKey:ur,requestId:qt}))},updateSubscriptionOptions:function(vr){qr.subscriptionOptions=vr,wt(Ot({endpointName:Jt,requestId:qt,queryCacheKey:ur,options:vr}))}});if(!Cr&&!lr&&!Ut){var jr=kt.get(wt)||{};jr[ur]=qr,kt.set(wt,jr),qr.then(function(){delete jr[ur],Object.keys(jr).length||kt.delete(wt)})}return qr}};return yn}function $t(Jt){return function(Lt,yn){var In=yn===void 0?{}:yn,yr=In.track,Rr=yr===void 0?!0:yr,Xr=In.fixedCacheKey;return function(ci,Hr){var un=je({type:"mutation",endpointName:Jt,originalArgs:Lt,track:Rr,fixedCacheKey:Xr}),ct=ci(un);$e(ci);var Ut=ct.requestId,wt=ct.abort,kn=ct.unwrap,wn=ct.unwrap().then(function(ot){return{data:ot}}).catch(function(ot){return{error:ot}}),Qn=function(){ci(rr({requestId:Ut,fixedCacheKey:Xr}))},ur=Object.assign(wn,{arg:ct.arg,requestId:Ut,abort:wt,unwrap:kn,unsubscribe:Qn,reset:Qn}),fi=vn.get(ci)||{};return vn.set(ci,fi),fi[Ut]=ur,ur.then(function(){delete fi[Ut],Object.keys(fi).length||vn.delete(ci)}),Xr&&(fi[Xr]=ur,ur.then(function(){fi[Xr]===ur&&(delete fi[Xr],Object.keys(fi).length||vn.delete(ci))})),ur}}}}function fn(cn){return cn}function cr(cn){var mt=this,we=cn.reducerPath,je=cn.baseQuery,pt=cn.context.endpointDefinitions,at=cn.serializeQueryArgs,kt=cn.api,vn=cn.assertTagType,Wn=function($t,Jt,Lt,yn){return function(In,yr){var Rr=pt[$t],Xr=at({queryArgs:Jt,endpointDefinition:Rr,endpointName:$t});if(In(kt.internalActions.queryResultPatched({queryCacheKey:Xr,patches:Lt})),!!yn){var ci=kt.endpoints[$t].select(Jt)(yr()),Hr=Vt(Rr.providesTags,ci.data,void 0,Jt,{},vn);In(kt.internalActions.updateProvidedBy({queryCacheKey:Xr,providedTags:Hr}))}}},nr=function($t,Jt,Lt,yn){return yn===void 0&&(yn=!0),function(In,yr){var Rr,Xr,ci=kt.endpoints[$t],Hr=ci.select(Jt)(yr()),un={patches:[],inversePatches:[],undo:function(){return In(kt.util.patchQueryData($t,Jt,un.inversePatches,yn))}};if(Hr.status===Q.uninitialized)return un;var ct;if("data"in Hr)if((0,a.yi)(Hr.data)){var Ut=(0,a.eq)(Hr.data,Lt),wt=Ut[0],kn=Ut[1],wn=Ut[2];(Rr=un.patches).push.apply(Rr,kn),(Xr=un.inversePatches).push.apply(Xr,wn),ct=wt}else ct=Lt(Hr.data),un.patches.push({op:"replace",path:[],value:ct}),un.inversePatches.push({op:"replace",path:[],value:Hr.data});return In(kt.util.patchQueryData($t,Jt,un.patches,yn)),un}},rr=function($t,Jt,Lt){return function(yn){var In;return yn(kt.endpoints[$t].initiate(Jt,(In={subscribe:!1,forceRefetch:!0},In[sn]=function(){return{data:Lt}},In)))}},Ot=function($t,Jt){return X(mt,[$t,Jt],function(Lt,yn){var In,yr,Rr,Xr,ci,Hr,un,ct,Ut,wt,kn,wn,Qn,ur,fi,ot,ft,Mt,qt=yn.signal,sr=yn.abort,lr=yn.rejectWithValue,Cr=yn.fulfillWithValue,xr=yn.dispatch,qr=yn.getState,jr=yn.extra;return _(this,function(vr){switch(vr.label){case 0:In=pt[Lt.endpointName],vr.label=1;case 1:return vr.trys.push([1,8,,13]),yr=fn,Rr=void 0,Xr={signal:qt,abort:sr,dispatch:xr,getState:qr,extra:jr,endpoint:Lt.endpointName,type:Lt.type,forced:Lt.type==="query"?Gt(Lt,qr()):void 0},ci=Lt.type==="query"?Lt[sn]:void 0,ci?(Rr=ci(),[3,6]):[3,2];case 2:return In.query?[4,je(In.query(Lt.originalArgs),Xr,In.extraOptions)]:[3,4];case 3:return Rr=vr.sent(),In.transformResponse&&(yr=In.transformResponse),[3,6];case 4:return[4,In.queryFn(Lt.originalArgs,Xr,In.extraOptions,function($r){return je($r,Xr,In.extraOptions)})];case 5:Rr=vr.sent(),vr.label=6;case 6:if(typeof process<"u",Rr.error)throw new Qe(Rr.error,Rr.meta);return kn=Cr,[4,yr(Rr.data,Rr.meta,Lt.originalArgs)];case 7:return[2,kn.apply(void 0,[vr.sent(),(ft={fulfilledTimeStamp:Date.now(),baseQueryMeta:Rr.meta},ft[i.mw]=!0,ft)])];case 8:if(wn=vr.sent(),Qn=wn,!(Qn instanceof Qe))return[3,12];ur=fn,In.query&&In.transformErrorResponse&&(ur=In.transformErrorResponse),vr.label=9;case 9:return vr.trys.push([9,11,,12]),fi=lr,[4,ur(Qn.value,Qn.meta,Lt.originalArgs)];case 10:return[2,fi.apply(void 0,[vr.sent(),(Mt={baseQueryMeta:Qn.meta},Mt[i.mw]=!0,Mt)])];case 11:return ot=vr.sent(),Qn=ot,[3,12];case 12:throw typeof process<"u",console.error(Qn),Qn;case 13:return[2]}})})};function Gt($t,Jt){var Lt,yn,In,yr,Rr=(yn=(Lt=Jt[we])==null?void 0:Lt.queries)==null?void 0:yn[$t.queryCacheKey],Xr=(In=Jt[we])==null?void 0:In.config.refetchOnMountOrArgChange,ci=Rr?.fulfilledTimeStamp,Hr=(yr=$t.forceRefetch)!=null?yr:$t.subscribe&&Xr;return Hr?Hr===!0||(Number(new Date)-Number(ci))/1e3>=Hr:!1}var Pt=(0,i.aw)(we+"/executeQuery",Ot,{getPendingMeta:function(){var $t;return $t={startedTimeStamp:Date.now()},$t[i.mw]=!0,$t},condition:function($t,Jt){var Lt=Jt.getState,yn,In,yr,Rr=Lt(),Xr=(In=(yn=Rr[we])==null?void 0:yn.queries)==null?void 0:In[$t.queryCacheKey],ci=Xr?.fulfilledTimeStamp,Hr=$t.originalArgs,un=Xr?.originalArgs,ct=pt[$t.endpointName];return dt($t)?!0:Xr?.status==="pending"?!1:Gt($t,Rr)||_t(ct)&&((yr=ct?.forceRefetch)!=null&&yr.call(ct,{currentArg:Hr,previousArg:un,endpointState:Xr,state:Rr}))?!0:!ci},dispatchConditionRejection:!0}),Tt=(0,i.aw)(we+"/executeMutation",Ot,{getPendingMeta:function(){var $t;return $t={startedTimeStamp:Date.now()},$t[i.mw]=!0,$t}}),An=function($t){return"force"in $t},on=function($t){return"ifOlderThan"in $t},dn=function($t,Jt,Lt){return function(yn,In){var yr=An(Lt)&&Lt.force,Rr=on(Lt)&&Lt.ifOlderThan,Xr=function(ct){return ct===void 0&&(ct=!0),kt.endpoints[$t].initiate(Jt,{forceRefetch:ct})},ci=kt.endpoints[$t].select(Jt)(In());if(yr)yn(Xr());else if(Rr){var Hr=ci?.fulfilledTimeStamp;if(!Hr){yn(Xr());return}var un=(Number(new Date)-Number(new Date(Hr)))/1e3>=Rr;un&&yn(Xr())}else yn(Xr(!1))}};function $e($t){return function(Jt){var Lt,yn;return((yn=(Lt=Jt?.meta)==null?void 0:Lt.arg)==null?void 0:yn.endpointName)===$t}}function Yt($t,Jt){return{matchPending:(0,i.Yv)((0,i.Ke)($t),$e(Jt)),matchFulfilled:(0,i.Yv)((0,i.Qp)($t),$e(Jt)),matchRejected:(0,i.Yv)((0,i.u2)($t),$e(Jt))}}return{queryThunk:Pt,mutationThunk:Tt,prefetch:dn,updateQueryData:nr,upsertQueryData:rr,patchQueryData:Wn,buildMatchThunkActions:Yt}}function wr(cn,mt,we,je){return Vt(we[cn.meta.arg.endpointName][mt],(0,i.Qp)(cn)?cn.payload:void 0,(0,i.KU)(cn)?cn.payload:void 0,cn.meta.arg.originalArgs,"baseQueryMeta"in cn.meta?cn.meta.baseQueryMeta:void 0,je)}function Jn(cn,mt,we){var je=cn[mt];je&&we(je)}function nn(cn){var mt;return(mt="arg"in cn?cn.arg.fixedCacheKey:cn.fixedCacheKey)!=null?mt:cn.requestId}function or(cn,mt,we){var je=cn[nn(mt)];je&&we(je)}var bn={};function Sn(cn){var mt=cn.reducerPath,we=cn.queryThunk,je=cn.mutationThunk,pt=cn.context,at=pt.endpointDefinitions,kt=pt.apiUid,vn=pt.extractRehydrationInfo,Wn=pt.hasRehydrationInfo,nr=cn.assertTagType,rr=cn.config,Ot=(0,i.Uh)(mt+"/resetApiState"),Gt=(0,i.is)({name:mt+"/queries",initialState:bn,reducers:{removeQueryResult:{reducer:function(Jt,Lt){var yn=Lt.payload.queryCacheKey;delete Jt[yn]},prepare:(0,i.Yj)()},queryResultPatched:{reducer:function(Jt,Lt){var yn=Lt.payload,In=yn.queryCacheKey,yr=yn.patches;Jn(Jt,In,function(Rr){Rr.data=(0,a.oz)(Rr.data,yr.concat())})},prepare:(0,i.Yj)()}},extraReducers:function(Jt){Jt.addCase(we.pending,function(Lt,yn){var In=yn.meta,yr=yn.meta.arg,Rr,Xr,ci=dt(yr);(yr.subscribe||ci)&&((Xr=Lt[Rr=yr.queryCacheKey])!=null||(Lt[Rr]={status:Q.uninitialized,endpointName:yr.endpointName})),Jn(Lt,yr.queryCacheKey,function(Hr){Hr.status=Q.pending,Hr.requestId=ci&&Hr.requestId?Hr.requestId:In.requestId,yr.originalArgs!==void 0&&(Hr.originalArgs=yr.originalArgs),Hr.startedTimeStamp=In.startedTimeStamp})}).addCase(we.fulfilled,function(Lt,yn){var In=yn.meta,yr=yn.payload;Jn(Lt,In.arg.queryCacheKey,function(Rr){var Xr;if(!(Rr.requestId!==In.requestId&&!dt(In.arg))){var ci=at[In.arg.endpointName].merge;if(Rr.status=Q.fulfilled,ci)if(Rr.data!==void 0){var Hr=In.fulfilledTimeStamp,un=In.arg,ct=In.baseQueryMeta,Ut=In.requestId,wt=(0,a.cp)(Rr.data,function(kn){return ci(kn,yr,{arg:un.originalArgs,baseQueryMeta:ct,fulfilledTimeStamp:Hr,requestId:Ut})});Rr.data=wt}else Rr.data=yr;else Rr.data=(Xr=at[In.arg.endpointName].structuralSharing)==null||Xr?Ve((0,a.Wl)(Rr.data)?(0,a.WK)(Rr.data):Rr.data,yr):yr;delete Rr.error,Rr.fulfilledTimeStamp=In.fulfilledTimeStamp}})}).addCase(we.rejected,function(Lt,yn){var In=yn.meta,yr=In.condition,Rr=In.arg,Xr=In.requestId,ci=yn.error,Hr=yn.payload;Jn(Lt,Rr.queryCacheKey,function(un){if(!yr){if(un.requestId!==Xr)return;un.status=Q.rejected,un.error=Hr??ci}})}).addMatcher(Wn,function(Lt,yn){for(var In=vn(yn).queries,yr=0,Rr=Object.entries(In);yr<Rr.length;yr++){var Xr=Rr[yr],ci=Xr[0],Hr=Xr[1];(Hr?.status===Q.fulfilled||Hr?.status===Q.rejected)&&(Lt[ci]=Hr)}})}}),Pt=(0,i.is)({name:mt+"/mutations",initialState:bn,reducers:{removeMutationResult:{reducer:function(Jt,Lt){var yn=Lt.payload,In=nn(yn);In in Jt&&delete Jt[In]},prepare:(0,i.Yj)()}},extraReducers:function(Jt){Jt.addCase(je.pending,function(Lt,yn){var In=yn.meta,yr=yn.meta,Rr=yr.requestId,Xr=yr.arg,ci=yr.startedTimeStamp;Xr.track&&(Lt[nn(In)]={requestId:Rr,status:Q.pending,endpointName:Xr.endpointName,startedTimeStamp:ci})}).addCase(je.fulfilled,function(Lt,yn){var In=yn.payload,yr=yn.meta;yr.arg.track&&or(Lt,yr,function(Rr){Rr.requestId===yr.requestId&&(Rr.status=Q.fulfilled,Rr.data=In,Rr.fulfilledTimeStamp=yr.fulfilledTimeStamp)})}).addCase(je.rejected,function(Lt,yn){var In=yn.payload,yr=yn.error,Rr=yn.meta;Rr.arg.track&&or(Lt,Rr,function(Xr){Xr.requestId===Rr.requestId&&(Xr.status=Q.rejected,Xr.error=In??yr)})}).addMatcher(Wn,function(Lt,yn){for(var In=vn(yn).mutations,yr=0,Rr=Object.entries(In);yr<Rr.length;yr++){var Xr=Rr[yr],ci=Xr[0],Hr=Xr[1];(Hr?.status===Q.fulfilled||Hr?.status===Q.rejected)&&ci!==Hr?.requestId&&(Lt[ci]=Hr)}})}}),Tt=(0,i.is)({name:mt+"/invalidation",initialState:bn,reducers:{updateProvidedBy:{reducer:function(Jt,Lt){for(var yn,In,yr,Rr,Xr=Lt.payload,ci=Xr.queryCacheKey,Hr=Xr.providedTags,un=0,ct=Object.values(Jt);un<ct.length;un++)for(var Ut=ct[un],wt=0,kn=Object.values(Ut);wt<kn.length;wt++){var wn=kn[wt],Qn=wn.indexOf(ci);Qn!==-1&&wn.splice(Qn,1)}for(var ur=0,fi=Hr;ur<fi.length;ur++){var ot=fi[ur],ft=ot.type,Mt=ot.id,qt=(Rr=(In=(yn=Jt[ft])!=null?yn:Jt[ft]={})[yr=Mt||"__internal_without_id"])!=null?Rr:In[yr]=[],sr=qt.includes(ci);sr||qt.push(ci)}},prepare:(0,i.Yj)()}},extraReducers:function(Jt){Jt.addCase(Gt.actions.removeQueryResult,function(Lt,yn){for(var In=yn.payload.queryCacheKey,yr=0,Rr=Object.values(Lt);yr<Rr.length;yr++)for(var Xr=Rr[yr],ci=0,Hr=Object.values(Xr);ci<Hr.length;ci++){var un=Hr[ci],ct=un.indexOf(In);ct!==-1&&un.splice(ct,1)}}).addMatcher(Wn,function(Lt,yn){for(var In,yr,Rr,Xr,ci=vn(yn).provided,Hr=0,un=Object.entries(ci);Hr<un.length;Hr++)for(var ct=un[Hr],Ut=ct[0],wt=ct[1],kn=0,wn=Object.entries(wt);kn<wn.length;kn++)for(var Qn=wn[kn],ur=Qn[0],fi=Qn[1],ot=(Xr=(yr=(In=Lt[Ut])!=null?In:Lt[Ut]={})[Rr=ur||"__internal_without_id"])!=null?Xr:yr[Rr]=[],ft=0,Mt=fi;ft<Mt.length;ft++){var qt=Mt[ft],sr=ot.includes(qt);sr||ot.push(qt)}}).addMatcher((0,i.CF)((0,i.Qp)(we),(0,i.KU)(we)),function(Lt,yn){var In=wr(yn,"providesTags",at,nr),yr=yn.meta.arg.queryCacheKey;Tt.caseReducers.updateProvidedBy(Lt,Tt.actions.updateProvidedBy({queryCacheKey:yr,providedTags:In}))})}}),An=(0,i.is)({name:mt+"/subscriptions",initialState:bn,reducers:{updateSubscriptionOptions:function(Jt,Lt){},unsubscribeQueryResult:function(Jt,Lt){},internal_probeSubscription:function(Jt,Lt){}}}),on=(0,i.is)({name:mt+"/internalSubscriptions",initialState:bn,reducers:{subscriptionsUpdated:{reducer:function(Jt,Lt){return(0,a.oz)(Jt,Lt.payload)},prepare:(0,i.Yj)()}}}),dn=(0,i.is)({name:mt+"/config",initialState:j({online:me(),focused:fe(),middlewareRegistered:!1},rr),reducers:{middlewareRegistered:function(Jt,Lt){var yn=Lt.payload;Jt.middlewareRegistered=Jt.middlewareRegistered==="conflict"||kt!==yn?"conflict":!0}},extraReducers:function(Jt){Jt.addCase(Le,function(Lt){Lt.online=!0}).addCase(Ke,function(Lt){Lt.online=!1}).addCase(_e,function(Lt){Lt.focused=!0}).addCase(Ne,function(Lt){Lt.focused=!1}).addMatcher(Wn,function(Lt){return j({},Lt)})}}),$e=(0,c.TL)({queries:Gt.reducer,mutations:Pt.reducer,provided:Tt.reducer,subscriptions:on.reducer,config:dn.reducer}),Yt=function(Jt,Lt){return $e(Ot.match(Lt)?void 0:Jt,Lt)},$t=z(j(j(j(j(j(j({},dn.actions),Gt.actions),An.actions),on.actions),Pt.actions),Tt.actions),{unsubscribeMutationResult:Pt.actions.removeMutationResult,resetApiState:Ot});return{reducer:Yt,actions:$t}}var Hn=Symbol.for("RTKQ/skipToken"),er=null,an={status:Q.uninitialized},Cn=(0,a.cp)(an,function(){}),de=(0,a.cp)(an,function(){});function oe(cn){var mt=cn.serializeQueryArgs,we=cn.reducerPath,je=function(rr){return Cn},pt=function(rr){return de};return{buildQuerySelector:vn,buildMutationSelector:Wn,selectInvalidatedBy:nr};function at(rr){return j(j({},rr),K(rr.status))}function kt(rr){var Ot=rr[we];return Ot}function vn(rr,Ot){return function(Gt){var Pt=mt({queryArgs:Gt,endpointDefinition:Ot,endpointName:rr}),Tt=function(on){var dn,$e,Yt;return(Yt=($e=(dn=kt(on))==null?void 0:dn.queries)==null?void 0:$e[Pt])!=null?Yt:Cn},An=Gt===Hn?je:Tt;return(0,l.M3)(An,at)}}function Wn(){return function(rr){var Ot,Gt;typeof rr=="object"?Gt=(Ot=nn(rr))!=null?Ot:Hn:Gt=rr;var Pt=function(An){var on,dn,$e;return($e=(dn=(on=kt(An))==null?void 0:on.mutations)==null?void 0:dn[Gt])!=null?$e:de},Tt=Gt===Hn?pt:Pt;return(0,l.M3)(Tt,at)}}function nr(rr,Ot){for(var Gt,Pt=rr[we],Tt=new Set,An=0,on=Ot.map(Xt);An<on.length;An++){var dn=on[An],$e=Pt.provided[dn.type];if($e)for(var Yt=(Gt=dn.id!==void 0?$e[dn.id]:re(Object.values($e)))!=null?Gt:[],$t=0,Jt=Yt;$t<Jt.length;$t++){var Lt=Jt[$t];Tt.add(Lt)}}return re(Array.from(Tt.values()).map(function(yn){var In=Pt.queries[yn];return In?[{queryCacheKey:yn,endpointName:In.endpointName,originalArgs:In.originalArgs}]:[]}))}}var Ye=WeakMap?new WeakMap:void 0,Et=function(cn){var mt=cn.endpointName,we=cn.queryArgs,je="",pt=Ye?.get(we);if(typeof pt=="string")je=pt;else{var at=JSON.stringify(we,function(kt,vn){return(0,i.oF)(vn)?Object.keys(vn).sort().reduce(function(Wn,nr){return Wn[nr]=vn[nr],Wn},{}):vn});(0,i.oF)(we)&&Ye?.set(we,at),je=at}return mt+"("+je+")"};function xe(){for(var cn=[],mt=0;mt<arguments.length;mt++)cn[mt]=arguments[mt];return function(je){var pt=(0,v.Aj)(function(rr){var Ot,Gt;return(Gt=je.extractRehydrationInfo)==null?void 0:Gt.call(je,rr,{reducerPath:(Ot=je.reducerPath)!=null?Ot:"api"})}),at=z(j({reducerPath:"api",keepUnusedDataFor:60,refetchOnMountOrArgChange:!1,refetchOnFocus:!1,refetchOnReconnect:!1},je),{extractRehydrationInfo:pt,serializeQueryArgs:function(rr){var Ot=Et;if("serializeQueryArgs"in rr.endpointDefinition){var Gt=rr.endpointDefinition.serializeQueryArgs;Ot=function(Pt){var Tt=Gt(Pt);return typeof Tt=="string"?Tt:Et(z(j({},Pt),{queryArgs:Tt}))}}else je.serializeQueryArgs&&(Ot=je.serializeQueryArgs);return Ot(rr)},tagTypes:T([],je.tagTypes||[])}),kt={endpointDefinitions:{},batch:function(rr){rr()},apiUid:(0,i.i0)(),extractRehydrationInfo:pt,hasRehydrationInfo:(0,v.Aj)(function(rr){return pt(rr)!=null})},vn={injectEndpoints:nr,enhanceEndpoints:function(rr){var Ot=rr.addTagTypes,Gt=rr.endpoints;if(Ot)for(var Pt=0,Tt=Ot;Pt<Tt.length;Pt++){var An=Tt[Pt];at.tagTypes.includes(An)||at.tagTypes.push(An)}if(Gt)for(var on=0,dn=Object.entries(Gt);on<dn.length;on++){var $e=dn[on],Yt=$e[0],$t=$e[1];typeof $t=="function"?$t(kt.endpointDefinitions[Yt]):Object.assign(kt.endpointDefinitions[Yt]||{},$t)}return vn}},Wn=cn.map(function(rr){return rr.init(vn,at,kt)});function nr(rr){for(var Ot=rr.endpoints({query:function($t){return z(j({},$t),{type:It.query})},mutation:function($t){return z(j({},$t),{type:It.mutation})}}),Gt=0,Pt=Object.entries(Ot);Gt<Pt.length;Gt++){var Tt=Pt[Gt],An=Tt[0],on=Tt[1];if(!rr.overrideExisting&&An in kt.endpointDefinitions){typeof process<"u";continue}kt.endpointDefinitions[An]=on;for(var dn=0,$e=Wn;dn<$e.length;dn++){var Yt=$e[dn];Yt.injectEndpoint(An,on)}}return vn}return vn.injectEndpoints({endpoints:je.endpoints})}}function Re(){return function(){throw new Error("When using `fakeBaseQuery`, all queries & mutations must use the `queryFn` definition syntax.")}}function We(cn){for(var mt in cn)return!1;return!0}var gt=2147483647/1e3-1,Nt=function(cn){var mt=cn.reducerPath,we=cn.api,je=cn.context,pt=cn.internalState,at=we.internalActions,kt=at.removeQueryResult,vn=at.unsubscribeQueryResult;function Wn(Gt){var Pt=pt.currentSubscriptions[Gt];return!!Pt&&!We(Pt)}var nr={},rr=function(Gt,Pt,Tt){var An;if(vn.match(Gt)){var on=Pt.getState()[mt],dn=Gt.payload.queryCacheKey;Ot(dn,(An=on.queries[dn])==null?void 0:An.endpointName,Pt,on.config)}if(we.util.resetApiState.match(Gt))for(var $e=0,Yt=Object.entries(nr);$e<Yt.length;$e++){var $t=Yt[$e],Jt=$t[0],Lt=$t[1];Lt&&clearTimeout(Lt),delete nr[Jt]}if(je.hasRehydrationInfo(Gt))for(var on=Pt.getState()[mt],yn=je.extractRehydrationInfo(Gt).queries,In=0,yr=Object.entries(yn);In<yr.length;In++){var Rr=yr[In],dn=Rr[0],Xr=Rr[1];Ot(dn,Xr?.endpointName,Pt,on.config)}};function Ot(Gt,Pt,Tt,An){var on,dn=je.endpointDefinitions[Pt],$e=(on=dn?.keepUnusedDataFor)!=null?on:An.keepUnusedDataFor;if($e!==1/0){var Yt=Math.max(0,Math.min($e,gt));if(!Wn(Gt)){var $t=nr[Gt];$t&&clearTimeout($t),nr[Gt]=setTimeout(function(){Wn(Gt)||Tt.dispatch(kt({queryCacheKey:Gt})),delete nr[Gt]},Yt*1e3)}}}return rr},Ct=function(cn){var mt=cn.reducerPath,we=cn.context,je=cn.context.endpointDefinitions,pt=cn.mutationThunk,at=cn.api,kt=cn.assertTagType,vn=cn.refetchQuery,Wn=at.internalActions.removeQueryResult,nr=(0,i.CF)((0,i.Qp)(pt),(0,i.KU)(pt)),rr=function(Gt,Pt){nr(Gt)&&Ot(wr(Gt,"invalidatesTags",je,kt),Pt),at.util.invalidateTags.match(Gt)&&Ot(Vt(Gt.payload,void 0,void 0,void 0,void 0,kt),Pt)};function Ot(Gt,Pt){var Tt=Pt.getState(),An=Tt[mt],on=at.util.selectInvalidatedBy(Tt,Gt);we.batch(function(){for(var dn,$e=Array.from(on.values()),Yt=0,$t=$e;Yt<$t.length;Yt++){var Jt=$t[Yt].queryCacheKey,Lt=An.queries[Jt],yn=(dn=An.subscriptions[Jt])!=null?dn:{};Lt&&(Object.keys(yn).length===0?Pt.dispatch(Wn({queryCacheKey:Jt})):Lt.status!==Q.uninitialized&&Pt.dispatch(vn(Lt,Jt)))}})}return rr},tn=function(cn){var mt=cn.reducerPath,we=cn.queryThunk,je=cn.api,pt=cn.refetchQuery,at=cn.internalState,kt={},vn=function(Pt,Tt){(je.internalActions.updateSubscriptionOptions.match(Pt)||je.internalActions.unsubscribeQueryResult.match(Pt))&&nr(Pt.payload,Tt),(we.pending.match(Pt)||we.rejected.match(Pt)&&Pt.meta.condition)&&nr(Pt.meta.arg,Tt),(we.fulfilled.match(Pt)||we.rejected.match(Pt)&&!Pt.meta.condition)&&Wn(Pt.meta.arg,Tt),je.util.resetApiState.match(Pt)&&Ot()};function Wn(Pt,Tt){var An=Pt.queryCacheKey,on=Tt.getState()[mt],dn=on.queries[An],$e=at.currentSubscriptions[An];if(!(!dn||dn.status===Q.uninitialized)){var Yt=Gt($e);if(Number.isFinite(Yt)){var $t=kt[An];$t?.timeout&&(clearTimeout($t.timeout),$t.timeout=void 0);var Jt=Date.now()+Yt,Lt=kt[An]={nextPollTimestamp:Jt,pollingInterval:Yt,timeout:setTimeout(function(){Lt.timeout=void 0,Tt.dispatch(pt(dn,An))},Yt)}}}}function nr(Pt,Tt){var An=Pt.queryCacheKey,on=Tt.getState()[mt],dn=on.queries[An],$e=at.currentSubscriptions[An];if(!(!dn||dn.status===Q.uninitialized)){var Yt=Gt($e);if(!Number.isFinite(Yt)){rr(An);return}var $t=kt[An],Jt=Date.now()+Yt;(!$t||Jt<$t.nextPollTimestamp)&&Wn({queryCacheKey:An},Tt)}}function rr(Pt){var Tt=kt[Pt];Tt?.timeout&&clearTimeout(Tt.timeout),delete kt[Pt]}function Ot(){for(var Pt=0,Tt=Object.keys(kt);Pt<Tt.length;Pt++){var An=Tt[Pt];rr(An)}}function Gt(Pt){Pt===void 0&&(Pt={});var Tt=Number.POSITIVE_INFINITY;for(var An in Pt)Pt[An].pollingInterval&&(Tt=Math.min(Pt[An].pollingInterval,Tt));return Tt}return vn},ge=function(cn){var mt=cn.reducerPath,we=cn.context,je=cn.api,pt=cn.refetchQuery,at=cn.internalState,kt=je.internalActions.removeQueryResult,vn=function(nr,rr){_e.match(nr)&&Wn(rr,"refetchOnFocus"),Le.match(nr)&&Wn(rr,"refetchOnReconnect")};function Wn(nr,rr){var Ot=nr.getState()[mt],Gt=Ot.queries,Pt=at.currentSubscriptions;we.batch(function(){for(var Tt=0,An=Object.keys(Pt);Tt<An.length;Tt++){var on=An[Tt],dn=Gt[on],$e=Pt[on];if(!(!$e||!dn)){var Yt=Object.values($e).some(function($t){return $t[rr]===!0})||Object.values($e).every(function($t){return $t[rr]===void 0})&&Ot.config[rr];Yt&&(Object.keys($e).length===0?nr.dispatch(kt({queryCacheKey:on})):dn.status!==Q.uninitialized&&nr.dispatch(pt(dn,on)))}}})}return vn},At=new Error("Promise never resolved before cacheEntryRemoved."),mn=function(cn){var mt=cn.api,we=cn.reducerPath,je=cn.context,pt=cn.queryThunk,at=cn.mutationThunk,kt=cn.internalState,vn=(0,i.qW)(pt),Wn=(0,i.qW)(at),nr=(0,i.Qp)(pt,at),rr={},Ot=function(Tt,An,on){var dn=Gt(Tt);if(pt.pending.match(Tt)){var $e=on[we].queries[dn],Yt=An.getState()[we].queries[dn];!$e&&Yt&&Pt(Tt.meta.arg.endpointName,Tt.meta.arg.originalArgs,dn,An,Tt.meta.requestId)}else if(at.pending.match(Tt)){var Yt=An.getState()[we].mutations[dn];Yt&&Pt(Tt.meta.arg.endpointName,Tt.meta.arg.originalArgs,dn,An,Tt.meta.requestId)}else if(nr(Tt)){var $t=rr[dn];$t?.valueResolved&&($t.valueResolved({data:Tt.payload,meta:Tt.meta.baseQueryMeta}),delete $t.valueResolved)}else if(mt.internalActions.removeQueryResult.match(Tt)||mt.internalActions.removeMutationResult.match(Tt)){var $t=rr[dn];$t&&(delete rr[dn],$t.cacheEntryRemoved())}else if(mt.util.resetApiState.match(Tt))for(var Jt=0,Lt=Object.entries(rr);Jt<Lt.length;Jt++){var yn=Lt[Jt],In=yn[0],$t=yn[1];delete rr[In],$t.cacheEntryRemoved()}};function Gt(Tt){return vn(Tt)?Tt.meta.arg.queryCacheKey:Wn(Tt)?Tt.meta.requestId:mt.internalActions.removeQueryResult.match(Tt)?Tt.payload.queryCacheKey:mt.internalActions.removeMutationResult.match(Tt)?nn(Tt.payload):""}function Pt(Tt,An,on,dn,$e){var Yt=je.endpointDefinitions[Tt],$t=Yt?.onCacheEntryAdded;if($t){var Jt={},Lt=new Promise(function(ci){Jt.cacheEntryRemoved=ci}),yn=Promise.race([new Promise(function(ci){Jt.valueResolved=ci}),Lt.then(function(){throw At})]);yn.catch(function(){}),rr[on]=Jt;var In=mt.endpoints[Tt].select(Yt.type===It.query?An:on),yr=dn.dispatch(function(ci,Hr,un){return un}),Rr=z(j({},dn),{getCacheEntry:function(){return In(dn.getState())},requestId:$e,extra:yr,updateCachedData:Yt.type===It.query?function(ci){return dn.dispatch(mt.util.updateQueryData(Tt,An,ci))}:void 0,cacheDataLoaded:yn,cacheEntryRemoved:Lt}),Xr=$t(An,Rr);Promise.resolve(Xr).catch(function(ci){if(ci!==At)throw ci})}}return Ot},xn=function(cn){var mt=cn.api,we=cn.context,je=cn.queryThunk,pt=cn.mutationThunk,at=(0,i.Ke)(je,pt),kt=(0,i.u2)(je,pt),vn=(0,i.Qp)(je,pt),Wn={},nr=function(rr,Ot){var Gt,Pt,Tt;if(at(rr)){var An=rr.meta,on=An.requestId,dn=An.arg,$e=dn.endpointName,Yt=dn.originalArgs,$t=we.endpointDefinitions[$e],Jt=$t?.onQueryStarted;if(Jt){var Lt={},yn=new Promise(function(ct,Ut){Lt.resolve=ct,Lt.reject=Ut});yn.catch(function(){}),Wn[on]=Lt;var In=mt.endpoints[$e].select($t.type===It.query?Yt:on),yr=Ot.dispatch(function(ct,Ut,wt){return wt}),Rr=z(j({},Ot),{getCacheEntry:function(){return In(Ot.getState())},requestId:on,extra:yr,updateCachedData:$t.type===It.query?function(ct){return Ot.dispatch(mt.util.updateQueryData($e,Yt,ct))}:void 0,queryFulfilled:yn});Jt(Yt,Rr)}}else if(vn(rr)){var Xr=rr.meta,on=Xr.requestId,ci=Xr.baseQueryMeta;(Gt=Wn[on])==null||Gt.resolve({data:rr.payload,meta:ci}),delete Wn[on]}else if(kt(rr)){var Hr=rr.meta,on=Hr.requestId,un=Hr.rejectedWithValue,ci=Hr.baseQueryMeta;(Tt=Wn[on])==null||Tt.reject({error:(Pt=rr.payload)!=null?Pt:rr.error,isUnhandledError:!un,meta:ci}),delete Wn[on]}};return nr},Un=function(cn){var mt=cn.api,we=cn.context.apiUid,je=cn.reducerPath;return function(pt,at){var kt,vn;mt.util.resetApiState.match(pt)&&at.dispatch(mt.internalActions.middlewareRegistered(we)),typeof process<"u"}},gr,Ur=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof e.g<"u"?e.g:globalThis):function(cn){return(gr||(gr=Promise.resolve())).then(cn).catch(function(mt){return setTimeout(function(){throw mt},0)})},Or=function(cn){var mt=cn.api,we=cn.queryThunk,je=cn.internalState,pt=mt.reducerPath+"/subscriptions",at=null,kt=!1,vn=mt.internalActions,Wn=vn.updateSubscriptionOptions,nr=vn.unsubscribeQueryResult,rr=function(Ot,Gt){var Pt,Tt,An,on,dn,$e,Yt,$t,Jt;if(Wn.match(Gt)){var Lt=Gt.payload,yn=Lt.queryCacheKey,In=Lt.requestId,yr=Lt.options;return(Pt=Ot?.[yn])!=null&&Pt[In]&&(Ot[yn][In]=yr),!0}if(nr.match(Gt)){var Rr=Gt.payload,yn=Rr.queryCacheKey,In=Rr.requestId;return Ot[yn]&&delete Ot[yn][In],!0}if(mt.internalActions.removeQueryResult.match(Gt))return delete Ot[Gt.payload.queryCacheKey],!0;if(we.pending.match(Gt)){var Xr=Gt.meta,ci=Xr.arg,In=Xr.requestId;if(ci.subscribe){var Hr=(An=Ot[Tt=ci.queryCacheKey])!=null?An:Ot[Tt]={};return Hr[In]=(dn=(on=ci.subscriptionOptions)!=null?on:Hr[In])!=null?dn:{},!0}}if(we.rejected.match(Gt)){var un=Gt.meta,ct=un.condition,ci=un.arg,In=un.requestId;if(ct&&ci.subscribe){var Hr=(Yt=Ot[$e=ci.queryCacheKey])!=null?Yt:Ot[$e]={};return Hr[In]=(Jt=($t=ci.subscriptionOptions)!=null?$t:Hr[In])!=null?Jt:{},!0}}return!1};return function(Ot,Gt){var Pt,Tt;if(at||(at=JSON.parse(JSON.stringify(je.currentSubscriptions))),mt.util.resetApiState.match(Ot))return at=je.currentSubscriptions={},[!0,!1];if(mt.internalActions.internal_probeSubscription.match(Ot)){var An=Ot.payload,on=An.queryCacheKey,dn=An.requestId,$e=!!((Pt=je.currentSubscriptions[on])!=null&&Pt[dn]);return[!1,$e]}var Yt=rr(je.currentSubscriptions,Ot);if(Yt){kt||(Ur(function(){var yn=JSON.parse(JSON.stringify(je.currentSubscriptions)),In=(0,a.eq)(at,function(){return yn}),yr=In[1];Gt.next(mt.internalActions.subscriptionsUpdated(yr)),at=yn,kt=!1}),kt=!0);var $t=!!((Tt=Ot.type)!=null&&Tt.startsWith(pt)),Jt=we.rejected.match(Ot)&&Ot.meta.condition&&!!Ot.meta.arg.subscribe,Lt=!$t&&!Jt;return[Lt,!1]}return[!0,!1]}};function ii(cn){var mt=cn.reducerPath,we=cn.queryThunk,je=cn.api,pt=cn.context,at=pt.apiUid,kt={invalidateTags:(0,i.Uh)(mt+"/invalidateTags")},vn=function(Ot){return!!Ot&&typeof Ot.type=="string"&&Ot.type.startsWith(mt+"/")},Wn=[Un,Nt,Ct,tn,mn,xn],nr=function(Ot){var Gt=!1,Pt={currentSubscriptions:{}},Tt=z(j({},cn),{internalState:Pt,refetchQuery:rr}),An=Wn.map(function($e){return $e(Tt)}),on=Or(Tt),dn=ge(Tt);return function($e){return function(Yt){Gt||(Gt=!0,Ot.dispatch(je.internalActions.middlewareRegistered(at)));var $t=z(j({},Ot),{next:$e}),Jt=Ot.getState(),Lt=on(Yt,$t,Jt),yn=Lt[0],In=Lt[1],yr;if(yn?yr=$e(Yt):yr=In,Ot.getState()[mt]&&(dn(Yt,$t,Jt),vn(Yt)||pt.hasRehydrationInfo(Yt)))for(var Rr=0,Xr=An;Rr<Xr.length;Rr++){var ci=Xr[Rr];ci(Yt,$t,Jt)}return yr}}};return{middleware:nr,actions:kt};function rr(Ot,Gt,Pt){return Pt===void 0&&(Pt={}),we(j({type:"query",endpointName:Ot.endpointName,originalArgs:Ot.originalArgs,subscribe:!1,forceRefetch:!0,queryCacheKey:Gt},Pt))}}function Ui(cn){}function rn(cn){for(var mt=[],we=1;we<arguments.length;we++)mt[we-1]=arguments[we];Object.assign.apply(Object,T([cn],mt))}var $n=Symbol(),yi=function(){return{name:$n,init:function(cn,mt,we){var je=mt.baseQuery,pt=mt.tagTypes,at=mt.reducerPath,kt=mt.serializeQueryArgs,vn=mt.keepUnusedDataFor,Wn=mt.refetchOnMountOrArgChange,nr=mt.refetchOnFocus,rr=mt.refetchOnReconnect;(0,a.GU)();var Ot=function(ot){return typeof process<"u",ot};Object.assign(cn,{reducerPath:at,endpoints:{},internalActions:{onOnline:Le,onOffline:Ke,onFocus:_e,onFocusLost:Ne},util:{}});var Gt=cr({baseQuery:je,reducerPath:at,context:we,api:cn,serializeQueryArgs:kt,assertTagType:Ot}),Pt=Gt.queryThunk,Tt=Gt.mutationThunk,An=Gt.patchQueryData,on=Gt.updateQueryData,dn=Gt.upsertQueryData,$e=Gt.prefetch,Yt=Gt.buildMatchThunkActions,$t=Sn({context:we,queryThunk:Pt,mutationThunk:Tt,reducerPath:at,assertTagType:Ot,config:{refetchOnFocus:nr,refetchOnReconnect:rr,refetchOnMountOrArgChange:Wn,keepUnusedDataFor:vn,reducerPath:at}}),Jt=$t.reducer,Lt=$t.actions;rn(cn.util,{patchQueryData:An,updateQueryData:on,upsertQueryData:dn,prefetch:$e,resetApiState:Lt.resetApiState}),rn(cn.internalActions,Lt);var yn=ii({reducerPath:at,context:we,queryThunk:Pt,mutationThunk:Tt,api:cn,assertTagType:Ot}),In=yn.middleware,yr=yn.actions;rn(cn.util,yr),rn(cn,{reducer:Jt,middleware:In});var Rr=oe({serializeQueryArgs:kt,reducerPath:at}),Xr=Rr.buildQuerySelector,ci=Rr.buildMutationSelector,Hr=Rr.selectInvalidatedBy;rn(cn.util,{selectInvalidatedBy:Hr});var un=Ln({queryThunk:Pt,mutationThunk:Tt,api:cn,serializeQueryArgs:kt,context:we}),ct=un.buildInitiateQuery,Ut=un.buildInitiateMutation,wt=un.getRunningMutationThunk,kn=un.getRunningMutationsThunk,wn=un.getRunningQueriesThunk,Qn=un.getRunningQueryThunk,ur=un.getRunningOperationPromises,fi=un.removalWarning;return rn(cn.util,{getRunningOperationPromises:ur,getRunningOperationPromise:fi,getRunningMutationThunk:wt,getRunningMutationsThunk:kn,getRunningQueryThunk:Qn,getRunningQueriesThunk:wn}),{name:$n,injectEndpoint:function(ot,ft){var Mt,qt,sr=cn;(qt=(Mt=sr.endpoints)[ot])!=null||(Mt[ot]={}),_t(ft)?rn(sr.endpoints[ot],{name:ot,select:Xr(ot,ft),initiate:ct(ot,ft)},Yt(Pt,ot)):zt(ft)&&rn(sr.endpoints[ot],{name:ot,select:ci(),initiate:Ut(ot)},Yt(Tt,ot))}}}}},Jr=xe(yi())},89592:(U,C,e)=>{"use strict";e.d(C,{mw:()=>Ut,eS:()=>sn,Uh:()=>ee,aw:()=>tn,is:()=>nn,Yv:()=>Un,CF:()=>xn,qW:()=>$n,Qp:()=>rn,Ke:()=>Or,oF:()=>Z,u2:()=>ii,KU:()=>Ui,i0:()=>Re,Yj:()=>wt});var i=e(29088),a=e(21160);function l(ot){var ft=function(qt){var sr=qt.dispatch,lr=qt.getState;return function(Cr){return function(xr){return typeof xr=="function"?xr(sr,lr,ot):Cr(xr)}}};return ft}var c=l();c.withExtraArgument=l;const v=c;var _=function(){var ot=function(ft,Mt){return ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(qt,sr){qt.__proto__=sr}||function(qt,sr){for(var lr in sr)Object.prototype.hasOwnProperty.call(sr,lr)&&(qt[lr]=sr[lr])},ot(ft,Mt)};return function(ft,Mt){if(typeof Mt!="function"&&Mt!==null)throw new TypeError("Class extends value "+String(Mt)+" is not a constructor or null");ot(ft,Mt);function qt(){this.constructor=ft}ft.prototype=Mt===null?Object.create(Mt):(qt.prototype=Mt.prototype,new qt)}}(),T=function(ot,ft){var Mt={label:0,sent:function(){if(lr[0]&1)throw lr[1];return lr[1]},trys:[],ops:[]},qt,sr,lr,Cr;return Cr={next:xr(0),throw:xr(1),return:xr(2)},typeof Symbol=="function"&&(Cr[Symbol.iterator]=function(){return this}),Cr;function xr(jr){return function(vr){return qr([jr,vr])}}function qr(jr){if(qt)throw new TypeError("Generator is already executing.");for(;Mt;)try{if(qt=1,sr&&(lr=jr[0]&2?sr.return:jr[0]?sr.throw||((lr=sr.return)&&lr.call(sr),0):sr.next)&&!(lr=lr.call(sr,jr[1])).done)return lr;switch(sr=0,lr&&(jr=[jr[0]&2,lr.value]),jr[0]){case 0:case 1:lr=jr;break;case 4:return Mt.label++,{value:jr[1],done:!1};case 5:Mt.label++,sr=jr[1],jr=[0];continue;case 7:jr=Mt.ops.pop(),Mt.trys.pop();continue;default:if(lr=Mt.trys,!(lr=lr.length>0&&lr[lr.length-1])&&(jr[0]===6||jr[0]===2)){Mt=0;continue}if(jr[0]===3&&(!lr||jr[1]>lr[0]&&jr[1]<lr[3])){Mt.label=jr[1];break}if(jr[0]===6&&Mt.label<lr[1]){Mt.label=lr[1],lr=jr;break}if(lr&&Mt.label<lr[2]){Mt.label=lr[2],Mt.ops.push(jr);break}lr[2]&&Mt.ops.pop(),Mt.trys.pop();continue}jr=ft.call(ot,Mt)}catch(vr){jr=[6,vr],sr=0}finally{qt=lr=0}if(jr[0]&5)throw jr[1];return{value:jr[0]?jr[1]:void 0,done:!0}}},A=function(ot,ft){for(var Mt=0,qt=ft.length,sr=ot.length;Mt<qt;Mt++,sr++)ot[sr]=ft[Mt];return ot},R=Object.defineProperty,P=Object.defineProperties,M=Object.getOwnPropertyDescriptors,O=Object.getOwnPropertySymbols,N=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable,j=function(ot,ft,Mt){return ft in ot?R(ot,ft,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):ot[ft]=Mt},z=function(ot,ft){for(var Mt in ft||(ft={}))N.call(ft,Mt)&&j(ot,Mt,ft[Mt]);if(O)for(var qt=0,sr=O(ft);qt<sr.length;qt++){var Mt=sr[qt];B.call(ft,Mt)&&j(ot,Mt,ft[Mt])}return ot},W=function(ot,ft){return P(ot,M(ft))},X=function(ot,ft,Mt){return new Promise(function(qt,sr){var lr=function(qr){try{xr(Mt.next(qr))}catch(jr){sr(jr)}},Cr=function(qr){try{xr(Mt.throw(qr))}catch(jr){sr(jr)}},xr=function(qr){return qr.done?qt(qr.value):Promise.resolve(qr.value).then(lr,Cr)};xr((Mt=Mt.apply(ot,ft)).next())})},Q=function(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];var Mt=createSelector.apply(void 0,ot),qt=function(sr){for(var lr=[],Cr=1;Cr<arguments.length;Cr++)lr[Cr-1]=arguments[Cr];return Mt.apply(void 0,A([isDraft(sr)?current(sr):sr],lr))};return qt},K=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?a.Jn:a.Jn.apply(null,arguments)},Y=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(ot){return ot}};function Z(ot){if(typeof ot!="object"||ot===null)return!1;var ft=Object.getPrototypeOf(ot);if(ft===null)return!0;for(var Mt=ft;Object.getPrototypeOf(Mt)!==null;)Mt=Object.getPrototypeOf(Mt);return ft===Mt}var J=function(ot){return ot&&typeof ot.match=="function"};function ee(ot,ft){function Mt(){for(var qt=[],sr=0;sr<arguments.length;sr++)qt[sr]=arguments[sr];if(ft){var lr=ft.apply(void 0,qt);if(!lr)throw new Error("prepareAction did not return an object");return z(z({type:ot,payload:lr.payload},"meta"in lr&&{meta:lr.meta}),"error"in lr&&{error:lr.error})}return{type:ot,payload:qt[0]}}return Mt.toString=function(){return""+ot},Mt.type=ot,Mt.match=function(qt){return qt.type===ot},Mt}function re(ot){return Z(ot)&&"type"in ot}function me(ot){return typeof ot=="function"&&"type"in ot&&J(ot)}function fe(ot){return re(ot)&&typeof ot.type=="string"&&Object.keys(ot).every(le)}function le(ot){return["type","payload","error","meta"].indexOf(ot)>-1}function Ve(ot){return""+ot}function Ze(ot){var ft=ot?(""+ot).split("/"):[],Mt=ft[ft.length-1]||"actionCreator";return'Detected an action creator with type "'+(ot||"unknown")+`" being dispatched. 
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(`+Mt+"())` instead of `dispatch("+Mt+")`. This is necessary even if the action has no payload."}function Ce(ot){return ot===void 0&&(ot={}),function(){return function(qt){return function(sr){return qt(sr)}}};var ft=ot.isActionCreator,Mt=ft===void 0?me:ft;return function(){return function(qt){return function(sr){return Mt(sr)&&console.warn(Ze(sr.type)),qt(sr)}}}}function ye(ot,ft){var Mt=0;return{measureTime:function(qt){var sr=Date.now();try{return qt()}finally{var lr=Date.now();Mt+=lr-sr}},warnIfExceeded:function(){Mt>ot&&console.warn(ft+" took "+Mt+"ms, which is more than the warning threshold of "+ot+`ms. 
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
It is disabled in production builds, so you don't need to worry about that.`)}}}var Ae=function(ot){_(ft,ot);function ft(){for(var Mt=[],qt=0;qt<arguments.length;qt++)Mt[qt]=arguments[qt];var sr=ot.apply(this,Mt)||this;return Object.setPrototypeOf(sr,ft.prototype),sr}return Object.defineProperty(ft,Symbol.species,{get:function(){return ft},enumerable:!1,configurable:!0}),ft.prototype.concat=function(){for(var Mt=[],qt=0;qt<arguments.length;qt++)Mt[qt]=arguments[qt];return ot.prototype.concat.apply(this,Mt)},ft.prototype.prepend=function(){for(var Mt=[],qt=0;qt<arguments.length;qt++)Mt[qt]=arguments[qt];return Mt.length===1&&Array.isArray(Mt[0])?new(ft.bind.apply(ft,A([void 0],Mt[0].concat(this)))):new(ft.bind.apply(ft,A([void 0],Mt.concat(this))))},ft}(Array),Fe=function(ot){_(ft,ot);function ft(){for(var Mt=[],qt=0;qt<arguments.length;qt++)Mt[qt]=arguments[qt];var sr=ot.apply(this,Mt)||this;return Object.setPrototypeOf(sr,ft.prototype),sr}return Object.defineProperty(ft,Symbol.species,{get:function(){return ft},enumerable:!1,configurable:!0}),ft.prototype.concat=function(){for(var Mt=[],qt=0;qt<arguments.length;qt++)Mt[qt]=arguments[qt];return ot.prototype.concat.apply(this,Mt)},ft.prototype.prepend=function(){for(var Mt=[],qt=0;qt<arguments.length;qt++)Mt[qt]=arguments[qt];return Mt.length===1&&Array.isArray(Mt[0])?new(ft.bind.apply(ft,A([void 0],Mt[0].concat(this)))):new(ft.bind.apply(ft,A([void 0],Mt.concat(this))))},ft}(Array);function Qe(ot){return(0,i.yi)(ot)?(0,i.cp)(ot,function(){}):ot}var ce=null,Ge="Invariant failed";function Pe(ot,ft){if(!ot)throw ce?new Error(Ge):new Error(Ge+": "+(ft||""))}function pe(ot,ft,Mt,qt){return JSON.stringify(ot,Se(ft,qt),Mt)}function Se(ot,ft){var Mt=[],qt=[];return ft||(ft=function(sr,lr){return Mt[0]===lr?"[Circular ~]":"[Circular ~."+qt.slice(0,Mt.indexOf(lr)).join(".")+"]"}),function(sr,lr){if(Mt.length>0){var Cr=Mt.indexOf(this);~Cr?Mt.splice(Cr+1):Mt.push(this),~Cr?qt.splice(Cr,1/0,sr):qt.push(sr),~Mt.indexOf(lr)&&(lr=ft.call(this,sr,lr))}else Mt.push(lr);return ot==null?lr:ot.call(this,sr,lr)}}function _e(ot){return typeof ot!="object"||ot==null||Object.isFrozen(ot)}function Ne(ot,ft,Mt){var qt=Le(ot,ft,Mt);return{detectMutations:function(){return Ke(ot,ft,qt,Mt)}}}function Le(ot,ft,Mt,qt,sr){ft===void 0&&(ft=[]),qt===void 0&&(qt=""),sr===void 0&&(sr=new Set);var lr={value:Mt};if(!ot(Mt)&&!sr.has(Mt)){sr.add(Mt),lr.children={};for(var Cr in Mt){var xr=qt?qt+"."+Cr:Cr;ft.length&&ft.indexOf(xr)!==-1||(lr.children[Cr]=Le(ot,ft,Mt[Cr],xr))}}return lr}function Ke(ot,ft,Mt,qt,sr,lr){ft===void 0&&(ft=[]),sr===void 0&&(sr=!1),lr===void 0&&(lr="");var Cr=Mt?Mt.value:void 0,xr=Cr===qt;if(sr&&!xr&&!Number.isNaN(qt))return{wasMutated:!0,path:lr};if(ot(Cr)||ot(qt))return{wasMutated:!1};var qr={};for(var jr in Mt.children)qr[jr]=!0;for(var jr in qt)qr[jr]=!0;var vr=ft.length>0,$r=function(be){var Ue=lr?lr+"."+be:be;if(vr){var ut=ft.some(function(Fn){return Fn instanceof RegExp?Fn.test(Ue):Ue===Fn});if(ut)return"continue"}var Ht=Ke(ot,ft,Mt.children[be],qt[be],xr,Ue);if(Ht.wasMutated)return{value:Ht}};for(var jr in qr){var Wr=$r(jr);if(typeof Wr=="object")return Wr.value}return{wasMutated:!1}}function bt(ot){return ot===void 0&&(ot={}),function(){return function(qr){return function(jr){return qr(jr)}}};var ft=ot.isImmutable,Mt=ft===void 0?_e:ft,qt=ot.ignoredPaths,sr=ot.warnAfter,lr=sr===void 0?32:sr,Cr=ot.ignore;qt=qt||Cr;var xr=Ne.bind(null,Mt,qt);return function(qr){var jr=qr.getState,vr=jr(),$r=xr(vr),Wr;return function(be){return function(Ue){var ut=ye(lr,"ImmutableStateInvariantMiddleware");ut.measureTime(function(){vr=jr(),Wr=$r.detectMutations(),$r=xr(vr),Pe(!Wr.wasMutated,"A state mutation was detected between dispatches, in the path '"+(Wr.path||"")+"'.  This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var Ht=be(Ue);return ut.measureTime(function(){vr=jr(),Wr=$r.detectMutations(),$r=xr(vr),Wr.wasMutated&&Pe(!Wr.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(Wr.path||"")+". Take a look at the reducer(s) handling the action "+pe(Ue)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),ut.warnIfExceeded(),Ht}}}}function yt(ot){var ft=typeof ot;return ot==null||ft==="string"||ft==="boolean"||ft==="number"||Array.isArray(ot)||Z(ot)}function It(ot,ft,Mt,qt,sr,lr){ft===void 0&&(ft=""),Mt===void 0&&(Mt=yt),sr===void 0&&(sr=[]);var Cr;if(!Mt(ot))return{keyPath:ft||"<root>",value:ot};if(typeof ot!="object"||ot===null||lr?.has(ot))return!1;for(var xr=qt!=null?qt(ot):Object.entries(ot),qr=sr.length>0,jr=function(Ht,Fn){var ln=ft?ft+"."+Ht:Ht;if(qr){var jn=sr.some(function(Nr){return Nr instanceof RegExp?Nr.test(ln):ln===Nr});if(jn)return"continue"}if(!Mt(Fn))return{value:{keyPath:ln,value:Fn}};if(typeof Fn=="object"&&(Cr=It(Fn,ln,Mt,qt,sr,lr),Cr))return{value:Cr}},vr=0,$r=xr;vr<$r.length;vr++){var Wr=$r[vr],be=Wr[0],Ue=Wr[1],ut=jr(be,Ue);if(typeof ut=="object")return ut.value}return lr&&_t(ot)&&lr.add(ot),!1}function _t(ot){if(!Object.isFrozen(ot))return!1;for(var ft=0,Mt=Object.values(ot);ft<Mt.length;ft++){var qt=Mt[ft];if(!(typeof qt!="object"||qt===null)&&!_t(qt))return!1}return!0}function zt(ot){return ot===void 0&&(ot={}),function(){return function(jn){return function(Nr){return jn(Nr)}}};var ft=ot.isSerializable,Mt=ft===void 0?yt:ft,qt=ot.getEntries,sr=ot.ignoredActions,lr=sr===void 0?[]:sr,Cr=ot.ignoredActionPaths,xr=Cr===void 0?["meta.arg","meta.baseQueryMeta"]:Cr,qr=ot.ignoredPaths,jr=qr===void 0?[]:qr,vr=ot.warnAfter,$r=vr===void 0?32:vr,Wr=ot.ignoreState,be=Wr===void 0?!1:Wr,Ue=ot.ignoreActions,ut=Ue===void 0?!1:Ue,Ht=ot.disableCache,Fn=Ht===void 0?!1:Ht,ln=!Fn&&WeakSet?new WeakSet:void 0;return function(jn){return function(Nr){return function(Mi){var Oi=Nr(Mi),ni=ye($r,"SerializableStateInvariantMiddleware");return!ut&&!(lr.length&&lr.indexOf(Mi.type)!==-1)&&ni.measureTime(function(){var rs=It(Mi,"",Mt,qt,xr,ln);if(rs){var Qi=rs.keyPath,la=rs.value;console.error("A non-serializable value was detected in an action, in the path: `"+Qi+"`. Value:",la,`
Take a look at the logic that dispatched this action: `,Mi,`
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),be||(ni.measureTime(function(){var rs=jn.getState(),Qi=It(rs,"",Mt,qt,jr,ln);if(Qi){var la=Qi.keyPath,as=Qi.value;console.error("A non-serializable value was detected in the state, in the path: `"+la+"`. Value:",as,`
Take a look at the reducer(s) handling this action type: `+Mi.type+`.
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),ni.warnIfExceeded()),Oi}}}}function Vt(ot){return typeof ot=="boolean"}function St(){return function(ft){return Xt(ft)}}function Xt(ot){ot===void 0&&(ot={});var ft=ot.thunk,Mt=ft===void 0?!0:ft,qt=ot.immutableCheck,sr=qt===void 0?!0:qt,lr=ot.serializableCheck,Cr=lr===void 0?!0:lr,xr=ot.actionCreatorCheck,qr=xr===void 0?!0:xr,jr=new Ae;if(Mt&&(Vt(Mt)?jr.push(v):jr.push(v.withExtraArgument(Mt.extraArgument))),!1)var vr,$r,Wr;return jr}var jt=!0;function sn(ot){var ft=St(),Mt=ot||{},qt=Mt.reducer,sr=qt===void 0?void 0:qt,lr=Mt.middleware,Cr=lr===void 0?ft():lr,xr=Mt.devTools,qr=xr===void 0?!0:xr,jr=Mt.preloadedState,vr=jr===void 0?void 0:jr,$r=Mt.enhancers,Wr=$r===void 0?void 0:$r,be;if(typeof sr=="function")be=sr;else if(Z(sr))be=(0,a.TL)(sr);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var Ue=Cr;if(typeof Ue=="function"&&(Ue=Ue(ft),!jt&&!Array.isArray(Ue)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!jt&&Ue.some(function(Nr){return typeof Nr!="function"}))throw new Error("each middleware provided to configureStore must be a function");var ut=a.d4.apply(void 0,Ue),Ht=a.Jn;qr&&(Ht=K(z({trace:!jt},typeof qr=="object"&&qr)));var Fn=new Fe(ut),ln=Fn;Array.isArray(Wr)?ln=A([ut],Wr):typeof Wr=="function"&&(ln=Wr(Fn));var jn=Ht.apply(void 0,ln);return(0,a.eC)(be,vr,jn)}function dt(ot){var ft={},Mt=[],qt,sr={addCase:function(lr,Cr){var xr=typeof lr=="string"?lr:lr.type;if(!xr)throw new Error("`builder.addCase` cannot be called with an empty action type");if(xr in ft)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return ft[xr]=Cr,sr},addMatcher:function(lr,Cr){return Mt.push({matcher:lr,reducer:Cr}),sr},addDefaultCase:function(lr){return qt=lr,sr}};return ot(sr),[ft,Mt,qt]}function Ln(ot){return typeof ot=="function"}var fn=!1;function cr(ot,ft,Mt,qt){Mt===void 0&&(Mt=[]);var sr=typeof ft=="function"?dt(ft):[ft,Mt,qt],lr=sr[0],Cr=sr[1],xr=sr[2],qr;if(Ln(ot))qr=function(){return Qe(ot())};else{var jr=Qe(ot);qr=function(){return jr}}function vr($r,Wr){$r===void 0&&($r=qr());var be=A([lr[Wr.type]],Cr.filter(function(Ue){var ut=Ue.matcher;return ut(Wr)}).map(function(Ue){var ut=Ue.reducer;return ut}));return be.filter(function(Ue){return!!Ue}).length===0&&(be=[xr]),be.reduce(function(Ue,ut){if(ut)if((0,i.Wl)(Ue)){var Ht=Ue,Fn=ut(Ht,Wr);return Fn===void 0?Ue:Fn}else{if((0,i.yi)(Ue))return(0,i.cp)(Ue,function(ln){return ut(ln,Wr)});var Fn=ut(Ue,Wr);if(Fn===void 0){if(Ue===null)return Ue;throw Error("A case reducer on a non-draftable value must not return undefined")}return Fn}return Ue},$r)}return vr.getInitialState=qr,vr}var wr=!1;function Jn(ot,ft){return ot+"/"+ft}function nn(ot){var ft=ot.name;if(!ft)throw new Error("`name` is a required option for createSlice");typeof process<"u";var Mt=typeof ot.initialState=="function"?ot.initialState:Qe(ot.initialState),qt=ot.reducers||{},sr=Object.keys(qt),lr={},Cr={},xr={};sr.forEach(function(vr){var $r=qt[vr],Wr=Jn(ft,vr),be,Ue;"reducer"in $r?(be=$r.reducer,Ue=$r.prepare):be=$r,lr[vr]=be,Cr[Wr]=be,xr[vr]=Ue?ee(Wr,Ue):ee(Wr)});function qr(){var vr=typeof ot.extraReducers=="function"?dt(ot.extraReducers):[ot.extraReducers],$r=vr[0],Wr=$r===void 0?{}:$r,be=vr[1],Ue=be===void 0?[]:be,ut=vr[2],Ht=ut===void 0?void 0:ut,Fn=z(z({},Wr),Cr);return cr(Mt,function(ln){for(var jn in Fn)ln.addCase(jn,Fn[jn]);for(var Nr=0,Mi=Ue;Nr<Mi.length;Nr++){var Oi=Mi[Nr];ln.addMatcher(Oi.matcher,Oi.reducer)}Ht&&ln.addDefaultCase(Ht)})}var jr;return{name:ft,reducer:function(vr,$r){return jr||(jr=qr()),jr(vr,$r)},actions:xr,caseReducers:lr,getInitialState:function(){return jr||(jr=qr()),jr.getInitialState()}}}function or(){return{ids:[],entities:{}}}function bn(){function ot(ft){return ft===void 0&&(ft={}),Object.assign(or(),ft)}return{getInitialState:ot}}function Sn(){function ot(ft){var Mt=function(jr){return jr.ids},qt=function(jr){return jr.entities},sr=Q(Mt,qt,function(jr,vr){return jr.map(function($r){return vr[$r]})}),lr=function(jr,vr){return vr},Cr=function(jr,vr){return jr[vr]},xr=Q(Mt,function(jr){return jr.length});if(!ft)return{selectIds:Mt,selectEntities:qt,selectAll:sr,selectTotal:xr,selectById:Q(qt,lr,Cr)};var qr=Q(ft,qt);return{selectIds:Q(ft,Mt),selectEntities:qr,selectAll:Q(ft,sr),selectTotal:Q(ft,xr),selectById:Q(qr,lr,Cr)}}return{getSelectors:ot}}function Hn(ot){var ft=er(function(Mt,qt){return ot(qt)});return function(qt){return ft(qt,void 0)}}function er(ot){return function(Mt,qt){function sr(Cr){return fe(Cr)}var lr=function(Cr){sr(qt)?ot(qt.payload,Cr):ot(qt,Cr)};return isDraft3(Mt)?(lr(Mt),Mt):createNextState3(Mt,lr)}}function an(ot,ft){var Mt=ft(ot);return Mt}function Cn(ot){return Array.isArray(ot)||(ot=Object.values(ot)),ot}function de(ot,ft,Mt){ot=Cn(ot);for(var qt=[],sr=[],lr=0,Cr=ot;lr<Cr.length;lr++){var xr=Cr[lr],qr=an(xr,ft);qr in Mt.entities?sr.push({id:qr,changes:xr}):qt.push(xr)}return[qt,sr]}function oe(ot){function ft(Ue,ut){var Ht=an(Ue,ot);Ht in ut.entities||(ut.ids.push(Ht),ut.entities[Ht]=Ue)}function Mt(Ue,ut){Ue=Cn(Ue);for(var Ht=0,Fn=Ue;Ht<Fn.length;Ht++){var ln=Fn[Ht];ft(ln,ut)}}function qt(Ue,ut){var Ht=an(Ue,ot);Ht in ut.entities||ut.ids.push(Ht),ut.entities[Ht]=Ue}function sr(Ue,ut){Ue=Cn(Ue);for(var Ht=0,Fn=Ue;Ht<Fn.length;Ht++){var ln=Fn[Ht];qt(ln,ut)}}function lr(Ue,ut){Ue=Cn(Ue),ut.ids=[],ut.entities={},Mt(Ue,ut)}function Cr(Ue,ut){return xr([Ue],ut)}function xr(Ue,ut){var Ht=!1;Ue.forEach(function(Fn){Fn in ut.entities&&(delete ut.entities[Fn],Ht=!0)}),Ht&&(ut.ids=ut.ids.filter(function(Fn){return Fn in ut.entities}))}function qr(Ue){Object.assign(Ue,{ids:[],entities:{}})}function jr(Ue,ut,Ht){var Fn=Ht.entities[ut.id],ln=Object.assign({},Fn,ut.changes),jn=an(ln,ot),Nr=jn!==ut.id;return Nr&&(Ue[ut.id]=jn,delete Ht.entities[ut.id]),Ht.entities[jn]=ln,Nr}function vr(Ue,ut){return $r([Ue],ut)}function $r(Ue,ut){var Ht={},Fn={};Ue.forEach(function(Nr){Nr.id in ut.entities&&(Fn[Nr.id]={id:Nr.id,changes:z(z({},Fn[Nr.id]?Fn[Nr.id].changes:null),Nr.changes)})}),Ue=Object.values(Fn);var ln=Ue.length>0;if(ln){var jn=Ue.filter(function(Nr){return jr(Ht,Nr,ut)}).length>0;jn&&(ut.ids=Object.keys(ut.entities))}}function Wr(Ue,ut){return be([Ue],ut)}function be(Ue,ut){var Ht=de(Ue,ot,ut),Fn=Ht[0],ln=Ht[1];$r(ln,ut),Mt(Fn,ut)}return{removeAll:Hn(qr),addOne:er(ft),addMany:er(Mt),setOne:er(qt),setMany:er(sr),setAll:er(lr),updateOne:er(vr),updateMany:er($r),upsertOne:er(Wr),upsertMany:er(be),removeOne:er(Cr),removeMany:er(xr)}}function Ye(ot,ft){var Mt=oe(ot),qt=Mt.removeOne,sr=Mt.removeMany,lr=Mt.removeAll;function Cr(ln,jn){return xr([ln],jn)}function xr(ln,jn){ln=Cn(ln);var Nr=ln.filter(function(Mi){return!(an(Mi,ot)in jn.entities)});Nr.length!==0&&Ht(Nr,jn)}function qr(ln,jn){return jr([ln],jn)}function jr(ln,jn){ln=Cn(ln),ln.length!==0&&Ht(ln,jn)}function vr(ln,jn){ln=Cn(ln),jn.entities={},jn.ids=[],xr(ln,jn)}function $r(ln,jn){return Wr([ln],jn)}function Wr(ln,jn){for(var Nr=!1,Mi=0,Oi=ln;Mi<Oi.length;Mi++){var ni=Oi[Mi],rs=jn.entities[ni.id];if(rs){Nr=!0,Object.assign(rs,ni.changes);var Qi=ot(rs);ni.id!==Qi&&(delete jn.entities[ni.id],jn.entities[Qi]=rs)}}Nr&&Fn(jn)}function be(ln,jn){return Ue([ln],jn)}function Ue(ln,jn){var Nr=de(ln,ot,jn),Mi=Nr[0],Oi=Nr[1];Wr(Oi,jn),xr(Mi,jn)}function ut(ln,jn){if(ln.length!==jn.length)return!1;for(var Nr=0;Nr<ln.length&&Nr<jn.length;Nr++)if(ln[Nr]!==jn[Nr])return!1;return!0}function Ht(ln,jn){ln.forEach(function(Nr){jn.entities[ot(Nr)]=Nr}),Fn(jn)}function Fn(ln){var jn=Object.values(ln.entities);jn.sort(ft);var Nr=jn.map(ot),Mi=ln.ids;ut(Mi,Nr)||(ln.ids=Nr)}return{removeOne:qt,removeMany:sr,removeAll:lr,addOne:er(Cr),updateOne:er($r),upsertOne:er(be),setOne:er(qr),setMany:er(jr),setAll:er(vr),addMany:er(xr),updateMany:er(Wr),upsertMany:er(Ue)}}function Et(ot){ot===void 0&&(ot={});var ft=z({sortComparer:!1,selectId:function(xr){return xr.id}},ot),Mt=ft.selectId,qt=ft.sortComparer,sr=bn(),lr=Sn(),Cr=qt?Ye(Mt,qt):oe(Mt);return z(z(z({selectId:Mt,sortComparer:qt},sr),lr),Cr)}var xe="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Re=function(ot){ot===void 0&&(ot=21);for(var ft="",Mt=ot;Mt--;)ft+=xe[Math.random()*64|0];return ft},We=["name","message","stack","code"],gt=function(){function ot(ft,Mt){this.payload=ft,this.meta=Mt}return ot}(),Nt=function(){function ot(ft,Mt){this.payload=ft,this.meta=Mt}return ot}(),Ct=function(ot){if(typeof ot=="object"&&ot!==null){for(var ft={},Mt=0,qt=We;Mt<qt.length;Mt++){var sr=qt[Mt];typeof ot[sr]=="string"&&(ft[sr]=ot[sr])}return ft}return{message:String(ot)}},tn=function(){function ot(ft,Mt,qt){var sr=ee(ft+"/fulfilled",function(vr,$r,Wr,be){return{payload:vr,meta:W(z({},be||{}),{arg:Wr,requestId:$r,requestStatus:"fulfilled"})}}),lr=ee(ft+"/pending",function(vr,$r,Wr){return{payload:void 0,meta:W(z({},Wr||{}),{arg:$r,requestId:vr,requestStatus:"pending"})}}),Cr=ee(ft+"/rejected",function(vr,$r,Wr,be,Ue){return{payload:be,error:(qt&&qt.serializeError||Ct)(vr||"Rejected"),meta:W(z({},Ue||{}),{arg:Wr,requestId:$r,rejectedWithValue:!!be,requestStatus:"rejected",aborted:vr?.name==="AbortError",condition:vr?.name==="ConditionError"})}}),xr=!1,qr=typeof AbortController<"u"?AbortController:function(){function vr(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return vr.prototype.abort=function(){},vr}();function jr(vr){return function($r,Wr,be){var Ue=qt?.idGenerator?qt.idGenerator(vr):Re(),ut=new qr,Ht,Fn=!1;function ln(Nr){Ht=Nr,ut.abort()}var jn=function(){return X(this,null,function(){var Nr,Mi,Oi,ni,rs,Qi,la;return T(this,function(as){switch(as.label){case 0:return as.trys.push([0,4,,5]),ni=(Nr=qt?.condition)==null?void 0:Nr.call(qt,vr,{getState:Wr,extra:be}),At(ni)?[4,ni]:[3,2];case 1:ni=as.sent(),as.label=2;case 2:if(ni===!1||ut.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return Fn=!0,rs=new Promise(function(bs,Za){return ut.signal.addEventListener("abort",function(){return Za({name:"AbortError",message:Ht||"Aborted"})})}),$r(lr(Ue,vr,(Mi=qt?.getPendingMeta)==null?void 0:Mi.call(qt,{requestId:Ue,arg:vr},{getState:Wr,extra:be}))),[4,Promise.race([rs,Promise.resolve(Mt(vr,{dispatch:$r,getState:Wr,extra:be,requestId:Ue,signal:ut.signal,abort:ln,rejectWithValue:function(bs,Za){return new gt(bs,Za)},fulfillWithValue:function(bs,Za){return new Nt(bs,Za)}})).then(function(bs){if(bs instanceof gt)throw bs;return bs instanceof Nt?sr(bs.payload,Ue,vr,bs.meta):sr(bs,Ue,vr)})])];case 3:return Oi=as.sent(),[3,5];case 4:return Qi=as.sent(),Oi=Qi instanceof gt?Cr(null,Ue,vr,Qi.payload,Qi.meta):Cr(Qi,Ue,vr),[3,5];case 5:return la=qt&&!qt.dispatchConditionRejection&&Cr.match(Oi)&&Oi.meta.condition,la||$r(Oi),[2,Oi]}})})}();return Object.assign(jn,{abort:ln,requestId:Ue,arg:vr,unwrap:function(){return jn.then(ge)}})}}return Object.assign(jr,{pending:lr,rejected:Cr,fulfilled:sr,typePrefix:ft})}return ot.withTypes=function(){return ot},ot}();function ge(ot){if(ot.meta&&ot.meta.rejectedWithValue)throw ot.payload;if(ot.error)throw ot.error;return ot.payload}function At(ot){return ot!==null&&typeof ot=="object"&&typeof ot.then=="function"}var mn=function(ot,ft){return J(ot)?ot.match(ft):ot(ft)};function xn(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];return function(Mt){return ot.some(function(qt){return mn(qt,Mt)})}}function Un(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];return function(Mt){return ot.every(function(qt){return mn(qt,Mt)})}}function gr(ot,ft){if(!ot||!ot.meta)return!1;var Mt=typeof ot.meta.requestId=="string",qt=ft.indexOf(ot.meta.requestStatus)>-1;return Mt&&qt}function Ur(ot){return typeof ot[0]=="function"&&"pending"in ot[0]&&"fulfilled"in ot[0]&&"rejected"in ot[0]}function Or(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];return ot.length===0?function(Mt){return gr(Mt,["pending"])}:Ur(ot)?function(Mt){var qt=ot.map(function(lr){return lr.pending}),sr=xn.apply(void 0,qt);return sr(Mt)}:Or()(ot[0])}function ii(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];return ot.length===0?function(Mt){return gr(Mt,["rejected"])}:Ur(ot)?function(Mt){var qt=ot.map(function(lr){return lr.rejected}),sr=xn.apply(void 0,qt);return sr(Mt)}:ii()(ot[0])}function Ui(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];var Mt=function(qt){return qt&&qt.meta&&qt.meta.rejectedWithValue};return ot.length===0?function(qt){var sr=Un(ii.apply(void 0,ot),Mt);return sr(qt)}:Ur(ot)?function(qt){var sr=Un(ii.apply(void 0,ot),Mt);return sr(qt)}:Ui()(ot[0])}function rn(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];return ot.length===0?function(Mt){return gr(Mt,["fulfilled"])}:Ur(ot)?function(Mt){var qt=ot.map(function(lr){return lr.fulfilled}),sr=xn.apply(void 0,qt);return sr(Mt)}:rn()(ot[0])}function $n(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];return ot.length===0?function(Mt){return gr(Mt,["pending","fulfilled","rejected"])}:Ur(ot)?function(Mt){for(var qt=[],sr=0,lr=ot;sr<lr.length;sr++){var Cr=lr[sr];qt.push(Cr.pending,Cr.rejected,Cr.fulfilled)}var xr=xn.apply(void 0,qt);return xr(Mt)}:$n()(ot[0])}var yi=function(ot,ft){if(typeof ot!="function")throw new TypeError(ft+" is not a function")},Jr=function(){},cn=function(ot,ft){return ft===void 0&&(ft=Jr),ot.catch(ft),ot},mt=function(ot,ft){return ot.addEventListener("abort",ft,{once:!0}),function(){return ot.removeEventListener("abort",ft)}},we=function(ot,ft){var Mt=ot.signal;Mt.aborted||("reason"in Mt||Object.defineProperty(Mt,"reason",{enumerable:!0,value:ft,configurable:!0,writable:!0}),ot.abort(ft))},je="task",pt="listener",at="completed",kt="cancelled",vn="task-"+kt,Wn="task-"+at,nr=pt+"-"+kt,rr=pt+"-"+at,Ot=function(){function ot(ft){this.code=ft,this.name="TaskAbortError",this.message=je+" "+kt+" (reason: "+ft+")"}return ot}(),Gt=function(ot){if(ot.aborted)throw new Ot(ot.reason)};function Pt(ot,ft){var Mt=Jr;return new Promise(function(qt,sr){var lr=function(){return sr(new Ot(ot.reason))};if(ot.aborted){lr();return}Mt=mt(ot,lr),ft.finally(function(){return Mt()}).then(qt,sr)}).finally(function(){Mt=Jr})}var Tt=function(ot,ft){return X(void 0,null,function(){var Mt,qt;return T(this,function(sr){switch(sr.label){case 0:return sr.trys.push([0,3,4,5]),[4,Promise.resolve()];case 1:return sr.sent(),[4,ot()];case 2:return Mt=sr.sent(),[2,{status:"ok",value:Mt}];case 3:return qt=sr.sent(),[2,{status:qt instanceof Ot?"cancelled":"rejected",error:qt}];case 4:return ft?.(),[7];case 5:return[2]}})})},An=function(ot){return function(ft){return cn(Pt(ot,ft).then(function(Mt){return Gt(ot),Mt}))}},on=function(ot){var ft=An(ot);return function(Mt){return ft(new Promise(function(qt){return setTimeout(qt,Mt)}))}},dn=Object.assign,$e={},Yt="listenerMiddleware",$t=function(ot,ft){var Mt=function(qt){return mt(ot,function(){return we(qt,ot.reason)})};return function(qt,sr){yi(qt,"taskExecutor");var lr=new AbortController;Mt(lr);var Cr=Tt(function(){return X(void 0,null,function(){var xr;return T(this,function(qr){switch(qr.label){case 0:return Gt(ot),Gt(lr.signal),[4,qt({pause:An(lr.signal),delay:on(lr.signal),signal:lr.signal})];case 1:return xr=qr.sent(),Gt(lr.signal),[2,xr]}})})},function(){return we(lr,Wn)});return sr?.autoJoin&&ft.push(Cr),{result:An(ot)(Cr),cancel:function(){we(lr,vn)}}}},Jt=function(ot,ft){var Mt=function(qt,sr){return X(void 0,null,function(){var lr,Cr,xr,qr;return T(this,function(jr){switch(jr.label){case 0:Gt(ft),lr=function(){},Cr=new Promise(function(vr,$r){var Wr=ot({predicate:qt,effect:function(be,Ue){Ue.unsubscribe(),vr([be,Ue.getState(),Ue.getOriginalState()])}});lr=function(){Wr(),$r()}}),xr=[Cr],sr!=null&&xr.push(new Promise(function(vr){return setTimeout(vr,sr,null)})),jr.label=1;case 1:return jr.trys.push([1,,3,4]),[4,Pt(ft,Promise.race(xr))];case 2:return qr=jr.sent(),Gt(ft),[2,qr];case 3:return lr(),[7];case 4:return[2]}})})};return function(qt,sr){return cn(Mt(qt,sr))}},Lt=function(ot){var ft=ot.type,Mt=ot.actionCreator,qt=ot.matcher,sr=ot.predicate,lr=ot.effect;if(ft)sr=ee(ft).match;else if(Mt)ft=Mt.type,sr=Mt.match;else if(qt)sr=qt;else if(!sr)throw new Error("Creating or removing a listener requires one of the known fields for matching an action");return yi(lr,"options.listener"),{predicate:sr,type:ft,effect:lr}},yn=function(ot){var ft=Lt(ot),Mt=ft.type,qt=ft.predicate,sr=ft.effect,lr=Re(),Cr={id:lr,effect:sr,type:Mt,predicate:qt,pending:new Set,unsubscribe:function(){throw new Error("Unsubscribe not initialized")}};return Cr},In=function(ot){ot.pending.forEach(function(ft){we(ft,nr)})},yr=function(ot){return function(){ot.forEach(In),ot.clear()}},Rr=function(ot,ft,Mt){try{ot(ft,Mt)}catch(qt){setTimeout(function(){throw qt},0)}},Xr=ee(Yt+"/add"),ci=ee(Yt+"/removeAll"),Hr=ee(Yt+"/remove"),un=function(){for(var ot=[],ft=0;ft<arguments.length;ft++)ot[ft]=arguments[ft];console.error.apply(console,A([Yt+"/error"],ot))};function ct(ot){var ft=this;ot===void 0&&(ot={});var Mt=new Map,qt=ot.extra,sr=ot.onError,lr=sr===void 0?un:sr;yi(lr,"onError");var Cr=function(be){return be.unsubscribe=function(){return Mt.delete(be.id)},Mt.set(be.id,be),function(Ue){be.unsubscribe(),Ue?.cancelActive&&In(be)}},xr=function(be){for(var Ue=0,ut=Array.from(Mt.values());Ue<ut.length;Ue++){var Ht=ut[Ue];if(be(Ht))return Ht}},qr=function(be){var Ue=xr(function(ut){return ut.effect===be.effect});return Ue||(Ue=yn(be)),Cr(Ue)},jr=function(be){var Ue=Lt(be),ut=Ue.type,Ht=Ue.effect,Fn=Ue.predicate,ln=xr(function(jn){var Nr=typeof ut=="string"?jn.type===ut:jn.predicate===Fn;return Nr&&jn.effect===Ht});return ln&&(ln.unsubscribe(),be.cancelActive&&In(ln)),!!ln},vr=function(be,Ue,ut,Ht){return X(ft,null,function(){var Fn,ln,jn,Nr;return T(this,function(Mi){switch(Mi.label){case 0:Fn=new AbortController,ln=Jt(qr,Fn.signal),jn=[],Mi.label=1;case 1:return Mi.trys.push([1,3,4,6]),be.pending.add(Fn),[4,Promise.resolve(be.effect(Ue,dn({},ut,{getOriginalState:Ht,condition:function(Oi,ni){return ln(Oi,ni).then(Boolean)},take:ln,delay:on(Fn.signal),pause:An(Fn.signal),extra:qt,signal:Fn.signal,fork:$t(Fn.signal,jn),unsubscribe:be.unsubscribe,subscribe:function(){Mt.set(be.id,be)},cancelActiveListeners:function(){be.pending.forEach(function(Oi,ni,rs){Oi!==Fn&&(we(Oi,nr),rs.delete(Oi))})}})))];case 2:return Mi.sent(),[3,6];case 3:return Nr=Mi.sent(),Nr instanceof Ot||Rr(lr,Nr,{raisedBy:"effect"}),[3,6];case 4:return[4,Promise.allSettled(jn)];case 5:return Mi.sent(),we(Fn,rr),be.pending.delete(Fn),[7];case 6:return[2]}})})},$r=yr(Mt),Wr=function(be){return function(Ue){return function(ut){if(!re(ut))return Ue(ut);if(Xr.match(ut))return qr(ut.payload);if(ci.match(ut)){$r();return}if(Hr.match(ut))return jr(ut.payload);var Ht=be.getState(),Fn=function(){if(Ht===$e)throw new Error(Yt+": getOriginalState can only be called synchronously");return Ht},ln;try{if(ln=Ue(ut),Mt.size>0)for(var jn=be.getState(),Nr=Array.from(Mt.values()),Mi=0,Oi=Nr;Mi<Oi.length;Mi++){var ni=Oi[Mi],rs=!1;try{rs=ni.predicate(ut,jn,Ht)}catch(Qi){rs=!1,Rr(lr,Qi,{raisedBy:"predicate"})}rs&&vr(ni,ut,be,Fn)}}finally{Ht=$e}return ln}}};return{middleware:Wr,startListening:qr,stopListening:jr,clearListeners:$r}}var Ut="RTK_autoBatch",wt=function(){return function(ot){var ft;return{payload:ot,meta:(ft={},ft[Ut]=!0,ft)}}},kn,wn=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof e.g<"u"?e.g:globalThis):function(ot){return(kn||(kn=Promise.resolve())).then(ot).catch(function(ft){return setTimeout(function(){throw ft},0)})},Qn=function(ot){return function(ft){setTimeout(ft,ot)}},ur=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Qn(10),fi=function(ot){return ot===void 0&&(ot={type:"raf"}),function(ft){return function(){for(var Mt=[],qt=0;qt<arguments.length;qt++)Mt[qt]=arguments[qt];var sr=ft.apply(void 0,Mt),lr=!0,Cr=!1,xr=!1,qr=new Set,jr=ot.type==="tick"?wn:ot.type==="raf"?ur:ot.type==="callback"?ot.queueNotification:Qn(ot.timeout),vr=function(){xr=!1,Cr&&(Cr=!1,qr.forEach(function($r){return $r()}))};return Object.assign({},sr,{subscribe:function($r){var Wr=function(){return lr&&$r()},be=sr.subscribe(Wr);return qr.add($r),function(){be(),qr.delete($r)}},dispatch:function($r){var Wr;try{return lr=!((Wr=$r?.meta)!=null&&Wr[Ut]),Cr=!lr,Cr&&(xr||(xr=!0,jr(vr))),sr.dispatch($r)}finally{lr=!0}}})}}};(0,i.uG)()},83180:(U,C,e)=>{"use strict";const i=e(43228),a=e(72752),l=e(33960),c=A=>A.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1 $2"),v=(A,R)=>{const P=i(R);return A.replace(new RegExp(`${P}{2,}`,"g"),R).replace(new RegExp(`^${P}|${P}$`,"g"),"")},_=(A,R)=>{if(typeof A!="string")throw new TypeError(`Expected a string, got \`${typeof A}\``);R={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,...R};const P=R.preserveLeadingUnderscore&&A.startsWith("_"),M=new Map([...l,...R.customReplacements]);A=a(A,{customReplacements:M}),R.decamelize&&(A=c(A));let O=/[^a-zA-Z\d]+/g;return R.lowercase&&(A=A.toLowerCase(),O=/[^a-z\d]+/g),A=A.replace(O,R.separator),A=A.replace(/\\/g,""),R.separator&&(A=v(A,R.separator)),P&&(A=`_${A}`),A},T=()=>{const A=new Map,R=(P,M)=>{if(P=_(P,M),!P)return"";const O=P.toLowerCase(),N=A.get(O.replace(/(?:-\d+?)+?$/,""))||0,B=A.get(O);A.set(O,typeof B=="number"?B+1:1);const j=A.get(O)||2;return(j>=2||N>2)&&(P=`${P}-${j}`),P};return R.reset=()=>{A.clear()},R};U.exports=_,U.exports.counter=T},33960:U=>{"use strict";U.exports=[["&"," and "],["\u{1F984}"," unicorn "],["\u2665"," love "]]},72752:(U,C,e)=>{"use strict";const i=e(97863),a=e(52284),l=e(93592),c=(v,_)=>{for(const[T,A]of _)v=v.replace(new RegExp(a(T),"g"),A);return v};U.exports=(v,_)=>{if(typeof v!="string")throw new TypeError(`Expected a string, got \`${typeof v}\``);_={customReplacements:[],..._};const T=new Map([...l,..._.customReplacements]);return v=v.normalize(),v=c(v,T),v=i(v),v}},52284:U=>{"use strict";const C=/[|\\{}()[\]^$+*?.-]/g;U.exports=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(C,"\\$&")}},93592:U=>{"use strict";U.exports=[["\xDF","ss"],["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xC0","A"],["\xC1","A"],["\xC2","A"],["\xC3","A"],["\xC4","Ae"],["\xC5","A"],["\xC6","AE"],["\xC7","C"],["\xC8","E"],["\xC9","E"],["\xCA","E"],["\xCB","E"],["\xCC","I"],["\xCD","I"],["\xCE","I"],["\xCF","I"],["\xD0","D"],["\xD1","N"],["\xD2","O"],["\xD3","O"],["\xD4","O"],["\xD5","O"],["\xD6","Oe"],["\u0150","O"],["\xD8","O"],["\xD9","U"],["\xDA","U"],["\xDB","U"],["\xDC","Ue"],["\u0170","U"],["\xDD","Y"],["\xDE","TH"],["\xDF","ss"],["\xE0","a"],["\xE1","a"],["\xE2","a"],["\xE3","a"],["\xE4","ae"],["\xE5","a"],["\xE6","ae"],["\xE7","c"],["\xE8","e"],["\xE9","e"],["\xEA","e"],["\xEB","e"],["\xEC","i"],["\xED","i"],["\xEE","i"],["\xEF","i"],["\xF0","d"],["\xF1","n"],["\xF2","o"],["\xF3","o"],["\xF4","o"],["\xF5","o"],["\xF6","oe"],["\u0151","o"],["\xF8","o"],["\xF9","u"],["\xFA","u"],["\xFB","u"],["\xFC","ue"],["\u0171","u"],["\xFD","y"],["\xFE","th"],["\xFF","y"],["\u1E9E","SS"],["\xE0","a"],["\xC0","A"],["\xE1","a"],["\xC1","A"],["\xE2","a"],["\xC2","A"],["\xE3","a"],["\xC3","A"],["\xE8","e"],["\xC8","E"],["\xE9","e"],["\xC9","E"],["\xEA","e"],["\xCA","E"],["\xEC","i"],["\xCC","I"],["\xED","i"],["\xCD","I"],["\xF2","o"],["\xD2","O"],["\xF3","o"],["\xD3","O"],["\xF4","o"],["\xD4","O"],["\xF5","o"],["\xD5","O"],["\xF9","u"],["\xD9","U"],["\xFA","u"],["\xDA","U"],["\xFD","y"],["\xDD","Y"],["\u0103","a"],["\u0102","A"],["\u0110","D"],["\u0111","d"],["\u0129","i"],["\u0128","I"],["\u0169","u"],["\u0168","U"],["\u01A1","o"],["\u01A0","O"],["\u01B0","u"],["\u01AF","U"],["\u1EA1","a"],["\u1EA0","A"],["\u1EA3","a"],["\u1EA2","A"],["\u1EA5","a"],["\u1EA4","A"],["\u1EA7","a"],["\u1EA6","A"],["\u1EA9","a"],["\u1EA8","A"],["\u1EAB","a"],["\u1EAA","A"],["\u1EAD","a"],["\u1EAC","A"],["\u1EAF","a"],["\u1EAE","A"],["\u1EB1","a"],["\u1EB0","A"],["\u1EB3","a"],["\u1EB2","A"],["\u1EB5","a"],["\u1EB4","A"],["\u1EB7","a"],["\u1EB6","A"],["\u1EB9","e"],["\u1EB8","E"],["\u1EBB","e"],["\u1EBA","E"],["\u1EBD","e"],["\u1EBC","E"],["\u1EBF","e"],["\u1EBE","E"],["\u1EC1","e"],["\u1EC0","E"],["\u1EC3","e"],["\u1EC2","E"],["\u1EC5","e"],["\u1EC4","E"],["\u1EC7","e"],["\u1EC6","E"],["\u1EC9","i"],["\u1EC8","I"],["\u1ECB","i"],["\u1ECA","I"],["\u1ECD","o"],["\u1ECC","O"],["\u1ECF","o"],["\u1ECE","O"],["\u1ED1","o"],["\u1ED0","O"],["\u1ED3","o"],["\u1ED2","O"],["\u1ED5","o"],["\u1ED4","O"],["\u1ED7","o"],["\u1ED6","O"],["\u1ED9","o"],["\u1ED8","O"],["\u1EDB","o"],["\u1EDA","O"],["\u1EDD","o"],["\u1EDC","O"],["\u1EDF","o"],["\u1EDE","O"],["\u1EE1","o"],["\u1EE0","O"],["\u1EE3","o"],["\u1EE2","O"],["\u1EE5","u"],["\u1EE4","U"],["\u1EE7","u"],["\u1EE6","U"],["\u1EE9","u"],["\u1EE8","U"],["\u1EEB","u"],["\u1EEA","U"],["\u1EED","u"],["\u1EEC","U"],["\u1EEF","u"],["\u1EEE","U"],["\u1EF1","u"],["\u1EF0","U"],["\u1EF3","y"],["\u1EF2","Y"],["\u1EF5","y"],["\u1EF4","Y"],["\u1EF7","y"],["\u1EF6","Y"],["\u1EF9","y"],["\u1EF8","Y"],["\u0621","e"],["\u0622","a"],["\u0623","a"],["\u0624","w"],["\u0625","i"],["\u0626","y"],["\u0627","a"],["\u0628","b"],["\u0629","t"],["\u062A","t"],["\u062B","th"],["\u062C","j"],["\u062D","h"],["\u062E","kh"],["\u062F","d"],["\u0630","dh"],["\u0631","r"],["\u0632","z"],["\u0633","s"],["\u0634","sh"],["\u0635","s"],["\u0636","d"],["\u0637","t"],["\u0638","z"],["\u0639","e"],["\u063A","gh"],["\u0640","_"],["\u0641","f"],["\u0642","q"],["\u0643","k"],["\u0644","l"],["\u0645","m"],["\u0646","n"],["\u0647","h"],["\u0648","w"],["\u0649","a"],["\u064A","y"],["\u064E\u200E","a"],["\u064F","u"],["\u0650\u200E","i"],["\u0660","0"],["\u0661","1"],["\u0662","2"],["\u0663","3"],["\u0664","4"],["\u0665","5"],["\u0666","6"],["\u0667","7"],["\u0668","8"],["\u0669","9"],["\u0686","ch"],["\u06A9","k"],["\u06AF","g"],["\u067E","p"],["\u0698","zh"],["\u06CC","y"],["\u06F0","0"],["\u06F1","1"],["\u06F2","2"],["\u06F3","3"],["\u06F4","4"],["\u06F5","5"],["\u06F6","6"],["\u06F7","7"],["\u06F8","8"],["\u06F9","9"],["\u067C","p"],["\u0681","z"],["\u0685","c"],["\u0689","d"],["\uFEAB","d"],["\uFEAD","r"],["\u0693","r"],["\uFEAF","z"],["\u0696","g"],["\u069A","x"],["\u06AB","g"],["\u06BC","n"],["\u06C0","e"],["\u06D0","e"],["\u06CD","ai"],["\u0679","t"],["\u0688","d"],["\u0691","r"],["\u06BA","n"],["\u06C1","h"],["\u06BE","h"],["\u06D2","e"],["\u0410","A"],["\u0430","a"],["\u0411","B"],["\u0431","b"],["\u0412","V"],["\u0432","v"],["\u0413","G"],["\u0433","g"],["\u0414","D"],["\u0434","d"],["\u0415","E"],["\u0435","e"],["\u0416","Zh"],["\u0436","zh"],["\u0417","Z"],["\u0437","z"],["\u0418","I"],["\u0438","i"],["\u0419","J"],["\u0439","j"],["\u041A","K"],["\u043A","k"],["\u041B","L"],["\u043B","l"],["\u041C","M"],["\u043C","m"],["\u041D","N"],["\u043D","n"],["\u041E","O"],["\u043E","o"],["\u041F","P"],["\u043F","p"],["\u0420","R"],["\u0440","r"],["\u0421","S"],["\u0441","s"],["\u0422","T"],["\u0442","t"],["\u0423","U"],["\u0443","u"],["\u0424","F"],["\u0444","f"],["\u0425","H"],["\u0445","h"],["\u0426","Cz"],["\u0446","cz"],["\u0427","Ch"],["\u0447","ch"],["\u0428","Sh"],["\u0448","sh"],["\u0429","Shh"],["\u0449","shh"],["\u042A",""],["\u044A",""],["\u042B","Y"],["\u044B","y"],["\u042C",""],["\u044C",""],["\u042D","E"],["\u044D","e"],["\u042E","Yu"],["\u044E","yu"],["\u042F","Ya"],["\u044F","ya"],["\u0401","Yo"],["\u0451","yo"],["\u0103","a"],["\u0102","A"],["\u0219","s"],["\u0218","S"],["\u021B","t"],["\u021A","T"],["\u0163","t"],["\u0162","T"],["\u015F","s"],["\u015E","S"],["\xE7","c"],["\xC7","C"],["\u011F","g"],["\u011E","G"],["\u0131","i"],["\u0130","I"],["\u0561","a"],["\u0531","A"],["\u0562","b"],["\u0532","B"],["\u0563","g"],["\u0533","G"],["\u0564","d"],["\u0534","D"],["\u0565","ye"],["\u0535","Ye"],["\u0566","z"],["\u0536","Z"],["\u0567","e"],["\u0537","E"],["\u0568","y"],["\u0538","Y"],["\u0569","t"],["\u0539","T"],["\u056A","zh"],["\u053A","Zh"],["\u056B","i"],["\u053B","I"],["\u056C","l"],["\u053C","L"],["\u056D","kh"],["\u053D","Kh"],["\u056E","ts"],["\u053E","Ts"],["\u056F","k"],["\u053F","K"],["\u0570","h"],["\u0540","H"],["\u0571","dz"],["\u0541","Dz"],["\u0572","gh"],["\u0542","Gh"],["\u0573","tch"],["\u0543","Tch"],["\u0574","m"],["\u0544","M"],["\u0575","y"],["\u0545","Y"],["\u0576","n"],["\u0546","N"],["\u0577","sh"],["\u0547","Sh"],["\u0578","vo"],["\u0548","Vo"],["\u0579","ch"],["\u0549","Ch"],["\u057A","p"],["\u054A","P"],["\u057B","j"],["\u054B","J"],["\u057C","r"],["\u054C","R"],["\u057D","s"],["\u054D","S"],["\u057E","v"],["\u054E","V"],["\u057F","t"],["\u054F","T"],["\u0580","r"],["\u0550","R"],["\u0581","c"],["\u0551","C"],["\u0578\u0582","u"],["\u0548\u0552","U"],["\u0548\u0582","U"],["\u0583","p"],["\u0553","P"],["\u0584","q"],["\u0554","Q"],["\u0585","o"],["\u0555","O"],["\u0586","f"],["\u0556","F"],["\u0587","yev"],["\u10D0","a"],["\u10D1","b"],["\u10D2","g"],["\u10D3","d"],["\u10D4","e"],["\u10D5","v"],["\u10D6","z"],["\u10D7","t"],["\u10D8","i"],["\u10D9","k"],["\u10DA","l"],["\u10DB","m"],["\u10DC","n"],["\u10DD","o"],["\u10DE","p"],["\u10DF","zh"],["\u10E0","r"],["\u10E1","s"],["\u10E2","t"],["\u10E3","u"],["\u10E4","ph"],["\u10E5","q"],["\u10E6","gh"],["\u10E7","k"],["\u10E8","sh"],["\u10E9","ch"],["\u10EA","ts"],["\u10EB","dz"],["\u10EC","ts"],["\u10ED","tch"],["\u10EE","kh"],["\u10EF","j"],["\u10F0","h"],["\u010D","c"],["\u010F","d"],["\u011B","e"],["\u0148","n"],["\u0159","r"],["\u0161","s"],["\u0165","t"],["\u016F","u"],["\u017E","z"],["\u010C","C"],["\u010E","D"],["\u011A","E"],["\u0147","N"],["\u0158","R"],["\u0160","S"],["\u0164","T"],["\u016E","U"],["\u017D","Z"],["\u0780","h"],["\u0781","sh"],["\u0782","n"],["\u0783","r"],["\u0784","b"],["\u0785","lh"],["\u0786","k"],["\u0787","a"],["\u0788","v"],["\u0789","m"],["\u078A","f"],["\u078B","dh"],["\u078C","th"],["\u078D","l"],["\u078E","g"],["\u078F","gn"],["\u0790","s"],["\u0791","d"],["\u0792","z"],["\u0793","t"],["\u0794","y"],["\u0795","p"],["\u0796","j"],["\u0797","ch"],["\u0798","tt"],["\u0799","hh"],["\u079A","kh"],["\u079B","th"],["\u079C","z"],["\u079D","sh"],["\u079E","s"],["\u079F","d"],["\u07A0","t"],["\u07A1","z"],["\u07A2","a"],["\u07A3","gh"],["\u07A4","q"],["\u07A5","w"],["\u07A6","a"],["\u07A7","aa"],["\u07A8","i"],["\u07A9","ee"],["\u07AA","u"],["\u07AB","oo"],["\u07AC","e"],["\u07AD","ey"],["\u07AE","o"],["\u07AF","oa"],["\u07B0",""],["\u03B1","a"],["\u03B2","v"],["\u03B3","g"],["\u03B4","d"],["\u03B5","e"],["\u03B6","z"],["\u03B7","i"],["\u03B8","th"],["\u03B9","i"],["\u03BA","k"],["\u03BB","l"],["\u03BC","m"],["\u03BD","n"],["\u03BE","ks"],["\u03BF","o"],["\u03C0","p"],["\u03C1","r"],["\u03C3","s"],["\u03C4","t"],["\u03C5","y"],["\u03C6","f"],["\u03C7","x"],["\u03C8","ps"],["\u03C9","o"],["\u03AC","a"],["\u03AD","e"],["\u03AF","i"],["\u03CC","o"],["\u03CD","y"],["\u03AE","i"],["\u03CE","o"],["\u03C2","s"],["\u03CA","i"],["\u03B0","y"],["\u03CB","y"],["\u0390","i"],["\u0391","A"],["\u0392","B"],["\u0393","G"],["\u0394","D"],["\u0395","E"],["\u0396","Z"],["\u0397","I"],["\u0398","TH"],["\u0399","I"],["\u039A","K"],["\u039B","L"],["\u039C","M"],["\u039D","N"],["\u039E","KS"],["\u039F","O"],["\u03A0","P"],["\u03A1","R"],["\u03A3","S"],["\u03A4","T"],["\u03A5","Y"],["\u03A6","F"],["\u03A7","X"],["\u03A8","PS"],["\u03A9","O"],["\u0386","A"],["\u0388","E"],["\u038A","I"],["\u038C","O"],["\u038E","Y"],["\u0389","I"],["\u038F","O"],["\u03AA","I"],["\u03AB","Y"],["\u0101","a"],["\u0113","e"],["\u0123","g"],["\u012B","i"],["\u0137","k"],["\u013C","l"],["\u0146","n"],["\u016B","u"],["\u0100","A"],["\u0112","E"],["\u0122","G"],["\u012A","I"],["\u0136","K"],["\u013B","L"],["\u0145","N"],["\u016A","U"],["\u010D","c"],["\u0161","s"],["\u017E","z"],["\u010C","C"],["\u0160","S"],["\u017D","Z"],["\u0105","a"],["\u010D","c"],["\u0119","e"],["\u0117","e"],["\u012F","i"],["\u0161","s"],["\u0173","u"],["\u016B","u"],["\u017E","z"],["\u0104","A"],["\u010C","C"],["\u0118","E"],["\u0116","E"],["\u012E","I"],["\u0160","S"],["\u0172","U"],["\u016A","U"],["\u040C","Kj"],["\u045C","kj"],["\u0409","Lj"],["\u0459","lj"],["\u040A","Nj"],["\u045A","nj"],["\u0422\u0441","Ts"],["\u0442\u0441","ts"],["\u0105","a"],["\u0107","c"],["\u0119","e"],["\u0142","l"],["\u0144","n"],["\u015B","s"],["\u017A","z"],["\u017C","z"],["\u0104","A"],["\u0106","C"],["\u0118","E"],["\u0141","L"],["\u0143","N"],["\u015A","S"],["\u0179","Z"],["\u017B","Z"],["\u0404","Ye"],["\u0406","I"],["\u0407","Yi"],["\u0490","G"],["\u0454","ye"],["\u0456","i"],["\u0457","yi"],["\u0491","g"]]},78380:(U,C)=>{"use strict";/**
 * @license React
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var e=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),_=Symbol.for("react.context"),T=Symbol.for("react.server_context"),A=Symbol.for("react.forward_ref"),R=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),B;B=Symbol.for("react.module.reference");function j(z){if(typeof z=="object"&&z!==null){var W=z.$$typeof;switch(W){case e:switch(z=z.type,z){case a:case c:case l:case R:case P:return z;default:switch(z=z&&z.$$typeof,z){case T:case _:case A:case O:case M:case v:return z;default:return W}}case i:return W}}}C.ContextConsumer=_,C.ContextProvider=v,C.Element=e,C.ForwardRef=A,C.Fragment=a,C.Lazy=O,C.Memo=M,C.Portal=i,C.Profiler=c,C.StrictMode=l,C.Suspense=R,C.SuspenseList=P,C.isAsyncMode=function(){return!1},C.isConcurrentMode=function(){return!1},C.isContextConsumer=function(z){return j(z)===_},C.isContextProvider=function(z){return j(z)===v},C.isElement=function(z){return typeof z=="object"&&z!==null&&z.$$typeof===e},C.isForwardRef=function(z){return j(z)===A},C.isFragment=function(z){return j(z)===a},C.isLazy=function(z){return j(z)===O},C.isMemo=function(z){return j(z)===M},C.isPortal=function(z){return j(z)===i},C.isProfiler=function(z){return j(z)===c},C.isStrictMode=function(z){return j(z)===l},C.isSuspense=function(z){return j(z)===R},C.isSuspenseList=function(z){return j(z)===P},C.isValidElementType=function(z){return typeof z=="string"||typeof z=="function"||z===a||z===c||z===l||z===R||z===P||z===N||typeof z=="object"&&z!==null&&(z.$$typeof===O||z.$$typeof===M||z.$$typeof===v||z.$$typeof===_||z.$$typeof===A||z.$$typeof===B||z.getModuleId!==void 0)},C.typeOf=j},33112:(U,C,e)=>{"use strict";U.exports=e(78380)},91272:(U,C,e)=>{"use strict";e.d(C,{gP:()=>R});var i=function(N){if(typeof document>"u")return null;var B=Array.isArray(N)?N[0]:N;return B.ownerDocument.body},a=new WeakMap,l=new WeakMap,c={},v=0,_=function(N){return N&&(N.host||_(N.parentNode))},T=function(N,B){return B.map(function(j){if(N.contains(j))return j;var z=_(j);return z&&N.contains(z)?z:(console.error("aria-hidden",j,"in not contained inside",N,". Doing nothing"),null)}).filter(function(j){return Boolean(j)})},A=function(N,B,j,z){var W=T(B,Array.isArray(N)?N:[N]);c[j]||(c[j]=new WeakMap);var X=c[j],Q=[],K=new Set,Y=new Set(W),Z=function(ee){!ee||K.has(ee)||(K.add(ee),Z(ee.parentNode))};W.forEach(Z);var J=function(ee){!ee||Y.has(ee)||Array.prototype.forEach.call(ee.children,function(re){if(K.has(re))J(re);else{var me=re.getAttribute(z),fe=me!==null&&me!=="false",le=(a.get(re)||0)+1,Ve=(X.get(re)||0)+1;a.set(re,le),X.set(re,Ve),Q.push(re),le===1&&fe&&l.set(re,!0),Ve===1&&re.setAttribute(j,"true"),fe||re.setAttribute(z,"true")}})};return J(B),K.clear(),v++,function(){Q.forEach(function(ee){var re=a.get(ee)-1,me=X.get(ee)-1;a.set(ee,re),X.set(ee,me),re||(l.has(ee)||ee.removeAttribute(z),l.delete(ee)),me||ee.removeAttribute(j)}),v--,v||(a=new WeakMap,a=new WeakMap,l=new WeakMap,c={})}},R=function(N,B,j){j===void 0&&(j="data-aria-hidden");var z=Array.from(Array.isArray(N)?N:[N]),W=B||i(N);return W?(z.push.apply(z,Array.from(W.querySelectorAll("[aria-live]"))),A(z,W,j,"aria-hidden")):function(){return null}},P=function(N,B,j){j===void 0&&(j="data-inert-ed");var z=B||i(N);return z?A(N,z,j,"inert"):function(){return null}},M=function(){return typeof HTMLElement<"u"&&HTMLElement.prototype.hasOwnProperty("inert")},O=function(N,B,j){return j===void 0&&(j="data-suppressed"),(M()?P:R)(N,B,j)}},9568:function(U){(function(C,e){U.exports=e()})(this,function(){"use strict";let C={};const e=new WeakMap;class i{constructor(c,v){v=Object.assign({units:"metric",precision:1},C,v),e.set(this,v);const _={metric:[{from:0,to:1e3,unit:"B",long:"bytes"},{from:1e3,to:1e6,unit:"kB",long:"kilobytes"},{from:1e6,to:1e9,unit:"MB",long:"megabytes"},{from:1e9,to:1e12,unit:"GB",long:"gigabytes"},{from:1e12,to:1e15,unit:"TB",long:"terabytes"},{from:1e15,to:1e18,unit:"PB",long:"petabytes"},{from:1e18,to:1e21,unit:"EB",long:"exabytes"},{from:1e21,to:1e24,unit:"ZB",long:"zettabytes"},{from:1e24,to:1e27,unit:"YB",long:"yottabytes"}],metric_octet:[{from:0,to:1e3,unit:"o",long:"octets"},{from:1e3,to:1e6,unit:"ko",long:"kilooctets"},{from:1e6,to:1e9,unit:"Mo",long:"megaoctets"},{from:1e9,to:1e12,unit:"Go",long:"gigaoctets"},{from:1e12,to:1e15,unit:"To",long:"teraoctets"},{from:1e15,to:1e18,unit:"Po",long:"petaoctets"},{from:1e18,to:1e21,unit:"Eo",long:"exaoctets"},{from:1e21,to:1e24,unit:"Zo",long:"zettaoctets"},{from:1e24,to:1e27,unit:"Yo",long:"yottaoctets"}],iec:[{from:0,to:Math.pow(1024,1),unit:"B",long:"bytes"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"KiB",long:"kibibytes"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"MiB",long:"mebibytes"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"GiB",long:"gibibytes"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"TiB",long:"tebibytes"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"PiB",long:"pebibytes"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"EiB",long:"exbibytes"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"ZiB",long:"zebibytes"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"YiB",long:"yobibytes"}],iec_octet:[{from:0,to:Math.pow(1024,1),unit:"o",long:"octets"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"Kio",long:"kibioctets"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"Mio",long:"mebioctets"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"Gio",long:"gibioctets"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"Tio",long:"tebioctets"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"Pio",long:"pebioctets"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"Eio",long:"exbioctets"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"Zio",long:"zebioctets"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"Yio",long:"yobioctets"}]};Object.assign(_,v.customUnits);const T=c<0?"-":"";c=Math.abs(c);const A=_[v.units];if(A){const R=A.find(P=>c>=P.from&&c<P.to);if(R){const P=R.from===0?T+c:T+(c/R.from).toFixed(v.precision);this.value=P,this.unit=R.unit,this.long=R.long}else this.value=T+c,this.unit="",this.long=""}else throw new Error(`Invalid units specified: ${v.units}`)}toString(){const c=e.get(this);return c.toStringFn?c.toStringFn.bind(this)():`${this.value} ${this.unit}`}}function a(l,c){return new i(l,c)}return a.defaultOptions=function(l){C=l},a})},45424:(U,C,e)=>{"use strict";var i=e(6968),a=e(10616),l=a(i("String.prototype.indexOf"));U.exports=function(v,_){var T=i(v,!!_);return typeof T=="function"&&l(v,".prototype.")>-1?a(T):T}},10616:(U,C,e)=>{"use strict";var i=e(3032),a=e(6968),l=e(47304),c=a("%TypeError%"),v=a("%Function.prototype.apply%"),_=a("%Function.prototype.call%"),T=a("%Reflect.apply%",!0)||i.call(_,v),A=a("%Object.defineProperty%",!0),R=a("%Math.max%");if(A)try{A({},"a",{value:1})}catch{A=null}U.exports=function(O){if(typeof O!="function")throw new c("a function is required");var N=T(i,_,arguments);return l(N,1+R(0,O.length-(arguments.length-1)),!0)};var P=function(){return T(i,v,arguments)};A?A(U.exports,"apply",{value:P}):U.exports.apply=P},33656:(U,C,e)=>{(function(i){i(e(52600))})(function(i){i.defineOption("placeholder","",function(A,R,P){var M=P&&P!=i.Init;if(R&&!M)A.on("blur",v),A.on("change",_),A.on("swapDoc",_),i.on(A.getInputField(),"compositionupdate",A.state.placeholderCompose=function(){c(A)}),_(A);else if(!R&&M){A.off("blur",v),A.off("change",_),A.off("swapDoc",_),i.off(A.getInputField(),"compositionupdate",A.state.placeholderCompose),a(A);var O=A.getWrapperElement();O.className=O.className.replace(" CodeMirror-empty","")}R&&!A.hasFocus()&&v(A)});function a(A){A.state.placeholder&&(A.state.placeholder.parentNode.removeChild(A.state.placeholder),A.state.placeholder=null)}function l(A){a(A);var R=A.state.placeholder=document.createElement("pre");R.style.cssText="height: 0; overflow: visible",R.style.direction=A.getOption("direction"),R.className="CodeMirror-placeholder CodeMirror-line-like";var P=A.getOption("placeholder");typeof P=="string"&&(P=document.createTextNode(P)),R.appendChild(P),A.display.lineSpace.insertBefore(R,A.display.lineSpace.firstChild)}function c(A){setTimeout(function(){var R=!1;if(A.lineCount()==1){var P=A.getInputField();R=P.nodeName=="TEXTAREA"?!A.getLine(0).length:!/[^\u200b]/.test(P.querySelector(".CodeMirror-line").textContent)}R?l(A):a(A)},20)}function v(A){T(A)&&l(A)}function _(A){var R=A.getWrapperElement(),P=T(A);R.className=R.className.replace(" CodeMirror-empty","")+(P?" CodeMirror-empty":""),P?l(A):a(A)}function T(A){return A.lineCount()===1&&A.getLine(0)===""}})},52600:function(U){(function(C,e){U.exports=e()})(this,function(){"use strict";var C=navigator.userAgent,e=navigator.platform,i=/gecko\/\d/i.test(C),a=/MSIE \d/.test(C),l=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(C),c=/Edge\/(\d+)/.exec(C),v=a||l||c,_=v&&(a?document.documentMode||6:+(c||l)[1]),T=!c&&/WebKit\//.test(C),A=T&&/Qt\/\d+\.\d+/.test(C),R=!c&&/Chrome\/(\d+)/.exec(C),P=R&&+R[1],M=/Opera\//.test(C),O=/Apple Computer/.test(navigator.vendor),N=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(C),B=/PhantomJS/.test(C),j=O&&(/Mobile\/\w+/.test(C)||navigator.maxTouchPoints>2),z=/Android/.test(C),W=j||z||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(C),X=j||/Mac/.test(e),Q=/\bCrOS\b/.test(C),K=/win/i.test(e),Y=M&&C.match(/Version\/(\d*\.\d*)/);Y&&(Y=Number(Y[1])),Y&&Y>=15&&(M=!1,T=!0);var Z=X&&(A||M&&(Y==null||Y<12.11)),J=i||v&&_>=9;function ee(h){return new RegExp("(^|\\s)"+h+"(?:$|\\s)\\s*")}var re=function(h,b){var F=h.className,k=ee(b).exec(F);if(k){var G=F.slice(k.index+k[0].length);h.className=F.slice(0,k.index)+(G?k[1]+G:"")}};function me(h){for(var b=h.childNodes.length;b>0;--b)h.removeChild(h.firstChild);return h}function fe(h,b){return me(h).appendChild(b)}function le(h,b,F,k){var G=document.createElement(h);if(F&&(G.className=F),k&&(G.style.cssText=k),typeof b=="string")G.appendChild(document.createTextNode(b));else if(b)for(var ae=0;ae<b.length;++ae)G.appendChild(b[ae]);return G}function Ve(h,b,F,k){var G=le(h,b,F,k);return G.setAttribute("role","presentation"),G}var Ze;document.createRange?Ze=function(h,b,F,k){var G=document.createRange();return G.setEnd(k||h,F),G.setStart(h,b),G}:Ze=function(h,b,F){var k=document.body.createTextRange();try{k.moveToElementText(h.parentNode)}catch{return k}return k.collapse(!0),k.moveEnd("character",F),k.moveStart("character",b),k};function Ce(h,b){if(b.nodeType==3&&(b=b.parentNode),h.contains)return h.contains(b);do if(b.nodeType==11&&(b=b.host),b==h)return!0;while(b=b.parentNode)}function ye(h){var b=h.ownerDocument||h,F;try{F=h.activeElement}catch{F=b.body||null}for(;F&&F.shadowRoot&&F.shadowRoot.activeElement;)F=F.shadowRoot.activeElement;return F}function Ae(h,b){var F=h.className;ee(b).test(F)||(h.className+=(F?" ":"")+b)}function Fe(h,b){for(var F=h.split(" "),k=0;k<F.length;k++)F[k]&&!ee(F[k]).test(b)&&(b+=" "+F[k]);return b}var Qe=function(h){h.select()};j?Qe=function(h){h.selectionStart=0,h.selectionEnd=h.value.length}:v&&(Qe=function(h){try{h.select()}catch{}});function ce(h){return h.display.wrapper.ownerDocument}function Ge(h){return Pe(h.display.wrapper)}function Pe(h){return h.getRootNode?h.getRootNode():h.ownerDocument}function pe(h){return ce(h).defaultView}function Se(h){var b=Array.prototype.slice.call(arguments,1);return function(){return h.apply(null,b)}}function _e(h,b,F){b||(b={});for(var k in h)h.hasOwnProperty(k)&&(F!==!1||!b.hasOwnProperty(k))&&(b[k]=h[k]);return b}function Ne(h,b,F,k,G){b==null&&(b=h.search(/[^\s\u00a0]/),b==-1&&(b=h.length));for(var ae=k||0,De=G||0;;){var Xe=h.indexOf("	",ae);if(Xe<0||Xe>=b)return De+(b-ae);De+=Xe-ae,De+=F-De%F,ae=Xe+1}}var Le=function(){this.id=null,this.f=null,this.time=0,this.handler=Se(this.onTimeout,this)};Le.prototype.onTimeout=function(h){h.id=0,h.time<=+new Date?h.f():setTimeout(h.handler,h.time-+new Date)},Le.prototype.set=function(h,b){this.f=b;var F=+new Date+h;(!this.id||F<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,h),this.time=F)};function Ke(h,b){for(var F=0;F<h.length;++F)if(h[F]==b)return F;return-1}var bt=50,yt={toString:function(){return"CodeMirror.Pass"}},It={scroll:!1},_t={origin:"*mouse"},zt={origin:"+move"};function Vt(h,b,F){for(var k=0,G=0;;){var ae=h.indexOf("	",k);ae==-1&&(ae=h.length);var De=ae-k;if(ae==h.length||G+De>=b)return k+Math.min(De,b-G);if(G+=ae-k,G+=F-G%F,k=ae+1,G>=b)return k}}var St=[""];function Xt(h){for(;St.length<=h;)St.push(jt(St)+" ");return St[h]}function jt(h){return h[h.length-1]}function sn(h,b){for(var F=[],k=0;k<h.length;k++)F[k]=b(h[k],k);return F}function dt(h,b,F){for(var k=0,G=F(b);k<h.length&&F(h[k])<=G;)k++;h.splice(k,0,b)}function Ln(){}function fn(h,b){var F;return Object.create?F=Object.create(h):(Ln.prototype=h,F=new Ln),b&&_e(b,F),F}var cr=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function wr(h){return/\w/.test(h)||h>"\x80"&&(h.toUpperCase()!=h.toLowerCase()||cr.test(h))}function Jn(h,b){return b?b.source.indexOf("\\w")>-1&&wr(h)?!0:b.test(h):wr(h)}function nn(h){for(var b in h)if(h.hasOwnProperty(b)&&h[b])return!1;return!0}var or=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function bn(h){return h.charCodeAt(0)>=768&&or.test(h)}function Sn(h,b,F){for(;(F<0?b>0:b<h.length)&&bn(h.charAt(b));)b+=F;return b}function Hn(h,b,F){for(var k=b>F?-1:1;;){if(b==F)return b;var G=(b+F)/2,ae=k<0?Math.ceil(G):Math.floor(G);if(ae==b)return h(ae)?b:F;h(ae)?F=ae:b=ae+k}}function er(h,b,F,k){if(!h)return k(b,F,"ltr",0);for(var G=!1,ae=0;ae<h.length;++ae){var De=h[ae];(De.from<F&&De.to>b||b==F&&De.to==b)&&(k(Math.max(De.from,b),Math.min(De.to,F),De.level==1?"rtl":"ltr",ae),G=!0)}G||k(b,F,"ltr")}var an=null;function Cn(h,b,F){var k;an=null;for(var G=0;G<h.length;++G){var ae=h[G];if(ae.from<b&&ae.to>b)return G;ae.to==b&&(ae.from!=ae.to&&F=="before"?k=G:an=G),ae.from==b&&(ae.from!=ae.to&&F!="before"?k=G:an=G)}return k??an}var de=function(){var h="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",b="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function F(it){return it<=247?h.charAt(it):1424<=it&&it<=1524?"R":1536<=it&&it<=1785?b.charAt(it-1536):1774<=it&&it<=2220?"r":8192<=it&&it<=8203?"w":it==8204?"b":"L"}var k=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,G=/[stwN]/,ae=/[LRr]/,De=/[Lb1n]/,Xe=/[1n]/;function lt(it,Rn,Zn){this.level=it,this.from=Rn,this.to=Zn}return function(it,Rn){var Zn=Rn=="ltr"?"L":"R";if(it.length==0||Rn=="ltr"&&!k.test(it))return!1;for(var Fr=it.length,Tr=[],ui=0;ui<Fr;++ui)Tr.push(F(it.charCodeAt(ui)));for(var ki=0,cs=Zn;ki<Fr;++ki){var qi=Tr[ki];qi=="m"?Tr[ki]=cs:cs=qi}for(var is=0,Ns=Zn;is<Fr;++is){var Zs=Tr[is];Zs=="1"&&Ns=="r"?Tr[is]="n":ae.test(Zs)&&(Ns=Zs,Zs=="r"&&(Tr[is]="R"))}for(var wa=1,qs=Tr[0];wa<Fr-1;++wa){var ao=Tr[wa];ao=="+"&&qs=="1"&&Tr[wa+1]=="1"?Tr[wa]="1":ao==","&&qs==Tr[wa+1]&&(qs=="1"||qs=="n")&&(Tr[wa]=qs),qs=ao}for(var So=0;So<Fr;++So){var wl=Tr[So];if(wl==",")Tr[So]="N";else if(wl=="%"){var Uu=void 0;for(Uu=So+1;Uu<Fr&&Tr[Uu]=="%";++Uu);for(var pl=So&&Tr[So-1]=="!"||Uu<Fr&&Tr[Uu]=="1"?"1":"N",Dc=So;Dc<Uu;++Dc)Tr[Dc]=pl;So=Uu-1}}for(var xu=0,Bc=Zn;xu<Fr;++xu){var oc=Tr[xu];Bc=="L"&&oc=="1"?Tr[xu]="L":ae.test(oc)&&(Bc=oc)}for(var al=0;al<Fr;++al)if(G.test(Tr[al])){var ju=void 0;for(ju=al+1;ju<Fr&&G.test(Tr[ju]);++ju);for(var ml=(al?Tr[al-1]:Zn)=="L",zc=(ju<Fr?Tr[ju]:Zn)=="L",m0=ml==zc?ml?"L":"R":Zn,Q0=al;Q0<ju;++Q0)Tr[Q0]=m0;al=ju-1}for(var $u=[],ko,tu=0;tu<Fr;)if(De.test(Tr[tu])){var Cl=tu;for(++tu;tu<Fr&&De.test(Tr[tu]);++tu);$u.push(new lt(0,Cl,tu))}else{var ol=tu,Ec=$u.length,g0=Rn=="rtl"?1:0;for(++tu;tu<Fr&&Tr[tu]!="L";++tu);for(var pu=ol;pu<tu;)if(Xe.test(Tr[pu])){ol<pu&&($u.splice(Ec,0,new lt(1,ol,pu)),Ec+=g0);var uc=pu;for(++pu;pu<tu&&Xe.test(Tr[pu]);++pu);$u.splice(Ec,0,new lt(2,uc,pu)),Ec+=g0,ol=pu}else++pu;ol<tu&&$u.splice(Ec,0,new lt(1,ol,tu))}return Rn=="ltr"&&($u[0].level==1&&(ko=it.match(/^\s+/))&&($u[0].from=ko[0].length,$u.unshift(new lt(0,0,ko[0].length))),jt($u).level==1&&(ko=it.match(/\s+$/))&&(jt($u).to-=ko[0].length,$u.push(new lt(0,Fr-ko[0].length,Fr)))),Rn=="rtl"?$u.reverse():$u}}();function oe(h,b){var F=h.order;return F==null&&(F=h.order=de(h.text,b)),F}var Ye=[],Et=function(h,b,F){if(h.addEventListener)h.addEventListener(b,F,!1);else if(h.attachEvent)h.attachEvent("on"+b,F);else{var k=h._handlers||(h._handlers={});k[b]=(k[b]||Ye).concat(F)}};function xe(h,b){return h._handlers&&h._handlers[b]||Ye}function Re(h,b,F){if(h.removeEventListener)h.removeEventListener(b,F,!1);else if(h.detachEvent)h.detachEvent("on"+b,F);else{var k=h._handlers,G=k&&k[b];if(G){var ae=Ke(G,F);ae>-1&&(k[b]=G.slice(0,ae).concat(G.slice(ae+1)))}}}function We(h,b){var F=xe(h,b);if(F.length)for(var k=Array.prototype.slice.call(arguments,2),G=0;G<F.length;++G)F[G].apply(null,k)}function gt(h,b,F){return typeof b=="string"&&(b={type:b,preventDefault:function(){this.defaultPrevented=!0}}),We(h,F||b.type,h,b),mn(b)||b.codemirrorIgnore}function Nt(h){var b=h._handlers&&h._handlers.cursorActivity;if(b)for(var F=h.curOp.cursorActivityHandlers||(h.curOp.cursorActivityHandlers=[]),k=0;k<b.length;++k)Ke(F,b[k])==-1&&F.push(b[k])}function Ct(h,b){return xe(h,b).length>0}function tn(h){h.prototype.on=function(b,F){Et(this,b,F)},h.prototype.off=function(b,F){Re(this,b,F)}}function ge(h){h.preventDefault?h.preventDefault():h.returnValue=!1}function At(h){h.stopPropagation?h.stopPropagation():h.cancelBubble=!0}function mn(h){return h.defaultPrevented!=null?h.defaultPrevented:h.returnValue==!1}function xn(h){ge(h),At(h)}function Un(h){return h.target||h.srcElement}function gr(h){var b=h.which;return b==null&&(h.button&1?b=1:h.button&2?b=3:h.button&4&&(b=2)),X&&h.ctrlKey&&b==1&&(b=3),b}var Ur=function(){if(v&&_<9)return!1;var h=le("div");return"draggable"in h||"dragDrop"in h}(),Or;function ii(h){if(Or==null){var b=le("span","\u200B");fe(h,le("span",[b,document.createTextNode("x")])),h.firstChild.offsetHeight!=0&&(Or=b.offsetWidth<=1&&b.offsetHeight>2&&!(v&&_<8))}var F=Or?le("span","\u200B"):le("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return F.setAttribute("cm-text",""),F}var Ui;function rn(h){if(Ui!=null)return Ui;var b=fe(h,document.createTextNode("A\u062EA")),F=Ze(b,0,1).getBoundingClientRect(),k=Ze(b,1,2).getBoundingClientRect();return me(h),!F||F.left==F.right?!1:Ui=k.right-F.right<3}var $n=`

b`.split(/\n/).length!=3?function(h){for(var b=0,F=[],k=h.length;b<=k;){var G=h.indexOf(`
`,b);G==-1&&(G=h.length);var ae=h.slice(b,h.charAt(G-1)=="\r"?G-1:G),De=ae.indexOf("\r");De!=-1?(F.push(ae.slice(0,De)),b+=De+1):(F.push(ae),b=G+1)}return F}:function(h){return h.split(/\r\n?|\n/)},yi=window.getSelection?function(h){try{return h.selectionStart!=h.selectionEnd}catch{return!1}}:function(h){var b;try{b=h.ownerDocument.selection.createRange()}catch{}return!b||b.parentElement()!=h?!1:b.compareEndPoints("StartToEnd",b)!=0},Jr=function(){var h=le("div");return"oncopy"in h?!0:(h.setAttribute("oncopy","return;"),typeof h.oncopy=="function")}(),cn=null;function mt(h){if(cn!=null)return cn;var b=fe(h,le("span","x")),F=b.getBoundingClientRect(),k=Ze(b,0,1).getBoundingClientRect();return cn=Math.abs(F.left-k.left)>1}var we={},je={};function pt(h,b){arguments.length>2&&(b.dependencies=Array.prototype.slice.call(arguments,2)),we[h]=b}function at(h,b){je[h]=b}function kt(h){if(typeof h=="string"&&je.hasOwnProperty(h))h=je[h];else if(h&&typeof h.name=="string"&&je.hasOwnProperty(h.name)){var b=je[h.name];typeof b=="string"&&(b={name:b}),h=fn(b,h),h.name=b.name}else{if(typeof h=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(h))return kt("application/xml");if(typeof h=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(h))return kt("application/json")}return typeof h=="string"?{name:h}:h||{name:"null"}}function vn(h,b){b=kt(b);var F=we[b.name];if(!F)return vn(h,"text/plain");var k=F(h,b);if(Wn.hasOwnProperty(b.name)){var G=Wn[b.name];for(var ae in G)G.hasOwnProperty(ae)&&(k.hasOwnProperty(ae)&&(k["_"+ae]=k[ae]),k[ae]=G[ae])}if(k.name=b.name,b.helperType&&(k.helperType=b.helperType),b.modeProps)for(var De in b.modeProps)k[De]=b.modeProps[De];return k}var Wn={};function nr(h,b){var F=Wn.hasOwnProperty(h)?Wn[h]:Wn[h]={};_e(b,F)}function rr(h,b){if(b===!0)return b;if(h.copyState)return h.copyState(b);var F={};for(var k in b){var G=b[k];G instanceof Array&&(G=G.concat([])),F[k]=G}return F}function Ot(h,b){for(var F;h.innerMode&&(F=h.innerMode(b),!(!F||F.mode==h));)b=F.state,h=F.mode;return F||{mode:h,state:b}}function Gt(h,b,F){return h.startState?h.startState(b,F):!0}var Pt=function(h,b,F){this.pos=this.start=0,this.string=h,this.tabSize=b||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=F};Pt.prototype.eol=function(){return this.pos>=this.string.length},Pt.prototype.sol=function(){return this.pos==this.lineStart},Pt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Pt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Pt.prototype.eat=function(h){var b=this.string.charAt(this.pos),F;if(typeof h=="string"?F=b==h:F=b&&(h.test?h.test(b):h(b)),F)return++this.pos,b},Pt.prototype.eatWhile=function(h){for(var b=this.pos;this.eat(h););return this.pos>b},Pt.prototype.eatSpace=function(){for(var h=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>h},Pt.prototype.skipToEnd=function(){this.pos=this.string.length},Pt.prototype.skipTo=function(h){var b=this.string.indexOf(h,this.pos);if(b>-1)return this.pos=b,!0},Pt.prototype.backUp=function(h){this.pos-=h},Pt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Ne(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Ne(this.string,this.lineStart,this.tabSize):0)},Pt.prototype.indentation=function(){return Ne(this.string,null,this.tabSize)-(this.lineStart?Ne(this.string,this.lineStart,this.tabSize):0)},Pt.prototype.match=function(h,b,F){if(typeof h=="string"){var k=function(De){return F?De.toLowerCase():De},G=this.string.substr(this.pos,h.length);if(k(G)==k(h))return b!==!1&&(this.pos+=h.length),!0}else{var ae=this.string.slice(this.pos).match(h);return ae&&ae.index>0?null:(ae&&b!==!1&&(this.pos+=ae[0].length),ae)}},Pt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Pt.prototype.hideFirstChars=function(h,b){this.lineStart+=h;try{return b()}finally{this.lineStart-=h}},Pt.prototype.lookAhead=function(h){var b=this.lineOracle;return b&&b.lookAhead(h)},Pt.prototype.baseToken=function(){var h=this.lineOracle;return h&&h.baseToken(this.pos)};function Tt(h,b){if(b-=h.first,b<0||b>=h.size)throw new Error("There is no line "+(b+h.first)+" in the document.");for(var F=h;!F.lines;)for(var k=0;;++k){var G=F.children[k],ae=G.chunkSize();if(b<ae){F=G;break}b-=ae}return F.lines[b]}function An(h,b,F){var k=[],G=b.line;return h.iter(b.line,F.line+1,function(ae){var De=ae.text;G==F.line&&(De=De.slice(0,F.ch)),G==b.line&&(De=De.slice(b.ch)),k.push(De),++G}),k}function on(h,b,F){var k=[];return h.iter(b,F,function(G){k.push(G.text)}),k}function dn(h,b){var F=b-h.height;if(F)for(var k=h;k;k=k.parent)k.height+=F}function $e(h){if(h.parent==null)return null;for(var b=h.parent,F=Ke(b.lines,h),k=b.parent;k;b=k,k=k.parent)for(var G=0;k.children[G]!=b;++G)F+=k.children[G].chunkSize();return F+b.first}function Yt(h,b){var F=h.first;e:do{for(var k=0;k<h.children.length;++k){var G=h.children[k],ae=G.height;if(b<ae){h=G;continue e}b-=ae,F+=G.chunkSize()}return F}while(!h.lines);for(var De=0;De<h.lines.length;++De){var Xe=h.lines[De],lt=Xe.height;if(b<lt)break;b-=lt}return F+De}function $t(h,b){return b>=h.first&&b<h.first+h.size}function Jt(h,b){return String(h.lineNumberFormatter(b+h.firstLineNumber))}function Lt(h,b,F){if(F===void 0&&(F=null),!(this instanceof Lt))return new Lt(h,b,F);this.line=h,this.ch=b,this.sticky=F}function yn(h,b){return h.line-b.line||h.ch-b.ch}function In(h,b){return h.sticky==b.sticky&&yn(h,b)==0}function yr(h){return Lt(h.line,h.ch)}function Rr(h,b){return yn(h,b)<0?b:h}function Xr(h,b){return yn(h,b)<0?h:b}function ci(h,b){return Math.max(h.first,Math.min(b,h.first+h.size-1))}function Hr(h,b){if(b.line<h.first)return Lt(h.first,0);var F=h.first+h.size-1;return b.line>F?Lt(F,Tt(h,F).text.length):un(b,Tt(h,b.line).text.length)}function un(h,b){var F=h.ch;return F==null||F>b?Lt(h.line,b):F<0?Lt(h.line,0):h}function ct(h,b){for(var F=[],k=0;k<b.length;k++)F[k]=Hr(h,b[k]);return F}var Ut=function(h,b){this.state=h,this.lookAhead=b},wt=function(h,b,F,k){this.state=b,this.doc=h,this.line=F,this.maxLookAhead=k||0,this.baseTokens=null,this.baseTokenPos=1};wt.prototype.lookAhead=function(h){var b=this.doc.getLine(this.line+h);return b!=null&&h>this.maxLookAhead&&(this.maxLookAhead=h),b},wt.prototype.baseToken=function(h){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=h;)this.baseTokenPos+=2;var b=this.baseTokens[this.baseTokenPos+1];return{type:b&&b.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-h}},wt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},wt.fromSaved=function(h,b,F){return b instanceof Ut?new wt(h,rr(h.mode,b.state),F,b.lookAhead):new wt(h,rr(h.mode,b),F)},wt.prototype.save=function(h){var b=h!==!1?rr(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ut(b,this.maxLookAhead):b};function kn(h,b,F,k){var G=[h.state.modeGen],ae={};sr(h,b.text,h.doc.mode,F,function(it,Rn){return G.push(it,Rn)},ae,k);for(var De=F.state,Xe=function(it){F.baseTokens=G;var Rn=h.state.overlays[it],Zn=1,Fr=0;F.state=!0,sr(h,b.text,Rn.mode,F,function(Tr,ui){for(var ki=Zn;Fr<Tr;){var cs=G[Zn];cs>Tr&&G.splice(Zn,1,Tr,G[Zn+1],cs),Zn+=2,Fr=Math.min(Tr,cs)}if(ui)if(Rn.opaque)G.splice(ki,Zn-ki,Tr,"overlay "+ui),Zn=ki+2;else for(;ki<Zn;ki+=2){var qi=G[ki+1];G[ki+1]=(qi?qi+" ":"")+"overlay "+ui}},ae),F.state=De,F.baseTokens=null,F.baseTokenPos=1},lt=0;lt<h.state.overlays.length;++lt)Xe(lt);return{styles:G,classes:ae.bgClass||ae.textClass?ae:null}}function wn(h,b,F){if(!b.styles||b.styles[0]!=h.state.modeGen){var k=Qn(h,$e(b)),G=b.text.length>h.options.maxHighlightLength&&rr(h.doc.mode,k.state),ae=kn(h,b,k);G&&(k.state=G),b.stateAfter=k.save(!G),b.styles=ae.styles,ae.classes?b.styleClasses=ae.classes:b.styleClasses&&(b.styleClasses=null),F===h.doc.highlightFrontier&&(h.doc.modeFrontier=Math.max(h.doc.modeFrontier,++h.doc.highlightFrontier))}return b.styles}function Qn(h,b,F){var k=h.doc,G=h.display;if(!k.mode.startState)return new wt(k,!0,b);var ae=lr(h,b,F),De=ae>k.first&&Tt(k,ae-1).stateAfter,Xe=De?wt.fromSaved(k,De,ae):new wt(k,Gt(k.mode),ae);return k.iter(ae,b,function(lt){ur(h,lt.text,Xe);var it=Xe.line;lt.stateAfter=it==b-1||it%5==0||it>=G.viewFrom&&it<G.viewTo?Xe.save():null,Xe.nextLine()}),F&&(k.modeFrontier=Xe.line),Xe}function ur(h,b,F,k){var G=h.doc.mode,ae=new Pt(b,h.options.tabSize,F);for(ae.start=ae.pos=k||0,b==""&&fi(G,F.state);!ae.eol();)ot(G,ae,F.state),ae.start=ae.pos}function fi(h,b){if(h.blankLine)return h.blankLine(b);if(h.innerMode){var F=Ot(h,b);if(F.mode.blankLine)return F.mode.blankLine(F.state)}}function ot(h,b,F,k){for(var G=0;G<10;G++){k&&(k[0]=Ot(h,F).mode);var ae=h.token(b,F);if(b.pos>b.start)return ae}throw new Error("Mode "+h.name+" failed to advance stream.")}var ft=function(h,b,F){this.start=h.start,this.end=h.pos,this.string=h.current(),this.type=b||null,this.state=F};function Mt(h,b,F,k){var G=h.doc,ae=G.mode,De;b=Hr(G,b);var Xe=Tt(G,b.line),lt=Qn(h,b.line,F),it=new Pt(Xe.text,h.options.tabSize,lt),Rn;for(k&&(Rn=[]);(k||it.pos<b.ch)&&!it.eol();)it.start=it.pos,De=ot(ae,it,lt.state),k&&Rn.push(new ft(it,De,rr(G.mode,lt.state)));return k?Rn:new ft(it,De,lt.state)}function qt(h,b){if(h)for(;;){var F=h.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!F)break;h=h.slice(0,F.index)+h.slice(F.index+F[0].length);var k=F[1]?"bgClass":"textClass";b[k]==null?b[k]=F[2]:new RegExp("(?:^|\\s)"+F[2]+"(?:$|\\s)").test(b[k])||(b[k]+=" "+F[2])}return h}function sr(h,b,F,k,G,ae,De){var Xe=F.flattenSpans;Xe==null&&(Xe=h.options.flattenSpans);var lt=0,it=null,Rn=new Pt(b,h.options.tabSize,k),Zn,Fr=h.options.addModeClass&&[null];for(b==""&&qt(fi(F,k.state),ae);!Rn.eol();){if(Rn.pos>h.options.maxHighlightLength?(Xe=!1,De&&ur(h,b,k,Rn.pos),Rn.pos=b.length,Zn=null):Zn=qt(ot(F,Rn,k.state,Fr),ae),Fr){var Tr=Fr[0].name;Tr&&(Zn="m-"+(Zn?Tr+" "+Zn:Tr))}if(!Xe||it!=Zn){for(;lt<Rn.start;)lt=Math.min(Rn.start,lt+5e3),G(lt,it);it=Zn}Rn.start=Rn.pos}for(;lt<Rn.pos;){var ui=Math.min(Rn.pos,lt+5e3);G(ui,it),lt=ui}}function lr(h,b,F){for(var k,G,ae=h.doc,De=F?-1:b-(h.doc.mode.innerMode?1e3:100),Xe=b;Xe>De;--Xe){if(Xe<=ae.first)return ae.first;var lt=Tt(ae,Xe-1),it=lt.stateAfter;if(it&&(!F||Xe+(it instanceof Ut?it.lookAhead:0)<=ae.modeFrontier))return Xe;var Rn=Ne(lt.text,null,h.options.tabSize);(G==null||k>Rn)&&(G=Xe-1,k=Rn)}return G}function Cr(h,b){if(h.modeFrontier=Math.min(h.modeFrontier,b),!(h.highlightFrontier<b-10)){for(var F=h.first,k=b-1;k>F;k--){var G=Tt(h,k).stateAfter;if(G&&(!(G instanceof Ut)||k+G.lookAhead<b)){F=k+1;break}}h.highlightFrontier=Math.min(h.highlightFrontier,F)}}var xr=!1,qr=!1;function jr(){xr=!0}function vr(){qr=!0}function $r(h,b,F){this.marker=h,this.from=b,this.to=F}function Wr(h,b){if(h)for(var F=0;F<h.length;++F){var k=h[F];if(k.marker==b)return k}}function be(h,b){for(var F,k=0;k<h.length;++k)h[k]!=b&&(F||(F=[])).push(h[k]);return F}function Ue(h,b,F){var k=F&&window.WeakSet&&(F.markedSpans||(F.markedSpans=new WeakSet));k&&h.markedSpans&&k.has(h.markedSpans)?h.markedSpans.push(b):(h.markedSpans=h.markedSpans?h.markedSpans.concat([b]):[b],k&&k.add(h.markedSpans)),b.marker.attachLine(h)}function ut(h,b,F){var k;if(h)for(var G=0;G<h.length;++G){var ae=h[G],De=ae.marker,Xe=ae.from==null||(De.inclusiveLeft?ae.from<=b:ae.from<b);if(Xe||ae.from==b&&De.type=="bookmark"&&(!F||!ae.marker.insertLeft)){var lt=ae.to==null||(De.inclusiveRight?ae.to>=b:ae.to>b);(k||(k=[])).push(new $r(De,ae.from,lt?null:ae.to))}}return k}function Ht(h,b,F){var k;if(h)for(var G=0;G<h.length;++G){var ae=h[G],De=ae.marker,Xe=ae.to==null||(De.inclusiveRight?ae.to>=b:ae.to>b);if(Xe||ae.from==b&&De.type=="bookmark"&&(!F||ae.marker.insertLeft)){var lt=ae.from==null||(De.inclusiveLeft?ae.from<=b:ae.from<b);(k||(k=[])).push(new $r(De,lt?null:ae.from-b,ae.to==null?null:ae.to-b))}}return k}function Fn(h,b){if(b.full)return null;var F=$t(h,b.from.line)&&Tt(h,b.from.line).markedSpans,k=$t(h,b.to.line)&&Tt(h,b.to.line).markedSpans;if(!F&&!k)return null;var G=b.from.ch,ae=b.to.ch,De=yn(b.from,b.to)==0,Xe=ut(F,G,De),lt=Ht(k,ae,De),it=b.text.length==1,Rn=jt(b.text).length+(it?G:0);if(Xe)for(var Zn=0;Zn<Xe.length;++Zn){var Fr=Xe[Zn];if(Fr.to==null){var Tr=Wr(lt,Fr.marker);Tr?it&&(Fr.to=Tr.to==null?null:Tr.to+Rn):Fr.to=G}}if(lt)for(var ui=0;ui<lt.length;++ui){var ki=lt[ui];if(ki.to!=null&&(ki.to+=Rn),ki.from==null){var cs=Wr(Xe,ki.marker);cs||(ki.from=Rn,it&&(Xe||(Xe=[])).push(ki))}else ki.from+=Rn,it&&(Xe||(Xe=[])).push(ki)}Xe&&(Xe=ln(Xe)),lt&&lt!=Xe&&(lt=ln(lt));var qi=[Xe];if(!it){var is=b.text.length-2,Ns;if(is>0&&Xe)for(var Zs=0;Zs<Xe.length;++Zs)Xe[Zs].to==null&&(Ns||(Ns=[])).push(new $r(Xe[Zs].marker,null,null));for(var wa=0;wa<is;++wa)qi.push(Ns);qi.push(lt)}return qi}function ln(h){for(var b=0;b<h.length;++b){var F=h[b];F.from!=null&&F.from==F.to&&F.marker.clearWhenEmpty!==!1&&h.splice(b--,1)}return h.length?h:null}function jn(h,b,F){var k=null;if(h.iter(b.line,F.line+1,function(Tr){if(Tr.markedSpans)for(var ui=0;ui<Tr.markedSpans.length;++ui){var ki=Tr.markedSpans[ui].marker;ki.readOnly&&(!k||Ke(k,ki)==-1)&&(k||(k=[])).push(ki)}}),!k)return null;for(var G=[{from:b,to:F}],ae=0;ae<k.length;++ae)for(var De=k[ae],Xe=De.find(0),lt=0;lt<G.length;++lt){var it=G[lt];if(!(yn(it.to,Xe.from)<0||yn(it.from,Xe.to)>0)){var Rn=[lt,1],Zn=yn(it.from,Xe.from),Fr=yn(it.to,Xe.to);(Zn<0||!De.inclusiveLeft&&!Zn)&&Rn.push({from:it.from,to:Xe.from}),(Fr>0||!De.inclusiveRight&&!Fr)&&Rn.push({from:Xe.to,to:it.to}),G.splice.apply(G,Rn),lt+=Rn.length-3}}return G}function Nr(h){var b=h.markedSpans;if(b){for(var F=0;F<b.length;++F)b[F].marker.detachLine(h);h.markedSpans=null}}function Mi(h,b){if(b){for(var F=0;F<b.length;++F)b[F].marker.attachLine(h);h.markedSpans=b}}function Oi(h){return h.inclusiveLeft?-1:0}function ni(h){return h.inclusiveRight?1:0}function rs(h,b){var F=h.lines.length-b.lines.length;if(F!=0)return F;var k=h.find(),G=b.find(),ae=yn(k.from,G.from)||Oi(h)-Oi(b);if(ae)return-ae;var De=yn(k.to,G.to)||ni(h)-ni(b);return De||b.id-h.id}function Qi(h,b){var F=qr&&h.markedSpans,k;if(F)for(var G=void 0,ae=0;ae<F.length;++ae)G=F[ae],G.marker.collapsed&&(b?G.from:G.to)==null&&(!k||rs(k,G.marker)<0)&&(k=G.marker);return k}function la(h){return Qi(h,!0)}function as(h){return Qi(h,!1)}function bs(h,b){var F=qr&&h.markedSpans,k;if(F)for(var G=0;G<F.length;++G){var ae=F[G];ae.marker.collapsed&&(ae.from==null||ae.from<b)&&(ae.to==null||ae.to>b)&&(!k||rs(k,ae.marker)<0)&&(k=ae.marker)}return k}function Za(h,b,F,k,G){var ae=Tt(h,b),De=qr&&ae.markedSpans;if(De)for(var Xe=0;Xe<De.length;++Xe){var lt=De[Xe];if(lt.marker.collapsed){var it=lt.marker.find(0),Rn=yn(it.from,F)||Oi(lt.marker)-Oi(G),Zn=yn(it.to,k)||ni(lt.marker)-ni(G);if(!(Rn>=0&&Zn<=0||Rn<=0&&Zn>=0)&&(Rn<=0&&(lt.marker.inclusiveRight&&G.inclusiveLeft?yn(it.to,F)>=0:yn(it.to,F)>0)||Rn>=0&&(lt.marker.inclusiveRight&&G.inclusiveLeft?yn(it.from,k)<=0:yn(it.from,k)<0)))return!0}}}function za(h){for(var b;b=la(h);)h=b.find(-1,!0).line;return h}function wo(h){for(var b;b=as(h);)h=b.find(1,!0).line;return h}function ca(h){for(var b,F;b=as(h);)h=b.find(1,!0).line,(F||(F=[])).push(h);return F}function Uo(h,b){var F=Tt(h,b),k=za(F);return F==k?b:$e(k)}function ru(h,b){if(b>h.lastLine())return b;var F=Tt(h,b),k;if(!di(h,F))return b;for(;k=as(F);)F=k.find(1,!0).line;return $e(F)+1}function di(h,b){var F=qr&&b.markedSpans;if(F){for(var k=void 0,G=0;G<F.length;++G)if(k=F[G],!!k.marker.collapsed){if(k.from==null)return!0;if(!k.marker.widgetNode&&k.from==0&&k.marker.inclusiveLeft&&wi(h,b,k))return!0}}}function wi(h,b,F){if(F.to==null){var k=F.marker.find(1,!0);return wi(h,k.line,Wr(k.line.markedSpans,F.marker))}if(F.marker.inclusiveRight&&F.to==b.text.length)return!0;for(var G=void 0,ae=0;ae<b.markedSpans.length;++ae)if(G=b.markedSpans[ae],G.marker.collapsed&&!G.marker.widgetNode&&G.from==F.to&&(G.to==null||G.to!=F.from)&&(G.marker.inclusiveLeft||F.marker.inclusiveRight)&&wi(h,b,G))return!0}function dr(h){h=za(h);for(var b=0,F=h.parent,k=0;k<F.lines.length;++k){var G=F.lines[k];if(G==h)break;b+=G.height}for(var ae=F.parent;ae;F=ae,ae=F.parent)for(var De=0;De<ae.children.length;++De){var Xe=ae.children[De];if(Xe==F)break;b+=Xe.height}return b}function hi(h){if(h.height==0)return 0;for(var b=h.text.length,F,k=h;F=la(k);){var G=F.find(0,!0);k=G.from.line,b+=G.from.ch-G.to.ch}for(k=h;F=as(k);){var ae=F.find(0,!0);b-=k.text.length-ae.from.ch,k=ae.to.line,b+=k.text.length-ae.to.ch}return b}function Si(h){var b=h.display,F=h.doc;b.maxLine=Tt(F,F.first),b.maxLineLength=hi(b.maxLine),b.maxLineChanged=!0,F.iter(function(k){var G=hi(k);G>b.maxLineLength&&(b.maxLineLength=G,b.maxLine=k)})}var Di=function(h,b,F){this.text=h,Mi(this,b),this.height=F?F(this):1};Di.prototype.lineNo=function(){return $e(this)},tn(Di);function Xi(h,b,F,k){h.text=b,h.stateAfter&&(h.stateAfter=null),h.styles&&(h.styles=null),h.order!=null&&(h.order=null),Nr(h),Mi(h,F);var G=k?k(h):1;G!=h.height&&dn(h,G)}function zi(h){h.parent=null,Nr(h)}var os={},js={};function hs(h,b){if(!h||/^\s*$/.test(h))return null;var F=b.addModeClass?js:os;return F[h]||(F[h]=h.replace(/\S+/g,"cm-$&"))}function Vi(h,b){var F=Ve("span",null,null,T?"padding-right: .1px":null),k={pre:Ve("pre",[F],"CodeMirror-line"),content:F,col:0,pos:0,cm:h,trailingSpace:!1,splitSpaces:h.getOption("lineWrapping")};b.measure={};for(var G=0;G<=(b.rest?b.rest.length:0);G++){var ae=G?b.rest[G-1]:b.line,De=void 0;k.pos=0,k.addToken=fs,rn(h.display.measure)&&(De=oe(ae,h.doc.direction))&&(k.addToken=ma(k.addToken,De)),k.map=[];var Xe=b!=h.display.externalMeasured&&$e(ae);Da(ae,k,wn(h,ae,Xe)),ae.styleClasses&&(ae.styleClasses.bgClass&&(k.bgClass=Fe(ae.styleClasses.bgClass,k.bgClass||"")),ae.styleClasses.textClass&&(k.textClass=Fe(ae.styleClasses.textClass,k.textClass||""))),k.map.length==0&&k.map.push(0,0,k.content.appendChild(ii(h.display.measure))),G==0?(b.measure.map=k.map,b.measure.cache={}):((b.measure.maps||(b.measure.maps=[])).push(k.map),(b.measure.caches||(b.measure.caches=[])).push({}))}if(T){var lt=k.content.lastChild;(/\bcm-tab\b/.test(lt.className)||lt.querySelector&&lt.querySelector(".cm-tab"))&&(k.content.className="cm-tab-wrap-hack")}return We(h,"renderLine",h,b.line,k.pre),k.pre.className&&(k.textClass=Fe(k.pre.className,k.textClass||"")),k}function ns(h){var b=le("span","\u2022","cm-invalidchar");return b.title="\\u"+h.charCodeAt(0).toString(16),b.setAttribute("aria-label",b.title),b}function fs(h,b,F,k,G,ae,De){if(b){var Xe=h.splitSpaces?Ks(b,h.trailingSpace):b,lt=h.cm.state.specialChars,it=!1,Rn;if(!lt.test(b))h.col+=b.length,Rn=document.createTextNode(Xe),h.map.push(h.pos,h.pos+b.length,Rn),v&&_<9&&(it=!0),h.pos+=b.length;else{Rn=document.createDocumentFragment();for(var Zn=0;;){lt.lastIndex=Zn;var Fr=lt.exec(b),Tr=Fr?Fr.index-Zn:b.length-Zn;if(Tr){var ui=document.createTextNode(Xe.slice(Zn,Zn+Tr));v&&_<9?Rn.appendChild(le("span",[ui])):Rn.appendChild(ui),h.map.push(h.pos,h.pos+Tr,ui),h.col+=Tr,h.pos+=Tr}if(!Fr)break;Zn+=Tr+1;var ki=void 0;if(Fr[0]=="	"){var cs=h.cm.options.tabSize,qi=cs-h.col%cs;ki=Rn.appendChild(le("span",Xt(qi),"cm-tab")),ki.setAttribute("role","presentation"),ki.setAttribute("cm-text","	"),h.col+=qi}else Fr[0]=="\r"||Fr[0]==`
`?(ki=Rn.appendChild(le("span",Fr[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ki.setAttribute("cm-text",Fr[0]),h.col+=1):(ki=h.cm.options.specialCharPlaceholder(Fr[0]),ki.setAttribute("cm-text",Fr[0]),v&&_<9?Rn.appendChild(le("span",[ki])):Rn.appendChild(ki),h.col+=1);h.map.push(h.pos,h.pos+1,ki),h.pos++}}if(h.trailingSpace=Xe.charCodeAt(b.length-1)==32,F||k||G||it||ae||De){var is=F||"";k&&(is+=k),G&&(is+=G);var Ns=le("span",[Rn],is,ae);if(De)for(var Zs in De)De.hasOwnProperty(Zs)&&Zs!="style"&&Zs!="class"&&Ns.setAttribute(Zs,De[Zs]);return h.content.appendChild(Ns)}h.content.appendChild(Rn)}}function Ks(h,b){if(h.length>1&&!/  /.test(h))return h;for(var F=b,k="",G=0;G<h.length;G++){var ae=h.charAt(G);ae==" "&&F&&(G==h.length-1||h.charCodeAt(G+1)==32)&&(ae="\xA0"),k+=ae,F=ae==" "}return k}function ma(h,b){return function(F,k,G,ae,De,Xe,lt){G=G?G+" cm-force-border":"cm-force-border";for(var it=F.pos,Rn=it+k.length;;){for(var Zn=void 0,Fr=0;Fr<b.length&&(Zn=b[Fr],!(Zn.to>it&&Zn.from<=it));Fr++);if(Zn.to>=Rn)return h(F,k,G,ae,De,Xe,lt);h(F,k.slice(0,Zn.to-it),G,ae,null,Xe,lt),ae=null,k=k.slice(Zn.to-it),it=Zn.to}}}function da(h,b,F,k){var G=!k&&F.widgetNode;G&&h.map.push(h.pos,h.pos+b,G),!k&&h.cm.display.input.needsContentAttribute&&(G||(G=h.content.appendChild(document.createElement("span"))),G.setAttribute("cm-marker",F.id)),G&&(h.cm.display.input.setUneditable(G),h.content.appendChild(G)),h.pos+=b,h.trailingSpace=!1}function Da(h,b,F){var k=h.markedSpans,G=h.text,ae=0;if(!k){for(var De=1;De<F.length;De+=2)b.addToken(b,G.slice(ae,ae=F[De]),hs(F[De+1],b.cm.options));return}for(var Xe=G.length,lt=0,it=1,Rn="",Zn,Fr,Tr=0,ui,ki,cs,qi,is;;){if(Tr==lt){ui=ki=cs=Fr="",is=null,qi=null,Tr=1/0;for(var Ns=[],Zs=void 0,wa=0;wa<k.length;++wa){var qs=k[wa],ao=qs.marker;if(ao.type=="bookmark"&&qs.from==lt&&ao.widgetNode)Ns.push(ao);else if(qs.from<=lt&&(qs.to==null||qs.to>lt||ao.collapsed&&qs.to==lt&&qs.from==lt)){if(qs.to!=null&&qs.to!=lt&&Tr>qs.to&&(Tr=qs.to,ki=""),ao.className&&(ui+=" "+ao.className),ao.css&&(Fr=(Fr?Fr+";":"")+ao.css),ao.startStyle&&qs.from==lt&&(cs+=" "+ao.startStyle),ao.endStyle&&qs.to==Tr&&(Zs||(Zs=[])).push(ao.endStyle,qs.to),ao.title&&((is||(is={})).title=ao.title),ao.attributes)for(var So in ao.attributes)(is||(is={}))[So]=ao.attributes[So];ao.collapsed&&(!qi||rs(qi.marker,ao)<0)&&(qi=qs)}else qs.from>lt&&Tr>qs.from&&(Tr=qs.from)}if(Zs)for(var wl=0;wl<Zs.length;wl+=2)Zs[wl+1]==Tr&&(ki+=" "+Zs[wl]);if(!qi||qi.from==lt)for(var Uu=0;Uu<Ns.length;++Uu)da(b,0,Ns[Uu]);if(qi&&(qi.from||0)==lt){if(da(b,(qi.to==null?Xe+1:qi.to)-lt,qi.marker,qi.from==null),qi.to==null)return;qi.to==lt&&(qi=!1)}}if(lt>=Xe)break;for(var pl=Math.min(Xe,Tr);;){if(Rn){var Dc=lt+Rn.length;if(!qi){var xu=Dc>pl?Rn.slice(0,pl-lt):Rn;b.addToken(b,xu,Zn?Zn+ui:ui,cs,lt+xu.length==Tr?ki:"",Fr,is)}if(Dc>=pl){Rn=Rn.slice(pl-lt),lt=pl;break}lt=Dc,cs=""}Rn=G.slice(ae,ae=F[it++]),Zn=hs(F[it++],b.cm.options)}}}function Ys(h,b,F){this.line=b,this.rest=ca(b),this.size=this.rest?$e(jt(this.rest))-F+1:1,this.node=this.text=null,this.hidden=di(h,b)}function Xa(h,b,F){for(var k=[],G,ae=b;ae<F;ae=G){var De=new Ys(h.doc,Tt(h.doc,ae),ae);G=ae+De.size,k.push(De)}return k}var Po=null;function co(h){Po?Po.ops.push(h):h.ownsGroup=Po={ops:[h],delayedCallbacks:[]}}function el(h){var b=h.delayedCallbacks,F=0;do{for(;F<b.length;F++)b[F].call(null);for(var k=0;k<h.ops.length;k++){var G=h.ops[k];if(G.cursorActivityHandlers)for(;G.cursorActivityCalled<G.cursorActivityHandlers.length;)G.cursorActivityHandlers[G.cursorActivityCalled++].call(null,G.cm)}}while(F<b.length)}function Yo(h,b){var F=h.ownsGroup;if(F)try{el(F)}finally{Po=null,b(F)}}var Ou=null;function Qo(h,b){var F=xe(h,b);if(F.length){var k=Array.prototype.slice.call(arguments,2),G;Po?G=Po.delayedCallbacks:Ou?G=Ou:(G=Ou=[],setTimeout(Ha,0));for(var ae=function(Xe){G.push(function(){return F[Xe].apply(null,k)})},De=0;De<F.length;++De)ae(De)}}function Ha(){var h=Ou;Ou=null;for(var b=0;b<h.length;++b)h[b]()}function Jo(h,b,F,k){for(var G=0;G<b.changes.length;G++){var ae=b.changes[G];ae=="text"?Kl(h,b):ae=="gutter"?Ie(h,b,F,k):ae=="class"?ke(h,b):ae=="widget"&&Wt(h,b,k)}b.changes=null}function qo(h){return h.node==h.text&&(h.node=le("div",null,null,"position: relative"),h.text.parentNode&&h.text.parentNode.replaceChild(h.node,h.text),h.node.appendChild(h.text),v&&_<8&&(h.node.style.zIndex=2)),h.node}function tl(h,b){var F=b.bgClass?b.bgClass+" "+(b.line.bgClass||""):b.line.bgClass;if(F&&(F+=" CodeMirror-linebackground"),b.background)F?b.background.className=F:(b.background.parentNode.removeChild(b.background),b.background=null);else if(F){var k=qo(b);b.background=k.insertBefore(le("div",null,F),k.firstChild),h.display.input.setUneditable(b.background)}}function Nu(h,b){var F=h.display.externalMeasured;return F&&F.line==b.line?(h.display.externalMeasured=null,b.measure=F.measure,F.built):Vi(h,b)}function Kl(h,b){var F=b.text.className,k=Nu(h,b);b.text==b.node&&(b.node=k.pre),b.text.parentNode.replaceChild(k.pre,b.text),b.text=k.pre,k.bgClass!=b.bgClass||k.textClass!=b.textClass?(b.bgClass=k.bgClass,b.textClass=k.textClass,ke(h,b)):F&&(b.text.className=F)}function ke(h,b){tl(h,b),b.line.wrapClass?qo(b).className=b.line.wrapClass:b.node!=b.text&&(b.node.className="");var F=b.textClass?b.textClass+" "+(b.line.textClass||""):b.line.textClass;b.text.className=F||""}function Ie(h,b,F,k){if(b.gutter&&(b.node.removeChild(b.gutter),b.gutter=null),b.gutterBackground&&(b.node.removeChild(b.gutterBackground),b.gutterBackground=null),b.line.gutterClass){var G=qo(b);b.gutterBackground=le("div",null,"CodeMirror-gutter-background "+b.line.gutterClass,"left: "+(h.options.fixedGutter?k.fixedPos:-k.gutterTotalWidth)+"px; width: "+k.gutterTotalWidth+"px"),h.display.input.setUneditable(b.gutterBackground),G.insertBefore(b.gutterBackground,b.text)}var ae=b.line.gutterMarkers;if(h.options.lineNumbers||ae){var De=qo(b),Xe=b.gutter=le("div",null,"CodeMirror-gutter-wrapper","left: "+(h.options.fixedGutter?k.fixedPos:-k.gutterTotalWidth)+"px");if(Xe.setAttribute("aria-hidden","true"),h.display.input.setUneditable(Xe),De.insertBefore(Xe,b.text),b.line.gutterClass&&(Xe.className+=" "+b.line.gutterClass),h.options.lineNumbers&&(!ae||!ae["CodeMirror-linenumbers"])&&(b.lineNumber=Xe.appendChild(le("div",Jt(h.options,F),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+k.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+h.display.lineNumInnerWidth+"px"))),ae)for(var lt=0;lt<h.display.gutterSpecs.length;++lt){var it=h.display.gutterSpecs[lt].className,Rn=ae.hasOwnProperty(it)&&ae[it];Rn&&Xe.appendChild(le("div",[Rn],"CodeMirror-gutter-elt","left: "+k.gutterLeft[it]+"px; width: "+k.gutterWidth[it]+"px"))}}}function Wt(h,b,F){b.alignable&&(b.alignable=null);for(var k=ee("CodeMirror-linewidget"),G=b.node.firstChild,ae=void 0;G;G=ae)ae=G.nextSibling,k.test(G.className)&&b.node.removeChild(G);ei(h,b,F)}function Nn(h,b,F,k){var G=Nu(h,b);return b.text=b.node=G.pre,G.bgClass&&(b.bgClass=G.bgClass),G.textClass&&(b.textClass=G.textClass),ke(h,b),Ie(h,b,F,k),ei(h,b,k),b.node}function ei(h,b,F){if(bi(h,b.line,b,F,!0),b.rest)for(var k=0;k<b.rest.length;k++)bi(h,b.rest[k],b,F,!1)}function bi(h,b,F,k,G){if(b.widgets)for(var ae=qo(F),De=0,Xe=b.widgets;De<Xe.length;++De){var lt=Xe[De],it=le("div",[lt.node],"CodeMirror-linewidget"+(lt.className?" "+lt.className:""));lt.handleMouseEvents||it.setAttribute("cm-ignore-events","true"),Cs(lt,it,F,k),h.display.input.setUneditable(it),G&&lt.above?ae.insertBefore(it,F.gutter||F.text):ae.appendChild(it),Qo(lt,"redraw")}}function Cs(h,b,F,k){if(h.noHScroll){(F.alignable||(F.alignable=[])).push(b);var G=k.wrapperWidth;b.style.left=k.fixedPos+"px",h.coverGutter||(G-=k.gutterTotalWidth,b.style.paddingLeft=k.gutterTotalWidth+"px"),b.style.width=G+"px"}h.coverGutter&&(b.style.zIndex=5,b.style.position="relative",h.noHScroll||(b.style.marginLeft=-k.gutterTotalWidth+"px"))}function Bs(h){if(h.height!=null)return h.height;var b=h.doc.cm;if(!b)return 0;if(!Ce(document.body,h.node)){var F="position: relative;";h.coverGutter&&(F+="margin-left: -"+b.display.gutters.offsetWidth+"px;"),h.noHScroll&&(F+="width: "+b.display.wrapper.clientWidth+"px;"),fe(b.display.measure,le("div",[h.node],null,F))}return h.height=h.node.parentNode.offsetHeight}function Xs(h,b){for(var F=Un(b);F!=h.wrapper;F=F.parentNode)if(!F||F.nodeType==1&&F.getAttribute("cm-ignore-events")=="true"||F.parentNode==h.sizer&&F!=h.mover)return!0}function _a(h){return h.lineSpace.offsetTop}function ga(h){return h.mover.offsetHeight-h.lineSpace.offsetHeight}function Vs(h){if(h.cachedPaddingH)return h.cachedPaddingH;var b=fe(h.measure,le("pre","x","CodeMirror-line-like")),F=window.getComputedStyle?window.getComputedStyle(b):b.currentStyle,k={left:parseInt(F.paddingLeft),right:parseInt(F.paddingRight)};return!isNaN(k.left)&&!isNaN(k.right)&&(h.cachedPaddingH=k),k}function Va(h){return bt-h.display.nativeBarWidth}function io(h){return h.display.scroller.clientWidth-Va(h)-h.display.barWidth}function ya(h){return h.display.scroller.clientHeight-Va(h)-h.display.barHeight}function oo(h,b,F){var k=h.options.lineWrapping,G=k&&io(h);if(!b.measure.heights||k&&b.measure.width!=G){var ae=b.measure.heights=[];if(k){b.measure.width=G;for(var De=b.text.firstChild.getClientRects(),Xe=0;Xe<De.length-1;Xe++){var lt=De[Xe],it=De[Xe+1];Math.abs(lt.bottom-it.bottom)>2&&ae.push((lt.bottom+it.top)/2-F.top)}}ae.push(F.bottom-F.top)}}function ka(h,b,F){if(h.line==b)return{map:h.measure.map,cache:h.measure.cache};if(h.rest){for(var k=0;k<h.rest.length;k++)if(h.rest[k]==b)return{map:h.measure.maps[k],cache:h.measure.caches[k]};for(var G=0;G<h.rest.length;G++)if($e(h.rest[G])>F)return{map:h.measure.maps[G],cache:h.measure.caches[G],before:!0}}}function Su(h,b){b=za(b);var F=$e(b),k=h.display.externalMeasured=new Ys(h.doc,b,F);k.lineN=F;var G=k.built=Vi(h,k);return k.text=G.pre,fe(h.display.lineMeasure,G.pre),k}function Ru(h,b,F,k){return gu(h,Yl(h,b),F,k)}function Ko(h,b){if(b>=h.display.viewFrom&&b<h.display.viewTo)return h.display.view[uu(h,b)];var F=h.display.externalMeasured;if(F&&b>=F.lineN&&b<F.lineN+F.size)return F}function Yl(h,b){var F=$e(b),k=Ko(h,F);k&&!k.text?k=null:k&&k.changes&&(Jo(h,k,F,fo(h)),h.curOp.forceUpdate=!0),k||(k=Su(h,b));var G=ka(k,b,F);return{line:b,view:k,rect:null,map:G.map,cache:G.cache,before:G.before,hasHeights:!1}}function gu(h,b,F,k,G){b.before&&(F=-1);var ae=F+(k||""),De;return b.cache.hasOwnProperty(ae)?De=b.cache[ae]:(b.rect||(b.rect=b.view.text.getBoundingClientRect()),b.hasHeights||(oo(h,b.view,b.rect),b.hasHeights=!0),De=Kc(h,b,F,k),De.bogus||(b.cache[ae]=De)),{left:De.left,right:De.right,top:G?De.rtop:De.top,bottom:G?De.rbottom:De.bottom}}var Ul={left:0,right:0,top:0,bottom:0};function Vc(h,b,F){for(var k,G,ae,De,Xe,lt,it=0;it<h.length;it+=3)if(Xe=h[it],lt=h[it+1],b<Xe?(G=0,ae=1,De="left"):b<lt?(G=b-Xe,ae=G+1):(it==h.length-3||b==lt&&h[it+3]>b)&&(ae=lt-Xe,G=ae-1,b>=lt&&(De="right")),G!=null){if(k=h[it+2],Xe==lt&&F==(k.insertLeft?"left":"right")&&(De=F),F=="left"&&G==0)for(;it&&h[it-2]==h[it-3]&&h[it-1].insertLeft;)k=h[(it-=3)+2],De="left";if(F=="right"&&G==lt-Xe)for(;it<h.length-3&&h[it+3]==h[it+4]&&!h[it+5].insertLeft;)k=h[(it+=3)+2],De="right";break}return{node:k,start:G,end:ae,collapse:De,coverStart:Xe,coverEnd:lt}}function ll(h,b){var F=Ul;if(b=="left")for(var k=0;k<h.length&&(F=h[k]).left==F.right;k++);else for(var G=h.length-1;G>=0&&(F=h[G]).left==F.right;G--);return F}function Kc(h,b,F,k){var G=Vc(b.map,F,k),ae=G.node,De=G.start,Xe=G.end,lt=G.collapse,it;if(ae.nodeType==3){for(var Rn=0;Rn<4;Rn++){for(;De&&bn(b.line.text.charAt(G.coverStart+De));)--De;for(;G.coverStart+Xe<G.coverEnd&&bn(b.line.text.charAt(G.coverStart+Xe));)++Xe;if(v&&_<9&&De==0&&Xe==G.coverEnd-G.coverStart?it=ae.parentNode.getBoundingClientRect():it=ll(Ze(ae,De,Xe).getClientRects(),k),it.left||it.right||De==0)break;Xe=De,De=De-1,lt="right"}v&&_<11&&(it=wu(h.display.measure,it))}else{De>0&&(lt=k="right");var Zn;h.options.lineWrapping&&(Zn=ae.getClientRects()).length>1?it=Zn[k=="right"?Zn.length-1:0]:it=ae.getBoundingClientRect()}if(v&&_<9&&!De&&(!it||!it.left&&!it.right)){var Fr=ae.parentNode.getClientRects()[0];Fr?it={left:Fr.left,right:Fr.left+qa(h.display),top:Fr.top,bottom:Fr.bottom}:it=Ul}for(var Tr=it.top-b.rect.top,ui=it.bottom-b.rect.top,ki=(Tr+ui)/2,cs=b.view.measure.heights,qi=0;qi<cs.length-1&&!(ki<cs[qi]);qi++);var is=qi?cs[qi-1]:0,Ns=cs[qi],Zs={left:(lt=="right"?it.right:it.left)-b.rect.left,right:(lt=="left"?it.left:it.right)-b.rect.left,top:is,bottom:Ns};return!it.left&&!it.right&&(Zs.bogus=!0),h.options.singleCursorHeightPerLine||(Zs.rtop=Tr,Zs.rbottom=ui),Zs}function wu(h,b){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!mt(h))return b;var F=screen.logicalXDPI/screen.deviceXDPI,k=screen.logicalYDPI/screen.deviceYDPI;return{left:b.left*F,right:b.right*F,top:b.top*k,bottom:b.bottom*k}}function Yc(h){if(h.measure&&(h.measure.cache={},h.measure.heights=null,h.rest))for(var b=0;b<h.rest.length;b++)h.measure.caches[b]={}}function S0(h){h.display.externalMeasure=null,me(h.display.lineMeasure);for(var b=0;b<h.display.view.length;b++)Yc(h.display.view[b])}function bc(h){S0(h),h.display.cachedCharWidth=h.display.cachedTextHeight=h.display.cachedPaddingH=null,h.options.lineWrapping||(h.display.maxLineChanged=!0),h.display.lineNumChars=null}function T0(h){return R&&z?-(h.body.getBoundingClientRect().left-parseInt(getComputedStyle(h.body).marginLeft)):h.defaultView.pageXOffset||(h.documentElement||h.body).scrollLeft}function N0(h){return R&&z?-(h.body.getBoundingClientRect().top-parseInt(getComputedStyle(h.body).marginTop)):h.defaultView.pageYOffset||(h.documentElement||h.body).scrollTop}function P0(h){var b=za(h),F=b.widgets,k=0;if(F)for(var G=0;G<F.length;++G)F[G].above&&(k+=Bs(F[G]));return k}function Ql(h,b,F,k,G){if(!G){var ae=P0(b);F.top+=ae,F.bottom+=ae}if(k=="line")return F;k||(k="local");var De=dr(b);if(k=="local"?De+=_a(h.display):De-=h.display.viewOffset,k=="page"||k=="window"){var Xe=h.display.lineSpace.getBoundingClientRect();De+=Xe.top+(k=="window"?0:N0(ce(h)));var lt=Xe.left+(k=="window"?0:T0(ce(h)));F.left+=lt,F.right+=lt}return F.top+=De,F.bottom+=De,F}function Qc(h,b,F){if(F=="div")return b;var k=b.left,G=b.top;if(F=="page")k-=T0(ce(h)),G-=N0(ce(h));else if(F=="local"||!F){var ae=h.display.sizer.getBoundingClientRect();k+=ae.left,G+=ae.top}var De=h.display.lineSpace.getBoundingClientRect();return{left:k-De.left,top:G-De.top}}function zn(h,b,F,k,G){return k||(k=Tt(h.doc,b.line)),Ql(h,k,Ru(h,k,b.ch,G),F)}function Kr(h,b,F,k,G,ae){k=k||Tt(h.doc,b.line),G||(G=Yl(h,k));function De(ui,ki){var cs=gu(h,G,ui,ki?"right":"left",ae);return ki?cs.left=cs.right:cs.right=cs.left,Ql(h,k,cs,F)}var Xe=oe(k,h.doc.direction),lt=b.ch,it=b.sticky;if(lt>=k.text.length?(lt=k.text.length,it="before"):lt<=0&&(lt=0,it="after"),!Xe)return De(it=="before"?lt-1:lt,it=="before");function Rn(ui,ki,cs){var qi=Xe[ki],is=qi.level==1;return De(cs?ui-1:ui,is!=cs)}var Zn=Cn(Xe,lt,it),Fr=an,Tr=Rn(lt,Zn,it=="before");return Fr!=null&&(Tr.other=Rn(lt,Fr,it!="before")),Tr}function gn(h,b){var F=0;b=Hr(h.doc,b),h.options.lineWrapping||(F=qa(h.display)*b.ch);var k=Tt(h.doc,b.line),G=dr(k)+_a(h.display);return{left:F,right:F,top:G,bottom:G+k.height}}function tr(h,b,F,k,G){var ae=Lt(h,b,F);return ae.xRel=G,k&&(ae.outside=k),ae}function st(h,b,F){var k=h.doc;if(F+=h.display.viewOffset,F<0)return tr(k.first,0,null,-1,-1);var G=Yt(k,F),ae=k.first+k.size-1;if(G>ae)return tr(k.first+k.size-1,Tt(k,ae).text.length,null,1,1);b<0&&(b=0);for(var De=Tt(k,G);;){var Xe=ta(h,De,G,b,F),lt=bs(De,Xe.ch+(Xe.xRel>0||Xe.outside>0?1:0));if(!lt)return Xe;var it=lt.find(1);if(it.line==G)return it;De=Tt(k,G=it.line)}}function si(h,b,F,k){k-=P0(b);var G=b.text.length,ae=Hn(function(De){return gu(h,F,De-1).bottom<=k},G,0);return G=Hn(function(De){return gu(h,F,De).top>k},ae,G),{begin:ae,end:G}}function Yi(h,b,F,k){F||(F=Yl(h,b));var G=Ql(h,b,gu(h,F,k),"line").top;return si(h,b,F,G)}function Ri(h,b,F,k){return h.bottom<=F?!1:h.top>F?!0:(k?h.left:h.right)>b}function ta(h,b,F,k,G){G-=dr(b);var ae=Yl(h,b),De=P0(b),Xe=0,lt=b.text.length,it=!0,Rn=oe(b,h.doc.direction);if(Rn){var Zn=(h.options.lineWrapping?Aa:fa)(h,b,F,ae,Rn,k,G);it=Zn.level!=1,Xe=it?Zn.from:Zn.to-1,lt=it?Zn.to:Zn.from-1}var Fr=null,Tr=null,ui=Hn(function(wa){var qs=gu(h,ae,wa);return qs.top+=De,qs.bottom+=De,Ri(qs,k,G,!1)?(qs.top<=G&&qs.left<=k&&(Fr=wa,Tr=qs),!0):!1},Xe,lt),ki,cs,qi=!1;if(Tr){var is=k-Tr.left<Tr.right-k,Ns=is==it;ui=Fr+(Ns?0:1),cs=Ns?"after":"before",ki=is?Tr.left:Tr.right}else{!it&&(ui==lt||ui==Xe)&&ui++,cs=ui==0?"after":ui==b.text.length?"before":gu(h,ae,ui-(it?1:0)).bottom+De<=G==it?"after":"before";var Zs=Kr(h,Lt(F,ui,cs),"line",b,ae);ki=Zs.left,qi=G<Zs.top?-1:G>=Zs.bottom?1:0}return ui=Sn(b.text,ui,1),tr(F,ui,cs,qi,k-ki)}function fa(h,b,F,k,G,ae,De){var Xe=Hn(function(Zn){var Fr=G[Zn],Tr=Fr.level!=1;return Ri(Kr(h,Lt(F,Tr?Fr.to:Fr.from,Tr?"before":"after"),"line",b,k),ae,De,!0)},0,G.length-1),lt=G[Xe];if(Xe>0){var it=lt.level!=1,Rn=Kr(h,Lt(F,it?lt.from:lt.to,it?"after":"before"),"line",b,k);Ri(Rn,ae,De,!0)&&Rn.top>De&&(lt=G[Xe-1])}return lt}function Aa(h,b,F,k,G,ae,De){var Xe=si(h,b,k,De),lt=Xe.begin,it=Xe.end;/\s/.test(b.text.charAt(it-1))&&it--;for(var Rn=null,Zn=null,Fr=0;Fr<G.length;Fr++){var Tr=G[Fr];if(!(Tr.from>=it||Tr.to<=lt)){var ui=Tr.level!=1,ki=gu(h,k,ui?Math.min(it,Tr.to)-1:Math.max(lt,Tr.from)).right,cs=ki<ae?ae-ki+1e9:ki-ae;(!Rn||Zn>cs)&&(Rn=Tr,Zn=cs)}}return Rn||(Rn=G[G.length-1]),Rn.from<lt&&(Rn={from:lt,to:Rn.to,level:Rn.level}),Rn.to>it&&(Rn={from:Rn.from,to:it,level:Rn.level}),Rn}var Es;function ha(h){if(h.cachedTextHeight!=null)return h.cachedTextHeight;if(Es==null){Es=le("pre",null,"CodeMirror-line-like");for(var b=0;b<49;++b)Es.appendChild(document.createTextNode("x")),Es.appendChild(le("br"));Es.appendChild(document.createTextNode("x"))}fe(h.measure,Es);var F=Es.offsetHeight/50;return F>3&&(h.cachedTextHeight=F),me(h.measure),F||1}function qa(h){if(h.cachedCharWidth!=null)return h.cachedCharWidth;var b=le("span","xxxxxxxxxx"),F=le("pre",[b],"CodeMirror-line-like");fe(h.measure,F);var k=b.getBoundingClientRect(),G=(k.right-k.left)/10;return G>2&&(h.cachedCharWidth=G),G||10}function fo(h){for(var b=h.display,F={},k={},G=b.gutters.clientLeft,ae=b.gutters.firstChild,De=0;ae;ae=ae.nextSibling,++De){var Xe=h.display.gutterSpecs[De].className;F[Xe]=ae.offsetLeft+ae.clientLeft+G,k[Xe]=ae.clientWidth}return{fixedPos:Wa(b),gutterTotalWidth:b.gutters.offsetWidth,gutterLeft:F,gutterWidth:k,wrapperWidth:b.wrapper.clientWidth}}function Wa(h){return h.scroller.getBoundingClientRect().left-h.sizer.getBoundingClientRect().left}function Wo(h){var b=ha(h.display),F=h.options.lineWrapping,k=F&&Math.max(5,h.display.scroller.clientWidth/qa(h.display)-3);return function(G){if(di(h.doc,G))return 0;var ae=0;if(G.widgets)for(var De=0;De<G.widgets.length;De++)G.widgets[De].height&&(ae+=G.widgets[De].height);return F?ae+(Math.ceil(G.text.length/k)||1)*b:ae+b}}function ou(h){var b=h.doc,F=Wo(h);b.iter(function(k){var G=F(k);G!=k.height&&dn(k,G)})}function Io(h,b,F,k){var G=h.display;if(!F&&Un(b).getAttribute("cm-not-content")=="true")return null;var ae,De,Xe=G.lineSpace.getBoundingClientRect();try{ae=b.clientX-Xe.left,De=b.clientY-Xe.top}catch{return null}var lt=st(h,ae,De),it;if(k&&lt.xRel>0&&(it=Tt(h.doc,lt.line).text).length==lt.ch){var Rn=Ne(it,it.length,h.options.tabSize)-it.length;lt=Lt(lt.line,Math.max(0,Math.round((ae-Vs(h.display).left)/qa(h.display))-Rn))}return lt}function uu(h,b){if(b>=h.display.viewTo||(b-=h.display.viewFrom,b<0))return null;for(var F=h.display.view,k=0;k<F.length;k++)if(b-=F[k].size,b<0)return k}function Ta(h,b,F,k){b==null&&(b=h.doc.first),F==null&&(F=h.doc.first+h.doc.size),k||(k=0);var G=h.display;if(k&&F<G.viewTo&&(G.updateLineNumbers==null||G.updateLineNumbers>b)&&(G.updateLineNumbers=b),h.curOp.viewChanged=!0,b>=G.viewTo)qr&&Uo(h.doc,b)<G.viewTo&&Zl(h);else if(F<=G.viewFrom)qr&&ru(h.doc,F+k)>G.viewFrom?Zl(h):(G.viewFrom+=k,G.viewTo+=k);else if(b<=G.viewFrom&&F>=G.viewTo)Zl(h);else if(b<=G.viewFrom){var ae=Pu(h,F,F+k,1);ae?(G.view=G.view.slice(ae.index),G.viewFrom=ae.lineN,G.viewTo+=k):Zl(h)}else if(F>=G.viewTo){var De=Pu(h,b,b,-1);De?(G.view=G.view.slice(0,De.index),G.viewTo=De.lineN):Zl(h)}else{var Xe=Pu(h,b,b,-1),lt=Pu(h,F,F+k,1);Xe&&lt?(G.view=G.view.slice(0,Xe.index).concat(Xa(h,Xe.lineN,lt.lineN)).concat(G.view.slice(lt.index)),G.viewTo+=k):Zl(h)}var it=G.externalMeasured;it&&(F<it.lineN?it.lineN+=k:b<it.lineN+it.size&&(G.externalMeasured=null))}function fu(h,b,F){h.curOp.viewChanged=!0;var k=h.display,G=h.display.externalMeasured;if(G&&b>=G.lineN&&b<G.lineN+G.size&&(k.externalMeasured=null),!(b<k.viewFrom||b>=k.viewTo)){var ae=k.view[uu(h,b)];if(ae.node!=null){var De=ae.changes||(ae.changes=[]);Ke(De,F)==-1&&De.push(F)}}}function Zl(h){h.display.viewFrom=h.display.viewTo=h.doc.first,h.display.view=[],h.display.viewOffset=0}function Pu(h,b,F,k){var G=uu(h,b),ae,De=h.display.view;if(!qr||F==h.doc.first+h.doc.size)return{index:G,lineN:F};for(var Xe=h.display.viewFrom,lt=0;lt<G;lt++)Xe+=De[lt].size;if(Xe!=b){if(k>0){if(G==De.length-1)return null;ae=Xe+De[G].size-b,G++}else ae=Xe-b;b+=ae,F+=ae}for(;Uo(h.doc,F)!=F;){if(G==(k<0?0:De.length-1))return null;F+=k*De[G-(k<0?1:0)].size,G+=k}return{index:G,lineN:F}}function Zc(h,b,F){var k=h.display,G=k.view;G.length==0||b>=k.viewTo||F<=k.viewFrom?(k.view=Xa(h,b,F),k.viewFrom=b):(k.viewFrom>b?k.view=Xa(h,b,k.viewFrom).concat(k.view):k.viewFrom<b&&(k.view=k.view.slice(uu(h,b))),k.viewFrom=b,k.viewTo<F?k.view=k.view.concat(Xa(h,k.viewTo,F)):k.viewTo>F&&(k.view=k.view.slice(0,uu(h,F)))),k.viewTo=F}function Yu(h){for(var b=h.display.view,F=0,k=0;k<b.length;k++){var G=b[k];!G.hidden&&(!G.node||G.changes)&&++F}return F}function Cc(h){h.display.input.showSelection(h.display.input.prepareSelection())}function L0(h,b){b===void 0&&(b=!0);var F=h.doc,k={},G=k.cursors=document.createDocumentFragment(),ae=k.selection=document.createDocumentFragment(),De=h.options.$customCursor;De&&(b=!0);for(var Xe=0;Xe<F.sel.ranges.length;Xe++)if(!(!b&&Xe==F.sel.primIndex)){var lt=F.sel.ranges[Xe];if(!(lt.from().line>=h.display.viewTo||lt.to().line<h.display.viewFrom)){var it=lt.empty();if(De){var Rn=De(h,lt);Rn&&Xc(h,Rn,G)}else(it||h.options.showCursorWhenSelecting)&&Xc(h,lt.head,G);it||Sl(h,lt,ae)}}return k}function Xc(h,b,F){var k=Kr(h,b,"div",null,null,!h.options.singleCursorHeightPerLine),G=F.appendChild(le("div","\xA0","CodeMirror-cursor"));if(G.style.left=k.left+"px",G.style.top=k.top+"px",G.style.height=Math.max(0,k.bottom-k.top)*h.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(h.getWrapperElement().className)){var ae=zn(h,b,"div",null,null),De=ae.right-ae.left;G.style.width=(De>0?De:h.defaultCharWidth())+"px"}if(k.other){var Xe=F.appendChild(le("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));Xe.style.display="",Xe.style.left=k.other.left+"px",Xe.style.top=k.other.top+"px",Xe.style.height=(k.other.bottom-k.other.top)*.85+"px"}}function rc(h,b){return h.top-b.top||h.left-b.left}function Sl(h,b,F){var k=h.display,G=h.doc,ae=document.createDocumentFragment(),De=Vs(h.display),Xe=De.left,lt=Math.max(k.sizerWidth,io(h)-k.sizer.offsetLeft)-De.right,it=G.direction=="ltr";function Rn(Ns,Zs,wa,qs){Zs<0&&(Zs=0),Zs=Math.round(Zs),qs=Math.round(qs),ae.appendChild(le("div",null,"CodeMirror-selected","position: absolute; left: "+Ns+`px;
                             top: `+Zs+"px; width: "+(wa??lt-Ns)+`px;
                             height: `+(qs-Zs)+"px"))}function Zn(Ns,Zs,wa){var qs=Tt(G,Ns),ao=qs.text.length,So,wl;function Uu(xu,Bc){return zn(h,Lt(Ns,xu),"div",qs,Bc)}function pl(xu,Bc,oc){var al=Yi(h,qs,null,xu),ju=Bc=="ltr"==(oc=="after")?"left":"right",ml=oc=="after"?al.begin:al.end-(/\s/.test(qs.text.charAt(al.end-1))?2:1);return Uu(ml,ju)[ju]}var Dc=oe(qs,G.direction);return er(Dc,Zs||0,wa??ao,function(xu,Bc,oc,al){var ju=oc=="ltr",ml=Uu(xu,ju?"left":"right"),zc=Uu(Bc-1,ju?"right":"left"),m0=Zs==null&&xu==0,Q0=wa==null&&Bc==ao,$u=al==0,ko=!Dc||al==Dc.length-1;if(zc.top-ml.top<=3){var tu=(it?m0:Q0)&&$u,Cl=(it?Q0:m0)&&ko,ol=tu?Xe:(ju?ml:zc).left,Ec=Cl?lt:(ju?zc:ml).right;Rn(ol,ml.top,Ec-ol,ml.bottom)}else{var g0,pu,uc,Hl;ju?(g0=it&&m0&&$u?Xe:ml.left,pu=it?lt:pl(xu,oc,"before"),uc=it?Xe:pl(Bc,oc,"after"),Hl=it&&Q0&&ko?lt:zc.right):(g0=it?pl(xu,oc,"before"):Xe,pu=!it&&m0&&$u?lt:ml.right,uc=!it&&Q0&&ko?Xe:zc.left,Hl=it?pl(Bc,oc,"after"):lt),Rn(g0,ml.top,pu-g0,ml.bottom),ml.bottom<zc.top&&Rn(Xe,ml.bottom,null,zc.top),Rn(uc,zc.top,Hl-uc,zc.bottom)}(!So||rc(ml,So)<0)&&(So=ml),rc(zc,So)<0&&(So=zc),(!wl||rc(ml,wl)<0)&&(wl=ml),rc(zc,wl)<0&&(wl=zc)}),{start:So,end:wl}}var Fr=b.from(),Tr=b.to();if(Fr.line==Tr.line)Zn(Fr.line,Fr.ch,Tr.ch);else{var ui=Tt(G,Fr.line),ki=Tt(G,Tr.line),cs=za(ui)==za(ki),qi=Zn(Fr.line,Fr.ch,cs?ui.text.length+1:null).end,is=Zn(Tr.line,cs?0:null,Tr.ch).start;cs&&(qi.top<is.top-2?(Rn(qi.right,qi.top,null,qi.bottom),Rn(Xe,is.top,is.left,is.bottom)):Rn(qi.right,qi.top,is.left-qi.right,qi.bottom)),qi.bottom<is.top&&Rn(Xe,qi.bottom,null,is.top)}F.appendChild(ae)}function B0(h){if(h.state.focused){var b=h.display;clearInterval(b.blinker);var F=!0;b.cursorDiv.style.visibility="",h.options.cursorBlinkRate>0?b.blinker=setInterval(function(){h.hasFocus()||Ra(h),b.cursorDiv.style.visibility=(F=!F)?"":"hidden"},h.options.cursorBlinkRate):h.options.cursorBlinkRate<0&&(b.cursorDiv.style.visibility="hidden")}}function Tl(h){h.hasFocus()||(h.display.input.focus(),h.state.focused||Jc(h))}function z0(h){h.state.delayingBlurEvent=!0,setTimeout(function(){h.state.delayingBlurEvent&&(h.state.delayingBlurEvent=!1,h.state.focused&&Ra(h))},100)}function Jc(h,b){h.state.delayingBlurEvent&&!h.state.draggingText&&(h.state.delayingBlurEvent=!1),h.options.readOnly!="nocursor"&&(h.state.focused||(We(h,"focus",h,b),h.state.focused=!0,Ae(h.display.wrapper,"CodeMirror-focused"),!h.curOp&&h.display.selForContextMenu!=h.doc.sel&&(h.display.input.reset(),T&&setTimeout(function(){return h.display.input.reset(!0)},20)),h.display.input.receivedFocus()),B0(h))}function Ra(h,b){h.state.delayingBlurEvent||(h.state.focused&&(We(h,"blur",h,b),h.state.focused=!1,re(h.display.wrapper,"CodeMirror-focused")),clearInterval(h.display.blinker),setTimeout(function(){h.state.focused||(h.display.shift=!1)},150))}function xs(h){for(var b=h.display,F=b.lineDiv.offsetTop,k=Math.max(0,b.scroller.getBoundingClientRect().top),G=b.lineDiv.getBoundingClientRect().top,ae=0,De=0;De<b.view.length;De++){var Xe=b.view[De],lt=h.options.lineWrapping,it=void 0,Rn=0;if(!Xe.hidden){if(G+=Xe.line.height,v&&_<8){var Zn=Xe.node.offsetTop+Xe.node.offsetHeight;it=Zn-F,F=Zn}else{var Fr=Xe.node.getBoundingClientRect();it=Fr.bottom-Fr.top,!lt&&Xe.text.firstChild&&(Rn=Xe.text.firstChild.getBoundingClientRect().right-Fr.left-1)}var Tr=Xe.line.height-it;if((Tr>.005||Tr<-.005)&&(G<k&&(ae-=Tr),dn(Xe.line,it),hu(Xe.line),Xe.rest))for(var ui=0;ui<Xe.rest.length;ui++)hu(Xe.rest[ui]);if(Rn>h.display.sizerWidth){var ki=Math.ceil(Rn/qa(h.display));ki>h.display.maxLineLength&&(h.display.maxLineLength=ki,h.display.maxLine=Xe.line,h.display.maxLineChanged=!0)}}}Math.abs(ae)>2&&(b.scroller.scrollTop+=ae)}function hu(h){if(h.widgets)for(var b=0;b<h.widgets.length;++b){var F=h.widgets[b],k=F.node.parentNode;k&&(F.height=k.offsetHeight)}}function cl(h,b,F){var k=F&&F.top!=null?Math.max(0,F.top):h.scroller.scrollTop;k=Math.floor(k-_a(h));var G=F&&F.bottom!=null?F.bottom:k+h.wrapper.clientHeight,ae=Yt(b,k),De=Yt(b,G);if(F&&F.ensure){var Xe=F.ensure.from.line,lt=F.ensure.to.line;Xe<ae?(ae=Xe,De=Yt(b,dr(Tt(b,Xe))+h.wrapper.clientHeight)):Math.min(lt,b.lastLine())>=De&&(ae=Yt(b,dr(Tt(b,lt))-h.wrapper.clientHeight),De=lt)}return{from:ae,to:Math.max(De,ae+1)}}function Do(h,b){if(!gt(h,"scrollCursorIntoView")){var F=h.display,k=F.sizer.getBoundingClientRect(),G=null,ae=F.wrapper.ownerDocument;if(b.top+k.top<0?G=!0:b.bottom+k.top>(ae.defaultView.innerHeight||ae.documentElement.clientHeight)&&(G=!1),G!=null&&!B){var De=le("div","\u200B",null,`position: absolute;
                         top: `+(b.top-F.viewOffset-_a(h.display))+`px;
                         height: `+(b.bottom-b.top+Va(h)+F.barHeight)+`px;
                         left: `+b.left+"px; width: "+Math.max(2,b.right-b.left)+"px;");h.display.lineSpace.appendChild(De),De.scrollIntoView(G),h.display.lineSpace.removeChild(De)}}}function D0(h,b,F,k){k==null&&(k=0);var G;!h.options.lineWrapping&&b==F&&(F=b.sticky=="before"?Lt(b.line,b.ch+1,"before"):b,b=b.ch?Lt(b.line,b.sticky=="before"?b.ch-1:b.ch,"after"):b);for(var ae=0;ae<5;ae++){var De=!1,Xe=Kr(h,b),lt=!F||F==b?Xe:Kr(h,F);G={left:Math.min(Xe.left,lt.left),top:Math.min(Xe.top,lt.top)-k,right:Math.max(Xe.left,lt.left),bottom:Math.max(Xe.bottom,lt.bottom)+k};var it=nl(h,G),Rn=h.doc.scrollTop,Zn=h.doc.scrollLeft;if(it.scrollTop!=null&&(c0(h,it.scrollTop),Math.abs(h.doc.scrollTop-Rn)>1&&(De=!0)),it.scrollLeft!=null&&(Zu(h,it.scrollLeft),Math.abs(h.doc.scrollLeft-Zn)>1&&(De=!0)),!De)break}return G}function jl(h,b){var F=nl(h,b);F.scrollTop!=null&&c0(h,F.scrollTop),F.scrollLeft!=null&&Zu(h,F.scrollLeft)}function nl(h,b){var F=h.display,k=ha(h.display);b.top<0&&(b.top=0);var G=h.curOp&&h.curOp.scrollTop!=null?h.curOp.scrollTop:F.scroller.scrollTop,ae=ya(h),De={};b.bottom-b.top>ae&&(b.bottom=b.top+ae);var Xe=h.doc.height+ga(F),lt=b.top<k,it=b.bottom>Xe-k;if(b.top<G)De.scrollTop=lt?0:b.top;else if(b.bottom>G+ae){var Rn=Math.min(b.top,(it?Xe:b.bottom)-ae);Rn!=G&&(De.scrollTop=Rn)}var Zn=h.options.fixedGutter?0:F.gutters.offsetWidth,Fr=h.curOp&&h.curOp.scrollLeft!=null?h.curOp.scrollLeft:F.scroller.scrollLeft-Zn,Tr=io(h)-F.gutters.offsetWidth,ui=b.right-b.left>Tr;return ui&&(b.right=b.left+Tr),b.left<10?De.scrollLeft=0:b.left<Fr?De.scrollLeft=Math.max(0,b.left+Zn-(ui?0:10)):b.right>Tr+Fr-3&&(De.scrollLeft=b.right+(ui?0:10)-Tr),De}function Ml(h,b){b!=null&&(qc(h),h.curOp.scrollTop=(h.curOp.scrollTop==null?h.doc.scrollTop:h.curOp.scrollTop)+b)}function ic(h){qc(h);var b=h.getCursor();h.curOp.scrollToPos={from:b,to:b,margin:h.options.cursorScrollMargin}}function Qu(h,b,F){(b!=null||F!=null)&&qc(h),b!=null&&(h.curOp.scrollLeft=b),F!=null&&(h.curOp.scrollTop=F)}function l0(h,b){qc(h),h.curOp.scrollToPos=b}function qc(h){var b=h.curOp.scrollToPos;if(b){h.curOp.scrollToPos=null;var F=gn(h,b.from),k=gn(h,b.to);dc(h,F,k,b.margin)}}function dc(h,b,F,k){var G=nl(h,{left:Math.min(b.left,F.left),top:Math.min(b.top,F.top)-k,right:Math.max(b.right,F.right),bottom:Math.max(b.bottom,F.bottom)+k});Qu(h,G.scrollLeft,G.scrollTop)}function c0(h,b){Math.abs(h.doc.scrollTop-b)<2||(i||iu(h,{top:b}),fc(h,b,!0),i&&iu(h),Mc(h,100))}function fc(h,b,F){b=Math.max(0,Math.min(h.display.scroller.scrollHeight-h.display.scroller.clientHeight,b)),!(h.display.scroller.scrollTop==b&&!F)&&(h.doc.scrollTop=b,h.display.scrollbars.setScrollTop(b),h.display.scroller.scrollTop!=b&&(h.display.scroller.scrollTop=b))}function Zu(h,b,F,k){b=Math.max(0,Math.min(b,h.display.scroller.scrollWidth-h.display.scroller.clientWidth)),!((F?b==h.doc.scrollLeft:Math.abs(h.doc.scrollLeft-b)<2)&&!k)&&(h.doc.scrollLeft=b,$c(h),h.display.scroller.scrollLeft!=b&&(h.display.scroller.scrollLeft=b),h.display.scrollbars.setScrollLeft(b))}function vu(h){var b=h.display,F=b.gutters.offsetWidth,k=Math.round(h.doc.height+ga(h.display));return{clientHeight:b.scroller.clientHeight,viewHeight:b.wrapper.clientHeight,scrollWidth:b.scroller.scrollWidth,clientWidth:b.scroller.clientWidth,viewWidth:b.wrapper.clientWidth,barLeft:h.options.fixedGutter?F:0,docHeight:k,scrollHeight:k+Va(h)+b.barHeight,nativeBarWidth:b.nativeBarWidth,gutterWidth:F}}var Tu=function(h,b,F){this.cm=F;var k=this.vert=le("div",[le("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),G=this.horiz=le("div",[le("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");k.tabIndex=G.tabIndex=-1,h(k),h(G),Et(k,"scroll",function(){k.clientHeight&&b(k.scrollTop,"vertical")}),Et(G,"scroll",function(){G.clientWidth&&b(G.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,v&&_<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Tu.prototype.update=function(h){var b=h.scrollWidth>h.clientWidth+1,F=h.scrollHeight>h.clientHeight+1,k=h.nativeBarWidth;if(F){this.vert.style.display="block",this.vert.style.bottom=b?k+"px":"0";var G=h.viewHeight-(b?k:0);this.vert.firstChild.style.height=Math.max(0,h.scrollHeight-h.clientHeight+G)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(b){this.horiz.style.display="block",this.horiz.style.right=F?k+"px":"0",this.horiz.style.left=h.barLeft+"px";var ae=h.viewWidth-h.barLeft-(F?k:0);this.horiz.firstChild.style.width=Math.max(0,h.scrollWidth-h.clientWidth+ae)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&h.clientHeight>0&&(k==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:F?k:0,bottom:b?k:0}},Tu.prototype.setScrollLeft=function(h){this.horiz.scrollLeft!=h&&(this.horiz.scrollLeft=h),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Tu.prototype.setScrollTop=function(h){this.vert.scrollTop!=h&&(this.vert.scrollTop=h),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Tu.prototype.zeroWidthHack=function(){var h=X&&!N?"12px":"18px";this.horiz.style.height=this.vert.style.width=h,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new Le,this.disableVert=new Le},Tu.prototype.enableZeroWidthBar=function(h,b,F){h.style.visibility="";function k(){var G=h.getBoundingClientRect(),ae=F=="vert"?document.elementFromPoint(G.right-1,(G.top+G.bottom)/2):document.elementFromPoint((G.right+G.left)/2,G.bottom-1);ae!=h?h.style.visibility="hidden":b.set(1e3,k)}b.set(1e3,k)},Tu.prototype.clear=function(){var h=this.horiz.parentNode;h.removeChild(this.horiz),h.removeChild(this.vert)};var vl=function(){};vl.prototype.update=function(){return{bottom:0,right:0}},vl.prototype.setScrollLeft=function(){},vl.prototype.setScrollTop=function(){},vl.prototype.clear=function(){};function Zo(h,b){b||(b=vu(h));var F=h.display.barWidth,k=h.display.barHeight;aa(h,b);for(var G=0;G<4&&F!=h.display.barWidth||k!=h.display.barHeight;G++)F!=h.display.barWidth&&h.options.lineWrapping&&xs(h),aa(h,vu(h)),F=h.display.barWidth,k=h.display.barHeight}function aa(h,b){var F=h.display,k=F.scrollbars.update(b);F.sizer.style.paddingRight=(F.barWidth=k.right)+"px",F.sizer.style.paddingBottom=(F.barHeight=k.bottom)+"px",F.heightForcer.style.borderBottom=k.bottom+"px solid transparent",k.right&&k.bottom?(F.scrollbarFiller.style.display="block",F.scrollbarFiller.style.height=k.bottom+"px",F.scrollbarFiller.style.width=k.right+"px"):F.scrollbarFiller.style.display="",k.bottom&&h.options.coverGutterNextToScrollbar&&h.options.fixedGutter?(F.gutterFiller.style.display="block",F.gutterFiller.style.height=k.bottom+"px",F.gutterFiller.style.width=b.gutterWidth+"px"):F.gutterFiller.style.display=""}var e0={native:Tu,null:vl};function Ic(h){h.display.scrollbars&&(h.display.scrollbars.clear(),h.display.scrollbars.addClass&&re(h.display.wrapper,h.display.scrollbars.addClass)),h.display.scrollbars=new e0[h.options.scrollbarStyle](function(b){h.display.wrapper.insertBefore(b,h.display.scrollbarFiller),Et(b,"mousedown",function(){h.state.focused&&setTimeout(function(){return h.display.input.focus()},0)}),b.setAttribute("cm-not-content","true")},function(b,F){F=="horizontal"?Zu(h,b):c0(h,b)},h),h.display.scrollbars.addClass&&Ae(h.display.wrapper,h.display.scrollbars.addClass)}var kc=0;function eu(h){h.curOp={cm:h,viewChanged:!1,startHeight:h.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++kc,markArrays:null},co(h.curOp)}function Dl(h){var b=h.curOp;b&&Yo(b,function(F){for(var k=0;k<F.ops.length;k++)F.ops[k].cm.curOp=null;d0(F)})}function d0(h){for(var b=h.ops,F=0;F<b.length;F++)Al(b[F]);for(var k=0;k<b.length;k++)Sc(b[k]);for(var G=0;G<b.length;G++)Uc(b[G]);for(var ae=0;ae<b.length;ae++)eo(b[ae]);for(var De=0;De<b.length;De++)sc(b[De])}function Al(h){var b=h.cm,F=b.display;td(b),h.updateMaxLine&&Si(b),h.mustUpdate=h.viewChanged||h.forceUpdate||h.scrollTop!=null||h.scrollToPos&&(h.scrollToPos.from.line<F.viewFrom||h.scrollToPos.to.line>=F.viewTo)||F.maxLineChanged&&b.options.lineWrapping,h.update=h.mustUpdate&&new jc(b,h.mustUpdate&&{top:h.scrollTop,ensure:h.scrollToPos},h.forceUpdate)}function Sc(h){h.updatedDisplay=h.mustUpdate&&Ho(h.cm,h.update)}function Uc(h){var b=h.cm,F=b.display;h.updatedDisplay&&xs(b),h.barMeasure=vu(b),F.maxLineChanged&&!b.options.lineWrapping&&(h.adjustWidthTo=Ru(b,F.maxLine,F.maxLine.text.length).left+3,b.display.sizerWidth=h.adjustWidthTo,h.barMeasure.scrollWidth=Math.max(F.scroller.clientWidth,F.sizer.offsetLeft+h.adjustWidthTo+Va(b)+b.display.barWidth),h.maxScrollLeft=Math.max(0,F.sizer.offsetLeft+h.adjustWidthTo-io(b))),(h.updatedDisplay||h.selectionChanged)&&(h.preparedSelection=F.input.prepareSelection())}function eo(h){var b=h.cm;h.adjustWidthTo!=null&&(b.display.sizer.style.minWidth=h.adjustWidthTo+"px",h.maxScrollLeft<b.doc.scrollLeft&&Zu(b,Math.min(b.display.scroller.scrollLeft,h.maxScrollLeft),!0),b.display.maxLineChanged=!1);var F=h.focus&&h.focus==ye(Ge(b));h.preparedSelection&&b.display.input.showSelection(h.preparedSelection,F),(h.updatedDisplay||h.startHeight!=b.doc.height)&&Zo(b,h.barMeasure),h.updatedDisplay&&Nl(b,h.barMeasure),h.selectionChanged&&B0(b),b.state.focused&&h.updateInput&&b.display.input.reset(h.typing),F&&Tl(h.cm)}function sc(h){var b=h.cm,F=b.display,k=b.doc;if(h.updatedDisplay&&Bu(b,h.update),F.wheelStartX!=null&&(h.scrollTop!=null||h.scrollLeft!=null||h.scrollToPos)&&(F.wheelStartX=F.wheelStartY=null),h.scrollTop!=null&&fc(b,h.scrollTop,h.forceScroll),h.scrollLeft!=null&&Zu(b,h.scrollLeft,!0,!0),h.scrollToPos){var G=D0(b,Hr(k,h.scrollToPos.from),Hr(k,h.scrollToPos.to),h.scrollToPos.margin);Do(b,G)}var ae=h.maybeHiddenMarkers,De=h.maybeUnhiddenMarkers;if(ae)for(var Xe=0;Xe<ae.length;++Xe)ae[Xe].lines.length||We(ae[Xe],"hide");if(De)for(var lt=0;lt<De.length;++lt)De[lt].lines.length&&We(De[lt],"unhide");F.wrapper.offsetHeight&&(k.scrollTop=b.display.scroller.scrollTop),h.changeObjs&&We(b,"changes",b,h.changeObjs),h.update&&h.update.finish()}function Eu(h,b){if(h.curOp)return b();eu(h);try{return b()}finally{Dl(h)}}function Lu(h,b){return function(){if(h.curOp)return b.apply(h,arguments);eu(h);try{return b.apply(h,arguments)}finally{Dl(h)}}}function dl(h){return function(){if(this.curOp)return h.apply(this,arguments);eu(this);try{return h.apply(this,arguments)}finally{Dl(this)}}}function rl(h){return function(){var b=this.cm;if(!b||b.curOp)return h.apply(this,arguments);eu(b);try{return h.apply(this,arguments)}finally{Dl(b)}}}function Mc(h,b){h.doc.highlightFrontier<h.display.viewTo&&h.state.highlight.set(b,Se(El,h))}function El(h){var b=h.doc;if(!(b.highlightFrontier>=h.display.viewTo)){var F=+new Date+h.options.workTime,k=Qn(h,b.highlightFrontier),G=[];b.iter(k.line,Math.min(b.first+b.size,h.display.viewTo+500),function(ae){if(k.line>=h.display.viewFrom){var De=ae.styles,Xe=ae.text.length>h.options.maxHighlightLength?rr(b.mode,k.state):null,lt=kn(h,ae,k,!0);Xe&&(k.state=Xe),ae.styles=lt.styles;var it=ae.styleClasses,Rn=lt.classes;Rn?ae.styleClasses=Rn:it&&(ae.styleClasses=null);for(var Zn=!De||De.length!=ae.styles.length||it!=Rn&&(!it||!Rn||it.bgClass!=Rn.bgClass||it.textClass!=Rn.textClass),Fr=0;!Zn&&Fr<De.length;++Fr)Zn=De[Fr]!=ae.styles[Fr];Zn&&G.push(k.line),ae.stateAfter=k.save(),k.nextLine()}else ae.text.length<=h.options.maxHighlightLength&&ur(h,ae.text,k),ae.stateAfter=k.line%5==0?k.save():null,k.nextLine();if(+new Date>F)return Mc(h,h.options.workDelay),!0}),b.highlightFrontier=k.line,b.modeFrontier=Math.max(b.modeFrontier,k.line),G.length&&Eu(h,function(){for(var ae=0;ae<G.length;ae++)fu(h,G[ae],"text")})}}var jc=function(h,b,F){var k=h.display;this.viewport=b,this.visible=cl(k,h.doc,b),this.editorIsHidden=!k.wrapper.offsetWidth,this.wrapperHeight=k.wrapper.clientHeight,this.wrapperWidth=k.wrapper.clientWidth,this.oldDisplayWidth=io(h),this.force=F,this.dims=fo(h),this.events=[]};jc.prototype.signal=function(h,b){Ct(h,b)&&this.events.push(arguments)},jc.prototype.finish=function(){for(var h=0;h<this.events.length;h++)We.apply(null,this.events[h])};function td(h){var b=h.display;!b.scrollbarsClipped&&b.scroller.offsetWidth&&(b.nativeBarWidth=b.scroller.offsetWidth-b.scroller.clientWidth,b.heightForcer.style.height=Va(h)+"px",b.sizer.style.marginBottom=-b.nativeBarWidth+"px",b.sizer.style.borderRightWidth=Va(h)+"px",b.scrollbarsClipped=!0)}function Xl(h){if(h.hasFocus())return null;var b=ye(Ge(h));if(!b||!Ce(h.display.lineDiv,b))return null;var F={activeElt:b};if(window.getSelection){var k=pe(h).getSelection();k.anchorNode&&k.extend&&Ce(h.display.lineDiv,k.anchorNode)&&(F.anchorNode=k.anchorNode,F.anchorOffset=k.anchorOffset,F.focusNode=k.focusNode,F.focusOffset=k.focusOffset)}return F}function Nc(h){if(!(!h||!h.activeElt||h.activeElt==ye(Pe(h.activeElt)))&&(h.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(h.activeElt.nodeName)&&h.anchorNode&&Ce(document.body,h.anchorNode)&&Ce(document.body,h.focusNode))){var b=h.activeElt.ownerDocument,F=b.defaultView.getSelection(),k=b.createRange();k.setEnd(h.anchorNode,h.anchorOffset),k.collapse(!1),F.removeAllRanges(),F.addRange(k),F.extend(h.focusNode,h.focusOffset)}}function Ho(h,b){var F=h.display,k=h.doc;if(b.editorIsHidden)return Zl(h),!1;if(!b.force&&b.visible.from>=F.viewFrom&&b.visible.to<=F.viewTo&&(F.updateLineNumbers==null||F.updateLineNumbers>=F.viewTo)&&F.renderedView==F.view&&Yu(h)==0)return!1;hc(h)&&(Zl(h),b.dims=fo(h));var G=k.first+k.size,ae=Math.max(b.visible.from-h.options.viewportMargin,k.first),De=Math.min(G,b.visible.to+h.options.viewportMargin);F.viewFrom<ae&&ae-F.viewFrom<20&&(ae=Math.max(k.first,F.viewFrom)),F.viewTo>De&&F.viewTo-De<20&&(De=Math.min(G,F.viewTo)),qr&&(ae=Uo(h.doc,ae),De=ru(h.doc,De));var Xe=ae!=F.viewFrom||De!=F.viewTo||F.lastWrapHeight!=b.wrapperHeight||F.lastWrapWidth!=b.wrapperWidth;Zc(h,ae,De),F.viewOffset=dr(Tt(h.doc,F.viewFrom)),h.display.mover.style.top=F.viewOffset+"px";var lt=Yu(h);if(!Xe&&lt==0&&!b.force&&F.renderedView==F.view&&(F.updateLineNumbers==null||F.updateLineNumbers>=F.viewTo))return!1;var it=Xl(h);return lt>4&&(F.lineDiv.style.display="none"),f0(h,F.updateLineNumbers,b.dims),lt>4&&(F.lineDiv.style.display=""),F.renderedView=F.view,Nc(it),me(F.cursorDiv),me(F.selectionDiv),F.gutters.style.height=F.sizer.style.minHeight=0,Xe&&(F.lastWrapHeight=b.wrapperHeight,F.lastWrapWidth=b.wrapperWidth,Mc(h,400)),F.updateLineNumbers=null,!0}function Bu(h,b){for(var F=b.viewport,k=!0;;k=!1){if(!k||!h.options.lineWrapping||b.oldDisplayWidth==io(h)){if(F&&F.top!=null&&(F={top:Math.min(h.doc.height+ga(h.display)-ya(h),F.top)}),b.visible=cl(h.display,h.doc,F),b.visible.from>=h.display.viewFrom&&b.visible.to<=h.display.viewTo)break}else k&&(b.visible=cl(h.display,h.doc,F));if(!Ho(h,b))break;xs(h);var G=vu(h);Cc(h),Zo(h,G),Nl(h,G),b.force=!1}b.signal(h,"update",h),(h.display.viewFrom!=h.display.reportedViewFrom||h.display.viewTo!=h.display.reportedViewTo)&&(b.signal(h,"viewportChange",h,h.display.viewFrom,h.display.viewTo),h.display.reportedViewFrom=h.display.viewFrom,h.display.reportedViewTo=h.display.viewTo)}function iu(h,b){var F=new jc(h,b);if(Ho(h,F)){xs(h),Bu(h,F);var k=vu(h);Cc(h),Zo(h,k),Nl(h,k),F.finish()}}function f0(h,b,F){var k=h.display,G=h.options.lineNumbers,ae=k.lineDiv,De=ae.firstChild;function Xe(ui){var ki=ui.nextSibling;return T&&X&&h.display.currentWheelTarget==ui?ui.style.display="none":ui.parentNode.removeChild(ui),ki}for(var lt=k.view,it=k.viewFrom,Rn=0;Rn<lt.length;Rn++){var Zn=lt[Rn];if(!Zn.hidden)if(!Zn.node||Zn.node.parentNode!=ae){var Fr=Nn(h,Zn,it,F);ae.insertBefore(Fr,De)}else{for(;De!=Zn.node;)De=Xe(De);var Tr=G&&b!=null&&b<=it&&Zn.lineNumber;Zn.changes&&(Ke(Zn.changes,"gutter")>-1&&(Tr=!1),Jo(h,Zn,it,F)),Tr&&(me(Zn.lineNumber),Zn.lineNumber.appendChild(document.createTextNode(Jt(h.options,it)))),De=Zn.node.nextSibling}it+=Zn.size}for(;De;)De=Xe(De)}function _l(h){var b=h.gutters.offsetWidth;h.sizer.style.marginLeft=b+"px",Qo(h,"gutterChanged",h)}function Nl(h,b){h.display.sizer.style.minHeight=b.docHeight+"px",h.display.heightForcer.style.top=b.docHeight+"px",h.display.gutters.style.height=b.docHeight+h.display.barHeight+Va(h)+"px"}function $c(h){var b=h.display,F=b.view;if(!(!b.alignWidgets&&(!b.gutters.firstChild||!h.options.fixedGutter))){for(var k=Wa(b)-b.scroller.scrollLeft+h.doc.scrollLeft,G=b.gutters.offsetWidth,ae=k+"px",De=0;De<F.length;De++)if(!F[De].hidden){h.options.fixedGutter&&(F[De].gutter&&(F[De].gutter.style.left=ae),F[De].gutterBackground&&(F[De].gutterBackground.style.left=ae));var Xe=F[De].alignable;if(Xe)for(var lt=0;lt<Xe.length;lt++)Xe[lt].style.left=ae}h.options.fixedGutter&&(b.gutters.style.left=k+G+"px")}}function hc(h){if(!h.options.lineNumbers)return!1;var b=h.doc,F=Jt(h.options,b.first+b.size-1),k=h.display;if(F.length!=k.lineNumChars){var G=k.measure.appendChild(le("div",[le("div",F)],"CodeMirror-linenumber CodeMirror-gutter-elt")),ae=G.firstChild.offsetWidth,De=G.offsetWidth-ae;return k.lineGutter.style.width="",k.lineNumInnerWidth=Math.max(ae,k.lineGutter.offsetWidth-De)+1,k.lineNumWidth=k.lineNumInnerWidth+De,k.lineNumChars=k.lineNumInnerWidth?F.length:-1,k.lineGutter.style.width=k.lineNumWidth+"px",_l(h.display),!0}return!1}function il(h,b){for(var F=[],k=!1,G=0;G<h.length;G++){var ae=h[G],De=null;if(typeof ae!="string"&&(De=ae.style,ae=ae.className),ae=="CodeMirror-linenumbers")if(b)k=!0;else continue;F.push({className:ae,style:De})}return b&&!k&&F.push({className:"CodeMirror-linenumbers",style:null}),F}function V0(h){var b=h.gutters,F=h.gutterSpecs;me(b),h.lineGutter=null;for(var k=0;k<F.length;++k){var G=F[k],ae=G.className,De=G.style,Xe=b.appendChild(le("div",null,"CodeMirror-gutter "+ae));De&&(Xe.style.cssText=De),ae=="CodeMirror-linenumbers"&&(h.lineGutter=Xe,Xe.style.width=(h.lineNumWidth||1)+"px")}b.style.display=F.length?"":"none",_l(h)}function Wc(h){V0(h.display),Ta(h),$c(h)}function A0(h,b,F,k){var G=this;this.input=F,G.scrollbarFiller=le("div",null,"CodeMirror-scrollbar-filler"),G.scrollbarFiller.setAttribute("cm-not-content","true"),G.gutterFiller=le("div",null,"CodeMirror-gutter-filler"),G.gutterFiller.setAttribute("cm-not-content","true"),G.lineDiv=Ve("div",null,"CodeMirror-code"),G.selectionDiv=le("div",null,null,"position: relative; z-index: 1"),G.cursorDiv=le("div",null,"CodeMirror-cursors"),G.measure=le("div",null,"CodeMirror-measure"),G.lineMeasure=le("div",null,"CodeMirror-measure"),G.lineSpace=Ve("div",[G.measure,G.lineMeasure,G.selectionDiv,G.cursorDiv,G.lineDiv],null,"position: relative; outline: none");var ae=Ve("div",[G.lineSpace],"CodeMirror-lines");G.mover=le("div",[ae],null,"position: relative"),G.sizer=le("div",[G.mover],"CodeMirror-sizer"),G.sizerWidth=null,G.heightForcer=le("div",null,null,"position: absolute; height: "+bt+"px; width: 1px;"),G.gutters=le("div",null,"CodeMirror-gutters"),G.lineGutter=null,G.scroller=le("div",[G.sizer,G.heightForcer,G.gutters],"CodeMirror-scroll"),G.scroller.setAttribute("tabIndex","-1"),G.wrapper=le("div",[G.scrollbarFiller,G.gutterFiller,G.scroller],"CodeMirror"),R&&P>=105&&(G.wrapper.style.clipPath="inset(0px)"),G.wrapper.setAttribute("translate","no"),v&&_<8&&(G.gutters.style.zIndex=-1,G.scroller.style.paddingRight=0),!T&&!(i&&W)&&(G.scroller.draggable=!0),h&&(h.appendChild?h.appendChild(G.wrapper):h(G.wrapper)),G.viewFrom=G.viewTo=b.first,G.reportedViewFrom=G.reportedViewTo=b.first,G.view=[],G.renderedView=null,G.externalMeasured=null,G.viewOffset=0,G.lastWrapHeight=G.lastWrapWidth=0,G.updateLineNumbers=null,G.nativeBarWidth=G.barHeight=G.barWidth=0,G.scrollbarsClipped=!1,G.lineNumWidth=G.lineNumInnerWidth=G.lineNumChars=null,G.alignWidgets=!1,G.cachedCharWidth=G.cachedTextHeight=G.cachedPaddingH=null,G.maxLine=null,G.maxLineLength=0,G.maxLineChanged=!1,G.wheelDX=G.wheelDY=G.wheelStartX=G.wheelStartY=null,G.shift=!1,G.selForContextMenu=null,G.activeTouch=null,G.gutterSpecs=il(k.gutters,k.lineNumbers),V0(G),F.init(G)}var t0=0,Pl=null;v?Pl=-.53:i?Pl=15:R?Pl=-.7:O&&(Pl=-1/3);function xl(h){var b=h.wheelDeltaX,F=h.wheelDeltaY;return b==null&&h.detail&&h.axis==h.HORIZONTAL_AXIS&&(b=h.detail),F==null&&h.detail&&h.axis==h.VERTICAL_AXIS?F=h.detail:F==null&&(F=h.wheelDelta),{x:b,y:F}}function Pc(h){var b=xl(h);return b.x*=Pl,b.y*=Pl,b}function Lc(h,b){R&&P==102&&(h.display.chromeScrollHack==null?h.display.sizer.style.pointerEvents="none":clearTimeout(h.display.chromeScrollHack),h.display.chromeScrollHack=setTimeout(function(){h.display.chromeScrollHack=null,h.display.sizer.style.pointerEvents=""},100));var F=xl(b),k=F.x,G=F.y,ae=Pl;b.deltaMode===0&&(k=b.deltaX,G=b.deltaY,ae=1);var De=h.display,Xe=De.scroller,lt=Xe.scrollWidth>Xe.clientWidth,it=Xe.scrollHeight>Xe.clientHeight;if(k&&lt||G&&it){if(G&&X&&T){e:for(var Rn=b.target,Zn=De.view;Rn!=Xe;Rn=Rn.parentNode)for(var Fr=0;Fr<Zn.length;Fr++)if(Zn[Fr].node==Rn){h.display.currentWheelTarget=Rn;break e}}if(k&&!i&&!M&&ae!=null){G&&it&&c0(h,Math.max(0,Xe.scrollTop+G*ae)),Zu(h,Math.max(0,Xe.scrollLeft+k*ae)),(!G||G&&it)&&ge(b),De.wheelStartX=null;return}if(G&&ae!=null){var Tr=G*ae,ui=h.doc.scrollTop,ki=ui+De.wrapper.clientHeight;Tr<0?ui=Math.max(0,ui+Tr-50):ki=Math.min(h.doc.height,ki+Tr+50),iu(h,{top:ui,bottom:ki})}t0<20&&b.deltaMode!==0&&(De.wheelStartX==null?(De.wheelStartX=Xe.scrollLeft,De.wheelStartY=Xe.scrollTop,De.wheelDX=k,De.wheelDY=G,setTimeout(function(){if(De.wheelStartX!=null){var cs=Xe.scrollLeft-De.wheelStartX,qi=Xe.scrollTop-De.wheelStartY,is=qi&&De.wheelDY&&qi/De.wheelDY||cs&&De.wheelDX&&cs/De.wheelDX;De.wheelStartX=De.wheelStartY=null,is&&(Pl=(Pl*t0+is)/(t0+1),++t0)}},200)):(De.wheelDX+=k,De.wheelDY+=G))}}var $l=function(h,b){this.ranges=h,this.primIndex=b};$l.prototype.primary=function(){return this.ranges[this.primIndex]},$l.prototype.equals=function(h){if(h==this)return!0;if(h.primIndex!=this.primIndex||h.ranges.length!=this.ranges.length)return!1;for(var b=0;b<this.ranges.length;b++){var F=this.ranges[b],k=h.ranges[b];if(!In(F.anchor,k.anchor)||!In(F.head,k.head))return!1}return!0},$l.prototype.deepCopy=function(){for(var h=[],b=0;b<this.ranges.length;b++)h[b]=new Ts(yr(this.ranges[b].anchor),yr(this.ranges[b].head));return new $l(h,this.primIndex)},$l.prototype.somethingSelected=function(){for(var h=0;h<this.ranges.length;h++)if(!this.ranges[h].empty())return!0;return!1},$l.prototype.contains=function(h,b){b||(b=h);for(var F=0;F<this.ranges.length;F++){var k=this.ranges[F];if(yn(b,k.from())>=0&&yn(h,k.to())<=0)return F}return-1};var Ts=function(h,b){this.anchor=h,this.head=b};Ts.prototype.from=function(){return Xr(this.anchor,this.head)},Ts.prototype.to=function(){return Rr(this.anchor,this.head)},Ts.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Xu(h,b,F){var k=h&&h.options.selectionsMayTouch,G=b[F];b.sort(function(Fr,Tr){return yn(Fr.from(),Tr.from())}),F=Ke(b,G);for(var ae=1;ae<b.length;ae++){var De=b[ae],Xe=b[ae-1],lt=yn(Xe.to(),De.from());if(k&&!De.empty()?lt>0:lt>=0){var it=Xr(Xe.from(),De.from()),Rn=Rr(Xe.to(),De.to()),Zn=Xe.empty()?De.from()==De.head:Xe.from()==Xe.head;ae<=F&&--F,b.splice(--ae,2,new Ts(Zn?Rn:it,Zn?it:Rn))}}return new $l(b,F)}function Iu(h,b){return new $l([new Ts(h,b||h)],0)}function Go(h){return h.text?Lt(h.from.line+h.text.length-1,jt(h.text).length+(h.text.length==1?h.from.ch:0)):h.to}function zo(h,b){if(yn(h,b.from)<0)return h;if(yn(h,b.to)<=0)return Go(b);var F=h.line+b.text.length-(b.to.line-b.from.line)-1,k=h.ch;return h.line==b.to.line&&(k+=Go(b).ch-b.to.ch),Lt(F,k)}function Is(h,b){for(var F=[],k=0;k<h.sel.ranges.length;k++){var G=h.sel.ranges[k];F.push(new Ts(zo(G.anchor,b),zo(G.head,b)))}return Xu(h.cm,F,h.sel.primIndex)}function xa(h,b,F){return h.line==b.line?Lt(F.line,h.ch-b.ch+F.ch):Lt(F.line+(h.line-b.line),h.ch)}function Fu(h,b,F){for(var k=[],G=Lt(h.first,0),ae=G,De=0;De<b.length;De++){var Xe=b[De],lt=xa(Xe.from,G,ae),it=xa(Go(Xe),G,ae);if(G=Xe.to,ae=it,F=="around"){var Rn=h.sel.ranges[De],Zn=yn(Rn.head,Rn.anchor)<0;k[De]=new Ts(Zn?it:lt,Zn?lt:it)}else k[De]=new Ts(lt,lt)}return new $l(k,h.sel.primIndex)}function na(h){h.doc.mode=vn(h.options,h.doc.modeOption),pc(h)}function pc(h){h.doc.iter(function(b){b.stateAfter&&(b.stateAfter=null),b.styles&&(b.styles=null)}),h.doc.modeFrontier=h.doc.highlightFrontier=h.doc.first,Mc(h,100),h.state.modeGen++,h.curOp&&Ta(h)}function n0(h,b){return b.from.ch==0&&b.to.ch==0&&jt(b.text)==""&&(!h.cm||h.cm.options.wholeLineUpdateBefore)}function Wl(h,b,F,k){function G(is){return F?F[is]:null}function ae(is,Ns,Zs){Xi(is,Ns,Zs,k),Qo(is,"change",is,b)}function De(is,Ns){for(var Zs=[],wa=is;wa<Ns;++wa)Zs.push(new Di(it[wa],G(wa),k));return Zs}var Xe=b.from,lt=b.to,it=b.text,Rn=Tt(h,Xe.line),Zn=Tt(h,lt.line),Fr=jt(it),Tr=G(it.length-1),ui=lt.line-Xe.line;if(b.full)h.insert(0,De(0,it.length)),h.remove(it.length,h.size-it.length);else if(n0(h,b)){var ki=De(0,it.length-1);ae(Zn,Zn.text,Tr),ui&&h.remove(Xe.line,ui),ki.length&&h.insert(Xe.line,ki)}else if(Rn==Zn)if(it.length==1)ae(Rn,Rn.text.slice(0,Xe.ch)+Fr+Rn.text.slice(lt.ch),Tr);else{var cs=De(1,it.length-1);cs.push(new Di(Fr+Rn.text.slice(lt.ch),Tr,k)),ae(Rn,Rn.text.slice(0,Xe.ch)+it[0],G(0)),h.insert(Xe.line+1,cs)}else if(it.length==1)ae(Rn,Rn.text.slice(0,Xe.ch)+it[0]+Zn.text.slice(lt.ch),G(0)),h.remove(Xe.line+1,ui);else{ae(Rn,Rn.text.slice(0,Xe.ch)+it[0],G(0)),ae(Zn,Fr+Zn.text.slice(lt.ch),Tr);var qi=De(1,it.length-1);ui>1&&h.remove(Xe.line+1,ui-1),h.insert(Xe.line+1,qi)}Qo(h,"change",h,b)}function et(h,b,F){function k(G,ae,De){if(G.linked)for(var Xe=0;Xe<G.linked.length;++Xe){var lt=G.linked[Xe];if(lt.doc!=ae){var it=De&&lt.sharedHist;F&&!it||(b(lt.doc,it),k(lt.doc,G,it))}}}k(h,null,!0)}function pn(h,b){if(b.cm)throw new Error("This document is already in use.");h.doc=b,b.cm=h,ou(h),na(h),Tn(h),h.options.direction=b.direction,h.options.lineWrapping||Si(h),h.options.mode=b.modeOption,Ta(h)}function Tn(h){(h.doc.direction=="rtl"?Ae:re)(h.display.lineDiv,"CodeMirror-rtl")}function Kn(h){Eu(h,function(){Tn(h),Ta(h)})}function fr(h){this.done=[],this.undone=[],this.undoDepth=h?h.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=h?h.maxGeneration:1}function Sr(h,b){var F={from:yr(b.from),to:Go(b),text:An(h,b.from,b.to)};return Ni(h,F,b.from.line,b.to.line+1),et(h,function(k){return Ni(k,F,b.from.line,b.to.line+1)},!0),F}function br(h){for(;h.length;){var b=jt(h);if(b.ranges)h.pop();else break}}function li(h,b){if(b)return br(h.done),jt(h.done);if(h.done.length&&!jt(h.done).ranges)return jt(h.done);if(h.done.length>1&&!h.done[h.done.length-2].ranges)return h.done.pop(),jt(h.done)}function pi(h,b,F,k){var G=h.history;G.undone.length=0;var ae=+new Date,De,Xe;if((G.lastOp==k||G.lastOrigin==b.origin&&b.origin&&(b.origin.charAt(0)=="+"&&G.lastModTime>ae-(h.cm?h.cm.options.historyEventDelay:500)||b.origin.charAt(0)=="*"))&&(De=li(G,G.lastOp==k)))Xe=jt(De.changes),yn(b.from,b.to)==0&&yn(b.from,Xe.to)==0?Xe.to=Go(b):De.changes.push(Sr(h,b));else{var lt=jt(G.done);for((!lt||!lt.ranges)&&Ii(h.sel,G.done),De={changes:[Sr(h,b)],generation:G.generation},G.done.push(De);G.done.length>G.undoDepth;)G.done.shift(),G.done[0].ranges||G.done.shift()}G.done.push(F),G.generation=++G.maxGeneration,G.lastModTime=G.lastSelTime=ae,G.lastOp=G.lastSelOp=k,G.lastOrigin=G.lastSelOrigin=b.origin,Xe||We(h,"historyAdded")}function Bi(h,b,F,k){var G=b.charAt(0);return G=="*"||G=="+"&&F.ranges.length==k.ranges.length&&F.somethingSelected()==k.somethingSelected()&&new Date-h.history.lastSelTime<=(h.cm?h.cm.options.historyEventDelay:500)}function Fi(h,b,F,k){var G=h.history,ae=k&&k.origin;F==G.lastSelOp||ae&&G.lastSelOrigin==ae&&(G.lastModTime==G.lastSelTime&&G.lastOrigin==ae||Bi(h,ae,jt(G.done),b))?G.done[G.done.length-1]=b:Ii(b,G.done),G.lastSelTime=+new Date,G.lastSelOrigin=ae,G.lastSelOp=F,k&&k.clearRedo!==!1&&br(G.undone)}function Ii(h,b){var F=jt(b);F&&F.ranges&&F.equals(h)||b.push(h)}function Ni(h,b,F,k){var G=b["spans_"+h.id],ae=0;h.iter(Math.max(h.first,F),Math.min(h.first+h.size,k),function(De){De.markedSpans&&((G||(G=b["spans_"+h.id]={}))[ae]=De.markedSpans),++ae})}function Ds(h){if(!h)return null;for(var b,F=0;F<h.length;++F)h[F].marker.explicitlyCleared?b||(b=h.slice(0,F)):b&&b.push(h[F]);return b?b.length?b:null:h}function ds(h,b){var F=b["spans_"+h.id];if(!F)return null;for(var k=[],G=0;G<b.text.length;++G)k.push(Ds(F[G]));return k}function Gs(h,b){var F=ds(h,b),k=Fn(h,b);if(!F)return k;if(!k)return F;for(var G=0;G<F.length;++G){var ae=F[G],De=k[G];if(ae&&De){e:for(var Xe=0;Xe<De.length;++Xe){for(var lt=De[Xe],it=0;it<ae.length;++it)if(ae[it].marker==lt.marker)continue e;ae.push(lt)}}else De&&(F[G]=De)}return F}function Fs(h,b,F){for(var k=[],G=0;G<h.length;++G){var ae=h[G];if(ae.ranges){k.push(F?$l.prototype.deepCopy.call(ae):ae);continue}var De=ae.changes,Xe=[];k.push({changes:Xe});for(var lt=0;lt<De.length;++lt){var it=De[lt],Rn=void 0;if(Xe.push({from:it.from,to:it.to,text:it.text}),b)for(var Zn in it)(Rn=Zn.match(/^spans_(\d+)$/))&&Ke(b,Number(Rn[1]))>-1&&(jt(Xe)[Zn]=it[Zn],delete it[Zn])}}return k}function $s(h,b,F,k){if(k){var G=h.anchor;if(F){var ae=yn(b,G)<0;ae!=yn(F,G)<0?(G=b,b=F):ae!=yn(b,F)<0&&(b=F)}return new Ts(G,b)}else return new Ts(F||b,b)}function oa(h,b,F,k,G){G==null&&(G=h.cm&&(h.cm.display.shift||h.extend)),uo(h,new $l([$s(h.sel.primary(),b,F,G)],0),k)}function to(h,b,F){for(var k=[],G=h.cm&&(h.cm.display.shift||h.extend),ae=0;ae<h.sel.ranges.length;ae++)k[ae]=$s(h.sel.ranges[ae],b[ae],null,G);var De=Xu(h.cm,k,h.sel.primIndex);uo(h,De,F)}function ba(h,b,F,k){var G=h.sel.ranges.slice(0);G[b]=F,uo(h,Xu(h.cm,G,h.sel.primIndex),k)}function pa(h,b,F,k){uo(h,Iu(b,F),k)}function Lo(h,b,F){var k={ranges:b.ranges,update:function(G){this.ranges=[];for(var ae=0;ae<G.length;ae++)this.ranges[ae]=new Ts(Hr(h,G[ae].anchor),Hr(h,G[ae].head))},origin:F&&F.origin};return We(h,"beforeSelectionChange",h,k),h.cm&&We(h.cm,"beforeSelectionChange",h.cm,k),k.ranges!=b.ranges?Xu(h.cm,k.ranges,k.ranges.length-1):b}function su(h,b,F){var k=h.history.done,G=jt(k);G&&G.ranges?(k[k.length-1]=b,yo(h,b,F)):uo(h,b,F)}function uo(h,b,F){yo(h,b,F),Fi(h,h.sel,h.cm?h.cm.curOp.id:NaN,F)}function yo(h,b,F){(Ct(h,"beforeSelectionChange")||h.cm&&Ct(h.cm,"beforeSelectionChange"))&&(b=Lo(h,b,F));var k=F&&F.bias||(yn(b.primary().head,h.sel.primary().head)<0?-1:1);lu(h,vt(h,b,k,!0)),!(F&&F.scroll===!1)&&h.cm&&h.cm.getOption("readOnly")!="nocursor"&&ic(h.cm)}function lu(h,b){b.equals(h.sel)||(h.sel=b,h.cm&&(h.cm.curOp.updateInput=1,h.cm.curOp.selectionChanged=!0,Nt(h.cm)),Qo(h,"cursorActivity",h))}function Be(h){lu(h,vt(h,h.sel,null,!1))}function vt(h,b,F,k){for(var G,ae=0;ae<b.ranges.length;ae++){var De=b.ranges[ae],Xe=b.ranges.length==h.sel.ranges.length&&h.sel.ranges[ae],lt=Zt(h,De.anchor,Xe&&Xe.anchor,F,k),it=De.head==De.anchor?lt:Zt(h,De.head,Xe&&Xe.head,F,k);(G||lt!=De.anchor||it!=De.head)&&(G||(G=b.ranges.slice(0,ae)),G[ae]=new Ts(lt,it))}return G?Xu(h.cm,G,b.primIndex):b}function xt(h,b,F,k,G){var ae=Tt(h,b.line);if(ae.markedSpans)for(var De=0;De<ae.markedSpans.length;++De){var Xe=ae.markedSpans[De],lt=Xe.marker,it="selectLeft"in lt?!lt.selectLeft:lt.inclusiveLeft,Rn="selectRight"in lt?!lt.selectRight:lt.inclusiveRight;if((Xe.from==null||(it?Xe.from<=b.ch:Xe.from<b.ch))&&(Xe.to==null||(Rn?Xe.to>=b.ch:Xe.to>b.ch))){if(G&&(We(lt,"beforeCursorEnter"),lt.explicitlyCleared))if(ae.markedSpans){--De;continue}else break;if(!lt.atomic)continue;if(F){var Zn=lt.find(k<0?1:-1),Fr=void 0;if((k<0?Rn:it)&&(Zn=He(h,Zn,-k,Zn&&Zn.line==b.line?ae:null)),Zn&&Zn.line==b.line&&(Fr=yn(Zn,F))&&(k<0?Fr<0:Fr>0))return xt(h,Zn,b,k,G)}var Tr=lt.find(k<0?-1:1);return(k<0?it:Rn)&&(Tr=He(h,Tr,k,Tr.line==b.line?ae:null)),Tr?xt(h,Tr,b,k,G):null}}return b}function Zt(h,b,F,k,G){var ae=k||1,De=xt(h,b,F,ae,G)||!G&&xt(h,b,F,ae,!0)||xt(h,b,F,-ae,G)||!G&&xt(h,b,F,-ae,!0);return De||(h.cantEdit=!0,Lt(h.first,0))}function He(h,b,F,k){return F<0&&b.ch==0?b.line>h.first?Hr(h,Lt(b.line-1)):null:F>0&&b.ch==(k||Tt(h,b.line)).text.length?b.line<h.first+h.size-1?Lt(b.line+1,0):null:new Lt(b.line,b.ch+F)}function Pn(h){h.setSelection(Lt(h.firstLine(),0),Lt(h.lastLine()),It)}function Xn(h,b,F){var k={canceled:!1,from:b.from,to:b.to,text:b.text,origin:b.origin,cancel:function(){return k.canceled=!0}};return F&&(k.update=function(G,ae,De,Xe){G&&(k.from=Hr(h,G)),ae&&(k.to=Hr(h,ae)),De&&(k.text=De),Xe!==void 0&&(k.origin=Xe)}),We(h,"beforeChange",h,k),h.cm&&We(h.cm,"beforeChange",h.cm,k),k.canceled?(h.cm&&(h.cm.curOp.updateInput=2),null):{from:k.from,to:k.to,text:k.text,origin:k.origin}}function Qt(h,b,F){if(h.cm){if(!h.cm.curOp)return Lu(h.cm,Qt)(h,b,F);if(h.cm.state.suppressEdits)return}if(!((Ct(h,"beforeChange")||h.cm&&Ct(h.cm,"beforeChange"))&&(b=Xn(h,b,!0),!b))){var k=xr&&!F&&jn(h,b.from,b.to);if(k)for(var G=k.length-1;G>=0;--G)Bn(h,{from:k[G].from,to:k[G].to,text:G?[""]:b.text,origin:b.origin});else Bn(h,b)}}function Bn(h,b){if(!(b.text.length==1&&b.text[0]==""&&yn(b.from,b.to)==0)){var F=Is(h,b);pi(h,b,F,h.cm?h.cm.curOp.id:NaN),Er(h,b,F,Fn(h,b));var k=[];et(h,function(G,ae){!ae&&Ke(k,G.history)==-1&&(Zi(G.history,b),k.push(G.history)),Er(G,b,null,Fn(G,b))})}}function ir(h,b,F){var k=h.cm&&h.cm.state.suppressEdits;if(!(k&&!F)){for(var G=h.history,ae,De=h.sel,Xe=b=="undo"?G.done:G.undone,lt=b=="undo"?G.undone:G.done,it=0;it<Xe.length&&(ae=Xe[it],!(F?ae.ranges&&!ae.equals(h.sel):!ae.ranges));it++);if(it!=Xe.length){for(G.lastOrigin=G.lastSelOrigin=null;;)if(ae=Xe.pop(),ae.ranges){if(Ii(ae,lt),F&&!ae.equals(h.sel)){uo(h,ae,{clearRedo:!1});return}De=ae}else if(k){Xe.push(ae);return}else break;var Rn=[];Ii(De,lt),lt.push({changes:Rn,generation:G.generation}),G.generation=ae.generation||++G.maxGeneration;for(var Zn=Ct(h,"beforeChange")||h.cm&&Ct(h.cm,"beforeChange"),Fr=function(ki){var cs=ae.changes[ki];if(cs.origin=b,Zn&&!Xn(h,cs,!1))return Xe.length=0,{};Rn.push(Sr(h,cs));var qi=ki?Is(h,cs):jt(Xe);Er(h,cs,qi,Gs(h,cs)),!ki&&h.cm&&h.cm.scrollIntoView({from:cs.from,to:Go(cs)});var is=[];et(h,function(Ns,Zs){!Zs&&Ke(is,Ns.history)==-1&&(Zi(Ns.history,cs),is.push(Ns.history)),Er(Ns,cs,null,Gs(Ns,cs))})},Tr=ae.changes.length-1;Tr>=0;--Tr){var ui=Fr(Tr);if(ui)return ui.v}}}}function Pr(h,b){if(b!=0&&(h.first+=b,h.sel=new $l(sn(h.sel.ranges,function(G){return new Ts(Lt(G.anchor.line+b,G.anchor.ch),Lt(G.head.line+b,G.head.ch))}),h.sel.primIndex),h.cm)){Ta(h.cm,h.first,h.first-b,b);for(var F=h.cm.display,k=F.viewFrom;k<F.viewTo;k++)fu(h.cm,k,"gutter")}}function Er(h,b,F,k){if(h.cm&&!h.cm.curOp)return Lu(h.cm,Er)(h,b,F,k);if(b.to.line<h.first){Pr(h,b.text.length-1-(b.to.line-b.from.line));return}if(!(b.from.line>h.lastLine())){if(b.from.line<h.first){var G=b.text.length-1-(h.first-b.from.line);Pr(h,G),b={from:Lt(h.first,0),to:Lt(b.to.line+G,b.to.ch),text:[jt(b.text)],origin:b.origin}}var ae=h.lastLine();b.to.line>ae&&(b={from:b.from,to:Lt(ae,Tt(h,ae).text.length),text:[b.text[0]],origin:b.origin}),b.removed=An(h,b.from,b.to),F||(F=Is(h,b)),h.cm?Ti(h.cm,b,k):Wl(h,b,k),yo(h,F,It),h.cantEdit&&Zt(h,Lt(h.firstLine(),0))&&(h.cantEdit=!1)}}function Ti(h,b,F){var k=h.doc,G=h.display,ae=b.from,De=b.to,Xe=!1,lt=ae.line;h.options.lineWrapping||(lt=$e(za(Tt(k,ae.line))),k.iter(lt,De.line+1,function(Tr){if(Tr==G.maxLine)return Xe=!0,!0})),k.sel.contains(b.from,b.to)>-1&&Nt(h),Wl(k,b,F,Wo(h)),h.options.lineWrapping||(k.iter(lt,ae.line+b.text.length,function(Tr){var ui=hi(Tr);ui>G.maxLineLength&&(G.maxLine=Tr,G.maxLineLength=ui,G.maxLineChanged=!0,Xe=!1)}),Xe&&(h.curOp.updateMaxLine=!0)),Cr(k,ae.line),Mc(h,400);var it=b.text.length-(De.line-ae.line)-1;b.full?Ta(h):ae.line==De.line&&b.text.length==1&&!n0(h.doc,b)?fu(h,ae.line,"text"):Ta(h,ae.line,De.line+1,it);var Rn=Ct(h,"changes"),Zn=Ct(h,"change");if(Zn||Rn){var Fr={from:ae,to:De,text:b.text,removed:b.removed,origin:b.origin};Zn&&Qo(h,"change",h,Fr),Rn&&(h.curOp.changeObjs||(h.curOp.changeObjs=[])).push(Fr)}h.display.selForContextMenu=null}function ji(h,b,F,k,G){var ae;k||(k=F),yn(k,F)<0&&(ae=[k,F],F=ae[0],k=ae[1]),typeof b=="string"&&(b=h.splitLines(b)),Qt(h,{from:F,to:k,text:b,origin:G})}function Wi(h,b,F,k){F<h.line?h.line+=k:b<h.line&&(h.line=b,h.ch=0)}function ls(h,b,F,k){for(var G=0;G<h.length;++G){var ae=h[G],De=!0;if(ae.ranges){ae.copied||(ae=h[G]=ae.deepCopy(),ae.copied=!0);for(var Xe=0;Xe<ae.ranges.length;Xe++)Wi(ae.ranges[Xe].anchor,b,F,k),Wi(ae.ranges[Xe].head,b,F,k);continue}for(var lt=0;lt<ae.changes.length;++lt){var it=ae.changes[lt];if(F<it.from.line)it.from=Lt(it.from.line+k,it.from.ch),it.to=Lt(it.to.line+k,it.to.ch);else if(b<=it.to.line){De=!1;break}}De||(h.splice(0,G+1),G=0)}}function Zi(h,b){var F=b.from.line,k=b.to.line,G=b.text.length-(k-F)-1;ls(h.done,F,k,G),ls(h.undone,F,k,G)}function Qs(h,b,F,k){var G=b,ae=b;return typeof b=="number"?ae=Tt(h,ci(h,b)):G=$e(b),G==null?null:(k(ae,G)&&h.cm&&fu(h.cm,G,F),ae)}function Js(h){this.lines=h,this.parent=null;for(var b=0,F=0;F<h.length;++F)h[F].parent=this,b+=h[F].height;this.height=b}Js.prototype={chunkSize:function(){return this.lines.length},removeInner:function(h,b){for(var F=h,k=h+b;F<k;++F){var G=this.lines[F];this.height-=G.height,zi(G),Qo(G,"delete")}this.lines.splice(h,b)},collapse:function(h){h.push.apply(h,this.lines)},insertInner:function(h,b,F){this.height+=F,this.lines=this.lines.slice(0,h).concat(b).concat(this.lines.slice(h));for(var k=0;k<b.length;++k)b[k].parent=this},iterN:function(h,b,F){for(var k=h+b;h<k;++h)if(F(this.lines[h]))return!0}};function ks(h){this.children=h;for(var b=0,F=0,k=0;k<h.length;++k){var G=h[k];b+=G.chunkSize(),F+=G.height,G.parent=this}this.size=b,this.height=F,this.parent=null}ks.prototype={chunkSize:function(){return this.size},removeInner:function(h,b){this.size-=b;for(var F=0;F<this.children.length;++F){var k=this.children[F],G=k.chunkSize();if(h<G){var ae=Math.min(b,G-h),De=k.height;if(k.removeInner(h,ae),this.height-=De-k.height,G==ae&&(this.children.splice(F--,1),k.parent=null),(b-=ae)==0)break;h=0}else h-=G}if(this.size-b<25&&(this.children.length>1||!(this.children[0]instanceof Js))){var Xe=[];this.collapse(Xe),this.children=[new Js(Xe)],this.children[0].parent=this}},collapse:function(h){for(var b=0;b<this.children.length;++b)this.children[b].collapse(h)},insertInner:function(h,b,F){this.size+=b.length,this.height+=F;for(var k=0;k<this.children.length;++k){var G=this.children[k],ae=G.chunkSize();if(h<=ae){if(G.insertInner(h,b,F),G.lines&&G.lines.length>50){for(var De=G.lines.length%25+25,Xe=De;Xe<G.lines.length;){var lt=new Js(G.lines.slice(Xe,Xe+=25));G.height-=lt.height,this.children.splice(++k,0,lt),lt.parent=this}G.lines=G.lines.slice(0,De),this.maybeSpill()}break}h-=ae}},maybeSpill:function(){if(!(this.children.length<=10)){var h=this;do{var b=h.children.splice(h.children.length-5,5),F=new ks(b);if(h.parent){h.size-=F.size,h.height-=F.height;var G=Ke(h.parent.children,h);h.parent.children.splice(G+1,0,F)}else{var k=new ks(h.children);k.parent=h,h.children=[k,F],h=k}F.parent=h.parent}while(h.children.length>10);h.parent.maybeSpill()}},iterN:function(h,b,F){for(var k=0;k<this.children.length;++k){var G=this.children[k],ae=G.chunkSize();if(h<ae){var De=Math.min(b,ae-h);if(G.iterN(h,De,F))return!0;if((b-=De)==0)break;h=0}else h-=ae}}};var Hs=function(h,b,F){if(F)for(var k in F)F.hasOwnProperty(k)&&(this[k]=F[k]);this.doc=h,this.node=b};Hs.prototype.clear=function(){var h=this.doc.cm,b=this.line.widgets,F=this.line,k=$e(F);if(!(k==null||!b)){for(var G=0;G<b.length;++G)b[G]==this&&b.splice(G--,1);b.length||(F.widgets=null);var ae=Bs(this);dn(F,Math.max(0,F.height-ae)),h&&(Eu(h,function(){Ka(h,F,-ae),fu(h,k,"widget")}),Qo(h,"lineWidgetCleared",h,this,k))}},Hs.prototype.changed=function(){var h=this,b=this.height,F=this.doc.cm,k=this.line;this.height=null;var G=Bs(this)-b;G&&(di(this.doc,k)||dn(k,k.height+G),F&&Eu(F,function(){F.curOp.forceUpdate=!0,Ka(F,k,G),Qo(F,"lineWidgetChanged",F,h,$e(k))}))},tn(Hs);function Ka(h,b,F){dr(b)<(h.curOp&&h.curOp.scrollTop||h.doc.scrollTop)&&Ml(h,F)}function Ma(h,b,F,k){var G=new Hs(h,F,k),ae=h.cm;return ae&&G.noHScroll&&(ae.display.alignWidgets=!0),Qs(h,b,"widget",function(De){var Xe=De.widgets||(De.widgets=[]);if(G.insertAt==null?Xe.push(G):Xe.splice(Math.min(Xe.length,Math.max(0,G.insertAt)),0,G),G.line=De,ae&&!di(h,De)){var lt=dr(De)<h.scrollTop;dn(De,De.height+Bs(G)),lt&&Ml(ae,G.height),ae.curOp.forceUpdate=!0}return!0}),ae&&Qo(ae,"lineWidgetAdded",ae,G,typeof b=="number"?b:$e(b)),G}var no=0,ho=function(h,b){this.lines=[],this.type=b,this.doc=h,this.id=++no};ho.prototype.clear=function(){if(!this.explicitlyCleared){var h=this.doc.cm,b=h&&!h.curOp;if(b&&eu(h),Ct(this,"clear")){var F=this.find();F&&Qo(this,"clear",F.from,F.to)}for(var k=null,G=null,ae=0;ae<this.lines.length;++ae){var De=this.lines[ae],Xe=Wr(De.markedSpans,this);h&&!this.collapsed?fu(h,$e(De),"text"):h&&(Xe.to!=null&&(G=$e(De)),Xe.from!=null&&(k=$e(De))),De.markedSpans=be(De.markedSpans,Xe),Xe.from==null&&this.collapsed&&!di(this.doc,De)&&h&&dn(De,ha(h.display))}if(h&&this.collapsed&&!h.options.lineWrapping)for(var lt=0;lt<this.lines.length;++lt){var it=za(this.lines[lt]),Rn=hi(it);Rn>h.display.maxLineLength&&(h.display.maxLine=it,h.display.maxLineLength=Rn,h.display.maxLineChanged=!0)}k!=null&&h&&this.collapsed&&Ta(h,k,G+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,h&&Be(h.doc)),h&&Qo(h,"markerCleared",h,this,k,G),b&&Dl(h),this.parent&&this.parent.clear()}},ho.prototype.find=function(h,b){h==null&&this.type=="bookmark"&&(h=1);for(var F,k,G=0;G<this.lines.length;++G){var ae=this.lines[G],De=Wr(ae.markedSpans,this);if(De.from!=null&&(F=Lt(b?ae:$e(ae),De.from),h==-1))return F;if(De.to!=null&&(k=Lt(b?ae:$e(ae),De.to),h==1))return k}return F&&{from:F,to:k}},ho.prototype.changed=function(){var h=this,b=this.find(-1,!0),F=this,k=this.doc.cm;!b||!k||Eu(k,function(){var G=b.line,ae=$e(b.line),De=Ko(k,ae);if(De&&(Yc(De),k.curOp.selectionChanged=k.curOp.forceUpdate=!0),k.curOp.updateMaxLine=!0,!di(F.doc,G)&&F.height!=null){var Xe=F.height;F.height=null;var lt=Bs(F)-Xe;lt&&dn(G,G.height+lt)}Qo(k,"markerChanged",k,h)})},ho.prototype.attachLine=function(h){if(!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(!b.maybeHiddenMarkers||Ke(b.maybeHiddenMarkers,this)==-1)&&(b.maybeUnhiddenMarkers||(b.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(h)},ho.prototype.detachLine=function(h){if(this.lines.splice(Ke(this.lines,h),1),!this.lines.length&&this.doc.cm){var b=this.doc.cm.curOp;(b.maybeHiddenMarkers||(b.maybeHiddenMarkers=[])).push(this)}},tn(ho);function Bo(h,b,F,k,G){if(k&&k.shared)return Fo(h,b,F,k,G);if(h.cm&&!h.cm.curOp)return Lu(h.cm,Bo)(h,b,F,k,G);var ae=new ho(h,G),De=yn(b,F);if(k&&_e(k,ae,!1),De>0||De==0&&ae.clearWhenEmpty!==!1)return ae;if(ae.replacedWith&&(ae.collapsed=!0,ae.widgetNode=Ve("span",[ae.replacedWith],"CodeMirror-widget"),k.handleMouseEvents||ae.widgetNode.setAttribute("cm-ignore-events","true"),k.insertLeft&&(ae.widgetNode.insertLeft=!0)),ae.collapsed){if(Za(h,b.line,b,F,ae)||b.line!=F.line&&Za(h,F.line,b,F,ae))throw new Error("Inserting collapsed marker partially overlapping an existing one");vr()}ae.addToHistory&&pi(h,{from:b,to:F,origin:"markText"},h.sel,NaN);var Xe=b.line,lt=h.cm,it;if(h.iter(Xe,F.line+1,function(Zn){lt&&ae.collapsed&&!lt.options.lineWrapping&&za(Zn)==lt.display.maxLine&&(it=!0),ae.collapsed&&Xe!=b.line&&dn(Zn,0),Ue(Zn,new $r(ae,Xe==b.line?b.ch:null,Xe==F.line?F.ch:null),h.cm&&h.cm.curOp),++Xe}),ae.collapsed&&h.iter(b.line,F.line+1,function(Zn){di(h,Zn)&&dn(Zn,0)}),ae.clearOnEnter&&Et(ae,"beforeCursorEnter",function(){return ae.clear()}),ae.readOnly&&(jr(),(h.history.done.length||h.history.undone.length)&&h.clearHistory()),ae.collapsed&&(ae.id=++no,ae.atomic=!0),lt){if(it&&(lt.curOp.updateMaxLine=!0),ae.collapsed)Ta(lt,b.line,F.line+1);else if(ae.className||ae.startStyle||ae.endStyle||ae.css||ae.attributes||ae.title)for(var Rn=b.line;Rn<=F.line;Rn++)fu(lt,Rn,"text");ae.atomic&&Be(lt.doc),Qo(lt,"markerAdded",lt,ae)}return ae}var Hu=function(h,b){this.markers=h,this.primary=b;for(var F=0;F<h.length;++F)h[F].parent=this};Hu.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var h=0;h<this.markers.length;++h)this.markers[h].clear();Qo(this,"clear")}},Hu.prototype.find=function(h,b){return this.primary.find(h,b)},tn(Hu);function Fo(h,b,F,k,G){k=_e(k),k.shared=!1;var ae=[Bo(h,b,F,k,G)],De=ae[0],Xe=k.widgetNode;return et(h,function(lt){Xe&&(k.widgetNode=Xe.cloneNode(!0)),ae.push(Bo(lt,Hr(lt,b),Hr(lt,F),k,G));for(var it=0;it<lt.linked.length;++it)if(lt.linked[it].isParent)return;De=jt(ae)}),new Hu(ae,De)}function Ya(h){return h.findMarks(Lt(h.first,0),h.clipPos(Lt(h.lastLine())),function(b){return b.parent})}function Na(h,b){for(var F=0;F<b.length;F++){var k=b[F],G=k.find(),ae=h.clipPos(G.from),De=h.clipPos(G.to);if(yn(ae,De)){var Xe=Bo(h,ae,De,k.primary,k.primary.type);k.markers.push(Xe),Xe.parent=k}}}function ti(h){for(var b=function(k){var G=h[k],ae=[G.primary.doc];et(G.primary.doc,function(lt){return ae.push(lt)});for(var De=0;De<G.markers.length;De++){var Xe=G.markers[De];Ke(ae,Xe.doc)==-1&&(Xe.parent=null,G.markers.splice(De--,1))}},F=0;F<h.length;F++)b(F)}var ra=0,Ua=function(h,b,F,k,G){if(!(this instanceof Ua))return new Ua(h,b,F,k,G);F==null&&(F=0),ks.call(this,[new Js([new Di("",null)])]),this.first=F,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=F;var ae=Lt(F,0);this.sel=Iu(ae),this.history=new fr(null),this.id=++ra,this.modeOption=b,this.lineSep=k,this.direction=G=="rtl"?"rtl":"ltr",this.extend=!1,typeof h=="string"&&(h=this.splitLines(h)),Wl(this,{from:ae,to:ae,text:h}),uo(this,Iu(ae),It)};Ua.prototype=fn(ks.prototype,{constructor:Ua,iter:function(h,b,F){F?this.iterN(h-this.first,b-h,F):this.iterN(this.first,this.first+this.size,h)},insert:function(h,b){for(var F=0,k=0;k<b.length;++k)F+=b[k].height;this.insertInner(h-this.first,b,F)},remove:function(h,b){this.removeInner(h-this.first,b)},getValue:function(h){var b=on(this,this.first,this.first+this.size);return h===!1?b:b.join(h||this.lineSeparator())},setValue:rl(function(h){var b=Lt(this.first,0),F=this.first+this.size-1;Qt(this,{from:b,to:Lt(F,Tt(this,F).text.length),text:this.splitLines(h),origin:"setValue",full:!0},!0),this.cm&&Qu(this.cm,0,0),uo(this,Iu(b),It)}),replaceRange:function(h,b,F,k){b=Hr(this,b),F=F?Hr(this,F):b,ji(this,h,b,F,k)},getRange:function(h,b,F){var k=An(this,Hr(this,h),Hr(this,b));return F===!1?k:F===""?k.join(""):k.join(F||this.lineSeparator())},getLine:function(h){var b=this.getLineHandle(h);return b&&b.text},getLineHandle:function(h){if($t(this,h))return Tt(this,h)},getLineNumber:function(h){return $e(h)},getLineHandleVisualStart:function(h){return typeof h=="number"&&(h=Tt(this,h)),za(h)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(h){return Hr(this,h)},getCursor:function(h){var b=this.sel.primary(),F;return h==null||h=="head"?F=b.head:h=="anchor"?F=b.anchor:h=="end"||h=="to"||h===!1?F=b.to():F=b.from(),F},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:rl(function(h,b,F){pa(this,Hr(this,typeof h=="number"?Lt(h,b||0):h),null,F)}),setSelection:rl(function(h,b,F){pa(this,Hr(this,h),Hr(this,b||h),F)}),extendSelection:rl(function(h,b,F){oa(this,Hr(this,h),b&&Hr(this,b),F)}),extendSelections:rl(function(h,b){to(this,ct(this,h),b)}),extendSelectionsBy:rl(function(h,b){var F=sn(this.sel.ranges,h);to(this,ct(this,F),b)}),setSelections:rl(function(h,b,F){if(h.length){for(var k=[],G=0;G<h.length;G++)k[G]=new Ts(Hr(this,h[G].anchor),Hr(this,h[G].head||h[G].anchor));b==null&&(b=Math.min(h.length-1,this.sel.primIndex)),uo(this,Xu(this.cm,k,b),F)}}),addSelection:rl(function(h,b,F){var k=this.sel.ranges.slice(0);k.push(new Ts(Hr(this,h),Hr(this,b||h))),uo(this,Xu(this.cm,k,k.length-1),F)}),getSelection:function(h){for(var b=this.sel.ranges,F,k=0;k<b.length;k++){var G=An(this,b[k].from(),b[k].to());F=F?F.concat(G):G}return h===!1?F:F.join(h||this.lineSeparator())},getSelections:function(h){for(var b=[],F=this.sel.ranges,k=0;k<F.length;k++){var G=An(this,F[k].from(),F[k].to());h!==!1&&(G=G.join(h||this.lineSeparator())),b[k]=G}return b},replaceSelection:function(h,b,F){for(var k=[],G=0;G<this.sel.ranges.length;G++)k[G]=h;this.replaceSelections(k,b,F||"+input")},replaceSelections:rl(function(h,b,F){for(var k=[],G=this.sel,ae=0;ae<G.ranges.length;ae++){var De=G.ranges[ae];k[ae]={from:De.from(),to:De.to(),text:this.splitLines(h[ae]),origin:F}}for(var Xe=b&&b!="end"&&Fu(this,k,b),lt=k.length-1;lt>=0;lt--)Qt(this,k[lt]);Xe?su(this,Xe):this.cm&&ic(this.cm)}),undo:rl(function(){ir(this,"undo")}),redo:rl(function(){ir(this,"redo")}),undoSelection:rl(function(){ir(this,"undo",!0)}),redoSelection:rl(function(){ir(this,"redo",!0)}),setExtending:function(h){this.extend=h},getExtending:function(){return this.extend},historySize:function(){for(var h=this.history,b=0,F=0,k=0;k<h.done.length;k++)h.done[k].ranges||++b;for(var G=0;G<h.undone.length;G++)h.undone[G].ranges||++F;return{undo:b,redo:F}},clearHistory:function(){var h=this;this.history=new fr(this.history),et(this,function(b){return b.history=h.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(h){return h&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(h){return this.history.generation==(h||this.cleanGeneration)},getHistory:function(){return{done:Fs(this.history.done),undone:Fs(this.history.undone)}},setHistory:function(h){var b=this.history=new fr(this.history);b.done=Fs(h.done.slice(0),null,!0),b.undone=Fs(h.undone.slice(0),null,!0)},setGutterMarker:rl(function(h,b,F){return Qs(this,h,"gutter",function(k){var G=k.gutterMarkers||(k.gutterMarkers={});return G[b]=F,!F&&nn(G)&&(k.gutterMarkers=null),!0})}),clearGutter:rl(function(h){var b=this;this.iter(function(F){F.gutterMarkers&&F.gutterMarkers[h]&&Qs(b,F,"gutter",function(){return F.gutterMarkers[h]=null,nn(F.gutterMarkers)&&(F.gutterMarkers=null),!0})})}),lineInfo:function(h){var b;if(typeof h=="number"){if(!$t(this,h)||(b=h,h=Tt(this,h),!h))return null}else if(b=$e(h),b==null)return null;return{line:b,handle:h,text:h.text,gutterMarkers:h.gutterMarkers,textClass:h.textClass,bgClass:h.bgClass,wrapClass:h.wrapClass,widgets:h.widgets}},addLineClass:rl(function(h,b,F){return Qs(this,h,b=="gutter"?"gutter":"class",function(k){var G=b=="text"?"textClass":b=="background"?"bgClass":b=="gutter"?"gutterClass":"wrapClass";if(!k[G])k[G]=F;else{if(ee(F).test(k[G]))return!1;k[G]+=" "+F}return!0})}),removeLineClass:rl(function(h,b,F){return Qs(this,h,b=="gutter"?"gutter":"class",function(k){var G=b=="text"?"textClass":b=="background"?"bgClass":b=="gutter"?"gutterClass":"wrapClass",ae=k[G];if(ae)if(F==null)k[G]=null;else{var De=ae.match(ee(F));if(!De)return!1;var Xe=De.index+De[0].length;k[G]=ae.slice(0,De.index)+(!De.index||Xe==ae.length?"":" ")+ae.slice(Xe)||null}else return!1;return!0})}),addLineWidget:rl(function(h,b,F){return Ma(this,h,b,F)}),removeLineWidget:function(h){h.clear()},markText:function(h,b,F){return Bo(this,Hr(this,h),Hr(this,b),F,F&&F.type||"range")},setBookmark:function(h,b){var F={replacedWith:b&&(b.nodeType==null?b.widget:b),insertLeft:b&&b.insertLeft,clearWhenEmpty:!1,shared:b&&b.shared,handleMouseEvents:b&&b.handleMouseEvents};return h=Hr(this,h),Bo(this,h,h,F,"bookmark")},findMarksAt:function(h){h=Hr(this,h);var b=[],F=Tt(this,h.line).markedSpans;if(F)for(var k=0;k<F.length;++k){var G=F[k];(G.from==null||G.from<=h.ch)&&(G.to==null||G.to>=h.ch)&&b.push(G.marker.parent||G.marker)}return b},findMarks:function(h,b,F){h=Hr(this,h),b=Hr(this,b);var k=[],G=h.line;return this.iter(h.line,b.line+1,function(ae){var De=ae.markedSpans;if(De)for(var Xe=0;Xe<De.length;Xe++){var lt=De[Xe];!(lt.to!=null&&G==h.line&&h.ch>=lt.to||lt.from==null&&G!=h.line||lt.from!=null&&G==b.line&&lt.from>=b.ch)&&(!F||F(lt.marker))&&k.push(lt.marker.parent||lt.marker)}++G}),k},getAllMarks:function(){var h=[];return this.iter(function(b){var F=b.markedSpans;if(F)for(var k=0;k<F.length;++k)F[k].from!=null&&h.push(F[k].marker)}),h},posFromIndex:function(h){var b,F=this.first,k=this.lineSeparator().length;return this.iter(function(G){var ae=G.text.length+k;if(ae>h)return b=h,!0;h-=ae,++F}),Hr(this,Lt(F,b))},indexFromPos:function(h){h=Hr(this,h);var b=h.ch;if(h.line<this.first||h.ch<0)return 0;var F=this.lineSeparator().length;return this.iter(this.first,h.line,function(k){b+=k.text.length+F}),b},copy:function(h){var b=new Ua(on(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return b.scrollTop=this.scrollTop,b.scrollLeft=this.scrollLeft,b.sel=this.sel,b.extend=!1,h&&(b.history.undoDepth=this.history.undoDepth,b.setHistory(this.getHistory())),b},linkedDoc:function(h){h||(h={});var b=this.first,F=this.first+this.size;h.from!=null&&h.from>b&&(b=h.from),h.to!=null&&h.to<F&&(F=h.to);var k=new Ua(on(this,b,F),h.mode||this.modeOption,b,this.lineSep,this.direction);return h.sharedHist&&(k.history=this.history),(this.linked||(this.linked=[])).push({doc:k,sharedHist:h.sharedHist}),k.linked=[{doc:this,isParent:!0,sharedHist:h.sharedHist}],Na(k,Ya(this)),k},unlinkDoc:function(h){if(h instanceof yl&&(h=h.doc),this.linked)for(var b=0;b<this.linked.length;++b){var F=this.linked[b];if(F.doc==h){this.linked.splice(b,1),h.unlinkDoc(this),ti(Ya(this));break}}if(h.history==this.history){var k=[h.id];et(h,function(G){return k.push(G.id)},!0),h.history=new fr(null),h.history.done=Fs(this.history.done,k),h.history.undone=Fs(this.history.undone,k)}},iterLinkedDocs:function(h){et(this,h)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(h){return this.lineSep?h.split(this.lineSep):$n(h)},lineSeparator:function(){return this.lineSep||`
`},setDirection:rl(function(h){h!="rtl"&&(h="ltr"),h!=this.direction&&(this.direction=h,this.iter(function(b){return b.order=null}),this.cm&&Kn(this.cm))})}),Ua.prototype.eachLine=Ua.prototype.iter;var fl=0;function Ol(h){var b=this;if(Hc(b),!(gt(b,h)||Xs(b.display,h))){ge(h),v&&(fl=+new Date);var F=Io(b,h,!0),k=h.dataTransfer.files;if(!(!F||b.isReadOnly()))if(k&&k.length&&window.FileReader&&window.File)for(var G=k.length,ae=Array(G),De=0,Xe=function(){++De==G&&Lu(b,function(){F=Hr(b.doc,F);var Tr={from:F,to:F,text:b.doc.splitLines(ae.filter(function(ui){return ui!=null}).join(b.doc.lineSeparator())),origin:"paste"};Qt(b.doc,Tr),su(b.doc,Iu(Hr(b.doc,F),Hr(b.doc,Go(Tr))))})()},lt=function(Tr,ui){if(b.options.allowDropFileTypes&&Ke(b.options.allowDropFileTypes,Tr.type)==-1){Xe();return}var ki=new FileReader;ki.onerror=function(){return Xe()},ki.onload=function(){var cs=ki.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(cs)){Xe();return}ae[ui]=cs,Xe()},ki.readAsText(Tr)},it=0;it<k.length;it++)lt(k[it],it);else{if(b.state.draggingText&&b.doc.sel.contains(F)>-1){b.state.draggingText(h),setTimeout(function(){return b.display.input.focus()},20);return}try{var Rn=h.dataTransfer.getData("Text");if(Rn){var Zn;if(b.state.draggingText&&!b.state.draggingText.copy&&(Zn=b.listSelections()),yo(b.doc,Iu(F,F)),Zn)for(var Fr=0;Fr<Zn.length;++Fr)ji(b.doc,"",Zn[Fr].anchor,Zn[Fr].head,"drag");b.replaceSelection(Rn,"around","paste"),b.display.input.focus()}}catch{}}}}function Ba(h,b){if(v&&(!h.state.draggingText||+new Date-fl<100)){xn(b);return}if(!(gt(h,b)||Xs(h.display,b))&&(b.dataTransfer.setData("Text",h.getSelection()),b.dataTransfer.effectAllowed="copyMove",b.dataTransfer.setDragImage&&!O)){var F=le("img",null,null,"position: fixed; left: 0; top: 0;");F.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",M&&(F.width=F.height=1,h.display.wrapper.appendChild(F),F._top=F.offsetTop),b.dataTransfer.setDragImage(F,0,0),M&&F.parentNode.removeChild(F)}}function mc(h,b){var F=Io(h,b);if(F){var k=document.createDocumentFragment();Xc(h,F,k),h.display.dragCursor||(h.display.dragCursor=le("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),h.display.lineSpace.insertBefore(h.display.dragCursor,h.display.cursorDiv)),fe(h.display.dragCursor,k)}}function Hc(h){h.display.dragCursor&&(h.display.lineSpace.removeChild(h.display.dragCursor),h.display.dragCursor=null)}function sl(h){if(document.getElementsByClassName){for(var b=document.getElementsByClassName("CodeMirror"),F=[],k=0;k<b.length;k++){var G=b[k].CodeMirror;G&&F.push(G)}F.length&&F[0].operation(function(){for(var ae=0;ae<F.length;ae++)h(F[ae])})}}var _u=!1;function zs(){_u||(Ju(),_u=!0)}function Ju(){var h;Et(window,"resize",function(){h==null&&(h=setTimeout(function(){h=null,sl(Vo)},100))}),Et(window,"blur",function(){return sl(Ra)})}function Vo(h){var b=h.display;b.cachedCharWidth=b.cachedTextHeight=b.cachedPaddingH=null,b.scrollbarsClipped=!1,h.setSize()}for(var Ao={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},ku=0;ku<10;ku++)Ao[ku+48]=Ao[ku+96]=String(ku);for(var x0=65;x0<=90;x0++)Ao[x0]=String.fromCharCode(x0);for(var Ar=1;Ar<=12;Ar++)Ao[Ar+111]=Ao[Ar+63235]="F"+Ar;var yu={};yu.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},yu.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},yu.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},yu.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},yu.default=X?yu.macDefault:yu.pcDefault;function Zd(h){var b=h.split(/-(?!$)/);h=b[b.length-1];for(var F,k,G,ae,De=0;De<b.length-1;De++){var Xe=b[De];if(/^(cmd|meta|m)$/i.test(Xe))ae=!0;else if(/^a(lt)?$/i.test(Xe))F=!0;else if(/^(c|ctrl|control)$/i.test(Xe))k=!0;else if(/^s(hift)?$/i.test(Xe))G=!0;else throw new Error("Unrecognized modifier name: "+Xe)}return F&&(h="Alt-"+h),k&&(h="Ctrl-"+h),ae&&(h="Cmd-"+h),G&&(h="Shift-"+h),h}function Rl(h){var b={};for(var F in h)if(h.hasOwnProperty(F)){var k=h[F];if(/^(name|fallthrough|(de|at)tach)$/.test(F))continue;if(k=="..."){delete h[F];continue}for(var G=sn(F.split(" "),Zd),ae=0;ae<G.length;ae++){var De=void 0,Xe=void 0;ae==G.length-1?(Xe=G.join(" "),De=k):(Xe=G.slice(0,ae+1).join(" "),De="...");var lt=b[Xe];if(!lt)b[Xe]=De;else if(lt!=De)throw new Error("Inconsistent bindings for "+Xe)}delete h[F]}for(var it in b)h[it]=b[it];return h}function F0(h,b,F,k){b=Du(b);var G=b.call?b.call(h,k):b[h];if(G===!1)return"nothing";if(G==="...")return"multi";if(G!=null&&F(G))return"handled";if(b.fallthrough){if(Object.prototype.toString.call(b.fallthrough)!="[object Array]")return F0(h,b.fallthrough,F,k);for(var ae=0;ae<b.fallthrough.length;ae++){var De=F0(h,b.fallthrough[ae],F,k);if(De)return De}}}function Md(h){var b=typeof h=="string"?h:Ao[h.keyCode];return b=="Ctrl"||b=="Alt"||b=="Shift"||b=="Mod"}function yf(h,b,F){var k=h;return b.altKey&&k!="Alt"&&(h="Alt-"+h),(Z?b.metaKey:b.ctrlKey)&&k!="Ctrl"&&(h="Ctrl-"+h),(Z?b.ctrlKey:b.metaKey)&&k!="Mod"&&(h="Cmd-"+h),!F&&b.shiftKey&&k!="Shift"&&(h="Shift-"+h),h}function ac(h,b){if(M&&h.keyCode==34&&h.char)return!1;var F=Ao[h.keyCode];return F==null||h.altGraphKey?!1:(h.keyCode==3&&h.code&&(F=h.code),yf(F,h,b))}function Du(h){return typeof h=="string"?yu[h]:h}function h0(h,b){for(var F=h.doc.sel.ranges,k=[],G=0;G<F.length;G++){for(var ae=b(F[G]);k.length&&yn(ae.from,jt(k).to)<=0;){var De=k.pop();if(yn(De.from,ae.from)<0){ae.from=De.from;break}}k.push(ae)}Eu(h,function(){for(var Xe=k.length-1;Xe>=0;Xe--)ji(h.doc,"",k[Xe].from,k[Xe].to,"+delete");ic(h)})}function Ll(h,b,F){var k=Sn(h.text,b+F,F);return k<0||k>h.text.length?null:k}function Au(h,b,F){var k=Ll(h,b.ch,F);return k==null?null:new Lt(b.line,k,F<0?"after":"before")}function _d(h,b,F,k,G){if(h){b.doc.direction=="rtl"&&(G=-G);var ae=oe(F,b.doc.direction);if(ae){var De=G<0?jt(ae):ae[0],Xe=G<0==(De.level==1),lt=Xe?"after":"before",it;if(De.level>0||b.doc.direction=="rtl"){var Rn=Yl(b,F);it=G<0?F.text.length-1:0;var Zn=gu(b,Rn,it).top;it=Hn(function(Fr){return gu(b,Rn,Fr).top==Zn},G<0==(De.level==1)?De.from:De.to-1,it),lt=="before"&&(it=Ll(F,it,1))}else it=G<0?De.to:De.from;return new Lt(k,it,lt)}}return new Lt(k,G<0?F.text.length:0,G<0?"before":"after")}function Jl(h,b,F,k){var G=oe(b,h.doc.direction);if(!G)return Au(b,F,k);F.ch>=b.text.length?(F.ch=b.text.length,F.sticky="before"):F.ch<=0&&(F.ch=0,F.sticky="after");var ae=Cn(G,F.ch,F.sticky),De=G[ae];if(h.doc.direction=="ltr"&&De.level%2==0&&(k>0?De.to>F.ch:De.from<F.ch))return Au(b,F,k);var Xe=function(qi,is){return Ll(b,qi instanceof Lt?qi.ch:qi,is)},lt,it=function(qi){return h.options.lineWrapping?(lt=lt||Yl(h,b),Yi(h,b,lt,qi)):{begin:0,end:b.text.length}},Rn=it(F.sticky=="before"?Xe(F,-1):F.ch);if(h.doc.direction=="rtl"||De.level==1){var Zn=De.level==1==k<0,Fr=Xe(F,Zn?1:-1);if(Fr!=null&&(Zn?Fr<=De.to&&Fr<=Rn.end:Fr>=De.from&&Fr>=Rn.begin)){var Tr=Zn?"before":"after";return new Lt(F.line,Fr,Tr)}}var ui=function(qi,is,Ns){for(var Zs=function(So,wl){return wl?new Lt(F.line,Xe(So,1),"before"):new Lt(F.line,So,"after")};qi>=0&&qi<G.length;qi+=is){var wa=G[qi],qs=is>0==(wa.level!=1),ao=qs?Ns.begin:Xe(Ns.end,-1);if(wa.from<=ao&&ao<wa.to||(ao=qs?wa.from:Xe(wa.to,-1),Ns.begin<=ao&&ao<Ns.end))return Zs(ao,qs)}},ki=ui(ae+k,k,Rn);if(ki)return ki;var cs=k>0?Rn.end:Xe(Rn.begin,-1);return cs!=null&&!(k>0&&cs==b.text.length)&&(ki=ui(k>0?0:G.length-1,k,it(cs)),ki)?ki:null}var xi={selectAll:Pn,singleSelection:function(h){return h.setSelection(h.getCursor("anchor"),h.getCursor("head"),It)},killLine:function(h){return h0(h,function(b){if(b.empty()){var F=Tt(h.doc,b.head.line).text.length;return b.head.ch==F&&b.head.line<h.lastLine()?{from:b.head,to:Lt(b.head.line+1,0)}:{from:b.head,to:Lt(b.head.line,F)}}else return{from:b.from(),to:b.to()}})},deleteLine:function(h){return h0(h,function(b){return{from:Lt(b.from().line,0),to:Hr(h.doc,Lt(b.to().line+1,0))}})},delLineLeft:function(h){return h0(h,function(b){return{from:Lt(b.from().line,0),to:b.from()}})},delWrappedLineLeft:function(h){return h0(h,function(b){var F=h.charCoords(b.head,"div").top+5,k=h.coordsChar({left:0,top:F},"div");return{from:k,to:b.from()}})},delWrappedLineRight:function(h){return h0(h,function(b){var F=h.charCoords(b.head,"div").top+5,k=h.coordsChar({left:h.display.lineDiv.offsetWidth+100,top:F},"div");return{from:b.from(),to:k}})},undo:function(h){return h.undo()},redo:function(h){return h.redo()},undoSelection:function(h){return h.undoSelection()},redoSelection:function(h){return h.redoSelection()},goDocStart:function(h){return h.extendSelection(Lt(h.firstLine(),0))},goDocEnd:function(h){return h.extendSelection(Lt(h.lastLine()))},goLineStart:function(h){return h.extendSelectionsBy(function(b){return Tc(h,b.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(h){return h.extendSelectionsBy(function(b){return Nf(h,b.head)},{origin:"+move",bias:1})},goLineEnd:function(h){return h.extendSelectionsBy(function(b){return Us(h,b.head.line)},{origin:"+move",bias:-1})},goLineRight:function(h){return h.extendSelectionsBy(function(b){var F=h.cursorCoords(b.head,"div").top+5;return h.coordsChar({left:h.display.lineDiv.offsetWidth+100,top:F},"div")},zt)},goLineLeft:function(h){return h.extendSelectionsBy(function(b){var F=h.cursorCoords(b.head,"div").top+5;return h.coordsChar({left:0,top:F},"div")},zt)},goLineLeftSmart:function(h){return h.extendSelectionsBy(function(b){var F=h.cursorCoords(b.head,"div").top+5,k=h.coordsChar({left:0,top:F},"div");return k.ch<h.getLine(k.line).search(/\S/)?Nf(h,b.head):k},zt)},goLineUp:function(h){return h.moveV(-1,"line")},goLineDown:function(h){return h.moveV(1,"line")},goPageUp:function(h){return h.moveV(-1,"page")},goPageDown:function(h){return h.moveV(1,"page")},goCharLeft:function(h){return h.moveH(-1,"char")},goCharRight:function(h){return h.moveH(1,"char")},goColumnLeft:function(h){return h.moveH(-1,"column")},goColumnRight:function(h){return h.moveH(1,"column")},goWordLeft:function(h){return h.moveH(-1,"word")},goGroupRight:function(h){return h.moveH(1,"group")},goGroupLeft:function(h){return h.moveH(-1,"group")},goWordRight:function(h){return h.moveH(1,"word")},delCharBefore:function(h){return h.deleteH(-1,"codepoint")},delCharAfter:function(h){return h.deleteH(1,"char")},delWordBefore:function(h){return h.deleteH(-1,"word")},delWordAfter:function(h){return h.deleteH(1,"word")},delGroupBefore:function(h){return h.deleteH(-1,"group")},delGroupAfter:function(h){return h.deleteH(1,"group")},indentAuto:function(h){return h.indentSelection("smart")},indentMore:function(h){return h.indentSelection("add")},indentLess:function(h){return h.indentSelection("subtract")},insertTab:function(h){return h.replaceSelection("	")},insertSoftTab:function(h){for(var b=[],F=h.listSelections(),k=h.options.tabSize,G=0;G<F.length;G++){var ae=F[G].from(),De=Ne(h.getLine(ae.line),ae.ch,k);b.push(Xt(k-De%k))}h.replaceSelections(b)},defaultTab:function(h){h.somethingSelected()?h.indentSelection("add"):h.execCommand("insertTab")},transposeChars:function(h){return Eu(h,function(){for(var b=h.listSelections(),F=[],k=0;k<b.length;k++)if(b[k].empty()){var G=b[k].head,ae=Tt(h.doc,G.line).text;if(ae){if(G.ch==ae.length&&(G=new Lt(G.line,G.ch-1)),G.ch>0)G=new Lt(G.line,G.ch+1),h.replaceRange(ae.charAt(G.ch-1)+ae.charAt(G.ch-2),Lt(G.line,G.ch-2),G,"+transpose");else if(G.line>h.doc.first){var De=Tt(h.doc,G.line-1).text;De&&(G=new Lt(G.line,1),h.replaceRange(ae.charAt(0)+h.doc.lineSeparator()+De.charAt(De.length-1),Lt(G.line-1,De.length-1),G,"+transpose"))}}F.push(new Ts(G,G))}h.setSelections(F)})},newlineAndIndent:function(h){return Eu(h,function(){for(var b=h.listSelections(),F=b.length-1;F>=0;F--)h.replaceRange(h.doc.lineSeparator(),b[F].anchor,b[F].head,"+input");b=h.listSelections();for(var k=0;k<b.length;k++)h.indentLine(b[k].from().line,null,!0);ic(h)})},openLine:function(h){return h.replaceSelection(`
`,"start")},toggleOverwrite:function(h){return h.toggleOverwrite()}};function Tc(h,b){var F=Tt(h.doc,b),k=za(F);return k!=F&&(b=$e(k)),_d(!0,h,k,b,1)}function Us(h,b){var F=Tt(h.doc,b),k=wo(F);return k!=F&&(b=$e(k)),_d(!0,h,F,b,-1)}function Nf(h,b){var F=Tc(h,b.line),k=Tt(h.doc,F.line),G=oe(k,h.doc.direction);if(!G||G[0].level==0){var ae=Math.max(F.ch,k.text.search(/\S/)),De=b.line==F.line&&b.ch<=ae&&b.ch;return Lt(F.line,De?0:ae,F.sticky)}return F}function yd(h,b,F){if(typeof b=="string"&&(b=xi[b],!b))return!1;h.display.input.ensurePolled();var k=h.display.shift,G=!1;try{h.isReadOnly()&&(h.state.suppressEdits=!0),F&&(h.display.shift=!1),G=b(h)!=yt}finally{h.display.shift=k,h.state.suppressEdits=!1}return G}function Pf(h,b,F){for(var k=0;k<h.state.keyMaps.length;k++){var G=F0(b,h.state.keyMaps[k],F,h);if(G)return G}return h.options.extraKeys&&F0(b,h.options.extraKeys,F,h)||F0(b,h.options.keyMap,F,h)}var gs=new Le;function bd(h,b,F,k){var G=h.state.keySeq;if(G){if(Md(b))return"handled";if(/\'$/.test(b)?h.state.keySeq=null:gs.set(50,function(){h.state.keySeq==G&&(h.state.keySeq=null,h.display.input.reset())}),qu(h,G+" "+b,F,k))return!0}return qu(h,b,F,k)}function qu(h,b,F,k){var G=Pf(h,b,k);return G=="multi"&&(h.state.keySeq=b),G=="handled"&&Qo(h,"keyHandled",h,b,F),(G=="handled"||G=="multi")&&(ge(F),B0(h)),!!G}function p0(h,b){var F=ac(b,!0);return F?b.shiftKey&&!h.state.keySeq?bd(h,"Shift-"+F,b,function(k){return yd(h,k,!0)})||bd(h,F,b,function(k){if(typeof k=="string"?/^go[A-Z]/.test(k):k.motion)return yd(h,k)}):bd(h,F,b,function(k){return yd(h,k)}):!1}function bf(h,b,F){return bd(h,"'"+F+"'",b,function(k){return yd(h,k,!0)})}var cu=null;function Dt(h){var b=this;if(!(h.target&&h.target!=b.display.input.getField())&&(b.curOp.focus=ye(Ge(b)),!gt(b,h))){v&&_<11&&h.keyCode==27&&(h.returnValue=!1);var F=h.keyCode;b.display.shift=F==16||h.shiftKey;var k=p0(b,h);M&&(cu=k?F:null,!k&&F==88&&!Jr&&(X?h.metaKey:h.ctrlKey)&&b.replaceSelection("",null,"cut")),i&&!X&&!k&&F==46&&h.shiftKey&&!h.ctrlKey&&document.execCommand&&document.execCommand("cut"),F==18&&!/\bCodeMirror-crosshair\b/.test(b.display.lineDiv.className)&&gc(b)}}function gc(h){var b=h.display.lineDiv;Ae(b,"CodeMirror-crosshair");function F(k){(k.keyCode==18||!k.altKey)&&(re(b,"CodeMirror-crosshair"),Re(document,"keyup",F),Re(document,"mouseover",F))}Et(document,"keyup",F),Et(document,"mouseover",F)}function O0(h){h.keyCode==16&&(this.doc.sel.shift=!1),gt(this,h)}function sf(h){var b=this;if(!(h.target&&h.target!=b.display.input.getField())&&!(Xs(b.display,h)||gt(b,h)||h.ctrlKey&&!h.altKey||X&&h.metaKey)){var F=h.keyCode,k=h.charCode;if(M&&F==cu){cu=null,ge(h);return}if(!(M&&(!h.which||h.which<10)&&p0(b,h))){var G=String.fromCharCode(k??F);G!="\b"&&(bf(b,h,G)||b.display.input.onKeyPress(h))}}}var Bl=400,ro=function(h,b,F){this.time=h,this.pos=b,this.button=F};ro.prototype.compare=function(h,b,F){return this.time+Bl>h&&yn(b,this.pos)==0&&F==this.button};var Nd,hl;function zh(h,b){var F=+new Date;return hl&&hl.compare(F,h,b)?(Nd=hl=null,"triple"):Nd&&Nd.compare(F,h,b)?(hl=new ro(F,h,b),Nd=null,"double"):(Nd=new ro(F,h,b),hl=null,"single")}function Cd(h){var b=this,F=b.display;if(!(gt(b,h)||F.activeTouch&&F.input.supportsTouch())){if(F.input.ensurePolled(),F.shift=h.shiftKey,Xs(F,h)){T||(F.scroller.draggable=!1,setTimeout(function(){return F.scroller.draggable=!0},100));return}if(!Ld(b,h)){var k=Io(b,h),G=gr(h),ae=k?zh(k,G):"single";pe(b).focus(),G==1&&b.state.selectingText&&b.state.selectingText(h),!(k&&Pd(b,G,k,ae,h))&&(G==1?k?Ca(b,k,ae,h):Un(h)==F.scroller&&ge(h):G==2?(k&&oa(b.doc,k),setTimeout(function(){return F.input.focus()},20)):G==3&&(J?b.display.input.onContextMenu(h):z0(b)))}}}function Pd(h,b,F,k,G){var ae="Click";return k=="double"?ae="Double"+ae:k=="triple"&&(ae="Triple"+ae),ae=(b==1?"Left":b==2?"Middle":"Right")+ae,bd(h,yf(ae,G),G,function(De){if(typeof De=="string"&&(De=xi[De]),!De)return!1;var Xe=!1;try{h.isReadOnly()&&(h.state.suppressEdits=!0),Xe=De(h,F)!=yt}finally{h.state.suppressEdits=!1}return Xe})}function nd(h,b,F){var k=h.getOption("configureMouse"),G=k?k(h,b,F):{};if(G.unit==null){var ae=Q?F.shiftKey&&F.metaKey:F.altKey;G.unit=ae?"rectangle":b=="single"?"char":b=="double"?"word":"line"}return(G.extend==null||h.doc.extend)&&(G.extend=h.doc.extend||F.shiftKey),G.addNew==null&&(G.addNew=X?F.metaKey:F.ctrlKey),G.moveOnDrag==null&&(G.moveOnDrag=!(X?F.altKey:F.ctrlKey)),G}function Ca(h,b,F,k){v?setTimeout(Se(Tl,h),0):h.curOp.focus=ye(Ge(h));var G=nd(h,F,k),ae=h.doc.sel,De;h.options.dragDrop&&Ur&&!h.isReadOnly()&&F=="single"&&(De=ae.contains(b))>-1&&(yn((De=ae.ranges[De]).from(),b)<0||b.xRel>0)&&(yn(De.to(),b)>0||b.xRel<0)?Gu(h,k,b,G):ud(h,k,b,G)}function Gu(h,b,F,k){var G=h.display,ae=!1,De=Lu(h,function(it){T&&(G.scroller.draggable=!1),h.state.draggingText=!1,h.state.delayingBlurEvent&&(h.hasFocus()?h.state.delayingBlurEvent=!1:z0(h)),Re(G.wrapper.ownerDocument,"mouseup",De),Re(G.wrapper.ownerDocument,"mousemove",Xe),Re(G.scroller,"dragstart",lt),Re(G.scroller,"drop",De),ae||(ge(it),k.addNew||oa(h.doc,F,null,null,k.extend),T&&!O||v&&_==9?setTimeout(function(){G.wrapper.ownerDocument.body.focus({preventScroll:!0}),G.input.focus()},20):G.input.focus())}),Xe=function(it){ae=ae||Math.abs(b.clientX-it.clientX)+Math.abs(b.clientY-it.clientY)>=10},lt=function(){return ae=!0};T&&(G.scroller.draggable=!0),h.state.draggingText=De,De.copy=!k.moveOnDrag,Et(G.wrapper.ownerDocument,"mouseup",De),Et(G.wrapper.ownerDocument,"mousemove",Xe),Et(G.scroller,"dragstart",lt),Et(G.scroller,"drop",De),h.state.delayingBlurEvent=!0,setTimeout(function(){return G.input.focus()},20),G.scroller.dragDrop&&G.scroller.dragDrop()}function vc(h,b,F){if(F=="char")return new Ts(b,b);if(F=="word")return h.findWordAt(b);if(F=="line")return new Ts(Lt(b.line,0),Hr(h.doc,Lt(b.line+1,0)));var k=F(h,b);return new Ts(k.from,k.to)}function ud(h,b,F,k){v&&z0(h);var G=h.display,ae=h.doc;ge(b);var De,Xe,lt=ae.sel,it=lt.ranges;if(k.addNew&&!k.extend?(Xe=ae.sel.contains(F),Xe>-1?De=it[Xe]:De=new Ts(F,F)):(De=ae.sel.primary(),Xe=ae.sel.primIndex),k.unit=="rectangle")k.addNew||(De=new Ts(F,F)),F=Io(h,b,!0,!0),Xe=-1;else{var Rn=vc(h,F,k.unit);k.extend?De=$s(De,Rn.anchor,Rn.head,k.extend):De=Rn}k.addNew?Xe==-1?(Xe=it.length,uo(ae,Xu(h,it.concat([De]),Xe),{scroll:!1,origin:"*mouse"})):it.length>1&&it[Xe].empty()&&k.unit=="char"&&!k.extend?(uo(ae,Xu(h,it.slice(0,Xe).concat(it.slice(Xe+1)),0),{scroll:!1,origin:"*mouse"}),lt=ae.sel):ba(ae,Xe,De,_t):(Xe=0,uo(ae,new $l([De],0),_t),lt=ae.sel);var Zn=F;function Fr(Ns){if(yn(Zn,Ns)!=0)if(Zn=Ns,k.unit=="rectangle"){for(var Zs=[],wa=h.options.tabSize,qs=Ne(Tt(ae,F.line).text,F.ch,wa),ao=Ne(Tt(ae,Ns.line).text,Ns.ch,wa),So=Math.min(qs,ao),wl=Math.max(qs,ao),Uu=Math.min(F.line,Ns.line),pl=Math.min(h.lastLine(),Math.max(F.line,Ns.line));Uu<=pl;Uu++){var Dc=Tt(ae,Uu).text,xu=Vt(Dc,So,wa);So==wl?Zs.push(new Ts(Lt(Uu,xu),Lt(Uu,xu))):Dc.length>xu&&Zs.push(new Ts(Lt(Uu,xu),Lt(Uu,Vt(Dc,wl,wa))))}Zs.length||Zs.push(new Ts(F,F)),uo(ae,Xu(h,lt.ranges.slice(0,Xe).concat(Zs),Xe),{origin:"*mouse",scroll:!1}),h.scrollIntoView(Ns)}else{var Bc=De,oc=vc(h,Ns,k.unit),al=Bc.anchor,ju;yn(oc.anchor,al)>0?(ju=oc.head,al=Xr(Bc.from(),oc.anchor)):(ju=oc.anchor,al=Rr(Bc.to(),oc.head));var ml=lt.ranges.slice(0);ml[Xe]=Xd(h,new Ts(Hr(ae,al),ju)),uo(ae,Xu(h,ml,Xe),_t)}}var Tr=G.wrapper.getBoundingClientRect(),ui=0;function ki(Ns){var Zs=++ui,wa=Io(h,Ns,!0,k.unit=="rectangle");if(wa)if(yn(wa,Zn)!=0){h.curOp.focus=ye(Ge(h)),Fr(wa);var qs=cl(G,ae);(wa.line>=qs.to||wa.line<qs.from)&&setTimeout(Lu(h,function(){ui==Zs&&ki(Ns)}),150)}else{var ao=Ns.clientY<Tr.top?-20:Ns.clientY>Tr.bottom?20:0;ao&&setTimeout(Lu(h,function(){ui==Zs&&(G.scroller.scrollTop+=ao,ki(Ns))}),50)}}function cs(Ns){h.state.selectingText=!1,ui=1/0,Ns&&(ge(Ns),G.input.focus()),Re(G.wrapper.ownerDocument,"mousemove",qi),Re(G.wrapper.ownerDocument,"mouseup",is),ae.history.lastSelOrigin=null}var qi=Lu(h,function(Ns){Ns.buttons===0||!gr(Ns)?cs(Ns):ki(Ns)}),is=Lu(h,cs);h.state.selectingText=is,Et(G.wrapper.ownerDocument,"mousemove",qi),Et(G.wrapper.ownerDocument,"mouseup",is)}function Xd(h,b){var F=b.anchor,k=b.head,G=Tt(h.doc,F.line);if(yn(F,k)==0&&F.sticky==k.sticky)return b;var ae=oe(G);if(!ae)return b;var De=Cn(ae,F.ch,F.sticky),Xe=ae[De];if(Xe.from!=F.ch&&Xe.to!=F.ch)return b;var lt=De+(Xe.from==F.ch==(Xe.level!=1)?0:1);if(lt==0||lt==ae.length)return b;var it;if(k.line!=F.line)it=(k.line-F.line)*(h.doc.direction=="ltr"?1:-1)>0;else{var Rn=Cn(ae,k.ch,k.sticky),Zn=Rn-De||(k.ch-F.ch)*(Xe.level==1?-1:1);Rn==lt-1||Rn==lt?it=Zn<0:it=Zn>0}var Fr=ae[lt+(it?-1:0)],Tr=it==(Fr.level==1),ui=Tr?Fr.from:Fr.to,ki=Tr?"after":"before";return F.ch==ui&&F.sticky==ki?b:new Ts(new Lt(F.line,ui,ki),k)}function Lf(h,b,F,k){var G,ae;if(b.touches)G=b.touches[0].clientX,ae=b.touches[0].clientY;else try{G=b.clientX,ae=b.clientY}catch{return!1}if(G>=Math.floor(h.display.gutters.getBoundingClientRect().right))return!1;k&&ge(b);var De=h.display,Xe=De.lineDiv.getBoundingClientRect();if(ae>Xe.bottom||!Ct(h,F))return mn(b);ae-=Xe.top-De.viewOffset;for(var lt=0;lt<h.display.gutterSpecs.length;++lt){var it=De.gutters.childNodes[lt];if(it&&it.getBoundingClientRect().right>=G){var Rn=Yt(h.doc,ae),Zn=h.display.gutterSpecs[lt];return We(h,F,h,Rn,Zn.className,b),mn(b)}}}function Ld(h,b){return Lf(h,b,"gutterClick",!0)}function K0(h,b){Xs(h.display,b)||af(h,b)||gt(h,b,"contextmenu")||J||h.display.input.onContextMenu(b)}function af(h,b){return Ct(h,"gutterContextMenu")?Lf(h,b,"gutterContextMenu",!1):!1}function Y0(h){h.display.wrapper.className=h.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+h.options.theme.replace(/(^|\s)\s*/g," cm-s-"),bc(h)}var rd={toString:function(){return"CodeMirror.Init"}},r0={},Bd={};function Co(h){var b=h.optionHandlers;function F(k,G,ae,De){h.defaults[k]=G,ae&&(b[k]=De?function(Xe,lt,it){it!=rd&&ae(Xe,lt,it)}:ae)}h.defineOption=F,h.Init=rd,F("value","",function(k,G){return k.setValue(G)},!0),F("mode",null,function(k,G){k.doc.modeOption=G,na(k)},!0),F("indentUnit",2,na,!0),F("indentWithTabs",!1),F("smartIndent",!0),F("tabSize",4,function(k){pc(k),bc(k),Ta(k)},!0),F("lineSeparator",null,function(k,G){if(k.doc.lineSep=G,!!G){var ae=[],De=k.doc.first;k.doc.iter(function(lt){for(var it=0;;){var Rn=lt.text.indexOf(G,it);if(Rn==-1)break;it=Rn+G.length,ae.push(Lt(De,Rn))}De++});for(var Xe=ae.length-1;Xe>=0;Xe--)ji(k.doc,G,ae[Xe],Lt(ae[Xe].line,ae[Xe].ch+G.length))}}),F("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(k,G,ae){k.state.specialChars=new RegExp(G.source+(G.test("	")?"":"|	"),"g"),ae!=rd&&k.refresh()}),F("specialCharPlaceholder",ns,function(k){return k.refresh()},!0),F("electricChars",!0),F("inputStyle",W?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),F("spellcheck",!1,function(k,G){return k.getInputField().spellcheck=G},!0),F("autocorrect",!1,function(k,G){return k.getInputField().autocorrect=G},!0),F("autocapitalize",!1,function(k,G){return k.getInputField().autocapitalize=G},!0),F("rtlMoveVisually",!K),F("wholeLineUpdateBefore",!0),F("theme","default",function(k){Y0(k),Wc(k)},!0),F("keyMap","default",function(k,G,ae){var De=Du(G),Xe=ae!=rd&&Du(ae);Xe&&Xe.detach&&Xe.detach(k,De),De.attach&&De.attach(k,Xe||null)}),F("extraKeys",null),F("configureMouse",null),F("lineWrapping",!1,qf,!0),F("gutters",[],function(k,G){k.display.gutterSpecs=il(G,k.options.lineNumbers),Wc(k)},!0),F("fixedGutter",!0,function(k,G){k.display.gutters.style.left=G?Wa(k.display)+"px":"0",k.refresh()},!0),F("coverGutterNextToScrollbar",!1,function(k){return Zo(k)},!0),F("scrollbarStyle","native",function(k){Ic(k),Zo(k),k.display.scrollbars.setScrollTop(k.doc.scrollTop),k.display.scrollbars.setScrollLeft(k.doc.scrollLeft)},!0),F("lineNumbers",!1,function(k,G){k.display.gutterSpecs=il(k.options.gutters,G),Wc(k)},!0),F("firstLineNumber",1,Wc,!0),F("lineNumberFormatter",function(k){return k},Wc,!0),F("showCursorWhenSelecting",!1,Cc,!0),F("resetSelectionOnContextMenu",!0),F("lineWiseCopyCut",!0),F("pasteLinesPerSelection",!0),F("selectionsMayTouch",!1),F("readOnly",!1,function(k,G){G=="nocursor"&&(Ra(k),k.display.input.blur()),k.display.input.readOnlyChanged(G)}),F("screenReaderLabel",null,function(k,G){G=G===""?null:G,k.display.input.screenReaderLabelChanged(G)}),F("disableInput",!1,function(k,G){G||k.display.input.reset()},!0),F("dragDrop",!0,Jf),F("allowDropFileTypes",null),F("cursorBlinkRate",530),F("cursorScrollMargin",0),F("cursorHeight",1,Cc,!0),F("singleCursorHeightPerLine",!0,Cc,!0),F("workTime",100),F("workDelay",100),F("flattenSpans",!0,pc,!0),F("addModeClass",!1,pc,!0),F("pollInterval",100),F("undoDepth",200,function(k,G){return k.doc.history.undoDepth=G}),F("historyEventDelay",1250),F("viewportMargin",10,function(k){return k.refresh()},!0),F("maxHighlightLength",1e4,pc,!0),F("moveInputWithCursor",!0,function(k,G){G||k.display.input.resetPosition()}),F("tabindex",null,function(k,G){return k.display.input.getField().tabIndex=G||""}),F("autofocus",null),F("direction","ltr",function(k,G){return k.doc.setDirection(G)},!0),F("phrases",null)}function Jf(h,b,F){var k=F&&F!=rd;if(!b!=!k){var G=h.display.dragFunctions,ae=b?Et:Re;ae(h.display.scroller,"dragstart",G.start),ae(h.display.scroller,"dragenter",G.enter),ae(h.display.scroller,"dragover",G.over),ae(h.display.scroller,"dragleave",G.leave),ae(h.display.scroller,"drop",G.drop)}}function qf(h){h.options.lineWrapping?(Ae(h.display.wrapper,"CodeMirror-wrap"),h.display.sizer.style.minWidth="",h.display.sizerWidth=null):(re(h.display.wrapper,"CodeMirror-wrap"),Si(h)),ou(h),Ta(h),bc(h),setTimeout(function(){return Zo(h)},100)}function yl(h,b){var F=this;if(!(this instanceof yl))return new yl(h,b);this.options=b=b?_e(b):{},_e(r0,b,!1);var k=b.value;typeof k=="string"?k=new Ua(k,b.mode,null,b.lineSeparator,b.direction):b.mode&&(k.modeOption=b.mode),this.doc=k;var G=new yl.inputStyles[b.inputStyle](this),ae=this.display=new A0(h,k,G,b);ae.wrapper.CodeMirror=this,Y0(this),b.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Ic(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new Le,keySeq:null,specialChars:null},b.autofocus&&!W&&ae.input.focus(),v&&_<11&&setTimeout(function(){return F.display.input.reset(!0)},20),Gc(this),zs(),eu(this),this.curOp.forceUpdate=!0,pn(this,k),b.autofocus&&!W||this.hasFocus()?setTimeout(function(){F.hasFocus()&&!F.state.focused&&Jc(F)},20):Ra(this);for(var De in Bd)Bd.hasOwnProperty(De)&&Bd[De](this,b[De],rd);hc(this),b.finishInit&&b.finishInit(this);for(var Xe=0;Xe<ql.length;++Xe)ql[Xe](this);Dl(this),T&&b.lineWrapping&&getComputedStyle(ae.lineDiv).textRendering=="optimizelegibility"&&(ae.lineDiv.style.textRendering="auto")}yl.defaults=r0,yl.optionHandlers=Bd;function Gc(h){var b=h.display;Et(b.scroller,"mousedown",Lu(h,Cd)),v&&_<11?Et(b.scroller,"dblclick",Lu(h,function(lt){if(!gt(h,lt)){var it=Io(h,lt);if(!(!it||Ld(h,lt)||Xs(h.display,lt))){ge(lt);var Rn=h.findWordAt(it);oa(h.doc,Rn.anchor,Rn.head)}}})):Et(b.scroller,"dblclick",function(lt){return gt(h,lt)||ge(lt)}),Et(b.scroller,"contextmenu",function(lt){return K0(h,lt)}),Et(b.input.getField(),"contextmenu",function(lt){b.scroller.contains(lt.target)||K0(h,lt)});var F,k={end:0};function G(){b.activeTouch&&(F=setTimeout(function(){return b.activeTouch=null},1e3),k=b.activeTouch,k.end=+new Date)}function ae(lt){if(lt.touches.length!=1)return!1;var it=lt.touches[0];return it.radiusX<=1&&it.radiusY<=1}function De(lt,it){if(it.left==null)return!0;var Rn=it.left-lt.left,Zn=it.top-lt.top;return Rn*Rn+Zn*Zn>20*20}Et(b.scroller,"touchstart",function(lt){if(!gt(h,lt)&&!ae(lt)&&!Ld(h,lt)){b.input.ensurePolled(),clearTimeout(F);var it=+new Date;b.activeTouch={start:it,moved:!1,prev:it-k.end<=300?k:null},lt.touches.length==1&&(b.activeTouch.left=lt.touches[0].pageX,b.activeTouch.top=lt.touches[0].pageY)}}),Et(b.scroller,"touchmove",function(){b.activeTouch&&(b.activeTouch.moved=!0)}),Et(b.scroller,"touchend",function(lt){var it=b.activeTouch;if(it&&!Xs(b,lt)&&it.left!=null&&!it.moved&&new Date-it.start<300){var Rn=h.coordsChar(b.activeTouch,"page"),Zn;!it.prev||De(it,it.prev)?Zn=new Ts(Rn,Rn):!it.prev.prev||De(it,it.prev.prev)?Zn=h.findWordAt(Rn):Zn=new Ts(Lt(Rn.line,0),Hr(h.doc,Lt(Rn.line+1,0))),h.setSelection(Zn.anchor,Zn.head),h.focus(),ge(lt)}G()}),Et(b.scroller,"touchcancel",G),Et(b.scroller,"scroll",function(){b.scroller.clientHeight&&(c0(h,b.scroller.scrollTop),Zu(h,b.scroller.scrollLeft,!0),We(h,"scroll",h))}),Et(b.scroller,"mousewheel",function(lt){return Lc(h,lt)}),Et(b.scroller,"DOMMouseScroll",function(lt){return Lc(h,lt)}),Et(b.wrapper,"scroll",function(){return b.wrapper.scrollTop=b.wrapper.scrollLeft=0}),b.dragFunctions={enter:function(lt){gt(h,lt)||xn(lt)},over:function(lt){gt(h,lt)||(mc(h,lt),xn(lt))},start:function(lt){return Ba(h,lt)},drop:Lu(h,Ol),leave:function(lt){gt(h,lt)||Hc(h)}};var Xe=b.input.getField();Et(Xe,"keyup",function(lt){return O0.call(h,lt)}),Et(Xe,"keydown",Lu(h,Dt)),Et(Xe,"keypress",Lu(h,sf)),Et(Xe,"focus",function(lt){return Jc(h,lt)}),Et(Xe,"blur",function(lt){return Ra(h,lt)})}var ql=[];yl.defineInitHook=function(h){return ql.push(h)};function Jd(h,b,F,k){var G=h.doc,ae;F==null&&(F="add"),F=="smart"&&(G.mode.indent?ae=Qn(h,b).state:F="prev");var De=h.options.tabSize,Xe=Tt(G,b),lt=Ne(Xe.text,null,De);Xe.stateAfter&&(Xe.stateAfter=null);var it=Xe.text.match(/^\s*/)[0],Rn;if(!k&&!/\S/.test(Xe.text))Rn=0,F="not";else if(F=="smart"&&(Rn=G.mode.indent(ae,Xe.text.slice(it.length),Xe.text),Rn==yt||Rn>150)){if(!k)return;F="prev"}F=="prev"?b>G.first?Rn=Ne(Tt(G,b-1).text,null,De):Rn=0:F=="add"?Rn=lt+h.options.indentUnit:F=="subtract"?Rn=lt-h.options.indentUnit:typeof F=="number"&&(Rn=lt+F),Rn=Math.max(0,Rn);var Zn="",Fr=0;if(h.options.indentWithTabs)for(var Tr=Math.floor(Rn/De);Tr;--Tr)Fr+=De,Zn+="	";if(Fr<Rn&&(Zn+=Xt(Rn-Fr)),Zn!=it)return ji(G,Zn,Lt(b,0),Lt(b,it.length),"+input"),Xe.stateAfter=null,!0;for(var ui=0;ui<G.sel.ranges.length;ui++){var ki=G.sel.ranges[ui];if(ki.head.line==b&&ki.head.ch<it.length){var cs=Lt(b,it.length);ba(G,ui,new Ts(cs,cs));break}}}var R0=null;function of(h){R0=h}function Rs(h,b,F,k,G){var ae=h.doc;h.display.shift=!1,k||(k=ae.sel);var De=+new Date-200,Xe=G=="paste"||h.state.pasteIncoming>De,lt=$n(b),it=null;if(Xe&&k.ranges.length>1)if(R0&&R0.text.join(`
`)==b){if(k.ranges.length%R0.text.length==0){it=[];for(var Rn=0;Rn<R0.text.length;Rn++)it.push(ae.splitLines(R0.text[Rn]))}}else lt.length==k.ranges.length&&h.options.pasteLinesPerSelection&&(it=sn(lt,function(qi){return[qi]}));for(var Zn=h.curOp.updateInput,Fr=k.ranges.length-1;Fr>=0;Fr--){var Tr=k.ranges[Fr],ui=Tr.from(),ki=Tr.to();Tr.empty()&&(F&&F>0?ui=Lt(ui.line,ui.ch-F):h.state.overwrite&&!Xe?ki=Lt(ki.line,Math.min(Tt(ae,ki.line).text.length,ki.ch+jt(lt).length)):Xe&&R0&&R0.lineWise&&R0.text.join(`
`)==lt.join(`
`)&&(ui=ki=Lt(ui.line,0)));var cs={from:ui,to:ki,text:it?it[Fr%it.length]:lt,origin:G||(Xe?"paste":h.state.cutIncoming>De?"cut":"+input")};Qt(h.doc,cs),Qo(h,"inputRead",h,cs)}b&&!Xe&&id(h,b),ic(h),h.curOp.updateInput<2&&(h.curOp.updateInput=Zn),h.curOp.typing=!0,h.state.pasteIncoming=h.state.cutIncoming=-1}function Bf(h,b){var F=h.clipboardData&&h.clipboardData.getData("Text");if(F)return h.preventDefault(),!b.isReadOnly()&&!b.options.disableInput&&b.hasFocus()&&Eu(b,function(){return Rs(b,F,0,null,"paste")}),!0}function id(h,b){if(!(!h.options.electricChars||!h.options.smartIndent))for(var F=h.doc.sel,k=F.ranges.length-1;k>=0;k--){var G=F.ranges[k];if(!(G.head.ch>100||k&&F.ranges[k-1].head.line==G.head.line)){var ae=h.getModeAt(G.head),De=!1;if(ae.electricChars){for(var Xe=0;Xe<ae.electricChars.length;Xe++)if(b.indexOf(ae.electricChars.charAt(Xe))>-1){De=Jd(h,G.head.line,"smart");break}}else ae.electricInput&&ae.electricInput.test(Tt(h.doc,G.head.line).text.slice(0,G.head.ch))&&(De=Jd(h,G.head.line,"smart"));De&&Qo(h,"electricInput",h,G.head.line)}}}function Fd(h){for(var b=[],F=[],k=0;k<h.doc.sel.ranges.length;k++){var G=h.doc.sel.ranges[k].head.line,ae={anchor:Lt(G,0),head:Lt(G+1,0)};F.push(ae),b.push(h.getRange(ae.anchor,ae.head))}return{text:b,ranges:F}}function uf(h,b,F,k){h.setAttribute("autocorrect",F?"on":"off"),h.setAttribute("autocapitalize",k?"on":"off"),h.setAttribute("spellcheck",!!b)}function Ff(){var h=le("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),b=le("div",[h],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return T?h.style.width="1000px":h.setAttribute("wrap","off"),j&&(h.style.border="1px solid black"),b}function kf(h){var b=h.optionHandlers,F=h.helpers={};h.prototype={constructor:h,focus:function(){pe(this).focus(),this.display.input.focus()},setOption:function(k,G){var ae=this.options,De=ae[k];ae[k]==G&&k!="mode"||(ae[k]=G,b.hasOwnProperty(k)&&Lu(this,b[k])(this,G,De),We(this,"optionChange",this,k))},getOption:function(k){return this.options[k]},getDoc:function(){return this.doc},addKeyMap:function(k,G){this.state.keyMaps[G?"push":"unshift"](Du(k))},removeKeyMap:function(k){for(var G=this.state.keyMaps,ae=0;ae<G.length;++ae)if(G[ae]==k||G[ae].name==k)return G.splice(ae,1),!0},addOverlay:dl(function(k,G){var ae=k.token?k:h.getMode(this.options,k);if(ae.startState)throw new Error("Overlays may not be stateful.");dt(this.state.overlays,{mode:ae,modeSpec:k,opaque:G&&G.opaque,priority:G&&G.priority||0},function(De){return De.priority}),this.state.modeGen++,Ta(this)}),removeOverlay:dl(function(k){for(var G=this.state.overlays,ae=0;ae<G.length;++ae){var De=G[ae].modeSpec;if(De==k||typeof k=="string"&&De.name==k){G.splice(ae,1),this.state.modeGen++,Ta(this);return}}}),indentLine:dl(function(k,G,ae){typeof G!="string"&&typeof G!="number"&&(G==null?G=this.options.smartIndent?"smart":"prev":G=G?"add":"subtract"),$t(this.doc,k)&&Jd(this,k,G,ae)}),indentSelection:dl(function(k){for(var G=this.doc.sel.ranges,ae=-1,De=0;De<G.length;De++){var Xe=G[De];if(Xe.empty())Xe.head.line>ae&&(Jd(this,Xe.head.line,k,!0),ae=Xe.head.line,De==this.doc.sel.primIndex&&ic(this));else{var lt=Xe.from(),it=Xe.to(),Rn=Math.max(ae,lt.line);ae=Math.min(this.lastLine(),it.line-(it.ch?0:1))+1;for(var Zn=Rn;Zn<ae;++Zn)Jd(this,Zn,k);var Fr=this.doc.sel.ranges;lt.ch==0&&G.length==Fr.length&&Fr[De].from().ch>0&&ba(this.doc,De,new Ts(lt,Fr[De].to()),It)}}}),getTokenAt:function(k,G){return Mt(this,k,G)},getLineTokens:function(k,G){return Mt(this,Lt(k),G,!0)},getTokenTypeAt:function(k){k=Hr(this.doc,k);var G=wn(this,Tt(this.doc,k.line)),ae=0,De=(G.length-1)/2,Xe=k.ch,lt;if(Xe==0)lt=G[2];else for(;;){var it=ae+De>>1;if((it?G[it*2-1]:0)>=Xe)De=it;else if(G[it*2+1]<Xe)ae=it+1;else{lt=G[it*2+2];break}}var Rn=lt?lt.indexOf("overlay "):-1;return Rn<0?lt:Rn==0?null:lt.slice(0,Rn-1)},getModeAt:function(k){var G=this.doc.mode;return G.innerMode?h.innerMode(G,this.getTokenAt(k).state).mode:G},getHelper:function(k,G){return this.getHelpers(k,G)[0]},getHelpers:function(k,G){var ae=[];if(!F.hasOwnProperty(G))return ae;var De=F[G],Xe=this.getModeAt(k);if(typeof Xe[G]=="string")De[Xe[G]]&&ae.push(De[Xe[G]]);else if(Xe[G])for(var lt=0;lt<Xe[G].length;lt++){var it=De[Xe[G][lt]];it&&ae.push(it)}else Xe.helperType&&De[Xe.helperType]?ae.push(De[Xe.helperType]):De[Xe.name]&&ae.push(De[Xe.name]);for(var Rn=0;Rn<De._global.length;Rn++){var Zn=De._global[Rn];Zn.pred(Xe,this)&&Ke(ae,Zn.val)==-1&&ae.push(Zn.val)}return ae},getStateAfter:function(k,G){var ae=this.doc;return k=ci(ae,k??ae.first+ae.size-1),Qn(this,k+1,G).state},cursorCoords:function(k,G){var ae,De=this.doc.sel.primary();return k==null?ae=De.head:typeof k=="object"?ae=Hr(this.doc,k):ae=k?De.from():De.to(),Kr(this,ae,G||"page")},charCoords:function(k,G){return zn(this,Hr(this.doc,k),G||"page")},coordsChar:function(k,G){return k=Qc(this,k,G||"page"),st(this,k.left,k.top)},lineAtHeight:function(k,G){return k=Qc(this,{top:k,left:0},G||"page").top,Yt(this.doc,k+this.display.viewOffset)},heightAtLine:function(k,G,ae){var De=!1,Xe;if(typeof k=="number"){var lt=this.doc.first+this.doc.size-1;k<this.doc.first?k=this.doc.first:k>lt&&(k=lt,De=!0),Xe=Tt(this.doc,k)}else Xe=k;return Ql(this,Xe,{top:0,left:0},G||"page",ae||De).top+(De?this.doc.height-dr(Xe):0)},defaultTextHeight:function(){return ha(this.display)},defaultCharWidth:function(){return qa(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(k,G,ae,De,Xe){var lt=this.display;k=Kr(this,Hr(this.doc,k));var it=k.bottom,Rn=k.left;if(G.style.position="absolute",G.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(G),lt.sizer.appendChild(G),De=="over")it=k.top;else if(De=="above"||De=="near"){var Zn=Math.max(lt.wrapper.clientHeight,this.doc.height),Fr=Math.max(lt.sizer.clientWidth,lt.lineSpace.clientWidth);(De=="above"||k.bottom+G.offsetHeight>Zn)&&k.top>G.offsetHeight?it=k.top-G.offsetHeight:k.bottom+G.offsetHeight<=Zn&&(it=k.bottom),Rn+G.offsetWidth>Fr&&(Rn=Fr-G.offsetWidth)}G.style.top=it+"px",G.style.left=G.style.right="",Xe=="right"?(Rn=lt.sizer.clientWidth-G.offsetWidth,G.style.right="0px"):(Xe=="left"?Rn=0:Xe=="middle"&&(Rn=(lt.sizer.clientWidth-G.offsetWidth)/2),G.style.left=Rn+"px"),ae&&jl(this,{left:Rn,top:it,right:Rn+G.offsetWidth,bottom:it+G.offsetHeight})},triggerOnKeyDown:dl(Dt),triggerOnKeyPress:dl(sf),triggerOnKeyUp:O0,triggerOnMouseDown:dl(Cd),execCommand:function(k){if(xi.hasOwnProperty(k))return xi[k].call(null,this)},triggerElectric:dl(function(k){id(this,k)}),findPosH:function(k,G,ae,De){var Xe=1;G<0&&(Xe=-1,G=-G);for(var lt=Hr(this.doc,k),it=0;it<G&&(lt=Sd(this.doc,lt,Xe,ae,De),!lt.hitSide);++it);return lt},moveH:dl(function(k,G){var ae=this;this.extendSelectionsBy(function(De){return ae.display.shift||ae.doc.extend||De.empty()?Sd(ae.doc,De.head,k,G,ae.options.rtlMoveVisually):k<0?De.from():De.to()},zt)}),deleteH:dl(function(k,G){var ae=this.doc.sel,De=this.doc;ae.somethingSelected()?De.replaceSelection("",null,"+delete"):h0(this,function(Xe){var lt=Sd(De,Xe.head,k,G,!1);return k<0?{from:lt,to:Xe.head}:{from:Xe.head,to:lt}})}),findPosV:function(k,G,ae,De){var Xe=1,lt=De;G<0&&(Xe=-1,G=-G);for(var it=Hr(this.doc,k),Rn=0;Rn<G;++Rn){var Zn=Kr(this,it,"div");if(lt==null?lt=Zn.left:Zn.left=lt,it=qd(this,Zn,Xe,ae),it.hitSide)break}return it},moveV:dl(function(k,G){var ae=this,De=this.doc,Xe=[],lt=!this.display.shift&&!De.extend&&De.sel.somethingSelected();if(De.extendSelectionsBy(function(Rn){if(lt)return k<0?Rn.from():Rn.to();var Zn=Kr(ae,Rn.head,"div");Rn.goalColumn!=null&&(Zn.left=Rn.goalColumn),Xe.push(Zn.left);var Fr=qd(ae,Zn,k,G);return G=="page"&&Rn==De.sel.primary()&&Ml(ae,zn(ae,Fr,"div").top-Zn.top),Fr},zt),Xe.length)for(var it=0;it<De.sel.ranges.length;it++)De.sel.ranges[it].goalColumn=Xe[it]}),findWordAt:function(k){var G=this.doc,ae=Tt(G,k.line).text,De=k.ch,Xe=k.ch;if(ae){var lt=this.getHelper(k,"wordChars");(k.sticky=="before"||Xe==ae.length)&&De?--De:++Xe;for(var it=ae.charAt(De),Rn=Jn(it,lt)?function(Zn){return Jn(Zn,lt)}:/\s/.test(it)?function(Zn){return/\s/.test(Zn)}:function(Zn){return!/\s/.test(Zn)&&!Jn(Zn)};De>0&&Rn(ae.charAt(De-1));)--De;for(;Xe<ae.length&&Rn(ae.charAt(Xe));)++Xe}return new Ts(Lt(k.line,De),Lt(k.line,Xe))},toggleOverwrite:function(k){k!=null&&k==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?Ae(this.display.cursorDiv,"CodeMirror-overwrite"):re(this.display.cursorDiv,"CodeMirror-overwrite"),We(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==ye(Ge(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:dl(function(k,G){Qu(this,k,G)}),getScrollInfo:function(){var k=this.display.scroller;return{left:k.scrollLeft,top:k.scrollTop,height:k.scrollHeight-Va(this)-this.display.barHeight,width:k.scrollWidth-Va(this)-this.display.barWidth,clientHeight:ya(this),clientWidth:io(this)}},scrollIntoView:dl(function(k,G){k==null?(k={from:this.doc.sel.primary().head,to:null},G==null&&(G=this.options.cursorScrollMargin)):typeof k=="number"?k={from:Lt(k,0),to:null}:k.from==null&&(k={from:k,to:null}),k.to||(k.to=k.from),k.margin=G||0,k.from.line!=null?l0(this,k):dc(this,k.from,k.to,k.margin)}),setSize:dl(function(k,G){var ae=this,De=function(lt){return typeof lt=="number"||/^\d+$/.test(String(lt))?lt+"px":lt};k!=null&&(this.display.wrapper.style.width=De(k)),G!=null&&(this.display.wrapper.style.height=De(G)),this.options.lineWrapping&&S0(this);var Xe=this.display.viewFrom;this.doc.iter(Xe,this.display.viewTo,function(lt){if(lt.widgets){for(var it=0;it<lt.widgets.length;it++)if(lt.widgets[it].noHScroll){fu(ae,Xe,"widget");break}}++Xe}),this.curOp.forceUpdate=!0,We(this,"refresh",this)}),operation:function(k){return Eu(this,k)},startOperation:function(){return eu(this)},endOperation:function(){return Dl(this)},refresh:dl(function(){var k=this.display.cachedTextHeight;Ta(this),this.curOp.forceUpdate=!0,bc(this),Qu(this,this.doc.scrollLeft,this.doc.scrollTop),_l(this.display),(k==null||Math.abs(k-ha(this.display))>.5||this.options.lineWrapping)&&ou(this),We(this,"refresh",this)}),swapDoc:dl(function(k){var G=this.doc;return G.cm=null,this.state.selectingText&&this.state.selectingText(),pn(this,k),bc(this),this.display.input.reset(),Qu(this,k.scrollLeft,k.scrollTop),this.curOp.forceScroll=!0,Qo(this,"swapDoc",this,G),G}),phrase:function(k){var G=this.options.phrases;return G&&Object.prototype.hasOwnProperty.call(G,k)?G[k]:k},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},tn(h),h.registerHelper=function(k,G,ae){F.hasOwnProperty(k)||(F[k]=h[k]={_global:[]}),F[k][G]=ae},h.registerGlobalHelper=function(k,G,ae,De){h.registerHelper(k,G,De),F[k]._global.push({pred:ae,val:De})}}function Sd(h,b,F,k,G){var ae=b,De=F,Xe=Tt(h,b.line),lt=G&&h.direction=="rtl"?-F:F;function it(){var is=b.line+lt;return is<h.first||is>=h.first+h.size?!1:(b=new Lt(is,b.ch,b.sticky),Xe=Tt(h,is))}function Rn(is){var Ns;if(k=="codepoint"){var Zs=Xe.text.charCodeAt(b.ch+(F>0?0:-1));if(isNaN(Zs))Ns=null;else{var wa=F>0?Zs>=55296&&Zs<56320:Zs>=56320&&Zs<57343;Ns=new Lt(b.line,Math.max(0,Math.min(Xe.text.length,b.ch+F*(wa?2:1))),-F)}}else G?Ns=Jl(h.cm,Xe,b,F):Ns=Au(Xe,b,F);if(Ns==null)if(!is&&it())b=_d(G,h.cm,Xe,b.line,lt);else return!1;else b=Ns;return!0}if(k=="char"||k=="codepoint")Rn();else if(k=="column")Rn(!0);else if(k=="word"||k=="group")for(var Zn=null,Fr=k=="group",Tr=h.cm&&h.cm.getHelper(b,"wordChars"),ui=!0;!(F<0&&!Rn(!ui));ui=!1){var ki=Xe.text.charAt(b.ch)||`
`,cs=Jn(ki,Tr)?"w":Fr&&ki==`
`?"n":!Fr||/\s/.test(ki)?null:"p";if(Fr&&!ui&&!cs&&(cs="s"),Zn&&Zn!=cs){F<0&&(F=1,Rn(),b.sticky="after");break}if(cs&&(Zn=cs),F>0&&!Rn(!ui))break}var qi=Zt(h,b,ae,De,!0);return In(ae,qi)&&(qi.hitSide=!0),qi}function qd(h,b,F,k){var G=h.doc,ae=b.left,De;if(k=="page"){var Xe=Math.min(h.display.wrapper.clientHeight,pe(h).innerHeight||G(h).documentElement.clientHeight),lt=Math.max(Xe-.5*ha(h.display),3);De=(F>0?b.bottom:b.top)+F*lt}else k=="line"&&(De=F>0?b.bottom+3:b.top-3);for(var it;it=st(h,ae,De),!!it.outside;){if(F<0?De<=0:De>=G.height){it.hitSide=!0;break}De+=F*5}return it}var du=function(h){this.cm=h,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new Le,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};du.prototype.init=function(h){var b=this,F=this,k=F.cm,G=F.div=h.lineDiv;G.contentEditable=!0,uf(G,k.options.spellcheck,k.options.autocorrect,k.options.autocapitalize);function ae(Xe){for(var lt=Xe.target;lt;lt=lt.parentNode){if(lt==G)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(lt.className))break}return!1}Et(G,"paste",function(Xe){!ae(Xe)||gt(k,Xe)||Bf(Xe,k)||_<=11&&setTimeout(Lu(k,function(){return b.updateFromDOM()}),20)}),Et(G,"compositionstart",function(Xe){b.composing={data:Xe.data,done:!1}}),Et(G,"compositionupdate",function(Xe){b.composing||(b.composing={data:Xe.data,done:!1})}),Et(G,"compositionend",function(Xe){b.composing&&(Xe.data!=b.composing.data&&b.readFromDOMSoon(),b.composing.done=!0)}),Et(G,"touchstart",function(){return F.forceCompositionEnd()}),Et(G,"input",function(){b.composing||b.readFromDOMSoon()});function De(Xe){if(!(!ae(Xe)||gt(k,Xe))){if(k.somethingSelected())of({lineWise:!1,text:k.getSelections()}),Xe.type=="cut"&&k.replaceSelection("",null,"cut");else if(k.options.lineWiseCopyCut){var lt=Fd(k);of({lineWise:!0,text:lt.text}),Xe.type=="cut"&&k.operation(function(){k.setSelections(lt.ranges,0,It),k.replaceSelection("",null,"cut")})}else return;if(Xe.clipboardData){Xe.clipboardData.clearData();var it=R0.text.join(`
`);if(Xe.clipboardData.setData("Text",it),Xe.clipboardData.getData("Text")==it){Xe.preventDefault();return}}var Rn=Ff(),Zn=Rn.firstChild;uf(Zn),k.display.lineSpace.insertBefore(Rn,k.display.lineSpace.firstChild),Zn.value=R0.text.join(`
`);var Fr=ye(Pe(G));Qe(Zn),setTimeout(function(){k.display.lineSpace.removeChild(Rn),Fr.focus(),Fr==G&&F.showPrimarySelection()},50)}}Et(G,"copy",De),Et(G,"cut",De)},du.prototype.screenReaderLabelChanged=function(h){h?this.div.setAttribute("aria-label",h):this.div.removeAttribute("aria-label")},du.prototype.prepareSelection=function(){var h=L0(this.cm,!1);return h.focus=ye(Pe(this.div))==this.div,h},du.prototype.showSelection=function(h,b){!h||!this.cm.display.view.length||((h.focus||b)&&this.showPrimarySelection(),this.showMultipleSelections(h))},du.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},du.prototype.showPrimarySelection=function(){var h=this.getSelection(),b=this.cm,F=b.doc.sel.primary(),k=F.from(),G=F.to();if(b.display.viewTo==b.display.viewFrom||k.line>=b.display.viewTo||G.line<b.display.viewFrom){h.removeAllRanges();return}var ae=kd(b,h.anchorNode,h.anchorOffset),De=kd(b,h.focusNode,h.focusOffset);if(!(ae&&!ae.bad&&De&&!De.bad&&yn(Xr(ae,De),k)==0&&yn(Rr(ae,De),G)==0)){var Xe=b.display.view,lt=k.line>=b.display.viewFrom&&k0(b,k)||{node:Xe[0].measure.map[2],offset:0},it=G.line<b.display.viewTo&&k0(b,G);if(!it){var Rn=Xe[Xe.length-1].measure,Zn=Rn.maps?Rn.maps[Rn.maps.length-1]:Rn.map;it={node:Zn[Zn.length-1],offset:Zn[Zn.length-2]-Zn[Zn.length-3]}}if(!lt||!it){h.removeAllRanges();return}var Fr=h.rangeCount&&h.getRangeAt(0),Tr;try{Tr=Ze(lt.node,lt.offset,it.offset,it.node)}catch{}Tr&&(!i&&b.state.focused?(h.collapse(lt.node,lt.offset),Tr.collapsed||(h.removeAllRanges(),h.addRange(Tr))):(h.removeAllRanges(),h.addRange(Tr)),Fr&&h.anchorNode==null?h.addRange(Fr):i&&this.startGracePeriod()),this.rememberSelection()}},du.prototype.startGracePeriod=function(){var h=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){h.gracePeriod=!1,h.selectionChanged()&&h.cm.operation(function(){return h.cm.curOp.selectionChanged=!0})},20)},du.prototype.showMultipleSelections=function(h){fe(this.cm.display.cursorDiv,h.cursors),fe(this.cm.display.selectionDiv,h.selection)},du.prototype.rememberSelection=function(){var h=this.getSelection();this.lastAnchorNode=h.anchorNode,this.lastAnchorOffset=h.anchorOffset,this.lastFocusNode=h.focusNode,this.lastFocusOffset=h.focusOffset},du.prototype.selectionInEditor=function(){var h=this.getSelection();if(!h.rangeCount)return!1;var b=h.getRangeAt(0).commonAncestorContainer;return Ce(this.div,b)},du.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||ye(Pe(this.div))!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},du.prototype.blur=function(){this.div.blur()},du.prototype.getField=function(){return this.div},du.prototype.supportsTouch=function(){return!0},du.prototype.receivedFocus=function(){var h=this,b=this;this.selectionInEditor()?setTimeout(function(){return h.pollSelection()},20):Eu(this.cm,function(){return b.cm.curOp.selectionChanged=!0});function F(){b.cm.state.focused&&(b.pollSelection(),b.polling.set(b.cm.options.pollInterval,F))}this.polling.set(this.cm.options.pollInterval,F)},du.prototype.selectionChanged=function(){var h=this.getSelection();return h.anchorNode!=this.lastAnchorNode||h.anchorOffset!=this.lastAnchorOffset||h.focusNode!=this.lastFocusNode||h.focusOffset!=this.lastFocusOffset},du.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var h=this.getSelection(),b=this.cm;if(z&&R&&this.cm.display.gutterSpecs.length&&ld(h.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var F=kd(b,h.anchorNode,h.anchorOffset),k=kd(b,h.focusNode,h.focusOffset);F&&k&&Eu(b,function(){uo(b.doc,Iu(F,k),It),(F.bad||k.bad)&&(b.curOp.selectionChanged=!0)})}}},du.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var h=this.cm,b=h.display,F=h.doc.sel.primary(),k=F.from(),G=F.to();if(k.ch==0&&k.line>h.firstLine()&&(k=Lt(k.line-1,Tt(h.doc,k.line-1).length)),G.ch==Tt(h.doc,G.line).text.length&&G.line<h.lastLine()&&(G=Lt(G.line+1,0)),k.line<b.viewFrom||G.line>b.viewTo-1)return!1;var ae,De,Xe;k.line==b.viewFrom||(ae=uu(h,k.line))==0?(De=$e(b.view[0].line),Xe=b.view[0].node):(De=$e(b.view[ae].line),Xe=b.view[ae-1].node.nextSibling);var lt=uu(h,G.line),it,Rn;if(lt==b.view.length-1?(it=b.viewTo-1,Rn=b.lineDiv.lastChild):(it=$e(b.view[lt+1].line)-1,Rn=b.view[lt+1].node.previousSibling),!Xe)return!1;for(var Zn=h.doc.splitLines(cd(h,Xe,Rn,De,it)),Fr=An(h.doc,Lt(De,0),Lt(it,Tt(h.doc,it).text.length));Zn.length>1&&Fr.length>1;)if(jt(Zn)==jt(Fr))Zn.pop(),Fr.pop(),it--;else if(Zn[0]==Fr[0])Zn.shift(),Fr.shift(),De++;else break;for(var Tr=0,ui=0,ki=Zn[0],cs=Fr[0],qi=Math.min(ki.length,cs.length);Tr<qi&&ki.charCodeAt(Tr)==cs.charCodeAt(Tr);)++Tr;for(var is=jt(Zn),Ns=jt(Fr),Zs=Math.min(is.length-(Zn.length==1?Tr:0),Ns.length-(Fr.length==1?Tr:0));ui<Zs&&is.charCodeAt(is.length-ui-1)==Ns.charCodeAt(Ns.length-ui-1);)++ui;if(Zn.length==1&&Fr.length==1&&De==k.line)for(;Tr&&Tr>k.ch&&is.charCodeAt(is.length-ui-1)==Ns.charCodeAt(Ns.length-ui-1);)Tr--,ui++;Zn[Zn.length-1]=is.slice(0,is.length-ui).replace(/^\u200b+/,""),Zn[0]=Zn[0].slice(Tr).replace(/\u200b+$/,"");var wa=Lt(De,Tr),qs=Lt(it,Fr.length?jt(Fr).length-ui:0);if(Zn.length>1||Zn[0]||yn(wa,qs))return ji(h.doc,Zn,wa,qs,"+input"),!0},du.prototype.ensurePolled=function(){this.forceCompositionEnd()},du.prototype.reset=function(){this.forceCompositionEnd()},du.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},du.prototype.readFromDOMSoon=function(){var h=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(h.readDOMTimeout=null,h.composing)if(h.composing.done)h.composing=null;else return;h.updateFromDOM()},80))},du.prototype.updateFromDOM=function(){var h=this;(this.cm.isReadOnly()||!this.pollContent())&&Eu(this.cm,function(){return Ta(h.cm)})},du.prototype.setUneditable=function(h){h.contentEditable="false"},du.prototype.onKeyPress=function(h){h.charCode==0||this.composing||(h.preventDefault(),this.cm.isReadOnly()||Lu(this.cm,Rs)(this.cm,String.fromCharCode(h.charCode==null?h.keyCode:h.charCode),0))},du.prototype.readOnlyChanged=function(h){this.div.contentEditable=String(h!="nocursor")},du.prototype.onContextMenu=function(){},du.prototype.resetPosition=function(){},du.prototype.needsContentAttribute=!0;function k0(h,b){var F=Ko(h,b.line);if(!F||F.hidden)return null;var k=Tt(h.doc,b.line),G=ka(F,k,b.line),ae=oe(k,h.doc.direction),De="left";if(ae){var Xe=Cn(ae,b.ch);De=Xe%2?"right":"left"}var lt=Vc(G.map,b.ch,De);return lt.offset=lt.collapse=="right"?lt.end:lt.start,lt}function ld(h){for(var b=h;b;b=b.parentNode)if(/CodeMirror-gutter-wrapper/.test(b.className))return!0;return!1}function vi(h,b){return b&&(h.bad=!0),h}function cd(h,b,F,k,G){var ae="",De=!1,Xe=h.doc.lineSeparator(),lt=!1;function it(Tr){return function(ui){return ui.id==Tr}}function Rn(){De&&(ae+=Xe,lt&&(ae+=Xe),De=lt=!1)}function Zn(Tr){Tr&&(Rn(),ae+=Tr)}function Fr(Tr){if(Tr.nodeType==1){var ui=Tr.getAttribute("cm-text");if(ui){Zn(ui);return}var ki=Tr.getAttribute("cm-marker"),cs;if(ki){var qi=h.findMarks(Lt(k,0),Lt(G+1,0),it(+ki));qi.length&&(cs=qi[0].find(0))&&Zn(An(h.doc,cs.from,cs.to).join(Xe));return}if(Tr.getAttribute("contenteditable")=="false")return;var is=/^(pre|div|p|li|table|br)$/i.test(Tr.nodeName);if(!/^br$/i.test(Tr.nodeName)&&Tr.textContent.length==0)return;is&&Rn();for(var Ns=0;Ns<Tr.childNodes.length;Ns++)Fr(Tr.childNodes[Ns]);/^(pre|p)$/i.test(Tr.nodeName)&&(lt=!0),is&&(De=!0)}else Tr.nodeType==3&&Zn(Tr.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;Fr(b),b!=F;)b=b.nextSibling,lt=!1;return ae}function kd(h,b,F){var k;if(b==h.display.lineDiv){if(k=h.display.lineDiv.childNodes[F],!k)return vi(h.clipPos(Lt(h.display.viewTo-1)),!0);b=null,F=0}else for(k=b;;k=k.parentNode){if(!k||k==h.display.lineDiv)return null;if(k.parentNode&&k.parentNode==h.display.lineDiv)break}for(var G=0;G<h.display.view.length;G++){var ae=h.display.view[G];if(ae.node==k)return eh(ae,b,F)}}function eh(h,b,F){var k=h.text.firstChild,G=!1;if(!b||!Ce(k,b))return vi(Lt($e(h.line),0),!0);if(b==k&&(G=!0,b=k.childNodes[F],F=0,!b)){var ae=h.rest?jt(h.rest):h.line;return vi(Lt($e(ae),ae.text.length),G)}var De=b.nodeType==3?b:null,Xe=b;for(!De&&b.childNodes.length==1&&b.firstChild.nodeType==3&&(De=b.firstChild,F&&(F=De.nodeValue.length));Xe.parentNode!=k;)Xe=Xe.parentNode;var lt=h.measure,it=lt.maps;function Rn(cs,qi,is){for(var Ns=-1;Ns<(it?it.length:0);Ns++)for(var Zs=Ns<0?lt.map:it[Ns],wa=0;wa<Zs.length;wa+=3){var qs=Zs[wa+2];if(qs==cs||qs==qi){var ao=$e(Ns<0?h.line:h.rest[Ns]),So=Zs[wa]+is;return(is<0||qs!=cs)&&(So=Zs[wa+(is?1:0)]),Lt(ao,So)}}}var Zn=Rn(De,Xe,F);if(Zn)return vi(Zn,G);for(var Fr=Xe.nextSibling,Tr=De?De.nodeValue.length-F:0;Fr;Fr=Fr.nextSibling){if(Zn=Rn(Fr,Fr.firstChild,0),Zn)return vi(Lt(Zn.line,Zn.ch-Tr),G);Tr+=Fr.textContent.length}for(var ui=Xe.previousSibling,ki=F;ui;ui=ui.previousSibling){if(Zn=Rn(ui,ui.firstChild,-1),Zn)return vi(Lt(Zn.line,Zn.ch+ki),G);ki+=ui.textContent.length}}var bl=function(h){this.cm=h,this.prevInput="",this.pollingFast=!1,this.polling=new Le,this.hasSelection=!1,this.composing=null,this.resetting=!1};bl.prototype.init=function(h){var b=this,F=this,k=this.cm;this.createField(h);var G=this.textarea;h.wrapper.insertBefore(this.wrapper,h.wrapper.firstChild),j&&(G.style.width="0px"),Et(G,"input",function(){v&&_>=9&&b.hasSelection&&(b.hasSelection=null),F.poll()}),Et(G,"paste",function(De){gt(k,De)||Bf(De,k)||(k.state.pasteIncoming=+new Date,F.fastPoll())});function ae(De){if(!gt(k,De)){if(k.somethingSelected())of({lineWise:!1,text:k.getSelections()});else if(k.options.lineWiseCopyCut){var Xe=Fd(k);of({lineWise:!0,text:Xe.text}),De.type=="cut"?k.setSelections(Xe.ranges,null,It):(F.prevInput="",G.value=Xe.text.join(`
`),Qe(G))}else return;De.type=="cut"&&(k.state.cutIncoming=+new Date)}}Et(G,"cut",ae),Et(G,"copy",ae),Et(h.scroller,"paste",function(De){if(!(Xs(h,De)||gt(k,De))){if(!G.dispatchEvent){k.state.pasteIncoming=+new Date,F.focus();return}var Xe=new Event("paste");Xe.clipboardData=De.clipboardData,G.dispatchEvent(Xe)}}),Et(h.lineSpace,"selectstart",function(De){Xs(h,De)||ge(De)}),Et(G,"compositionstart",function(){var De=k.getCursor("from");F.composing&&F.composing.range.clear(),F.composing={start:De,range:k.markText(De,k.getCursor("to"),{className:"CodeMirror-composing"})}}),Et(G,"compositionend",function(){F.composing&&(F.poll(),F.composing.range.clear(),F.composing=null)})},bl.prototype.createField=function(h){this.wrapper=Ff(),this.textarea=this.wrapper.firstChild;var b=this.cm.options;uf(this.textarea,b.spellcheck,b.autocorrect,b.autocapitalize)},bl.prototype.screenReaderLabelChanged=function(h){h?this.textarea.setAttribute("aria-label",h):this.textarea.removeAttribute("aria-label")},bl.prototype.prepareSelection=function(){var h=this.cm,b=h.display,F=h.doc,k=L0(h);if(h.options.moveInputWithCursor){var G=Kr(h,F.sel.primary().head,"div"),ae=b.wrapper.getBoundingClientRect(),De=b.lineDiv.getBoundingClientRect();k.teTop=Math.max(0,Math.min(b.wrapper.clientHeight-10,G.top+De.top-ae.top)),k.teLeft=Math.max(0,Math.min(b.wrapper.clientWidth-10,G.left+De.left-ae.left))}return k},bl.prototype.showSelection=function(h){var b=this.cm,F=b.display;fe(F.cursorDiv,h.cursors),fe(F.selectionDiv,h.selection),h.teTop!=null&&(this.wrapper.style.top=h.teTop+"px",this.wrapper.style.left=h.teLeft+"px")},bl.prototype.reset=function(h){if(!(this.contextMenuPending||this.composing&&h)){var b=this.cm;if(this.resetting=!0,b.somethingSelected()){this.prevInput="";var F=b.getSelection();this.textarea.value=F,b.state.focused&&Qe(this.textarea),v&&_>=9&&(this.hasSelection=F)}else h||(this.prevInput=this.textarea.value="",v&&_>=9&&(this.hasSelection=null));this.resetting=!1}},bl.prototype.getField=function(){return this.textarea},bl.prototype.supportsTouch=function(){return!1},bl.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!W||ye(Pe(this.textarea))!=this.textarea))try{this.textarea.focus()}catch{}},bl.prototype.blur=function(){this.textarea.blur()},bl.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},bl.prototype.receivedFocus=function(){this.slowPoll()},bl.prototype.slowPoll=function(){var h=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){h.poll(),h.cm.state.focused&&h.slowPoll()})},bl.prototype.fastPoll=function(){var h=!1,b=this;b.pollingFast=!0;function F(){var k=b.poll();!k&&!h?(h=!0,b.polling.set(60,F)):(b.pollingFast=!1,b.slowPoll())}b.polling.set(20,F)},bl.prototype.poll=function(){var h=this,b=this.cm,F=this.textarea,k=this.prevInput;if(this.contextMenuPending||this.resetting||!b.state.focused||yi(F)&&!k&&!this.composing||b.isReadOnly()||b.options.disableInput||b.state.keySeq)return!1;var G=F.value;if(G==k&&!b.somethingSelected())return!1;if(v&&_>=9&&this.hasSelection===G||X&&/[\uf700-\uf7ff]/.test(G))return b.display.input.reset(),!1;if(b.doc.sel==b.display.selForContextMenu){var ae=G.charCodeAt(0);if(ae==8203&&!k&&(k="\u200B"),ae==8666)return this.reset(),this.cm.execCommand("undo")}for(var De=0,Xe=Math.min(k.length,G.length);De<Xe&&k.charCodeAt(De)==G.charCodeAt(De);)++De;return Eu(b,function(){Rs(b,G.slice(De),k.length-De,null,h.composing?"*compose":null),G.length>1e3||G.indexOf(`
`)>-1?F.value=h.prevInput="":h.prevInput=G,h.composing&&(h.composing.range.clear(),h.composing.range=b.markText(h.composing.start,b.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},bl.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},bl.prototype.onKeyPress=function(){v&&_>=9&&(this.hasSelection=null),this.fastPoll()},bl.prototype.onContextMenu=function(h){var b=this,F=b.cm,k=F.display,G=b.textarea;b.contextMenuPending&&b.contextMenuPending();var ae=Io(F,h),De=k.scroller.scrollTop;if(!ae||M)return;var Xe=F.options.resetSelectionOnContextMenu;Xe&&F.doc.sel.contains(ae)==-1&&Lu(F,uo)(F.doc,Iu(ae),It);var lt=G.style.cssText,it=b.wrapper.style.cssText,Rn=b.wrapper.offsetParent.getBoundingClientRect();b.wrapper.style.cssText="position: static",G.style.cssText=`position: absolute; width: 30px; height: 30px;
      top: `+(h.clientY-Rn.top-5)+"px; left: "+(h.clientX-Rn.left-5)+`px;
      z-index: 1000; background: `+(v?"rgba(255, 255, 255, .05)":"transparent")+`;
      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Zn;T&&(Zn=G.ownerDocument.defaultView.scrollY),k.input.focus(),T&&G.ownerDocument.defaultView.scrollTo(null,Zn),k.input.reset(),F.somethingSelected()||(G.value=b.prevInput=" "),b.contextMenuPending=Tr,k.selForContextMenu=F.doc.sel,clearTimeout(k.detectingSelectAll);function Fr(){if(G.selectionStart!=null){var ki=F.somethingSelected(),cs="\u200B"+(ki?G.value:"");G.value="\u21DA",G.value=cs,b.prevInput=ki?"":"\u200B",G.selectionStart=1,G.selectionEnd=cs.length,k.selForContextMenu=F.doc.sel}}function Tr(){if(b.contextMenuPending==Tr&&(b.contextMenuPending=!1,b.wrapper.style.cssText=it,G.style.cssText=lt,v&&_<9&&k.scrollbars.setScrollTop(k.scroller.scrollTop=De),G.selectionStart!=null)){(!v||v&&_<9)&&Fr();var ki=0,cs=function(){k.selForContextMenu==F.doc.sel&&G.selectionStart==0&&G.selectionEnd>0&&b.prevInput=="\u200B"?Lu(F,Pn)(F):ki++<10?k.detectingSelectAll=setTimeout(cs,500):(k.selForContextMenu=null,k.input.reset())};k.detectingSelectAll=setTimeout(cs,200)}}if(v&&_>=9&&Fr(),J){xn(h);var ui=function(){Re(window,"mouseup",ui),setTimeout(Tr,20)};Et(window,"mouseup",ui)}else setTimeout(Tr,50)},bl.prototype.readOnlyChanged=function(h){h||this.reset(),this.textarea.disabled=h=="nocursor",this.textarea.readOnly=!!h},bl.prototype.setUneditable=function(){},bl.prototype.needsContentAttribute=!1;function U0(h,b){if(b=b?_e(b):{},b.value=h.value,!b.tabindex&&h.tabIndex&&(b.tabindex=h.tabIndex),!b.placeholder&&h.placeholder&&(b.placeholder=h.placeholder),b.autofocus==null){var F=ye(Pe(h));b.autofocus=F==h||h.getAttribute("autofocus")!=null&&F==document.body}function k(){h.value=Xe.getValue()}var G;if(h.form&&(Et(h.form,"submit",k),!b.leaveSubmitMethodAlone)){var ae=h.form;G=ae.submit;try{var De=ae.submit=function(){k(),ae.submit=G,ae.submit(),ae.submit=De}}catch{}}b.finishInit=function(lt){lt.save=k,lt.getTextArea=function(){return h},lt.toTextArea=function(){lt.toTextArea=isNaN,k(),h.parentNode.removeChild(lt.getWrapperElement()),h.style.display="",h.form&&(Re(h.form,"submit",k),!b.leaveSubmitMethodAlone&&typeof h.form.submit=="function"&&(h.form.submit=G))}},h.style.display="none";var Xe=yl(function(lt){return h.parentNode.insertBefore(lt,h.nextSibling)},b);return Xe}function tt(h){h.off=Re,h.on=Et,h.wheelEventPixels=Pc,h.Doc=Ua,h.splitLines=$n,h.countColumn=Ne,h.findColumn=Vt,h.isWordChar=wr,h.Pass=yt,h.signal=We,h.Line=Di,h.changeEnd=Go,h.scrollbarModel=e0,h.Pos=Lt,h.cmpPos=yn,h.modes=we,h.mimeModes=je,h.resolveMode=kt,h.getMode=vn,h.modeExtensions=Wn,h.extendMode=nr,h.copyState=rr,h.startState=Gt,h.innerMode=Ot,h.commands=xi,h.keyMap=yu,h.keyName=ac,h.isModifierKey=Md,h.lookupKey=F0,h.normalizeKeyMap=Rl,h.StringStream=Pt,h.SharedTextMarker=Hu,h.TextMarker=ho,h.LineWidget=Hs,h.e_preventDefault=ge,h.e_stopPropagation=At,h.e_stop=xn,h.addClass=Ae,h.contains=Ce,h.rmClass=re,h.keyNames=Ao}Co(yl),kf(yl);var hn="iter insert remove copy getEditor constructor".split(" ");for(var Yn in Ua.prototype)Ua.prototype.hasOwnProperty(Yn)&&Ke(hn,Yn)<0&&(yl.prototype[Yn]=function(h){return function(){return h.apply(this.doc,arguments)}}(Ua.prototype[Yn]));return tn(Ua),yl.inputStyles={textarea:bl,contenteditable:du},yl.defineMode=function(h){!yl.defaults.mode&&h!="null"&&(yl.defaults.mode=h),pt.apply(this,arguments)},yl.defineMIME=at,yl.defineMode("null",function(){return{token:function(h){return h.skipToEnd()}}}),yl.defineMIME("text/plain","null"),yl.defineExtension=function(h,b){yl.prototype[h]=b},yl.defineDocExtension=function(h,b){Ua.prototype[h]=b},yl.fromTextArea=U0,tt(yl),yl.version="5.65.16",yl})},40980:function(U){/*!
 * Cropper.js v1.6.0
 * https://fengyuanchen.github.io/cropperjs
 *
 * Copyright 2015-present Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2023-08-26T08:14:27.943Z
 */(function(C,e){U.exports=e()})(this,function(){"use strict";function C(un,ct){var Ut=Object.keys(un);if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(un);ct&&(wt=wt.filter(function(kn){return Object.getOwnPropertyDescriptor(un,kn).enumerable})),Ut.push.apply(Ut,wt)}return Ut}function e(un){for(var ct=1;ct<arguments.length;ct++){var Ut=arguments[ct]!=null?arguments[ct]:{};ct%2?C(Object(Ut),!0).forEach(function(wt){v(un,wt,Ut[wt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(un,Object.getOwnPropertyDescriptors(Ut)):C(Object(Ut)).forEach(function(wt){Object.defineProperty(un,wt,Object.getOwnPropertyDescriptor(Ut,wt))})}return un}function i(un){return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ct){return typeof ct}:function(ct){return ct&&typeof Symbol=="function"&&ct.constructor===Symbol&&ct!==Symbol.prototype?"symbol":typeof ct},i(un)}function a(un,ct){if(!(un instanceof ct))throw new TypeError("Cannot call a class as a function")}function l(un,ct){for(var Ut=0;Ut<ct.length;Ut++){var wt=ct[Ut];wt.enumerable=wt.enumerable||!1,wt.configurable=!0,"value"in wt&&(wt.writable=!0),Object.defineProperty(un,N(wt.key),wt)}}function c(un,ct,Ut){return ct&&l(un.prototype,ct),Ut&&l(un,Ut),Object.defineProperty(un,"prototype",{writable:!1}),un}function v(un,ct,Ut){return ct=N(ct),ct in un?Object.defineProperty(un,ct,{value:Ut,enumerable:!0,configurable:!0,writable:!0}):un[ct]=Ut,un}function _(un){return T(un)||A(un)||R(un)||M()}function T(un){if(Array.isArray(un))return P(un)}function A(un){if(typeof Symbol<"u"&&un[Symbol.iterator]!=null||un["@@iterator"]!=null)return Array.from(un)}function R(un,ct){if(un){if(typeof un=="string")return P(un,ct);var Ut=Object.prototype.toString.call(un).slice(8,-1);if(Ut==="Object"&&un.constructor&&(Ut=un.constructor.name),Ut==="Map"||Ut==="Set")return Array.from(un);if(Ut==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ut))return P(un,ct)}}function P(un,ct){(ct==null||ct>un.length)&&(ct=un.length);for(var Ut=0,wt=new Array(ct);Ut<ct;Ut++)wt[Ut]=un[Ut];return wt}function M(){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 O(un,ct){if(typeof un!="object"||un===null)return un;var Ut=un[Symbol.toPrimitive];if(Ut!==void 0){var wt=Ut.call(un,ct||"default");if(typeof wt!="object")return wt;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ct==="string"?String:Number)(un)}function N(un){var ct=O(un,"string");return typeof ct=="symbol"?ct:String(ct)}var B=typeof window<"u"&&typeof window.document<"u",j=B?window:{},z=B&&j.document.documentElement?"ontouchstart"in j.document.documentElement:!1,W=B?"PointerEvent"in j:!1,X="cropper",Q="all",K="crop",Y="move",Z="zoom",J="e",ee="w",re="s",me="n",fe="ne",le="nw",Ve="se",Ze="sw",Ce="".concat(X,"-crop"),ye="".concat(X,"-disabled"),Ae="".concat(X,"-hidden"),Fe="".concat(X,"-hide"),Qe="".concat(X,"-invisible"),ce="".concat(X,"-modal"),Ge="".concat(X,"-move"),Pe="".concat(X,"Action"),pe="".concat(X,"Preview"),Se="crop",_e="move",Ne="none",Le="crop",Ke="cropend",bt="cropmove",yt="cropstart",It="dblclick",_t=z?"touchstart":"mousedown",zt=z?"touchmove":"mousemove",Vt=z?"touchend touchcancel":"mouseup",St=W?"pointerdown":_t,Xt=W?"pointermove":zt,jt=W?"pointerup pointercancel":Vt,sn="ready",dt="resize",Ln="wheel",fn="zoom",cr="image/jpeg",wr=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,Jn=/^data:/,nn=/^data:image\/jpeg;base64,/,or=/^img|canvas$/i,bn=200,Sn=100,Hn={viewMode:0,dragMode:Se,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:bn,minContainerHeight:Sn,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},er='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',an=Number.isNaN||j.isNaN;function Cn(un){return typeof un=="number"&&!an(un)}var de=function(ct){return ct>0&&ct<1/0};function oe(un){return typeof un>"u"}function Ye(un){return i(un)==="object"&&un!==null}var Et=Object.prototype.hasOwnProperty;function xe(un){if(!Ye(un))return!1;try{var ct=un.constructor,Ut=ct.prototype;return ct&&Ut&&Et.call(Ut,"isPrototypeOf")}catch{return!1}}function Re(un){return typeof un=="function"}var We=Array.prototype.slice;function gt(un){return Array.from?Array.from(un):We.call(un)}function Nt(un,ct){return un&&Re(ct)&&(Array.isArray(un)||Cn(un.length)?gt(un).forEach(function(Ut,wt){ct.call(un,Ut,wt,un)}):Ye(un)&&Object.keys(un).forEach(function(Ut){ct.call(un,un[Ut],Ut,un)})),un}var Ct=Object.assign||function(ct){for(var Ut=arguments.length,wt=new Array(Ut>1?Ut-1:0),kn=1;kn<Ut;kn++)wt[kn-1]=arguments[kn];return Ye(ct)&&wt.length>0&&wt.forEach(function(wn){Ye(wn)&&Object.keys(wn).forEach(function(Qn){ct[Qn]=wn[Qn]})}),ct},tn=/\.\d*(?:0|9){12}\d*$/;function ge(un){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return tn.test(un)?Math.round(un*ct)/ct:un}var At=/^width|height|left|top|marginLeft|marginTop$/;function mn(un,ct){var Ut=un.style;Nt(ct,function(wt,kn){At.test(kn)&&Cn(wt)&&(wt="".concat(wt,"px")),Ut[kn]=wt})}function xn(un,ct){return un.classList?un.classList.contains(ct):un.className.indexOf(ct)>-1}function Un(un,ct){if(ct){if(Cn(un.length)){Nt(un,function(wt){Un(wt,ct)});return}if(un.classList){un.classList.add(ct);return}var Ut=un.className.trim();Ut?Ut.indexOf(ct)<0&&(un.className="".concat(Ut," ").concat(ct)):un.className=ct}}function gr(un,ct){if(ct){if(Cn(un.length)){Nt(un,function(Ut){gr(Ut,ct)});return}if(un.classList){un.classList.remove(ct);return}un.className.indexOf(ct)>=0&&(un.className=un.className.replace(ct,""))}}function Ur(un,ct,Ut){if(ct){if(Cn(un.length)){Nt(un,function(wt){Ur(wt,ct,Ut)});return}Ut?Un(un,ct):gr(un,ct)}}var Or=/([a-z\d])([A-Z])/g;function ii(un){return un.replace(Or,"$1-$2").toLowerCase()}function Ui(un,ct){return Ye(un[ct])?un[ct]:un.dataset?un.dataset[ct]:un.getAttribute("data-".concat(ii(ct)))}function rn(un,ct,Ut){Ye(Ut)?un[ct]=Ut:un.dataset?un.dataset[ct]=Ut:un.setAttribute("data-".concat(ii(ct)),Ut)}function $n(un,ct){if(Ye(un[ct]))try{delete un[ct]}catch{un[ct]=void 0}else if(un.dataset)try{delete un.dataset[ct]}catch{un.dataset[ct]=void 0}else un.removeAttribute("data-".concat(ii(ct)))}var yi=/\s\s*/,Jr=function(){var un=!1;if(B){var ct=!1,Ut=function(){},wt=Object.defineProperty({},"once",{get:function(){return un=!0,ct},set:function(wn){ct=wn}});j.addEventListener("test",Ut,wt),j.removeEventListener("test",Ut,wt)}return un}();function cn(un,ct,Ut){var wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},kn=Ut;ct.trim().split(yi).forEach(function(wn){if(!Jr){var Qn=un.listeners;Qn&&Qn[wn]&&Qn[wn][Ut]&&(kn=Qn[wn][Ut],delete Qn[wn][Ut],Object.keys(Qn[wn]).length===0&&delete Qn[wn],Object.keys(Qn).length===0&&delete un.listeners)}un.removeEventListener(wn,kn,wt)})}function mt(un,ct,Ut){var wt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},kn=Ut;ct.trim().split(yi).forEach(function(wn){if(wt.once&&!Jr){var Qn=un.listeners,ur=Qn===void 0?{}:Qn;kn=function(){delete ur[wn][Ut],un.removeEventListener(wn,kn,wt);for(var ot=arguments.length,ft=new Array(ot),Mt=0;Mt<ot;Mt++)ft[Mt]=arguments[Mt];Ut.apply(un,ft)},ur[wn]||(ur[wn]={}),ur[wn][Ut]&&un.removeEventListener(wn,ur[wn][Ut],wt),ur[wn][Ut]=kn,un.listeners=ur}un.addEventListener(wn,kn,wt)})}function we(un,ct,Ut){var wt;return Re(Event)&&Re(CustomEvent)?wt=new CustomEvent(ct,{detail:Ut,bubbles:!0,cancelable:!0}):(wt=document.createEvent("CustomEvent"),wt.initCustomEvent(ct,!0,!0,Ut)),un.dispatchEvent(wt)}function je(un){var ct=un.getBoundingClientRect();return{left:ct.left+(window.pageXOffset-document.documentElement.clientLeft),top:ct.top+(window.pageYOffset-document.documentElement.clientTop)}}var pt=j.location,at=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function kt(un){var ct=un.match(at);return ct!==null&&(ct[1]!==pt.protocol||ct[2]!==pt.hostname||ct[3]!==pt.port)}function vn(un){var ct="timestamp=".concat(new Date().getTime());return un+(un.indexOf("?")===-1?"?":"&")+ct}function Wn(un){var ct=un.rotate,Ut=un.scaleX,wt=un.scaleY,kn=un.translateX,wn=un.translateY,Qn=[];Cn(kn)&&kn!==0&&Qn.push("translateX(".concat(kn,"px)")),Cn(wn)&&wn!==0&&Qn.push("translateY(".concat(wn,"px)")),Cn(ct)&&ct!==0&&Qn.push("rotate(".concat(ct,"deg)")),Cn(Ut)&&Ut!==1&&Qn.push("scaleX(".concat(Ut,")")),Cn(wt)&&wt!==1&&Qn.push("scaleY(".concat(wt,")"));var ur=Qn.length?Qn.join(" "):"none";return{WebkitTransform:ur,msTransform:ur,transform:ur}}function nr(un){var ct=e({},un),Ut=0;return Nt(un,function(wt,kn){delete ct[kn],Nt(ct,function(wn){var Qn=Math.abs(wt.startX-wn.startX),ur=Math.abs(wt.startY-wn.startY),fi=Math.abs(wt.endX-wn.endX),ot=Math.abs(wt.endY-wn.endY),ft=Math.sqrt(Qn*Qn+ur*ur),Mt=Math.sqrt(fi*fi+ot*ot),qt=(Mt-ft)/ft;Math.abs(qt)>Math.abs(Ut)&&(Ut=qt)})}),Ut}function rr(un,ct){var Ut=un.pageX,wt=un.pageY,kn={endX:Ut,endY:wt};return ct?kn:e({startX:Ut,startY:wt},kn)}function Ot(un){var ct=0,Ut=0,wt=0;return Nt(un,function(kn){var wn=kn.startX,Qn=kn.startY;ct+=wn,Ut+=Qn,wt+=1}),ct/=wt,Ut/=wt,{pageX:ct,pageY:Ut}}function Gt(un){var ct=un.aspectRatio,Ut=un.height,wt=un.width,kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",wn=de(wt),Qn=de(Ut);if(wn&&Qn){var ur=Ut*ct;kn==="contain"&&ur>wt||kn==="cover"&&ur<wt?Ut=wt/ct:wt=Ut*ct}else wn?Ut=wt/ct:Qn&&(wt=Ut*ct);return{width:wt,height:Ut}}function Pt(un){var ct=un.width,Ut=un.height,wt=un.degree;if(wt=Math.abs(wt)%180,wt===90)return{width:Ut,height:ct};var kn=wt%90*Math.PI/180,wn=Math.sin(kn),Qn=Math.cos(kn),ur=ct*Qn+Ut*wn,fi=ct*wn+Ut*Qn;return wt>90?{width:fi,height:ur}:{width:ur,height:fi}}function Tt(un,ct,Ut,wt){var kn=ct.aspectRatio,wn=ct.naturalWidth,Qn=ct.naturalHeight,ur=ct.rotate,fi=ur===void 0?0:ur,ot=ct.scaleX,ft=ot===void 0?1:ot,Mt=ct.scaleY,qt=Mt===void 0?1:Mt,sr=Ut.aspectRatio,lr=Ut.naturalWidth,Cr=Ut.naturalHeight,xr=wt.fillColor,qr=xr===void 0?"transparent":xr,jr=wt.imageSmoothingEnabled,vr=jr===void 0?!0:jr,$r=wt.imageSmoothingQuality,Wr=$r===void 0?"low":$r,be=wt.maxWidth,Ue=be===void 0?1/0:be,ut=wt.maxHeight,Ht=ut===void 0?1/0:ut,Fn=wt.minWidth,ln=Fn===void 0?0:Fn,jn=wt.minHeight,Nr=jn===void 0?0:jn,Mi=document.createElement("canvas"),Oi=Mi.getContext("2d"),ni=Gt({aspectRatio:sr,width:Ue,height:Ht}),rs=Gt({aspectRatio:sr,width:ln,height:Nr},"cover"),Qi=Math.min(ni.width,Math.max(rs.width,lr)),la=Math.min(ni.height,Math.max(rs.height,Cr)),as=Gt({aspectRatio:kn,width:Ue,height:Ht}),bs=Gt({aspectRatio:kn,width:ln,height:Nr},"cover"),Za=Math.min(as.width,Math.max(bs.width,wn)),za=Math.min(as.height,Math.max(bs.height,Qn)),wo=[-Za/2,-za/2,Za,za];return Mi.width=ge(Qi),Mi.height=ge(la),Oi.fillStyle=qr,Oi.fillRect(0,0,Qi,la),Oi.save(),Oi.translate(Qi/2,la/2),Oi.rotate(fi*Math.PI/180),Oi.scale(ft,qt),Oi.imageSmoothingEnabled=vr,Oi.imageSmoothingQuality=Wr,Oi.drawImage.apply(Oi,[un].concat(_(wo.map(function(ca){return Math.floor(ge(ca))})))),Oi.restore(),Mi}var An=String.fromCharCode;function on(un,ct,Ut){var wt="";Ut+=ct;for(var kn=ct;kn<Ut;kn+=1)wt+=An(un.getUint8(kn));return wt}var dn=/^data:.*,/;function $e(un){var ct=un.replace(dn,""),Ut=atob(ct),wt=new ArrayBuffer(Ut.length),kn=new Uint8Array(wt);return Nt(kn,function(wn,Qn){kn[Qn]=Ut.charCodeAt(Qn)}),wt}function Yt(un,ct){for(var Ut=[],wt=8192,kn=new Uint8Array(un);kn.length>0;)Ut.push(An.apply(null,gt(kn.subarray(0,wt)))),kn=kn.subarray(wt);return"data:".concat(ct,";base64,").concat(btoa(Ut.join("")))}function $t(un){var ct=new DataView(un),Ut;try{var wt,kn,wn;if(ct.getUint8(0)===255&&ct.getUint8(1)===216)for(var Qn=ct.byteLength,ur=2;ur+1<Qn;){if(ct.getUint8(ur)===255&&ct.getUint8(ur+1)===225){kn=ur;break}ur+=1}if(kn){var fi=kn+4,ot=kn+10;if(on(ct,fi,4)==="Exif"){var ft=ct.getUint16(ot);if(wt=ft===18761,(wt||ft===19789)&&ct.getUint16(ot+2,wt)===42){var Mt=ct.getUint32(ot+4,wt);Mt>=8&&(wn=ot+Mt)}}}if(wn){var qt=ct.getUint16(wn,wt),sr,lr;for(lr=0;lr<qt;lr+=1)if(sr=wn+lr*12+2,ct.getUint16(sr,wt)===274){sr+=8,Ut=ct.getUint16(sr,wt),ct.setUint16(sr,1,wt);break}}}catch{Ut=1}return Ut}function Jt(un){var ct=0,Ut=1,wt=1;switch(un){case 2:Ut=-1;break;case 3:ct=-180;break;case 4:wt=-1;break;case 5:ct=90,wt=-1;break;case 6:ct=90;break;case 7:ct=90,Ut=-1;break;case 8:ct=-90;break}return{rotate:ct,scaleX:Ut,scaleY:wt}}var Lt={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var ct=this.element,Ut=this.options,wt=this.container,kn=this.cropper,wn=Number(Ut.minContainerWidth),Qn=Number(Ut.minContainerHeight);Un(kn,Ae),gr(ct,Ae);var ur={width:Math.max(wt.offsetWidth,wn>=0?wn:bn),height:Math.max(wt.offsetHeight,Qn>=0?Qn:Sn)};this.containerData=ur,mn(kn,{width:ur.width,height:ur.height}),Un(ct,Ae),gr(kn,Ae)},initCanvas:function(){var ct=this.containerData,Ut=this.imageData,wt=this.options.viewMode,kn=Math.abs(Ut.rotate)%180===90,wn=kn?Ut.naturalHeight:Ut.naturalWidth,Qn=kn?Ut.naturalWidth:Ut.naturalHeight,ur=wn/Qn,fi=ct.width,ot=ct.height;ct.height*ur>ct.width?wt===3?fi=ct.height*ur:ot=ct.width/ur:wt===3?ot=ct.width/ur:fi=ct.height*ur;var ft={aspectRatio:ur,naturalWidth:wn,naturalHeight:Qn,width:fi,height:ot};this.canvasData=ft,this.limited=wt===1||wt===2,this.limitCanvas(!0,!0),ft.width=Math.min(Math.max(ft.width,ft.minWidth),ft.maxWidth),ft.height=Math.min(Math.max(ft.height,ft.minHeight),ft.maxHeight),ft.left=(ct.width-ft.width)/2,ft.top=(ct.height-ft.height)/2,ft.oldLeft=ft.left,ft.oldTop=ft.top,this.initialCanvasData=Ct({},ft)},limitCanvas:function(ct,Ut){var wt=this.options,kn=this.containerData,wn=this.canvasData,Qn=this.cropBoxData,ur=wt.viewMode,fi=wn.aspectRatio,ot=this.cropped&&Qn;if(ct){var ft=Number(wt.minCanvasWidth)||0,Mt=Number(wt.minCanvasHeight)||0;ur>1?(ft=Math.max(ft,kn.width),Mt=Math.max(Mt,kn.height),ur===3&&(Mt*fi>ft?ft=Mt*fi:Mt=ft/fi)):ur>0&&(ft?ft=Math.max(ft,ot?Qn.width:0):Mt?Mt=Math.max(Mt,ot?Qn.height:0):ot&&(ft=Qn.width,Mt=Qn.height,Mt*fi>ft?ft=Mt*fi:Mt=ft/fi));var qt=Gt({aspectRatio:fi,width:ft,height:Mt});ft=qt.width,Mt=qt.height,wn.minWidth=ft,wn.minHeight=Mt,wn.maxWidth=1/0,wn.maxHeight=1/0}if(Ut)if(ur>(ot?0:1)){var sr=kn.width-wn.width,lr=kn.height-wn.height;wn.minLeft=Math.min(0,sr),wn.minTop=Math.min(0,lr),wn.maxLeft=Math.max(0,sr),wn.maxTop=Math.max(0,lr),ot&&this.limited&&(wn.minLeft=Math.min(Qn.left,Qn.left+(Qn.width-wn.width)),wn.minTop=Math.min(Qn.top,Qn.top+(Qn.height-wn.height)),wn.maxLeft=Qn.left,wn.maxTop=Qn.top,ur===2&&(wn.width>=kn.width&&(wn.minLeft=Math.min(0,sr),wn.maxLeft=Math.max(0,sr)),wn.height>=kn.height&&(wn.minTop=Math.min(0,lr),wn.maxTop=Math.max(0,lr))))}else wn.minLeft=-wn.width,wn.minTop=-wn.height,wn.maxLeft=kn.width,wn.maxTop=kn.height},renderCanvas:function(ct,Ut){var wt=this.canvasData,kn=this.imageData;if(Ut){var wn=Pt({width:kn.naturalWidth*Math.abs(kn.scaleX||1),height:kn.naturalHeight*Math.abs(kn.scaleY||1),degree:kn.rotate||0}),Qn=wn.width,ur=wn.height,fi=wt.width*(Qn/wt.naturalWidth),ot=wt.height*(ur/wt.naturalHeight);wt.left-=(fi-wt.width)/2,wt.top-=(ot-wt.height)/2,wt.width=fi,wt.height=ot,wt.aspectRatio=Qn/ur,wt.naturalWidth=Qn,wt.naturalHeight=ur,this.limitCanvas(!0,!1)}(wt.width>wt.maxWidth||wt.width<wt.minWidth)&&(wt.left=wt.oldLeft),(wt.height>wt.maxHeight||wt.height<wt.minHeight)&&(wt.top=wt.oldTop),wt.width=Math.min(Math.max(wt.width,wt.minWidth),wt.maxWidth),wt.height=Math.min(Math.max(wt.height,wt.minHeight),wt.maxHeight),this.limitCanvas(!1,!0),wt.left=Math.min(Math.max(wt.left,wt.minLeft),wt.maxLeft),wt.top=Math.min(Math.max(wt.top,wt.minTop),wt.maxTop),wt.oldLeft=wt.left,wt.oldTop=wt.top,mn(this.canvas,Ct({width:wt.width,height:wt.height},Wn({translateX:wt.left,translateY:wt.top}))),this.renderImage(ct),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(ct){var Ut=this.canvasData,wt=this.imageData,kn=wt.naturalWidth*(Ut.width/Ut.naturalWidth),wn=wt.naturalHeight*(Ut.height/Ut.naturalHeight);Ct(wt,{width:kn,height:wn,left:(Ut.width-kn)/2,top:(Ut.height-wn)/2}),mn(this.image,Ct({width:wt.width,height:wt.height},Wn(Ct({translateX:wt.left,translateY:wt.top},wt)))),ct&&this.output()},initCropBox:function(){var ct=this.options,Ut=this.canvasData,wt=ct.aspectRatio||ct.initialAspectRatio,kn=Number(ct.autoCropArea)||.8,wn={width:Ut.width,height:Ut.height};wt&&(Ut.height*wt>Ut.width?wn.height=wn.width/wt:wn.width=wn.height*wt),this.cropBoxData=wn,this.limitCropBox(!0,!0),wn.width=Math.min(Math.max(wn.width,wn.minWidth),wn.maxWidth),wn.height=Math.min(Math.max(wn.height,wn.minHeight),wn.maxHeight),wn.width=Math.max(wn.minWidth,wn.width*kn),wn.height=Math.max(wn.minHeight,wn.height*kn),wn.left=Ut.left+(Ut.width-wn.width)/2,wn.top=Ut.top+(Ut.height-wn.height)/2,wn.oldLeft=wn.left,wn.oldTop=wn.top,this.initialCropBoxData=Ct({},wn)},limitCropBox:function(ct,Ut){var wt=this.options,kn=this.containerData,wn=this.canvasData,Qn=this.cropBoxData,ur=this.limited,fi=wt.aspectRatio;if(ct){var ot=Number(wt.minCropBoxWidth)||0,ft=Number(wt.minCropBoxHeight)||0,Mt=ur?Math.min(kn.width,wn.width,wn.width+wn.left,kn.width-wn.left):kn.width,qt=ur?Math.min(kn.height,wn.height,wn.height+wn.top,kn.height-wn.top):kn.height;ot=Math.min(ot,kn.width),ft=Math.min(ft,kn.height),fi&&(ot&&ft?ft*fi>ot?ft=ot/fi:ot=ft*fi:ot?ft=ot/fi:ft&&(ot=ft*fi),qt*fi>Mt?qt=Mt/fi:Mt=qt*fi),Qn.minWidth=Math.min(ot,Mt),Qn.minHeight=Math.min(ft,qt),Qn.maxWidth=Mt,Qn.maxHeight=qt}Ut&&(ur?(Qn.minLeft=Math.max(0,wn.left),Qn.minTop=Math.max(0,wn.top),Qn.maxLeft=Math.min(kn.width,wn.left+wn.width)-Qn.width,Qn.maxTop=Math.min(kn.height,wn.top+wn.height)-Qn.height):(Qn.minLeft=0,Qn.minTop=0,Qn.maxLeft=kn.width-Qn.width,Qn.maxTop=kn.height-Qn.height))},renderCropBox:function(){var ct=this.options,Ut=this.containerData,wt=this.cropBoxData;(wt.width>wt.maxWidth||wt.width<wt.minWidth)&&(wt.left=wt.oldLeft),(wt.height>wt.maxHeight||wt.height<wt.minHeight)&&(wt.top=wt.oldTop),wt.width=Math.min(Math.max(wt.width,wt.minWidth),wt.maxWidth),wt.height=Math.min(Math.max(wt.height,wt.minHeight),wt.maxHeight),this.limitCropBox(!1,!0),wt.left=Math.min(Math.max(wt.left,wt.minLeft),wt.maxLeft),wt.top=Math.min(Math.max(wt.top,wt.minTop),wt.maxTop),wt.oldLeft=wt.left,wt.oldTop=wt.top,ct.movable&&ct.cropBoxMovable&&rn(this.face,Pe,wt.width>=Ut.width&&wt.height>=Ut.height?Y:Q),mn(this.cropBox,Ct({width:wt.width,height:wt.height},Wn({translateX:wt.left,translateY:wt.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),we(this.element,Le,this.getData())}},yn={initPreview:function(){var ct=this.element,Ut=this.crossOrigin,wt=this.options.preview,kn=Ut?this.crossOriginUrl:this.url,wn=ct.alt||"The image to preview",Qn=document.createElement("img");if(Ut&&(Qn.crossOrigin=Ut),Qn.src=kn,Qn.alt=wn,this.viewBox.appendChild(Qn),this.viewBoxImage=Qn,!!wt){var ur=wt;typeof wt=="string"?ur=ct.ownerDocument.querySelectorAll(wt):wt.querySelector&&(ur=[wt]),this.previews=ur,Nt(ur,function(fi){var ot=document.createElement("img");rn(fi,pe,{width:fi.offsetWidth,height:fi.offsetHeight,html:fi.innerHTML}),Ut&&(ot.crossOrigin=Ut),ot.src=kn,ot.alt=wn,ot.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',fi.innerHTML="",fi.appendChild(ot)})}},resetPreview:function(){Nt(this.previews,function(ct){var Ut=Ui(ct,pe);mn(ct,{width:Ut.width,height:Ut.height}),ct.innerHTML=Ut.html,$n(ct,pe)})},preview:function(){var ct=this.imageData,Ut=this.canvasData,wt=this.cropBoxData,kn=wt.width,wn=wt.height,Qn=ct.width,ur=ct.height,fi=wt.left-Ut.left-ct.left,ot=wt.top-Ut.top-ct.top;!this.cropped||this.disabled||(mn(this.viewBoxImage,Ct({width:Qn,height:ur},Wn(Ct({translateX:-fi,translateY:-ot},ct)))),Nt(this.previews,function(ft){var Mt=Ui(ft,pe),qt=Mt.width,sr=Mt.height,lr=qt,Cr=sr,xr=1;kn&&(xr=qt/kn,Cr=wn*xr),wn&&Cr>sr&&(xr=sr/wn,lr=kn*xr,Cr=sr),mn(ft,{width:lr,height:Cr}),mn(ft.getElementsByTagName("img")[0],Ct({width:Qn*xr,height:ur*xr},Wn(Ct({translateX:-fi*xr,translateY:-ot*xr},ct))))}))}},In={bind:function(){var ct=this.element,Ut=this.options,wt=this.cropper;Re(Ut.cropstart)&&mt(ct,yt,Ut.cropstart),Re(Ut.cropmove)&&mt(ct,bt,Ut.cropmove),Re(Ut.cropend)&&mt(ct,Ke,Ut.cropend),Re(Ut.crop)&&mt(ct,Le,Ut.crop),Re(Ut.zoom)&&mt(ct,fn,Ut.zoom),mt(wt,St,this.onCropStart=this.cropStart.bind(this)),Ut.zoomable&&Ut.zoomOnWheel&&mt(wt,Ln,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),Ut.toggleDragModeOnDblclick&&mt(wt,It,this.onDblclick=this.dblclick.bind(this)),mt(ct.ownerDocument,Xt,this.onCropMove=this.cropMove.bind(this)),mt(ct.ownerDocument,jt,this.onCropEnd=this.cropEnd.bind(this)),Ut.responsive&&mt(window,dt,this.onResize=this.resize.bind(this))},unbind:function(){var ct=this.element,Ut=this.options,wt=this.cropper;Re(Ut.cropstart)&&cn(ct,yt,Ut.cropstart),Re(Ut.cropmove)&&cn(ct,bt,Ut.cropmove),Re(Ut.cropend)&&cn(ct,Ke,Ut.cropend),Re(Ut.crop)&&cn(ct,Le,Ut.crop),Re(Ut.zoom)&&cn(ct,fn,Ut.zoom),cn(wt,St,this.onCropStart),Ut.zoomable&&Ut.zoomOnWheel&&cn(wt,Ln,this.onWheel,{passive:!1,capture:!0}),Ut.toggleDragModeOnDblclick&&cn(wt,It,this.onDblclick),cn(ct.ownerDocument,Xt,this.onCropMove),cn(ct.ownerDocument,jt,this.onCropEnd),Ut.responsive&&cn(window,dt,this.onResize)}},yr={resize:function(){if(!this.disabled){var ct=this.options,Ut=this.container,wt=this.containerData,kn=Ut.offsetWidth/wt.width,wn=Ut.offsetHeight/wt.height,Qn=Math.abs(kn-1)>Math.abs(wn-1)?kn:wn;if(Qn!==1){var ur,fi;ct.restore&&(ur=this.getCanvasData(),fi=this.getCropBoxData()),this.render(),ct.restore&&(this.setCanvasData(Nt(ur,function(ot,ft){ur[ft]=ot*Qn})),this.setCropBoxData(Nt(fi,function(ot,ft){fi[ft]=ot*Qn})))}}},dblclick:function(){this.disabled||this.options.dragMode===Ne||this.setDragMode(xn(this.dragBox,Ce)?_e:Se)},wheel:function(ct){var Ut=this,wt=Number(this.options.wheelZoomRatio)||.1,kn=1;this.disabled||(ct.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){Ut.wheeling=!1},50),ct.deltaY?kn=ct.deltaY>0?1:-1:ct.wheelDelta?kn=-ct.wheelDelta/120:ct.detail&&(kn=ct.detail>0?1:-1),this.zoom(-kn*wt,ct)))},cropStart:function(ct){var Ut=ct.buttons,wt=ct.button;if(!(this.disabled||(ct.type==="mousedown"||ct.type==="pointerdown"&&ct.pointerType==="mouse")&&(Cn(Ut)&&Ut!==1||Cn(wt)&&wt!==0||ct.ctrlKey))){var kn=this.options,wn=this.pointers,Qn;ct.changedTouches?Nt(ct.changedTouches,function(ur){wn[ur.identifier]=rr(ur)}):wn[ct.pointerId||0]=rr(ct),Object.keys(wn).length>1&&kn.zoomable&&kn.zoomOnTouch?Qn=Z:Qn=Ui(ct.target,Pe),wr.test(Qn)&&we(this.element,yt,{originalEvent:ct,action:Qn})!==!1&&(ct.preventDefault(),this.action=Qn,this.cropping=!1,Qn===K&&(this.cropping=!0,Un(this.dragBox,ce)))}},cropMove:function(ct){var Ut=this.action;if(!(this.disabled||!Ut)){var wt=this.pointers;ct.preventDefault(),we(this.element,bt,{originalEvent:ct,action:Ut})!==!1&&(ct.changedTouches?Nt(ct.changedTouches,function(kn){Ct(wt[kn.identifier]||{},rr(kn,!0))}):Ct(wt[ct.pointerId||0]||{},rr(ct,!0)),this.change(ct))}},cropEnd:function(ct){if(!this.disabled){var Ut=this.action,wt=this.pointers;ct.changedTouches?Nt(ct.changedTouches,function(kn){delete wt[kn.identifier]}):delete wt[ct.pointerId||0],Ut&&(ct.preventDefault(),Object.keys(wt).length||(this.action=""),this.cropping&&(this.cropping=!1,Ur(this.dragBox,ce,this.cropped&&this.options.modal)),we(this.element,Ke,{originalEvent:ct,action:Ut}))}}},Rr={change:function(ct){var Ut=this.options,wt=this.canvasData,kn=this.containerData,wn=this.cropBoxData,Qn=this.pointers,ur=this.action,fi=Ut.aspectRatio,ot=wn.left,ft=wn.top,Mt=wn.width,qt=wn.height,sr=ot+Mt,lr=ft+qt,Cr=0,xr=0,qr=kn.width,jr=kn.height,vr=!0,$r;!fi&&ct.shiftKey&&(fi=Mt&&qt?Mt/qt:1),this.limited&&(Cr=wn.minLeft,xr=wn.minTop,qr=Cr+Math.min(kn.width,wt.width,wt.left+wt.width),jr=xr+Math.min(kn.height,wt.height,wt.top+wt.height));var Wr=Qn[Object.keys(Qn)[0]],be={x:Wr.endX-Wr.startX,y:Wr.endY-Wr.startY},Ue=function(Ht){switch(Ht){case J:sr+be.x>qr&&(be.x=qr-sr);break;case ee:ot+be.x<Cr&&(be.x=Cr-ot);break;case me:ft+be.y<xr&&(be.y=xr-ft);break;case re:lr+be.y>jr&&(be.y=jr-lr);break}};switch(ur){case Q:ot+=be.x,ft+=be.y;break;case J:if(be.x>=0&&(sr>=qr||fi&&(ft<=xr||lr>=jr))){vr=!1;break}Ue(J),Mt+=be.x,Mt<0&&(ur=ee,Mt=-Mt,ot-=Mt),fi&&(qt=Mt/fi,ft+=(wn.height-qt)/2);break;case me:if(be.y<=0&&(ft<=xr||fi&&(ot<=Cr||sr>=qr))){vr=!1;break}Ue(me),qt-=be.y,ft+=be.y,qt<0&&(ur=re,qt=-qt,ft-=qt),fi&&(Mt=qt*fi,ot+=(wn.width-Mt)/2);break;case ee:if(be.x<=0&&(ot<=Cr||fi&&(ft<=xr||lr>=jr))){vr=!1;break}Ue(ee),Mt-=be.x,ot+=be.x,Mt<0&&(ur=J,Mt=-Mt,ot-=Mt),fi&&(qt=Mt/fi,ft+=(wn.height-qt)/2);break;case re:if(be.y>=0&&(lr>=jr||fi&&(ot<=Cr||sr>=qr))){vr=!1;break}Ue(re),qt+=be.y,qt<0&&(ur=me,qt=-qt,ft-=qt),fi&&(Mt=qt*fi,ot+=(wn.width-Mt)/2);break;case fe:if(fi){if(be.y<=0&&(ft<=xr||sr>=qr)){vr=!1;break}Ue(me),qt-=be.y,ft+=be.y,Mt=qt*fi}else Ue(me),Ue(J),be.x>=0?sr<qr?Mt+=be.x:be.y<=0&&ft<=xr&&(vr=!1):Mt+=be.x,be.y<=0?ft>xr&&(qt-=be.y,ft+=be.y):(qt-=be.y,ft+=be.y);Mt<0&&qt<0?(ur=Ze,qt=-qt,Mt=-Mt,ft-=qt,ot-=Mt):Mt<0?(ur=le,Mt=-Mt,ot-=Mt):qt<0&&(ur=Ve,qt=-qt,ft-=qt);break;case le:if(fi){if(be.y<=0&&(ft<=xr||ot<=Cr)){vr=!1;break}Ue(me),qt-=be.y,ft+=be.y,Mt=qt*fi,ot+=wn.width-Mt}else Ue(me),Ue(ee),be.x<=0?ot>Cr?(Mt-=be.x,ot+=be.x):be.y<=0&&ft<=xr&&(vr=!1):(Mt-=be.x,ot+=be.x),be.y<=0?ft>xr&&(qt-=be.y,ft+=be.y):(qt-=be.y,ft+=be.y);Mt<0&&qt<0?(ur=Ve,qt=-qt,Mt=-Mt,ft-=qt,ot-=Mt):Mt<0?(ur=fe,Mt=-Mt,ot-=Mt):qt<0&&(ur=Ze,qt=-qt,ft-=qt);break;case Ze:if(fi){if(be.x<=0&&(ot<=Cr||lr>=jr)){vr=!1;break}Ue(ee),Mt-=be.x,ot+=be.x,qt=Mt/fi}else Ue(re),Ue(ee),be.x<=0?ot>Cr?(Mt-=be.x,ot+=be.x):be.y>=0&&lr>=jr&&(vr=!1):(Mt-=be.x,ot+=be.x),be.y>=0?lr<jr&&(qt+=be.y):qt+=be.y;Mt<0&&qt<0?(ur=fe,qt=-qt,Mt=-Mt,ft-=qt,ot-=Mt):Mt<0?(ur=Ve,Mt=-Mt,ot-=Mt):qt<0&&(ur=le,qt=-qt,ft-=qt);break;case Ve:if(fi){if(be.x>=0&&(sr>=qr||lr>=jr)){vr=!1;break}Ue(J),Mt+=be.x,qt=Mt/fi}else Ue(re),Ue(J),be.x>=0?sr<qr?Mt+=be.x:be.y>=0&&lr>=jr&&(vr=!1):Mt+=be.x,be.y>=0?lr<jr&&(qt+=be.y):qt+=be.y;Mt<0&&qt<0?(ur=le,qt=-qt,Mt=-Mt,ft-=qt,ot-=Mt):Mt<0?(ur=Ze,Mt=-Mt,ot-=Mt):qt<0&&(ur=fe,qt=-qt,ft-=qt);break;case Y:this.move(be.x,be.y),vr=!1;break;case Z:this.zoom(nr(Qn),ct),vr=!1;break;case K:if(!be.x||!be.y){vr=!1;break}$r=je(this.cropper),ot=Wr.startX-$r.left,ft=Wr.startY-$r.top,Mt=wn.minWidth,qt=wn.minHeight,be.x>0?ur=be.y>0?Ve:fe:be.x<0&&(ot-=Mt,ur=be.y>0?Ze:le),be.y<0&&(ft-=qt),this.cropped||(gr(this.cropBox,Ae),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}vr&&(wn.width=Mt,wn.height=qt,wn.left=ot,wn.top=ft,this.action=ur,this.renderCropBox()),Nt(Qn,function(ut){ut.startX=ut.endX,ut.startY=ut.endY})}},Xr={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Un(this.dragBox,ce),gr(this.cropBox,Ae),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Ct({},this.initialImageData),this.canvasData=Ct({},this.initialCanvasData),this.cropBoxData=Ct({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Ct(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),gr(this.dragBox,ce),Un(this.cropBox,Ae)),this},replace:function(ct){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&ct&&(this.isImg&&(this.element.src=ct),Ut?(this.url=ct,this.image.src=ct,this.ready&&(this.viewBoxImage.src=ct,Nt(this.previews,function(wt){wt.getElementsByTagName("img")[0].src=ct}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(ct))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,gr(this.cropper,ye)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Un(this.cropper,ye)),this},destroy:function(){var ct=this.element;return ct[X]?(ct[X]=void 0,this.isImg&&this.replaced&&(ct.src=this.originalUrl),this.uncreate(),this):this},move:function(ct){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ct,wt=this.canvasData,kn=wt.left,wn=wt.top;return this.moveTo(oe(ct)?ct:kn+Number(ct),oe(Ut)?Ut:wn+Number(Ut))},moveTo:function(ct){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ct,wt=this.canvasData,kn=!1;return ct=Number(ct),Ut=Number(Ut),this.ready&&!this.disabled&&this.options.movable&&(Cn(ct)&&(wt.left=ct,kn=!0),Cn(Ut)&&(wt.top=Ut,kn=!0),kn&&this.renderCanvas(!0)),this},zoom:function(ct,Ut){var wt=this.canvasData;return ct=Number(ct),ct<0?ct=1/(1-ct):ct=1+ct,this.zoomTo(wt.width*ct/wt.naturalWidth,null,Ut)},zoomTo:function(ct,Ut,wt){var kn=this.options,wn=this.canvasData,Qn=wn.width,ur=wn.height,fi=wn.naturalWidth,ot=wn.naturalHeight;if(ct=Number(ct),ct>=0&&this.ready&&!this.disabled&&kn.zoomable){var ft=fi*ct,Mt=ot*ct;if(we(this.element,fn,{ratio:ct,oldRatio:Qn/fi,originalEvent:wt})===!1)return this;if(wt){var qt=this.pointers,sr=je(this.cropper),lr=qt&&Object.keys(qt).length?Ot(qt):{pageX:wt.pageX,pageY:wt.pageY};wn.left-=(ft-Qn)*((lr.pageX-sr.left-wn.left)/Qn),wn.top-=(Mt-ur)*((lr.pageY-sr.top-wn.top)/ur)}else xe(Ut)&&Cn(Ut.x)&&Cn(Ut.y)?(wn.left-=(ft-Qn)*((Ut.x-wn.left)/Qn),wn.top-=(Mt-ur)*((Ut.y-wn.top)/ur)):(wn.left-=(ft-Qn)/2,wn.top-=(Mt-ur)/2);wn.width=ft,wn.height=Mt,this.renderCanvas(!0)}return this},rotate:function(ct){return this.rotateTo((this.imageData.rotate||0)+Number(ct))},rotateTo:function(ct){return ct=Number(ct),Cn(ct)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=ct%360,this.renderCanvas(!0,!0)),this},scaleX:function(ct){var Ut=this.imageData.scaleY;return this.scale(ct,Cn(Ut)?Ut:1)},scaleY:function(ct){var Ut=this.imageData.scaleX;return this.scale(Cn(Ut)?Ut:1,ct)},scale:function(ct){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ct,wt=this.imageData,kn=!1;return ct=Number(ct),Ut=Number(Ut),this.ready&&!this.disabled&&this.options.scalable&&(Cn(ct)&&(wt.scaleX=ct,kn=!0),Cn(Ut)&&(wt.scaleY=Ut,kn=!0),kn&&this.renderCanvas(!0,!0)),this},getData:function(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ut=this.options,wt=this.imageData,kn=this.canvasData,wn=this.cropBoxData,Qn;if(this.ready&&this.cropped){Qn={x:wn.left-kn.left,y:wn.top-kn.top,width:wn.width,height:wn.height};var ur=wt.width/wt.naturalWidth;if(Nt(Qn,function(ft,Mt){Qn[Mt]=ft/ur}),ct){var fi=Math.round(Qn.y+Qn.height),ot=Math.round(Qn.x+Qn.width);Qn.x=Math.round(Qn.x),Qn.y=Math.round(Qn.y),Qn.width=ot-Qn.x,Qn.height=fi-Qn.y}}else Qn={x:0,y:0,width:0,height:0};return Ut.rotatable&&(Qn.rotate=wt.rotate||0),Ut.scalable&&(Qn.scaleX=wt.scaleX||1,Qn.scaleY=wt.scaleY||1),Qn},setData:function(ct){var Ut=this.options,wt=this.imageData,kn=this.canvasData,wn={};if(this.ready&&!this.disabled&&xe(ct)){var Qn=!1;Ut.rotatable&&Cn(ct.rotate)&&ct.rotate!==wt.rotate&&(wt.rotate=ct.rotate,Qn=!0),Ut.scalable&&(Cn(ct.scaleX)&&ct.scaleX!==wt.scaleX&&(wt.scaleX=ct.scaleX,Qn=!0),Cn(ct.scaleY)&&ct.scaleY!==wt.scaleY&&(wt.scaleY=ct.scaleY,Qn=!0)),Qn&&this.renderCanvas(!0,!0);var ur=wt.width/wt.naturalWidth;Cn(ct.x)&&(wn.left=ct.x*ur+kn.left),Cn(ct.y)&&(wn.top=ct.y*ur+kn.top),Cn(ct.width)&&(wn.width=ct.width*ur),Cn(ct.height)&&(wn.height=ct.height*ur),this.setCropBoxData(wn)}return this},getContainerData:function(){return this.ready?Ct({},this.containerData):{}},getImageData:function(){return this.sized?Ct({},this.imageData):{}},getCanvasData:function(){var ct=this.canvasData,Ut={};return this.ready&&Nt(["left","top","width","height","naturalWidth","naturalHeight"],function(wt){Ut[wt]=ct[wt]}),Ut},setCanvasData:function(ct){var Ut=this.canvasData,wt=Ut.aspectRatio;return this.ready&&!this.disabled&&xe(ct)&&(Cn(ct.left)&&(Ut.left=ct.left),Cn(ct.top)&&(Ut.top=ct.top),Cn(ct.width)?(Ut.width=ct.width,Ut.height=ct.width/wt):Cn(ct.height)&&(Ut.height=ct.height,Ut.width=ct.height*wt),this.renderCanvas(!0)),this},getCropBoxData:function(){var ct=this.cropBoxData,Ut;return this.ready&&this.cropped&&(Ut={left:ct.left,top:ct.top,width:ct.width,height:ct.height}),Ut||{}},setCropBoxData:function(ct){var Ut=this.cropBoxData,wt=this.options.aspectRatio,kn,wn;return this.ready&&this.cropped&&!this.disabled&&xe(ct)&&(Cn(ct.left)&&(Ut.left=ct.left),Cn(ct.top)&&(Ut.top=ct.top),Cn(ct.width)&&ct.width!==Ut.width&&(kn=!0,Ut.width=ct.width),Cn(ct.height)&&ct.height!==Ut.height&&(wn=!0,Ut.height=ct.height),wt&&(kn?Ut.height=Ut.width/wt:wn&&(Ut.width=Ut.height*wt)),this.renderCropBox()),this},getCroppedCanvas:function(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var Ut=this.canvasData,wt=Tt(this.image,this.imageData,Ut,ct);if(!this.cropped)return wt;var kn=this.getData(ct.rounded),wn=kn.x,Qn=kn.y,ur=kn.width,fi=kn.height,ot=wt.width/Math.floor(Ut.naturalWidth);ot!==1&&(wn*=ot,Qn*=ot,ur*=ot,fi*=ot);var ft=ur/fi,Mt=Gt({aspectRatio:ft,width:ct.maxWidth||1/0,height:ct.maxHeight||1/0}),qt=Gt({aspectRatio:ft,width:ct.minWidth||0,height:ct.minHeight||0},"cover"),sr=Gt({aspectRatio:ft,width:ct.width||(ot!==1?wt.width:ur),height:ct.height||(ot!==1?wt.height:fi)}),lr=sr.width,Cr=sr.height;lr=Math.min(Mt.width,Math.max(qt.width,lr)),Cr=Math.min(Mt.height,Math.max(qt.height,Cr));var xr=document.createElement("canvas"),qr=xr.getContext("2d");xr.width=ge(lr),xr.height=ge(Cr),qr.fillStyle=ct.fillColor||"transparent",qr.fillRect(0,0,lr,Cr);var jr=ct.imageSmoothingEnabled,vr=jr===void 0?!0:jr,$r=ct.imageSmoothingQuality;qr.imageSmoothingEnabled=vr,$r&&(qr.imageSmoothingQuality=$r);var Wr=wt.width,be=wt.height,Ue=wn,ut=Qn,Ht,Fn,ln,jn,Nr,Mi;Ue<=-ur||Ue>Wr?(Ue=0,Ht=0,ln=0,Nr=0):Ue<=0?(ln=-Ue,Ue=0,Ht=Math.min(Wr,ur+Ue),Nr=Ht):Ue<=Wr&&(ln=0,Ht=Math.min(ur,Wr-Ue),Nr=Ht),Ht<=0||ut<=-fi||ut>be?(ut=0,Fn=0,jn=0,Mi=0):ut<=0?(jn=-ut,ut=0,Fn=Math.min(be,fi+ut),Mi=Fn):ut<=be&&(jn=0,Fn=Math.min(fi,be-ut),Mi=Fn);var Oi=[Ue,ut,Ht,Fn];if(Nr>0&&Mi>0){var ni=lr/ur;Oi.push(ln*ni,jn*ni,Nr*ni,Mi*ni)}return qr.drawImage.apply(qr,[wt].concat(_(Oi.map(function(rs){return Math.floor(ge(rs))})))),xr},setAspectRatio:function(ct){var Ut=this.options;return!this.disabled&&!oe(ct)&&(Ut.aspectRatio=Math.max(0,ct)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(ct){var Ut=this.options,wt=this.dragBox,kn=this.face;if(this.ready&&!this.disabled){var wn=ct===Se,Qn=Ut.movable&&ct===_e;ct=wn||Qn?ct:Ne,Ut.dragMode=ct,rn(wt,Pe,ct),Ur(wt,Ce,wn),Ur(wt,Ge,Qn),Ut.cropBoxMovable||(rn(kn,Pe,ct),Ur(kn,Ce,wn),Ur(kn,Ge,Qn))}return this}},ci=j.Cropper,Hr=function(){function un(ct){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(a(this,un),!ct||!or.test(ct.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=ct,this.options=Ct({},Hn,xe(Ut)&&Ut),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return c(un,[{key:"init",value:function(){var Ut=this.element,wt=Ut.tagName.toLowerCase(),kn;if(!Ut[X]){if(Ut[X]=this,wt==="img"){if(this.isImg=!0,kn=Ut.getAttribute("src")||"",this.originalUrl=kn,!kn)return;kn=Ut.src}else wt==="canvas"&&window.HTMLCanvasElement&&(kn=Ut.toDataURL());this.load(kn)}}},{key:"load",value:function(Ut){var wt=this;if(Ut){this.url=Ut,this.imageData={};var kn=this.element,wn=this.options;if(!wn.rotatable&&!wn.scalable&&(wn.checkOrientation=!1),!wn.checkOrientation||!window.ArrayBuffer){this.clone();return}if(Jn.test(Ut)){nn.test(Ut)?this.read($e(Ut)):this.clone();return}var Qn=new XMLHttpRequest,ur=this.clone.bind(this);this.reloading=!0,this.xhr=Qn,Qn.onabort=ur,Qn.onerror=ur,Qn.ontimeout=ur,Qn.onprogress=function(){Qn.getResponseHeader("content-type")!==cr&&Qn.abort()},Qn.onload=function(){wt.read(Qn.response)},Qn.onloadend=function(){wt.reloading=!1,wt.xhr=null},wn.checkCrossOrigin&&kt(Ut)&&kn.crossOrigin&&(Ut=vn(Ut)),Qn.open("GET",Ut,!0),Qn.responseType="arraybuffer",Qn.withCredentials=kn.crossOrigin==="use-credentials",Qn.send()}}},{key:"read",value:function(Ut){var wt=this.options,kn=this.imageData,wn=$t(Ut),Qn=0,ur=1,fi=1;if(wn>1){this.url=Yt(Ut,cr);var ot=Jt(wn);Qn=ot.rotate,ur=ot.scaleX,fi=ot.scaleY}wt.rotatable&&(kn.rotate=Qn),wt.scalable&&(kn.scaleX=ur,kn.scaleY=fi),this.clone()}},{key:"clone",value:function(){var Ut=this.element,wt=this.url,kn=Ut.crossOrigin,wn=wt;this.options.checkCrossOrigin&&kt(wt)&&(kn||(kn="anonymous"),wn=vn(wt)),this.crossOrigin=kn,this.crossOriginUrl=wn;var Qn=document.createElement("img");kn&&(Qn.crossOrigin=kn),Qn.src=wn||wt,Qn.alt=Ut.alt||"The image to crop",this.image=Qn,Qn.onload=this.start.bind(this),Qn.onerror=this.stop.bind(this),Un(Qn,Fe),Ut.parentNode.insertBefore(Qn,Ut.nextSibling)}},{key:"start",value:function(){var Ut=this,wt=this.image;wt.onload=null,wt.onerror=null,this.sizing=!0;var kn=j.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(j.navigator.userAgent),wn=function(ot,ft){Ct(Ut.imageData,{naturalWidth:ot,naturalHeight:ft,aspectRatio:ot/ft}),Ut.initialImageData=Ct({},Ut.imageData),Ut.sizing=!1,Ut.sized=!0,Ut.build()};if(wt.naturalWidth&&!kn){wn(wt.naturalWidth,wt.naturalHeight);return}var Qn=document.createElement("img"),ur=document.body||document.documentElement;this.sizingImage=Qn,Qn.onload=function(){wn(Qn.width,Qn.height),kn||ur.removeChild(Qn)},Qn.src=wt.src,kn||(Qn.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",ur.appendChild(Qn))}},{key:"stop",value:function(){var Ut=this.image;Ut.onload=null,Ut.onerror=null,Ut.parentNode.removeChild(Ut),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var Ut=this.element,wt=this.options,kn=this.image,wn=Ut.parentNode,Qn=document.createElement("div");Qn.innerHTML=er;var ur=Qn.querySelector(".".concat(X,"-container")),fi=ur.querySelector(".".concat(X,"-canvas")),ot=ur.querySelector(".".concat(X,"-drag-box")),ft=ur.querySelector(".".concat(X,"-crop-box")),Mt=ft.querySelector(".".concat(X,"-face"));this.container=wn,this.cropper=ur,this.canvas=fi,this.dragBox=ot,this.cropBox=ft,this.viewBox=ur.querySelector(".".concat(X,"-view-box")),this.face=Mt,fi.appendChild(kn),Un(Ut,Ae),wn.insertBefore(ur,Ut.nextSibling),gr(kn,Fe),this.initPreview(),this.bind(),wt.initialAspectRatio=Math.max(0,wt.initialAspectRatio)||NaN,wt.aspectRatio=Math.max(0,wt.aspectRatio)||NaN,wt.viewMode=Math.max(0,Math.min(3,Math.round(wt.viewMode)))||0,Un(ft,Ae),wt.guides||Un(ft.getElementsByClassName("".concat(X,"-dashed")),Ae),wt.center||Un(ft.getElementsByClassName("".concat(X,"-center")),Ae),wt.background&&Un(ur,"".concat(X,"-bg")),wt.highlight||Un(Mt,Qe),wt.cropBoxMovable&&(Un(Mt,Ge),rn(Mt,Pe,Q)),wt.cropBoxResizable||(Un(ft.getElementsByClassName("".concat(X,"-line")),Ae),Un(ft.getElementsByClassName("".concat(X,"-point")),Ae)),this.render(),this.ready=!0,this.setDragMode(wt.dragMode),wt.autoCrop&&this.crop(),this.setData(wt.data),Re(wt.ready)&&mt(Ut,sn,wt.ready,{once:!0}),we(Ut,sn)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var Ut=this.cropper.parentNode;Ut&&Ut.removeChild(this.cropper),gr(this.element,Ae)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=ci,un}},{key:"setDefaults",value:function(Ut){Ct(Hn,xe(Ut)&&Ut)}}]),un}();return Ct(Hr.prototype,Lt,yn,In,yr,Rr,Xr),Hr})},34452:U=>{"use strict";U.exports=function(C){var e=[];return e.toString=function(){return this.map(function(a){var l="",c=typeof a[5]<"u";return a[4]&&(l+="@supports (".concat(a[4],") {")),a[2]&&(l+="@media ".concat(a[2]," {")),c&&(l+="@layer".concat(a[5].length>0?" ".concat(a[5]):""," {")),l+=C(a),c&&(l+="}"),a[2]&&(l+="}"),a[4]&&(l+="}"),l}).join("")},e.i=function(a,l,c,v,_){typeof a=="string"&&(a=[[null,a,void 0]]);var T={};if(c)for(var A=0;A<this.length;A++){var R=this[A][0];R!=null&&(T[R]=!0)}for(var P=0;P<a.length;P++){var M=[].concat(a[P]);c&&T[M[0]]||(typeof _<"u"&&(typeof M[5]>"u"||(M[1]="@layer".concat(M[5].length>0?" ".concat(M[5]):""," {").concat(M[1],"}")),M[5]=_),l&&(M[2]&&(M[1]="@media ".concat(M[2]," {").concat(M[1],"}")),M[2]=l),v&&(M[4]?(M[1]="@supports (".concat(M[4],") {").concat(M[1],"}"),M[4]=v):M[4]="".concat(v)),e.push(M))}},e}},70396:U=>{"use strict";U.exports=function(C,e){return e||(e={}),C&&(C=String(C.__esModule?C.default:C),/^['"].*['"]$/.test(C)&&(C=C.slice(1,-1)),e.hash&&(C+=e.hash),/["'() \t\n]|(%20)/.test(C)||e.needQuotes?'"'.concat(C.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):C)}},71420:U=>{"use strict";U.exports=function(C){return C[1]}},8216:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a,l){for(var c=a<0?"-":"",v=Math.abs(a).toString();v.length<l;)v="0"+v;return c+v}},32267:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a){var l=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return l.setUTCFullYear(a.getFullYear()),a.getTime()-l.getTime()}},88420:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a,l){if(l.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+l.length+" present")}},2207:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a){if(a===null||a===!0||a===!1)return NaN;var l=Number(a);return isNaN(l)?l:l<0?Math.ceil(l):Math.floor(l)}},27696:(U,C,e)=>{"use strict";e.d(C,{c:()=>c});var i=e(2207),a=e(57584),l=e(88420);function c(v,_){(0,l.c)(2,arguments);var T=(0,a.c)(v),A=(0,i.c)(_);return isNaN(A)?new Date(NaN):(A&&T.setDate(T.getDate()+A),T)}},10848:(U,C,e)=>{"use strict";e.d(C,{QL:()=>c,eI:()=>_,gn:()=>v});var i=7,a=365.2425,l=Math.pow(10,8)*24*60*60*1e3,c=6e4,v=36e5,_=1e3,T=-l,A=60,R=3,P=12,M=4,O=3600,N=60,B=O*24,j=B*7,z=B*a,W=z/12,X=W*3},55300:(U,C,e)=>{"use strict";e.d(C,{c:()=>c});var i=e(57584),a=e(8216),l=e(88420);function c(v,_){var T,A;(0,l.c)(1,arguments);var R=(0,i.c)(v);if(isNaN(R.getTime()))throw new RangeError("Invalid time value");var P=String((T=_?.format)!==null&&T!==void 0?T:"extended"),M=String((A=_?.representation)!==null&&A!==void 0?A:"complete");if(P!=="extended"&&P!=="basic")throw new RangeError("format must be 'extended' or 'basic'");if(M!=="date"&&M!=="time"&&M!=="complete")throw new RangeError("representation must be 'date', 'time', or 'complete'");var O="",N="",B=P==="extended"?"-":"",j=P==="extended"?":":"";if(M!=="time"){var z=(0,a.c)(R.getDate(),2),W=(0,a.c)(R.getMonth()+1,2),X=(0,a.c)(R.getFullYear(),4);O="".concat(X).concat(B).concat(W).concat(B).concat(z)}if(M!=="date"){var Q=R.getTimezoneOffset();if(Q!==0){var K=Math.abs(Q),Y=(0,a.c)(Math.floor(K/60),2),Z=(0,a.c)(K%60,2),J=Q<0?"+":"-";N="".concat(J).concat(Y,":").concat(Z)}else N="Z";var ee=(0,a.c)(R.getHours(),2),re=(0,a.c)(R.getMinutes(),2),me=(0,a.c)(R.getSeconds(),2),fe=O===""?"":"T",le=[ee,re,me].join(j);O="".concat(O).concat(fe).concat(le).concat(N)}return O}},15744:(U,C,e)=>{"use strict";e.d(C,{c:()=>Ze});var i=e(57584),a=e(88420);function l(Ce,ye){(0,a.c)(2,arguments);var Ae=(0,i.c)(Ce),Fe=(0,i.c)(ye),Qe=Ae.getTime()-Fe.getTime();return Qe<0?-1:Qe>0?1:Qe}var c=e(12200),v=e(27696),_=e(2207);function T(Ce,ye){(0,a.c)(2,arguments);var Ae=(0,i.c)(Ce),Fe=(0,_.c)(ye);if(isNaN(Fe))return new Date(NaN);if(!Fe)return Ae;var Qe=Ae.getDate(),ce=new Date(Ae.getTime());ce.setMonth(Ae.getMonth()+Fe+1,0);var Ge=ce.getDate();return Qe>=Ge?ce:(Ae.setFullYear(ce.getFullYear(),ce.getMonth(),Qe),Ae)}function A(Ce,ye){if((0,a.c)(2,arguments),!ye||(0,c.c)(ye)!=="object")return new Date(NaN);var Ae=ye.years?(0,_.c)(ye.years):0,Fe=ye.months?(0,_.c)(ye.months):0,Qe=ye.weeks?(0,_.c)(ye.weeks):0,ce=ye.days?(0,_.c)(ye.days):0,Ge=ye.hours?(0,_.c)(ye.hours):0,Pe=ye.minutes?(0,_.c)(ye.minutes):0,pe=ye.seconds?(0,_.c)(ye.seconds):0,Se=(0,i.c)(Ce),_e=Fe||Ae?T(Se,Fe+Ae*12):Se,Ne=ce||Qe?(0,v.c)(_e,ce+Qe*7):_e,Le=Pe+Ge*60,Ke=pe+Le*60,bt=Ke*1e3,yt=new Date(Ne.getTime()+bt);return yt}var R=e(32267);function P(Ce){(0,a.c)(1,arguments);var ye=(0,i.c)(Ce);return ye.setHours(0,0,0,0),ye}var M=864e5;function O(Ce,ye){(0,a.c)(2,arguments);var Ae=P(Ce),Fe=P(ye),Qe=Ae.getTime()-(0,R.c)(Ae),ce=Fe.getTime()-(0,R.c)(Fe);return Math.round((Qe-ce)/M)}function N(Ce,ye){var Ae=Ce.getFullYear()-ye.getFullYear()||Ce.getMonth()-ye.getMonth()||Ce.getDate()-ye.getDate()||Ce.getHours()-ye.getHours()||Ce.getMinutes()-ye.getMinutes()||Ce.getSeconds()-ye.getSeconds()||Ce.getMilliseconds()-ye.getMilliseconds();return Ae<0?-1:Ae>0?1:Ae}function B(Ce,ye){(0,a.c)(2,arguments);var Ae=(0,i.c)(Ce),Fe=(0,i.c)(ye),Qe=N(Ae,Fe),ce=Math.abs(O(Ae,Fe));Ae.setDate(Ae.getDate()-Qe*ce);var Ge=Number(N(Ae,Fe)===-Qe),Pe=Qe*(ce-Ge);return Pe===0?0:Pe}var j=e(10848);function z(Ce,ye){return(0,a.c)(2,arguments),(0,i.c)(Ce).getTime()-(0,i.c)(ye).getTime()}var W={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(ye){return ye<0?Math.ceil(ye):Math.floor(ye)}},X="trunc";function Q(Ce){return Ce?W[Ce]:W[X]}function K(Ce,ye,Ae){(0,a.c)(2,arguments);var Fe=z(Ce,ye)/j.gn;return Q(Ae?.roundingMethod)(Fe)}function Y(Ce,ye,Ae){(0,a.c)(2,arguments);var Fe=z(Ce,ye)/j.QL;return Q(Ae?.roundingMethod)(Fe)}function Z(Ce,ye){(0,a.c)(2,arguments);var Ae=(0,i.c)(Ce),Fe=(0,i.c)(ye),Qe=Ae.getFullYear()-Fe.getFullYear(),ce=Ae.getMonth()-Fe.getMonth();return Qe*12+ce}function J(Ce){(0,a.c)(1,arguments);var ye=(0,i.c)(Ce);return ye.setHours(23,59,59,999),ye}function ee(Ce){(0,a.c)(1,arguments);var ye=(0,i.c)(Ce),Ae=ye.getMonth();return ye.setFullYear(ye.getFullYear(),Ae+1,0),ye.setHours(23,59,59,999),ye}function re(Ce){(0,a.c)(1,arguments);var ye=(0,i.c)(Ce);return J(ye).getTime()===ee(ye).getTime()}function me(Ce,ye){(0,a.c)(2,arguments);var Ae=(0,i.c)(Ce),Fe=(0,i.c)(ye),Qe=l(Ae,Fe),ce=Math.abs(Z(Ae,Fe)),Ge;if(ce<1)Ge=0;else{Ae.getMonth()===1&&Ae.getDate()>27&&Ae.setDate(30),Ae.setMonth(Ae.getMonth()-Qe*ce);var Pe=l(Ae,Fe)===-Qe;re((0,i.c)(Ce))&&ce===1&&l(Ce,Fe)===1&&(Pe=!1),Ge=Qe*(ce-Number(Pe))}return Ge===0?0:Ge}function fe(Ce,ye,Ae){(0,a.c)(2,arguments);var Fe=z(Ce,ye)/1e3;return Q(Ae?.roundingMethod)(Fe)}function le(Ce,ye){(0,a.c)(2,arguments);var Ae=(0,i.c)(Ce),Fe=(0,i.c)(ye);return Ae.getFullYear()-Fe.getFullYear()}function Ve(Ce,ye){(0,a.c)(2,arguments);var Ae=(0,i.c)(Ce),Fe=(0,i.c)(ye),Qe=l(Ae,Fe),ce=Math.abs(le(Ae,Fe));Ae.setFullYear(1584),Fe.setFullYear(1584);var Ge=l(Ae,Fe)===-Qe,Pe=Qe*(ce-Number(Ge));return Pe===0?0:Pe}function Ze(Ce){(0,a.c)(1,arguments);var ye=(0,i.c)(Ce.start),Ae=(0,i.c)(Ce.end);if(isNaN(ye.getTime()))throw new RangeError("Start Date is invalid");if(isNaN(Ae.getTime()))throw new RangeError("End Date is invalid");var Fe={};Fe.years=Math.abs(Ve(Ae,ye));var Qe=l(Ae,ye),ce=A(ye,{years:Qe*Fe.years});Fe.months=Math.abs(me(Ae,ce));var Ge=A(ce,{months:Qe*Fe.months});Fe.days=Math.abs(B(Ae,Ge));var Pe=A(Ge,{days:Qe*Fe.days});Fe.hours=Math.abs(K(Ae,Pe));var pe=A(Pe,{hours:Qe*Fe.hours});Fe.minutes=Math.abs(Y(Ae,pe));var Se=A(pe,{minutes:Qe*Fe.minutes});return Fe.seconds=Math.abs(fe(Ae,Se)),Fe}},27860:(U,C,e)=>{"use strict";e.d(C,{c:()=>c});var i=e(10848),a=e(88420),l=e(2207);function c(ee,re){var me;(0,a.c)(1,arguments);var fe=(0,l.c)((me=re?.additionalDigits)!==null&&me!==void 0?me:2);if(fe!==2&&fe!==1&&fe!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof ee=="string"||Object.prototype.toString.call(ee)==="[object String]"))return new Date(NaN);var le=R(ee),Ve;if(le.date){var Ze=P(le.date,fe);Ve=M(Ze.restDateString,Ze.year)}if(!Ve||isNaN(Ve.getTime()))return new Date(NaN);var Ce=Ve.getTime(),ye=0,Ae;if(le.time&&(ye=N(le.time),isNaN(ye)))return new Date(NaN);if(le.timezone){if(Ae=j(le.timezone),isNaN(Ae))return new Date(NaN)}else{var Fe=new Date(Ce+ye),Qe=new Date(0);return Qe.setFullYear(Fe.getUTCFullYear(),Fe.getUTCMonth(),Fe.getUTCDate()),Qe.setHours(Fe.getUTCHours(),Fe.getUTCMinutes(),Fe.getUTCSeconds(),Fe.getUTCMilliseconds()),Qe}return new Date(Ce+ye+Ae)}var v={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},_=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,T=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,A=/^([+-])(\d{2})(?::?(\d{2}))?$/;function R(ee){var re={},me=ee.split(v.dateTimeDelimiter),fe;if(me.length>2)return re;if(/:/.test(me[0])?fe=me[0]:(re.date=me[0],fe=me[1],v.timeZoneDelimiter.test(re.date)&&(re.date=ee.split(v.timeZoneDelimiter)[0],fe=ee.substr(re.date.length,ee.length))),fe){var le=v.timezone.exec(fe);le?(re.time=fe.replace(le[1],""),re.timezone=le[1]):re.time=fe}return re}function P(ee,re){var me=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+re)+"})|(\\d{2}|[+-]\\d{"+(2+re)+"})$)"),fe=ee.match(me);if(!fe)return{year:NaN,restDateString:""};var le=fe[1]?parseInt(fe[1]):null,Ve=fe[2]?parseInt(fe[2]):null;return{year:Ve===null?le:Ve*100,restDateString:ee.slice((fe[1]||fe[2]).length)}}function M(ee,re){if(re===null)return new Date(NaN);var me=ee.match(_);if(!me)return new Date(NaN);var fe=!!me[4],le=O(me[1]),Ve=O(me[2])-1,Ze=O(me[3]),Ce=O(me[4]),ye=O(me[5])-1;if(fe)return Y(re,Ce,ye)?z(re,Ce,ye):new Date(NaN);var Ae=new Date(0);return!Q(re,Ve,Ze)||!K(re,le)?new Date(NaN):(Ae.setUTCFullYear(re,Ve,Math.max(le,Ze)),Ae)}function O(ee){return ee?parseInt(ee):1}function N(ee){var re=ee.match(T);if(!re)return NaN;var me=B(re[1]),fe=B(re[2]),le=B(re[3]);return Z(me,fe,le)?me*i.gn+fe*i.QL+le*1e3:NaN}function B(ee){return ee&&parseFloat(ee.replace(",","."))||0}function j(ee){if(ee==="Z")return 0;var re=ee.match(A);if(!re)return 0;var me=re[1]==="+"?-1:1,fe=parseInt(re[2]),le=re[3]&&parseInt(re[3])||0;return J(fe,le)?me*(fe*i.gn+le*i.QL):NaN}function z(ee,re,me){var fe=new Date(0);fe.setUTCFullYear(ee,0,4);var le=fe.getUTCDay()||7,Ve=(re-1)*7+me+1-le;return fe.setUTCDate(fe.getUTCDate()+Ve),fe}var W=[31,null,31,30,31,30,31,31,30,31,30,31];function X(ee){return ee%400===0||ee%4===0&&ee%100!==0}function Q(ee,re,me){return re>=0&&re<=11&&me>=1&&me<=(W[re]||(X(ee)?29:28))}function K(ee,re){return re>=1&&re<=(X(ee)?366:365)}function Y(ee,re,me){return re>=1&&re<=53&&me>=0&&me<=6}function Z(ee,re,me){return ee===24?re===0&&me===0:me>=0&&me<60&&re>=0&&re<60&&ee>=0&&ee<25}function J(ee,re){return re>=0&&re<=59}},57584:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(12200),a=e(88420);function l(c){(0,a.c)(1,arguments);var v=Object.prototype.toString.call(c);return c instanceof Date||(0,i.c)(c)==="object"&&v==="[object Date]"?new Date(c.getTime()):typeof c=="number"||v==="[object Number]"?new Date(c):((typeof c=="string"||v==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}},84531:U=>{"use strict";var C=function(W){return e(W)&&!i(W)};function e(z){return!!z&&typeof z=="object"}function i(z){var W=Object.prototype.toString.call(z);return W==="[object RegExp]"||W==="[object Date]"||c(z)}var a=typeof Symbol=="function"&&Symbol.for,l=a?Symbol.for("react.element"):60103;function c(z){return z.$$typeof===l}function v(z){return Array.isArray(z)?[]:{}}function _(z,W){return W.clone!==!1&&W.isMergeableObject(z)?B(v(z),z,W):z}function T(z,W,X){return z.concat(W).map(function(Q){return _(Q,X)})}function A(z,W){if(!W.customMerge)return B;var X=W.customMerge(z);return typeof X=="function"?X:B}function R(z){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(z).filter(function(W){return Object.propertyIsEnumerable.call(z,W)}):[]}function P(z){return Object.keys(z).concat(R(z))}function M(z,W){try{return W in z}catch{return!1}}function O(z,W){return M(z,W)&&!(Object.hasOwnProperty.call(z,W)&&Object.propertyIsEnumerable.call(z,W))}function N(z,W,X){var Q={};return X.isMergeableObject(z)&&P(z).forEach(function(K){Q[K]=_(z[K],X)}),P(W).forEach(function(K){O(z,K)||(M(z,K)&&X.isMergeableObject(W[K])?Q[K]=A(K,X)(z[K],W[K],X):Q[K]=_(W[K],X))}),Q}function B(z,W,X){X=X||{},X.arrayMerge=X.arrayMerge||T,X.isMergeableObject=X.isMergeableObject||C,X.cloneUnlessOtherwiseSpecified=_;var Q=Array.isArray(W),K=Array.isArray(z),Y=Q===K;return Y?Q?X.arrayMerge(z,W,X):N(z,W,X):_(W,X)}B.all=function(W,X){if(!Array.isArray(W))throw new Error("first argument should be an array");return W.reduce(function(Q,K){return B(Q,K,X)},{})};var j=B;U.exports=j},62264:(U,C,e)=>{"use strict";var i=e(86216)(),a=e(6968),l=i&&a("%Object.defineProperty%",!0);if(l)try{l({},"a",{value:1})}catch{l=!1}var c=a("%SyntaxError%"),v=a("%TypeError%"),_=e(7488);U.exports=function(A,R,P){if(!A||typeof A!="object"&&typeof A!="function")throw new v("`obj` must be an object or a function`");if(typeof R!="string"&&typeof R!="symbol")throw new v("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new v("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new v("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new v("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new v("`loose`, if provided, must be a boolean");var M=arguments.length>3?arguments[3]:null,O=arguments.length>4?arguments[4]:null,N=arguments.length>5?arguments[5]:null,B=arguments.length>6?arguments[6]:!1,j=!!_&&_(A,R);if(l)l(A,R,{configurable:N===null&&j?j.configurable:!N,enumerable:M===null&&j?j.enumerable:!M,value:P,writable:O===null&&j?j.writable:!O});else if(B||!M&&!O&&!N)A[R]=P;else throw new c("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}},39320:U=>{"use strict";U.exports=l;var C="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC",e="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF\u200E\u2C00-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",i=new RegExp("^[^"+e+"]*["+C+"]"),a=new RegExp("^[^"+C+"]*["+e+"]");function l(c){return c=String(c||""),i.test(c)?"rtl":a.test(c)?"ltr":"neutral"}},49512:(U,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.attributeNames=C.elementNames=void 0,C.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","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","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(e){return[e.toLowerCase(),e]})),C.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(e){return[e.toLowerCase(),e]}))},85836:function(U,C,e){"use strict";var i=this&&this.__assign||function(){return i=Object.assign||function(Y){for(var Z,J=1,ee=arguments.length;J<ee;J++){Z=arguments[J];for(var re in Z)Object.prototype.hasOwnProperty.call(Z,re)&&(Y[re]=Z[re])}return Y},i.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(Y,Z,J,ee){ee===void 0&&(ee=J);var re=Object.getOwnPropertyDescriptor(Z,J);(!re||("get"in re?!Z.__esModule:re.writable||re.configurable))&&(re={enumerable:!0,get:function(){return Z[J]}}),Object.defineProperty(Y,ee,re)}:function(Y,Z,J,ee){ee===void 0&&(ee=J),Y[ee]=Z[J]}),l=this&&this.__setModuleDefault||(Object.create?function(Y,Z){Object.defineProperty(Y,"default",{enumerable:!0,value:Z})}:function(Y,Z){Y.default=Z}),c=this&&this.__importStar||function(Y){if(Y&&Y.__esModule)return Y;var Z={};if(Y!=null)for(var J in Y)J!=="default"&&Object.prototype.hasOwnProperty.call(Y,J)&&a(Z,Y,J);return l(Z,Y),Z};Object.defineProperty(C,"__esModule",{value:!0}),C.render=void 0;var v=c(e(90396)),_=e(23024),T=e(49512),A=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function R(Y){return Y.replace(/"/g,"&quot;")}function P(Y,Z){var J;if(Y){var ee=((J=Z.encodeEntities)!==null&&J!==void 0?J:Z.decodeEntities)===!1?R:Z.xmlMode||Z.encodeEntities!=="utf8"?_.encodeXML:_.escapeAttribute;return Object.keys(Y).map(function(re){var me,fe,le=(me=Y[re])!==null&&me!==void 0?me:"";return Z.xmlMode==="foreign"&&(re=(fe=T.attributeNames.get(re))!==null&&fe!==void 0?fe:re),!Z.emptyAttrs&&!Z.xmlMode&&le===""?re:"".concat(re,'="').concat(ee(le),'"')}).join(" ")}}var M=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function O(Y,Z){Z===void 0&&(Z={});for(var J=("length"in Y)?Y:[Y],ee="",re=0;re<J.length;re++)ee+=N(J[re],Z);return ee}C.render=O,C.default=O;function N(Y,Z){switch(Y.type){case v.Root:return O(Y.children,Z);case v.Doctype:case v.Directive:return W(Y);case v.Comment:return K(Y);case v.CDATA:return Q(Y);case v.Script:case v.Style:case v.Tag:return z(Y,Z);case v.Text:return X(Y,Z)}}var B=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),j=new Set(["svg","math"]);function z(Y,Z){var J;Z.xmlMode==="foreign"&&(Y.name=(J=T.elementNames.get(Y.name))!==null&&J!==void 0?J:Y.name,Y.parent&&B.has(Y.parent.name)&&(Z=i(i({},Z),{xmlMode:!1}))),!Z.xmlMode&&j.has(Y.name)&&(Z=i(i({},Z),{xmlMode:"foreign"}));var ee="<".concat(Y.name),re=P(Y.attribs,Z);return re&&(ee+=" ".concat(re)),Y.children.length===0&&(Z.xmlMode?Z.selfClosingTags!==!1:Z.selfClosingTags&&M.has(Y.name))?(Z.xmlMode||(ee+=" "),ee+="/>"):(ee+=">",Y.children.length>0&&(ee+=O(Y.children,Z)),(Z.xmlMode||!M.has(Y.name))&&(ee+="</".concat(Y.name,">"))),ee}function W(Y){return"<".concat(Y.data,">")}function X(Y,Z){var J,ee=Y.data||"";return((J=Z.encodeEntities)!==null&&J!==void 0?J:Z.decodeEntities)!==!1&&!(!Z.xmlMode&&Y.parent&&A.has(Y.parent.name))&&(ee=Z.xmlMode||Z.encodeEntities!=="utf8"?(0,_.encodeXML)(ee):(0,_.escapeText)(ee)),ee}function Q(Y){return"<![CDATA[".concat(Y.children[0].data,"]]>")}function K(Y){return"<!--".concat(Y.data,"-->")}},90396:(U,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.Doctype=C.CDATA=C.Tag=C.Style=C.Script=C.Comment=C.Directive=C.Text=C.Root=C.isTag=C.ElementType=void 0;var e;(function(a){a.Root="root",a.Text="text",a.Directive="directive",a.Comment="comment",a.Script="script",a.Style="style",a.Tag="tag",a.CDATA="cdata",a.Doctype="doctype"})(e=C.ElementType||(C.ElementType={}));function i(a){return a.type===e.Tag||a.type===e.Script||a.type===e.Style}C.isTag=i,C.Root=e.Root,C.Text=e.Text,C.Directive=e.Directive,C.Comment=e.Comment,C.Script=e.Script,C.Style=e.Style,C.Tag=e.Tag,C.CDATA=e.CDATA,C.Doctype=e.Doctype},64804:function(U,C,e){"use strict";var i=this&&this.__createBinding||(Object.create?function(T,A,R,P){P===void 0&&(P=R);var M=Object.getOwnPropertyDescriptor(A,R);(!M||("get"in M?!A.__esModule:M.writable||M.configurable))&&(M={enumerable:!0,get:function(){return A[R]}}),Object.defineProperty(T,P,M)}:function(T,A,R,P){P===void 0&&(P=R),T[P]=A[R]}),a=this&&this.__exportStar||function(T,A){for(var R in T)R!=="default"&&!Object.prototype.hasOwnProperty.call(A,R)&&i(A,T,R)};Object.defineProperty(C,"__esModule",{value:!0}),C.DomHandler=void 0;var l=e(90396),c=e(39920);a(e(39920),C);var v={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},_=function(){function T(A,R,P){this.dom=[],this.root=new c.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof R=="function"&&(P=R,R=v),typeof A=="object"&&(R=A,A=void 0),this.callback=A??null,this.options=R??v,this.elementCB=P??null}return T.prototype.onparserinit=function(A){this.parser=A},T.prototype.onreset=function(){this.dom=[],this.root=new c.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},T.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},T.prototype.onerror=function(A){this.handleCallback(A)},T.prototype.onclosetag=function(){this.lastNode=null;var A=this.tagStack.pop();this.options.withEndIndices&&(A.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(A)},T.prototype.onopentag=function(A,R){var P=this.options.xmlMode?l.ElementType.Tag:void 0,M=new c.Element(A,R,void 0,P);this.addNode(M),this.tagStack.push(M)},T.prototype.ontext=function(A){var R=this.lastNode;if(R&&R.type===l.ElementType.Text)R.data+=A,this.options.withEndIndices&&(R.endIndex=this.parser.endIndex);else{var P=new c.Text(A);this.addNode(P),this.lastNode=P}},T.prototype.oncomment=function(A){if(this.lastNode&&this.lastNode.type===l.ElementType.Comment){this.lastNode.data+=A;return}var R=new c.Comment(A);this.addNode(R),this.lastNode=R},T.prototype.oncommentend=function(){this.lastNode=null},T.prototype.oncdatastart=function(){var A=new c.Text(""),R=new c.CDATA([A]);this.addNode(R),A.parent=R,this.lastNode=A},T.prototype.oncdataend=function(){this.lastNode=null},T.prototype.onprocessinginstruction=function(A,R){var P=new c.ProcessingInstruction(A,R);this.addNode(P)},T.prototype.handleCallback=function(A){if(typeof this.callback=="function")this.callback(A,this.dom);else if(A)throw A},T.prototype.addNode=function(A){var R=this.tagStack[this.tagStack.length-1],P=R.children[R.children.length-1];this.options.withStartIndices&&(A.startIndex=this.parser.startIndex),this.options.withEndIndices&&(A.endIndex=this.parser.endIndex),R.children.push(A),P&&(A.prev=P,P.next=A),A.parent=R,this.lastNode=null},T}();C.DomHandler=_,C.default=_},39920:function(U,C,e){"use strict";var i=this&&this.__extends||function(){var Z=function(J,ee){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(re,me){re.__proto__=me}||function(re,me){for(var fe in me)Object.prototype.hasOwnProperty.call(me,fe)&&(re[fe]=me[fe])},Z(J,ee)};return function(J,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Class extends value "+String(ee)+" is not a constructor or null");Z(J,ee);function re(){this.constructor=J}J.prototype=ee===null?Object.create(ee):(re.prototype=ee.prototype,new re)}}(),a=this&&this.__assign||function(){return a=Object.assign||function(Z){for(var J,ee=1,re=arguments.length;ee<re;ee++){J=arguments[ee];for(var me in J)Object.prototype.hasOwnProperty.call(J,me)&&(Z[me]=J[me])}return Z},a.apply(this,arguments)};Object.defineProperty(C,"__esModule",{value:!0}),C.cloneNode=C.hasChildren=C.isDocument=C.isDirective=C.isComment=C.isText=C.isCDATA=C.isTag=C.Element=C.Document=C.CDATA=C.NodeWithChildren=C.ProcessingInstruction=C.Comment=C.Text=C.DataNode=C.Node=void 0;var l=e(90396),c=function(){function Z(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(Z.prototype,"parentNode",{get:function(){return this.parent},set:function(J){this.parent=J},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"previousSibling",{get:function(){return this.prev},set:function(J){this.prev=J},enumerable:!1,configurable:!0}),Object.defineProperty(Z.prototype,"nextSibling",{get:function(){return this.next},set:function(J){this.next=J},enumerable:!1,configurable:!0}),Z.prototype.cloneNode=function(J){return J===void 0&&(J=!1),K(this,J)},Z}();C.Node=c;var v=function(Z){i(J,Z);function J(ee){var re=Z.call(this)||this;return re.data=ee,re}return Object.defineProperty(J.prototype,"nodeValue",{get:function(){return this.data},set:function(ee){this.data=ee},enumerable:!1,configurable:!0}),J}(c);C.DataNode=v;var _=function(Z){i(J,Z);function J(){var ee=Z!==null&&Z.apply(this,arguments)||this;return ee.type=l.ElementType.Text,ee}return Object.defineProperty(J.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),J}(v);C.Text=_;var T=function(Z){i(J,Z);function J(){var ee=Z!==null&&Z.apply(this,arguments)||this;return ee.type=l.ElementType.Comment,ee}return Object.defineProperty(J.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),J}(v);C.Comment=T;var A=function(Z){i(J,Z);function J(ee,re){var me=Z.call(this,re)||this;return me.name=ee,me.type=l.ElementType.Directive,me}return Object.defineProperty(J.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),J}(v);C.ProcessingInstruction=A;var R=function(Z){i(J,Z);function J(ee){var re=Z.call(this)||this;return re.children=ee,re}return Object.defineProperty(J.prototype,"firstChild",{get:function(){var ee;return(ee=this.children[0])!==null&&ee!==void 0?ee:null},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"childNodes",{get:function(){return this.children},set:function(ee){this.children=ee},enumerable:!1,configurable:!0}),J}(c);C.NodeWithChildren=R;var P=function(Z){i(J,Z);function J(){var ee=Z!==null&&Z.apply(this,arguments)||this;return ee.type=l.ElementType.CDATA,ee}return Object.defineProperty(J.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),J}(R);C.CDATA=P;var M=function(Z){i(J,Z);function J(){var ee=Z!==null&&Z.apply(this,arguments)||this;return ee.type=l.ElementType.Root,ee}return Object.defineProperty(J.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),J}(R);C.Document=M;var O=function(Z){i(J,Z);function J(ee,re,me,fe){me===void 0&&(me=[]),fe===void 0&&(fe=ee==="script"?l.ElementType.Script:ee==="style"?l.ElementType.Style:l.ElementType.Tag);var le=Z.call(this,me)||this;return le.name=ee,le.attribs=re,le.type=fe,le}return Object.defineProperty(J.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"tagName",{get:function(){return this.name},set:function(ee){this.name=ee},enumerable:!1,configurable:!0}),Object.defineProperty(J.prototype,"attributes",{get:function(){var ee=this;return Object.keys(this.attribs).map(function(re){var me,fe;return{name:re,value:ee.attribs[re],namespace:(me=ee["x-attribsNamespace"])===null||me===void 0?void 0:me[re],prefix:(fe=ee["x-attribsPrefix"])===null||fe===void 0?void 0:fe[re]}})},enumerable:!1,configurable:!0}),J}(R);C.Element=O;function N(Z){return(0,l.isTag)(Z)}C.isTag=N;function B(Z){return Z.type===l.ElementType.CDATA}C.isCDATA=B;function j(Z){return Z.type===l.ElementType.Text}C.isText=j;function z(Z){return Z.type===l.ElementType.Comment}C.isComment=z;function W(Z){return Z.type===l.ElementType.Directive}C.isDirective=W;function X(Z){return Z.type===l.ElementType.Root}C.isDocument=X;function Q(Z){return Object.prototype.hasOwnProperty.call(Z,"children")}C.hasChildren=Q;function K(Z,J){J===void 0&&(J=!1);var ee;if(j(Z))ee=new _(Z.data);else if(z(Z))ee=new T(Z.data);else if(N(Z)){var re=J?Y(Z.children):[],me=new O(Z.name,a({},Z.attribs),re);re.forEach(function(Ze){return Ze.parent=me}),Z.namespace!=null&&(me.namespace=Z.namespace),Z["x-attribsNamespace"]&&(me["x-attribsNamespace"]=a({},Z["x-attribsNamespace"])),Z["x-attribsPrefix"]&&(me["x-attribsPrefix"]=a({},Z["x-attribsPrefix"])),ee=me}else if(B(Z)){var re=J?Y(Z.children):[],fe=new P(re);re.forEach(function(Ce){return Ce.parent=fe}),ee=fe}else if(X(Z)){var re=J?Y(Z.children):[],le=new M(re);re.forEach(function(Ce){return Ce.parent=le}),Z["x-mode"]&&(le["x-mode"]=Z["x-mode"]),ee=le}else if(W(Z)){var Ve=new A(Z.name,Z.data);Z["x-name"]!=null&&(Ve["x-name"]=Z["x-name"],Ve["x-publicId"]=Z["x-publicId"],Ve["x-systemId"]=Z["x-systemId"]),ee=Ve}else throw new Error("Not implemented yet: ".concat(Z.type));return ee.startIndex=Z.startIndex,ee.endIndex=Z.endIndex,Z.sourceCodeLocation!=null&&(ee.sourceCodeLocation=Z.sourceCodeLocation),ee}C.cloneNode=K;function Y(Z){for(var J=Z.map(function(re){return K(re,!0)}),ee=1;ee<J.length;ee++)J[ee].prev=J[ee-1],J[ee-1].next=J[ee];return J}},59552:(U,C,e)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.getFeed=void 0;var i=e(50764),a=e(58180);function l(N){var B=R(O,N);return B?B.name==="feed"?c(B):v(B):null}C.getFeed=l;function c(N){var B,j=N.children,z={type:"atom",items:(0,a.getElementsByTagName)("entry",j).map(function(Q){var K,Y=Q.children,Z={media:A(Y)};M(Z,"id","id",Y),M(Z,"title","title",Y);var J=(K=R("link",Y))===null||K===void 0?void 0:K.attribs.href;J&&(Z.link=J);var ee=P("summary",Y)||P("content",Y);ee&&(Z.description=ee);var re=P("updated",Y);return re&&(Z.pubDate=new Date(re)),Z})};M(z,"id","id",j),M(z,"title","title",j);var W=(B=R("link",j))===null||B===void 0?void 0:B.attribs.href;W&&(z.link=W),M(z,"description","subtitle",j);var X=P("updated",j);return X&&(z.updated=new Date(X)),M(z,"author","email",j,!0),z}function v(N){var B,j,z=(j=(B=R("channel",N.children))===null||B===void 0?void 0:B.children)!==null&&j!==void 0?j:[],W={type:N.name.substr(0,3),id:"",items:(0,a.getElementsByTagName)("item",N.children).map(function(Q){var K=Q.children,Y={media:A(K)};M(Y,"id","guid",K),M(Y,"title","title",K),M(Y,"link","link",K),M(Y,"description","description",K);var Z=P("pubDate",K)||P("dc:date",K);return Z&&(Y.pubDate=new Date(Z)),Y})};M(W,"title","title",z),M(W,"link","link",z),M(W,"description","description",z);var X=P("lastBuildDate",z);return X&&(W.updated=new Date(X)),M(W,"author","managingEditor",z,!0),W}var _=["url","type","lang"],T=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function A(N){return(0,a.getElementsByTagName)("media:content",N).map(function(B){for(var j=B.attribs,z={medium:j.medium,isDefault:!!j.isDefault},W=0,X=_;W<X.length;W++){var Q=X[W];j[Q]&&(z[Q]=j[Q])}for(var K=0,Y=T;K<Y.length;K++){var Q=Y[K];j[Q]&&(z[Q]=parseInt(j[Q],10))}return j.expression&&(z.expression=j.expression),z})}function R(N,B){return(0,a.getElementsByTagName)(N,B,!0,1)[0]}function P(N,B,j){return j===void 0&&(j=!1),(0,i.textContent)((0,a.getElementsByTagName)(N,B,j,1)).trim()}function M(N,B,j,z,W){W===void 0&&(W=!1);var X=P(j,z,W);X&&(N[B]=X)}function O(N){return N==="rss"||N==="feed"||N==="rdf:RDF"}},84832:(U,C,e)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.uniqueSort=C.compareDocumentPosition=C.DocumentPosition=C.removeSubsets=void 0;var i=e(64804);function a(_){for(var T=_.length;--T>=0;){var A=_[T];if(T>0&&_.lastIndexOf(A,T-1)>=0){_.splice(T,1);continue}for(var R=A.parent;R;R=R.parent)if(_.includes(R)){_.splice(T,1);break}}return _}C.removeSubsets=a;var l;(function(_){_[_.DISCONNECTED=1]="DISCONNECTED",_[_.PRECEDING=2]="PRECEDING",_[_.FOLLOWING=4]="FOLLOWING",_[_.CONTAINS=8]="CONTAINS",_[_.CONTAINED_BY=16]="CONTAINED_BY"})(l=C.DocumentPosition||(C.DocumentPosition={}));function c(_,T){var A=[],R=[];if(_===T)return 0;for(var P=(0,i.hasChildren)(_)?_:_.parent;P;)A.unshift(P),P=P.parent;for(P=(0,i.hasChildren)(T)?T:T.parent;P;)R.unshift(P),P=P.parent;for(var M=Math.min(A.length,R.length),O=0;O<M&&A[O]===R[O];)O++;if(O===0)return l.DISCONNECTED;var N=A[O-1],B=N.children,j=A[O],z=R[O];return B.indexOf(j)>B.indexOf(z)?N===T?l.FOLLOWING|l.CONTAINED_BY:l.FOLLOWING:N===_?l.PRECEDING|l.CONTAINS:l.PRECEDING}C.compareDocumentPosition=c;function v(_){return _=_.filter(function(T,A,R){return!R.includes(T,A+1)}),_.sort(function(T,A){var R=c(T,A);return R&l.PRECEDING?-1:R&l.FOLLOWING?1:0}),_}C.uniqueSort=v},26632:function(U,C,e){"use strict";var i=this&&this.__createBinding||(Object.create?function(c,v,_,T){T===void 0&&(T=_);var A=Object.getOwnPropertyDescriptor(v,_);(!A||("get"in A?!v.__esModule:A.writable||A.configurable))&&(A={enumerable:!0,get:function(){return v[_]}}),Object.defineProperty(c,T,A)}:function(c,v,_,T){T===void 0&&(T=_),c[T]=v[_]}),a=this&&this.__exportStar||function(c,v){for(var _ in c)_!=="default"&&!Object.prototype.hasOwnProperty.call(v,_)&&i(v,c,_)};Object.defineProperty(C,"__esModule",{value:!0}),C.hasChildren=C.isDocument=C.isComment=C.isText=C.isCDATA=C.isTag=void 0,a(e(50764),C),a(e(97259),C),a(e(15312),C),a(e(80440),C),a(e(58180),C),a(e(84832),C),a(e(59552),C);var l=e(64804);Object.defineProperty(C,"isTag",{enumerable:!0,get:function(){return l.isTag}}),Object.defineProperty(C,"isCDATA",{enumerable:!0,get:function(){return l.isCDATA}}),Object.defineProperty(C,"isText",{enumerable:!0,get:function(){return l.isText}}),Object.defineProperty(C,"isComment",{enumerable:!0,get:function(){return l.isComment}}),Object.defineProperty(C,"isDocument",{enumerable:!0,get:function(){return l.isDocument}}),Object.defineProperty(C,"hasChildren",{enumerable:!0,get:function(){return l.hasChildren}})},58180:(U,C,e)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.getElementsByTagType=C.getElementsByTagName=C.getElementById=C.getElements=C.testElement=void 0;var i=e(64804),a=e(80440),l={tag_name:function(O){return typeof O=="function"?function(N){return(0,i.isTag)(N)&&O(N.name)}:O==="*"?i.isTag:function(N){return(0,i.isTag)(N)&&N.name===O}},tag_type:function(O){return typeof O=="function"?function(N){return O(N.type)}:function(N){return N.type===O}},tag_contains:function(O){return typeof O=="function"?function(N){return(0,i.isText)(N)&&O(N.data)}:function(N){return(0,i.isText)(N)&&N.data===O}}};function c(O,N){return typeof N=="function"?function(B){return(0,i.isTag)(B)&&N(B.attribs[O])}:function(B){return(0,i.isTag)(B)&&B.attribs[O]===N}}function v(O,N){return function(B){return O(B)||N(B)}}function _(O){var N=Object.keys(O).map(function(B){var j=O[B];return Object.prototype.hasOwnProperty.call(l,B)?l[B](j):c(B,j)});return N.length===0?null:N.reduce(v)}function T(O,N){var B=_(O);return B?B(N):!0}C.testElement=T;function A(O,N,B,j){j===void 0&&(j=1/0);var z=_(O);return z?(0,a.filter)(z,N,B,j):[]}C.getElements=A;function R(O,N,B){return B===void 0&&(B=!0),Array.isArray(N)||(N=[N]),(0,a.findOne)(c("id",O),N,B)}C.getElementById=R;function P(O,N,B,j){return B===void 0&&(B=!0),j===void 0&&(j=1/0),(0,a.filter)(l.tag_name(O),N,B,j)}C.getElementsByTagName=P;function M(O,N,B,j){return B===void 0&&(B=!0),j===void 0&&(j=1/0),(0,a.filter)(l.tag_type(O),N,B,j)}C.getElementsByTagType=M},15312:(U,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.prepend=C.prependChild=C.append=C.appendChild=C.replaceElement=C.removeElement=void 0;function e(_){if(_.prev&&(_.prev.next=_.next),_.next&&(_.next.prev=_.prev),_.parent){var T=_.parent.children,A=T.lastIndexOf(_);A>=0&&T.splice(A,1)}_.next=null,_.prev=null,_.parent=null}C.removeElement=e;function i(_,T){var A=T.prev=_.prev;A&&(A.next=T);var R=T.next=_.next;R&&(R.prev=T);var P=T.parent=_.parent;if(P){var M=P.children;M[M.lastIndexOf(_)]=T,_.parent=null}}C.replaceElement=i;function a(_,T){if(e(T),T.next=null,T.parent=_,_.children.push(T)>1){var A=_.children[_.children.length-2];A.next=T,T.prev=A}else T.prev=null}C.appendChild=a;function l(_,T){e(T);var A=_.parent,R=_.next;if(T.next=R,T.prev=_,_.next=T,T.parent=A,R){if(R.prev=T,A){var P=A.children;P.splice(P.lastIndexOf(R),0,T)}}else A&&A.children.push(T)}C.append=l;function c(_,T){if(e(T),T.parent=_,T.prev=null,_.children.unshift(T)!==1){var A=_.children[1];A.prev=T,T.next=A}else T.next=null}C.prependChild=c;function v(_,T){e(T);var A=_.parent;if(A){var R=A.children;R.splice(R.indexOf(_),0,T)}_.prev&&(_.prev.next=T),T.parent=A,T.prev=_.prev,T.next=_,_.prev=T}C.prepend=v},80440:(U,C,e)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.findAll=C.existsOne=C.findOne=C.findOneChild=C.find=C.filter=void 0;var i=e(64804);function a(A,R,P,M){return P===void 0&&(P=!0),M===void 0&&(M=1/0),l(A,Array.isArray(R)?R:[R],P,M)}C.filter=a;function l(A,R,P,M){for(var O=[],N=[R],B=[0];;){if(B[0]>=N[0].length){if(B.length===1)return O;N.shift(),B.shift();continue}var j=N[0][B[0]++];if(A(j)&&(O.push(j),--M<=0))return O;P&&(0,i.hasChildren)(j)&&j.children.length>0&&(B.unshift(0),N.unshift(j.children))}}C.find=l;function c(A,R){return R.find(A)}C.findOneChild=c;function v(A,R,P){P===void 0&&(P=!0);for(var M=null,O=0;O<R.length&&!M;O++){var N=R[O];if((0,i.isTag)(N))A(N)?M=N:P&&N.children.length>0&&(M=v(A,N.children,!0));else continue}return M}C.findOne=v;function _(A,R){return R.some(function(P){return(0,i.isTag)(P)&&(A(P)||_(A,P.children))})}C.existsOne=_;function T(A,R){for(var P=[],M=[R],O=[0];;){if(O[0]>=M[0].length){if(M.length===1)return P;M.shift(),O.shift();continue}var N=M[0][O[0]++];(0,i.isTag)(N)&&(A(N)&&P.push(N),N.children.length>0&&(O.unshift(0),M.unshift(N.children)))}}C.findAll=T},50764:function(U,C,e){"use strict";var i=this&&this.__importDefault||function(P){return P&&P.__esModule?P:{default:P}};Object.defineProperty(C,"__esModule",{value:!0}),C.innerText=C.textContent=C.getText=C.getInnerHTML=C.getOuterHTML=void 0;var a=e(64804),l=i(e(85836)),c=e(90396);function v(P,M){return(0,l.default)(P,M)}C.getOuterHTML=v;function _(P,M){return(0,a.hasChildren)(P)?P.children.map(function(O){return v(O,M)}).join(""):""}C.getInnerHTML=_;function T(P){return Array.isArray(P)?P.map(T).join(""):(0,a.isTag)(P)?P.name==="br"?`
`:T(P.children):(0,a.isCDATA)(P)?T(P.children):(0,a.isText)(P)?P.data:""}C.getText=T;function A(P){return Array.isArray(P)?P.map(A).join(""):(0,a.hasChildren)(P)&&!(0,a.isComment)(P)?A(P.children):(0,a.isText)(P)?P.data:""}C.textContent=A;function R(P){return Array.isArray(P)?P.map(R).join(""):(0,a.hasChildren)(P)&&(P.type===c.ElementType.Tag||(0,a.isCDATA)(P))?R(P.children):(0,a.isText)(P)?P.data:""}C.innerText=R},97259:(U,C,e)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.prevElementSibling=C.nextElementSibling=C.getName=C.hasAttrib=C.getAttributeValue=C.getSiblings=C.getParent=C.getChildren=void 0;var i=e(64804);function a(P){return(0,i.hasChildren)(P)?P.children:[]}C.getChildren=a;function l(P){return P.parent||null}C.getParent=l;function c(P){var M,O,N=l(P);if(N!=null)return a(N);for(var B=[P],j=P.prev,z=P.next;j!=null;)B.unshift(j),M=j,j=M.prev;for(;z!=null;)B.push(z),O=z,z=O.next;return B}C.getSiblings=c;function v(P,M){var O;return(O=P.attribs)===null||O===void 0?void 0:O[M]}C.getAttributeValue=v;function _(P,M){return P.attribs!=null&&Object.prototype.hasOwnProperty.call(P.attribs,M)&&P.attribs[M]!=null}C.hasAttrib=_;function T(P){return P.name}C.getName=T;function A(P){for(var M,O=P.next;O!==null&&!(0,i.isTag)(O);)M=O,O=M.next;return O}C.nextElementSibling=A;function R(P){for(var M,O=P.prev;O!==null&&!(0,i.isTag)(O);)M=O,O=M.prev;return O}C.prevElementSibling=R},38736:function(U,C,e){"use strict";var i=this&&this.__createBinding||(Object.create?function(fe,le,Ve,Ze){Ze===void 0&&(Ze=Ve);var Ce=Object.getOwnPropertyDescriptor(le,Ve);(!Ce||("get"in Ce?!le.__esModule:Ce.writable||Ce.configurable))&&(Ce={enumerable:!0,get:function(){return le[Ve]}}),Object.defineProperty(fe,Ze,Ce)}:function(fe,le,Ve,Ze){Ze===void 0&&(Ze=Ve),fe[Ze]=le[Ve]}),a=this&&this.__setModuleDefault||(Object.create?function(fe,le){Object.defineProperty(fe,"default",{enumerable:!0,value:le})}:function(fe,le){fe.default=le}),l=this&&this.__importStar||function(fe){if(fe&&fe.__esModule)return fe;var le={};if(fe!=null)for(var Ve in fe)Ve!=="default"&&Object.prototype.hasOwnProperty.call(fe,Ve)&&i(le,fe,Ve);return a(le,fe),le},c=this&&this.__importDefault||function(fe){return fe&&fe.__esModule?fe:{default:fe}};Object.defineProperty(C,"__esModule",{value:!0}),C.decodeXML=C.decodeHTMLStrict=C.decodeHTMLAttribute=C.decodeHTML=C.determineBranch=C.EntityDecoder=C.DecodingMode=C.BinTrieFlags=C.fromCodePoint=C.replaceCodePoint=C.decodeCodePoint=C.xmlDecodeTree=C.htmlDecodeTree=void 0;var v=c(e(46072));C.htmlDecodeTree=v.default;var _=c(e(71600));C.xmlDecodeTree=_.default;var T=l(e(63680));C.decodeCodePoint=T.default;var A=e(63680);Object.defineProperty(C,"replaceCodePoint",{enumerable:!0,get:function(){return A.replaceCodePoint}}),Object.defineProperty(C,"fromCodePoint",{enumerable:!0,get:function(){return A.fromCodePoint}});var R;(function(fe){fe[fe.NUM=35]="NUM",fe[fe.SEMI=59]="SEMI",fe[fe.EQUALS=61]="EQUALS",fe[fe.ZERO=48]="ZERO",fe[fe.NINE=57]="NINE",fe[fe.LOWER_A=97]="LOWER_A",fe[fe.LOWER_F=102]="LOWER_F",fe[fe.LOWER_X=120]="LOWER_X",fe[fe.LOWER_Z=122]="LOWER_Z",fe[fe.UPPER_A=65]="UPPER_A",fe[fe.UPPER_F=70]="UPPER_F",fe[fe.UPPER_Z=90]="UPPER_Z"})(R||(R={}));var P=32,M;(function(fe){fe[fe.VALUE_LENGTH=49152]="VALUE_LENGTH",fe[fe.BRANCH_LENGTH=16256]="BRANCH_LENGTH",fe[fe.JUMP_TABLE=127]="JUMP_TABLE"})(M=C.BinTrieFlags||(C.BinTrieFlags={}));function O(fe){return fe>=R.ZERO&&fe<=R.NINE}function N(fe){return fe>=R.UPPER_A&&fe<=R.UPPER_F||fe>=R.LOWER_A&&fe<=R.LOWER_F}function B(fe){return fe>=R.UPPER_A&&fe<=R.UPPER_Z||fe>=R.LOWER_A&&fe<=R.LOWER_Z||O(fe)}function j(fe){return fe===R.EQUALS||B(fe)}var z;(function(fe){fe[fe.EntityStart=0]="EntityStart",fe[fe.NumericStart=1]="NumericStart",fe[fe.NumericDecimal=2]="NumericDecimal",fe[fe.NumericHex=3]="NumericHex",fe[fe.NamedEntity=4]="NamedEntity"})(z||(z={}));var W;(function(fe){fe[fe.Legacy=0]="Legacy",fe[fe.Strict=1]="Strict",fe[fe.Attribute=2]="Attribute"})(W=C.DecodingMode||(C.DecodingMode={}));var X=function(){function fe(le,Ve,Ze){this.decodeTree=le,this.emitCodePoint=Ve,this.errors=Ze,this.state=z.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=W.Strict}return fe.prototype.startEntity=function(le){this.decodeMode=le,this.state=z.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},fe.prototype.write=function(le,Ve){switch(this.state){case z.EntityStart:return le.charCodeAt(Ve)===R.NUM?(this.state=z.NumericStart,this.consumed+=1,this.stateNumericStart(le,Ve+1)):(this.state=z.NamedEntity,this.stateNamedEntity(le,Ve));case z.NumericStart:return this.stateNumericStart(le,Ve);case z.NumericDecimal:return this.stateNumericDecimal(le,Ve);case z.NumericHex:return this.stateNumericHex(le,Ve);case z.NamedEntity:return this.stateNamedEntity(le,Ve)}},fe.prototype.stateNumericStart=function(le,Ve){return Ve>=le.length?-1:(le.charCodeAt(Ve)|P)===R.LOWER_X?(this.state=z.NumericHex,this.consumed+=1,this.stateNumericHex(le,Ve+1)):(this.state=z.NumericDecimal,this.stateNumericDecimal(le,Ve))},fe.prototype.addToNumericResult=function(le,Ve,Ze,Ce){if(Ve!==Ze){var ye=Ze-Ve;this.result=this.result*Math.pow(Ce,ye)+parseInt(le.substr(Ve,ye),Ce),this.consumed+=ye}},fe.prototype.stateNumericHex=function(le,Ve){for(var Ze=Ve;Ve<le.length;){var Ce=le.charCodeAt(Ve);if(O(Ce)||N(Ce))Ve+=1;else return this.addToNumericResult(le,Ze,Ve,16),this.emitNumericEntity(Ce,3)}return this.addToNumericResult(le,Ze,Ve,16),-1},fe.prototype.stateNumericDecimal=function(le,Ve){for(var Ze=Ve;Ve<le.length;){var Ce=le.charCodeAt(Ve);if(O(Ce))Ve+=1;else return this.addToNumericResult(le,Ze,Ve,10),this.emitNumericEntity(Ce,2)}return this.addToNumericResult(le,Ze,Ve,10),-1},fe.prototype.emitNumericEntity=function(le,Ve){var Ze;if(this.consumed<=Ve)return(Ze=this.errors)===null||Ze===void 0||Ze.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(le===R.SEMI)this.consumed+=1;else if(this.decodeMode===W.Strict)return 0;return this.emitCodePoint((0,T.replaceCodePoint)(this.result),this.consumed),this.errors&&(le!==R.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},fe.prototype.stateNamedEntity=function(le,Ve){for(var Ze=this.decodeTree,Ce=Ze[this.treeIndex],ye=(Ce&M.VALUE_LENGTH)>>14;Ve<le.length;Ve++,this.excess++){var Ae=le.charCodeAt(Ve);if(this.treeIndex=K(Ze,Ce,this.treeIndex+Math.max(1,ye),Ae),this.treeIndex<0)return this.result===0||this.decodeMode===W.Attribute&&(ye===0||j(Ae))?0:this.emitNotTerminatedNamedEntity();if(Ce=Ze[this.treeIndex],ye=(Ce&M.VALUE_LENGTH)>>14,ye!==0){if(Ae===R.SEMI)return this.emitNamedEntityData(this.treeIndex,ye,this.consumed+this.excess);this.decodeMode!==W.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},fe.prototype.emitNotTerminatedNamedEntity=function(){var le,Ve=this,Ze=Ve.result,Ce=Ve.decodeTree,ye=(Ce[Ze]&M.VALUE_LENGTH)>>14;return this.emitNamedEntityData(Ze,ye,this.consumed),(le=this.errors)===null||le===void 0||le.missingSemicolonAfterCharacterReference(),this.consumed},fe.prototype.emitNamedEntityData=function(le,Ve,Ze){var Ce=this.decodeTree;return this.emitCodePoint(Ve===1?Ce[le]&~M.VALUE_LENGTH:Ce[le+1],Ze),Ve===3&&this.emitCodePoint(Ce[le+2],Ze),Ze},fe.prototype.end=function(){var le;switch(this.state){case z.NamedEntity:return this.result!==0&&(this.decodeMode!==W.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case z.NumericDecimal:return this.emitNumericEntity(0,2);case z.NumericHex:return this.emitNumericEntity(0,3);case z.NumericStart:return(le=this.errors)===null||le===void 0||le.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case z.EntityStart:return 0}},fe}();C.EntityDecoder=X;function Q(fe){var le="",Ve=new X(fe,function(Ze){return le+=(0,T.fromCodePoint)(Ze)});return function(Ce,ye){for(var Ae=0,Fe=0;(Fe=Ce.indexOf("&",Fe))>=0;){le+=Ce.slice(Ae,Fe),Ve.startEntity(ye);var Qe=Ve.write(Ce,Fe+1);if(Qe<0){Ae=Fe+Ve.end();break}Ae=Fe+Qe,Fe=Qe===0?Ae+1:Ae}var ce=le+Ce.slice(Ae);return le="",ce}}function K(fe,le,Ve,Ze){var Ce=(le&M.BRANCH_LENGTH)>>7,ye=le&M.JUMP_TABLE;if(Ce===0)return ye!==0&&Ze===ye?Ve:-1;if(ye){var Ae=Ze-ye;return Ae<0||Ae>=Ce?-1:fe[Ve+Ae]-1}for(var Fe=Ve,Qe=Fe+Ce-1;Fe<=Qe;){var ce=Fe+Qe>>>1,Ge=fe[ce];if(Ge<Ze)Fe=ce+1;else if(Ge>Ze)Qe=ce-1;else return fe[ce+Ce]}return-1}C.determineBranch=K;var Y=Q(v.default),Z=Q(_.default);function J(fe,le){return le===void 0&&(le=W.Legacy),Y(fe,le)}C.decodeHTML=J;function ee(fe){return Y(fe,W.Attribute)}C.decodeHTMLAttribute=ee;function re(fe){return Y(fe,W.Strict)}C.decodeHTMLStrict=re;function me(fe){return Z(fe,W.Strict)}C.decodeXML=me},63680:(U,C)=>{"use strict";var e;Object.defineProperty(C,"__esModule",{value:!0}),C.replaceCodePoint=C.fromCodePoint=void 0;var i=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);C.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(c){var v="";return c>65535&&(c-=65536,v+=String.fromCharCode(c>>>10&1023|55296),c=56320|c&1023),v+=String.fromCharCode(c),v};function a(c){var v;return c>=55296&&c<=57343||c>1114111?65533:(v=i.get(c))!==null&&v!==void 0?v:c}C.replaceCodePoint=a;function l(c){return(0,C.fromCodePoint)(a(c))}C.default=l},40696:function(U,C,e){"use strict";var i=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(C,"__esModule",{value:!0}),C.encodeNonAsciiHTML=C.encodeHTML=void 0;var a=i(e(620)),l=e(83132),c=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function v(A){return T(c,A)}C.encodeHTML=v;function _(A){return T(l.xmlReplacer,A)}C.encodeNonAsciiHTML=_;function T(A,R){for(var P="",M=0,O;(O=A.exec(R))!==null;){var N=O.index;P+=R.substring(M,N);var B=R.charCodeAt(N),j=a.default.get(B);if(typeof j=="object"){if(N+1<R.length){var z=R.charCodeAt(N+1),W=typeof j.n=="number"?j.n===z?j.o:void 0:j.n.get(z);if(W!==void 0){P+=W,M=A.lastIndex+=1;continue}}j=j.v}if(j!==void 0)P+=j,M=N+1;else{var X=(0,l.getCodePoint)(R,N);P+="&#x".concat(X.toString(16),";"),M=A.lastIndex+=Number(X!==B)}}return P+R.substr(M)}},83132:(U,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.escapeText=C.escapeAttribute=C.escapeUTF8=C.escape=C.encodeXML=C.getCodePoint=C.xmlReplacer=void 0,C.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var e=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);C.getCodePoint=String.prototype.codePointAt!=null?function(l,c){return l.codePointAt(c)}:function(l,c){return(l.charCodeAt(c)&64512)===55296?(l.charCodeAt(c)-55296)*1024+l.charCodeAt(c+1)-56320+65536:l.charCodeAt(c)};function i(l){for(var c="",v=0,_;(_=C.xmlReplacer.exec(l))!==null;){var T=_.index,A=l.charCodeAt(T),R=e.get(A);R!==void 0?(c+=l.substring(v,T)+R,v=T+1):(c+="".concat(l.substring(v,T),"&#x").concat((0,C.getCodePoint)(l,T).toString(16),";"),v=C.xmlReplacer.lastIndex+=Number((A&64512)===55296))}return c+l.substr(v)}C.encodeXML=i,C.escape=i;function a(l,c){return function(_){for(var T,A=0,R="";T=l.exec(_);)A!==T.index&&(R+=_.substring(A,T.index)),R+=c.get(T[0].charCodeAt(0)),A=T.index+1;return R+_.substring(A)}}C.escapeUTF8=a(/[&<>'"]/g,e),C.escapeAttribute=a(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),C.escapeText=a(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]]))},46072:(U,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(function(e){return e.charCodeAt(0)}))},71600:(U,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.default=new Uint16Array("\u0200aglq	\x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(function(e){return e.charCodeAt(0)}))},620:(U,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});function e(i){for(var a=1;a<i.length;a++)i[a][0]+=i[a-1][0]+1;return i}C.default=new Map(e([[9,"&Tab;"],[0,"&NewLine;"],[22,"&excl;"],[0,"&quot;"],[0,"&num;"],[0,"&dollar;"],[0,"&percnt;"],[0,"&amp;"],[0,"&apos;"],[0,"&lpar;"],[0,"&rpar;"],[0,"&ast;"],[0,"&plus;"],[0,"&comma;"],[1,"&period;"],[0,"&sol;"],[10,"&colon;"],[0,"&semi;"],[0,{v:"&lt;",n:8402,o:"&nvlt;"}],[0,{v:"&equals;",n:8421,o:"&bne;"}],[0,{v:"&gt;",n:8402,o:"&nvgt;"}],[0,"&quest;"],[0,"&commat;"],[26,"&lbrack;"],[0,"&bsol;"],[0,"&rbrack;"],[0,"&Hat;"],[0,"&lowbar;"],[0,"&DiacriticalGrave;"],[5,{n:106,o:"&fjlig;"}],[20,"&lbrace;"],[0,"&verbar;"],[0,"&rbrace;"],[34,"&nbsp;"],[0,"&iexcl;"],[0,"&cent;"],[0,"&pound;"],[0,"&curren;"],[0,"&yen;"],[0,"&brvbar;"],[0,"&sect;"],[0,"&die;"],[0,"&copy;"],[0,"&ordf;"],[0,"&laquo;"],[0,"&not;"],[0,"&shy;"],[0,"&circledR;"],[0,"&macr;"],[0,"&deg;"],[0,"&PlusMinus;"],[0,"&sup2;"],[0,"&sup3;"],[0,"&acute;"],[0,"&micro;"],[0,"&para;"],[0,"&centerdot;"],[0,"&cedil;"],[0,"&sup1;"],[0,"&ordm;"],[0,"&raquo;"],[0,"&frac14;"],[0,"&frac12;"],[0,"&frac34;"],[0,"&iquest;"],[0,"&Agrave;"],[0,"&Aacute;"],[0,"&Acirc;"],[0,"&Atilde;"],[0,"&Auml;"],[0,"&angst;"],[0,"&AElig;"],[0,"&Ccedil;"],[0,"&Egrave;"],[0,"&Eacute;"],[0,"&Ecirc;"],[0,"&Euml;"],[0,"&Igrave;"],[0,"&Iacute;"],[0,"&Icirc;"],[0,"&Iuml;"],[0,"&ETH;"],[0,"&Ntilde;"],[0,"&Ograve;"],[0,"&Oacute;"],[0,"&Ocirc;"],[0,"&Otilde;"],[0,"&Ouml;"],[0,"&times;"],[0,"&Oslash;"],[0,"&Ugrave;"],[0,"&Uacute;"],[0,"&Ucirc;"],[0,"&Uuml;"],[0,"&Yacute;"],[0,"&THORN;"],[0,"&szlig;"],[0,"&agrave;"],[0,"&aacute;"],[0,"&acirc;"],[0,"&atilde;"],[0,"&auml;"],[0,"&aring;"],[0,"&aelig;"],[0,"&ccedil;"],[0,"&egrave;"],[0,"&eacute;"],[0,"&ecirc;"],[0,"&euml;"],[0,"&igrave;"],[0,"&iacute;"],[0,"&icirc;"],[0,"&iuml;"],[0,"&eth;"],[0,"&ntilde;"],[0,"&ograve;"],[0,"&oacute;"],[0,"&ocirc;"],[0,"&otilde;"],[0,"&ouml;"],[0,"&div;"],[0,"&oslash;"],[0,"&ugrave;"],[0,"&uacute;"],[0,"&ucirc;"],[0,"&uuml;"],[0,"&yacute;"],[0,"&thorn;"],[0,"&yuml;"],[0,"&Amacr;"],[0,"&amacr;"],[0,"&Abreve;"],[0,"&abreve;"],[0,"&Aogon;"],[0,"&aogon;"],[0,"&Cacute;"],[0,"&cacute;"],[0,"&Ccirc;"],[0,"&ccirc;"],[0,"&Cdot;"],[0,"&cdot;"],[0,"&Ccaron;"],[0,"&ccaron;"],[0,"&Dcaron;"],[0,"&dcaron;"],[0,"&Dstrok;"],[0,"&dstrok;"],[0,"&Emacr;"],[0,"&emacr;"],[2,"&Edot;"],[0,"&edot;"],[0,"&Eogon;"],[0,"&eogon;"],[0,"&Ecaron;"],[0,"&ecaron;"],[0,"&Gcirc;"],[0,"&gcirc;"],[0,"&Gbreve;"],[0,"&gbreve;"],[0,"&Gdot;"],[0,"&gdot;"],[0,"&Gcedil;"],[1,"&Hcirc;"],[0,"&hcirc;"],[0,"&Hstrok;"],[0,"&hstrok;"],[0,"&Itilde;"],[0,"&itilde;"],[0,"&Imacr;"],[0,"&imacr;"],[2,"&Iogon;"],[0,"&iogon;"],[0,"&Idot;"],[0,"&imath;"],[0,"&IJlig;"],[0,"&ijlig;"],[0,"&Jcirc;"],[0,"&jcirc;"],[0,"&Kcedil;"],[0,"&kcedil;"],[0,"&kgreen;"],[0,"&Lacute;"],[0,"&lacute;"],[0,"&Lcedil;"],[0,"&lcedil;"],[0,"&Lcaron;"],[0,"&lcaron;"],[0,"&Lmidot;"],[0,"&lmidot;"],[0,"&Lstrok;"],[0,"&lstrok;"],[0,"&Nacute;"],[0,"&nacute;"],[0,"&Ncedil;"],[0,"&ncedil;"],[0,"&Ncaron;"],[0,"&ncaron;"],[0,"&napos;"],[0,"&ENG;"],[0,"&eng;"],[0,"&Omacr;"],[0,"&omacr;"],[2,"&Odblac;"],[0,"&odblac;"],[0,"&OElig;"],[0,"&oelig;"],[0,"&Racute;"],[0,"&racute;"],[0,"&Rcedil;"],[0,"&rcedil;"],[0,"&Rcaron;"],[0,"&rcaron;"],[0,"&Sacute;"],[0,"&sacute;"],[0,"&Scirc;"],[0,"&scirc;"],[0,"&Scedil;"],[0,"&scedil;"],[0,"&Scaron;"],[0,"&scaron;"],[0,"&Tcedil;"],[0,"&tcedil;"],[0,"&Tcaron;"],[0,"&tcaron;"],[0,"&Tstrok;"],[0,"&tstrok;"],[0,"&Utilde;"],[0,"&utilde;"],[0,"&Umacr;"],[0,"&umacr;"],[0,"&Ubreve;"],[0,"&ubreve;"],[0,"&Uring;"],[0,"&uring;"],[0,"&Udblac;"],[0,"&udblac;"],[0,"&Uogon;"],[0,"&uogon;"],[0,"&Wcirc;"],[0,"&wcirc;"],[0,"&Ycirc;"],[0,"&ycirc;"],[0,"&Yuml;"],[0,"&Zacute;"],[0,"&zacute;"],[0,"&Zdot;"],[0,"&zdot;"],[0,"&Zcaron;"],[0,"&zcaron;"],[19,"&fnof;"],[34,"&imped;"],[63,"&gacute;"],[65,"&jmath;"],[142,"&circ;"],[0,"&caron;"],[16,"&breve;"],[0,"&DiacriticalDot;"],[0,"&ring;"],[0,"&ogon;"],[0,"&DiacriticalTilde;"],[0,"&dblac;"],[51,"&DownBreve;"],[127,"&Alpha;"],[0,"&Beta;"],[0,"&Gamma;"],[0,"&Delta;"],[0,"&Epsilon;"],[0,"&Zeta;"],[0,"&Eta;"],[0,"&Theta;"],[0,"&Iota;"],[0,"&Kappa;"],[0,"&Lambda;"],[0,"&Mu;"],[0,"&Nu;"],[0,"&Xi;"],[0,"&Omicron;"],[0,"&Pi;"],[0,"&Rho;"],[1,"&Sigma;"],[0,"&Tau;"],[0,"&Upsilon;"],[0,"&Phi;"],[0,"&Chi;"],[0,"&Psi;"],[0,"&ohm;"],[7,"&alpha;"],[0,"&beta;"],[0,"&gamma;"],[0,"&delta;"],[0,"&epsi;"],[0,"&zeta;"],[0,"&eta;"],[0,"&theta;"],[0,"&iota;"],[0,"&kappa;"],[0,"&lambda;"],[0,"&mu;"],[0,"&nu;"],[0,"&xi;"],[0,"&omicron;"],[0,"&pi;"],[0,"&rho;"],[0,"&sigmaf;"],[0,"&sigma;"],[0,"&tau;"],[0,"&upsi;"],[0,"&phi;"],[0,"&chi;"],[0,"&psi;"],[0,"&omega;"],[7,"&thetasym;"],[0,"&Upsi;"],[2,"&phiv;"],[0,"&piv;"],[5,"&Gammad;"],[0,"&digamma;"],[18,"&kappav;"],[0,"&rhov;"],[3,"&epsiv;"],[0,"&backepsilon;"],[10,"&IOcy;"],[0,"&DJcy;"],[0,"&GJcy;"],[0,"&Jukcy;"],[0,"&DScy;"],[0,"&Iukcy;"],[0,"&YIcy;"],[0,"&Jsercy;"],[0,"&LJcy;"],[0,"&NJcy;"],[0,"&TSHcy;"],[0,"&KJcy;"],[1,"&Ubrcy;"],[0,"&DZcy;"],[0,"&Acy;"],[0,"&Bcy;"],[0,"&Vcy;"],[0,"&Gcy;"],[0,"&Dcy;"],[0,"&IEcy;"],[0,"&ZHcy;"],[0,"&Zcy;"],[0,"&Icy;"],[0,"&Jcy;"],[0,"&Kcy;"],[0,"&Lcy;"],[0,"&Mcy;"],[0,"&Ncy;"],[0,"&Ocy;"],[0,"&Pcy;"],[0,"&Rcy;"],[0,"&Scy;"],[0,"&Tcy;"],[0,"&Ucy;"],[0,"&Fcy;"],[0,"&KHcy;"],[0,"&TScy;"],[0,"&CHcy;"],[0,"&SHcy;"],[0,"&SHCHcy;"],[0,"&HARDcy;"],[0,"&Ycy;"],[0,"&SOFTcy;"],[0,"&Ecy;"],[0,"&YUcy;"],[0,"&YAcy;"],[0,"&acy;"],[0,"&bcy;"],[0,"&vcy;"],[0,"&gcy;"],[0,"&dcy;"],[0,"&iecy;"],[0,"&zhcy;"],[0,"&zcy;"],[0,"&icy;"],[0,"&jcy;"],[0,"&kcy;"],[0,"&lcy;"],[0,"&mcy;"],[0,"&ncy;"],[0,"&ocy;"],[0,"&pcy;"],[0,"&rcy;"],[0,"&scy;"],[0,"&tcy;"],[0,"&ucy;"],[0,"&fcy;"],[0,"&khcy;"],[0,"&tscy;"],[0,"&chcy;"],[0,"&shcy;"],[0,"&shchcy;"],[0,"&hardcy;"],[0,"&ycy;"],[0,"&softcy;"],[0,"&ecy;"],[0,"&yucy;"],[0,"&yacy;"],[1,"&iocy;"],[0,"&djcy;"],[0,"&gjcy;"],[0,"&jukcy;"],[0,"&dscy;"],[0,"&iukcy;"],[0,"&yicy;"],[0,"&jsercy;"],[0,"&ljcy;"],[0,"&njcy;"],[0,"&tshcy;"],[0,"&kjcy;"],[1,"&ubrcy;"],[0,"&dzcy;"],[7074,"&ensp;"],[0,"&emsp;"],[0,"&emsp13;"],[0,"&emsp14;"],[1,"&numsp;"],[0,"&puncsp;"],[0,"&ThinSpace;"],[0,"&hairsp;"],[0,"&NegativeMediumSpace;"],[0,"&zwnj;"],[0,"&zwj;"],[0,"&lrm;"],[0,"&rlm;"],[0,"&dash;"],[2,"&ndash;"],[0,"&mdash;"],[0,"&horbar;"],[0,"&Verbar;"],[1,"&lsquo;"],[0,"&CloseCurlyQuote;"],[0,"&lsquor;"],[1,"&ldquo;"],[0,"&CloseCurlyDoubleQuote;"],[0,"&bdquo;"],[1,"&dagger;"],[0,"&Dagger;"],[0,"&bull;"],[2,"&nldr;"],[0,"&hellip;"],[9,"&permil;"],[0,"&pertenk;"],[0,"&prime;"],[0,"&Prime;"],[0,"&tprime;"],[0,"&backprime;"],[3,"&lsaquo;"],[0,"&rsaquo;"],[3,"&oline;"],[2,"&caret;"],[1,"&hybull;"],[0,"&frasl;"],[10,"&bsemi;"],[7,"&qprime;"],[7,{v:"&MediumSpace;",n:8202,o:"&ThickSpace;"}],[0,"&NoBreak;"],[0,"&af;"],[0,"&InvisibleTimes;"],[0,"&ic;"],[72,"&euro;"],[46,"&tdot;"],[0,"&DotDot;"],[37,"&complexes;"],[2,"&incare;"],[4,"&gscr;"],[0,"&hamilt;"],[0,"&Hfr;"],[0,"&Hopf;"],[0,"&planckh;"],[0,"&hbar;"],[0,"&imagline;"],[0,"&Ifr;"],[0,"&lagran;"],[0,"&ell;"],[1,"&naturals;"],[0,"&numero;"],[0,"&copysr;"],[0,"&weierp;"],[0,"&Popf;"],[0,"&Qopf;"],[0,"&realine;"],[0,"&real;"],[0,"&reals;"],[0,"&rx;"],[3,"&trade;"],[1,"&integers;"],[2,"&mho;"],[0,"&zeetrf;"],[0,"&iiota;"],[2,"&bernou;"],[0,"&Cayleys;"],[1,"&escr;"],[0,"&Escr;"],[0,"&Fouriertrf;"],[1,"&Mellintrf;"],[0,"&order;"],[0,"&alefsym;"],[0,"&beth;"],[0,"&gimel;"],[0,"&daleth;"],[12,"&CapitalDifferentialD;"],[0,"&dd;"],[0,"&ee;"],[0,"&ii;"],[10,"&frac13;"],[0,"&frac23;"],[0,"&frac15;"],[0,"&frac25;"],[0,"&frac35;"],[0,"&frac45;"],[0,"&frac16;"],[0,"&frac56;"],[0,"&frac18;"],[0,"&frac38;"],[0,"&frac58;"],[0,"&frac78;"],[49,"&larr;"],[0,"&ShortUpArrow;"],[0,"&rarr;"],[0,"&darr;"],[0,"&harr;"],[0,"&updownarrow;"],[0,"&nwarr;"],[0,"&nearr;"],[0,"&LowerRightArrow;"],[0,"&LowerLeftArrow;"],[0,"&nlarr;"],[0,"&nrarr;"],[1,{v:"&rarrw;",n:824,o:"&nrarrw;"}],[0,"&Larr;"],[0,"&Uarr;"],[0,"&Rarr;"],[0,"&Darr;"],[0,"&larrtl;"],[0,"&rarrtl;"],[0,"&LeftTeeArrow;"],[0,"&mapstoup;"],[0,"&map;"],[0,"&DownTeeArrow;"],[1,"&hookleftarrow;"],[0,"&hookrightarrow;"],[0,"&larrlp;"],[0,"&looparrowright;"],[0,"&harrw;"],[0,"&nharr;"],[1,"&lsh;"],[0,"&rsh;"],[0,"&ldsh;"],[0,"&rdsh;"],[1,"&crarr;"],[0,"&cularr;"],[0,"&curarr;"],[2,"&circlearrowleft;"],[0,"&circlearrowright;"],[0,"&leftharpoonup;"],[0,"&DownLeftVector;"],[0,"&RightUpVector;"],[0,"&LeftUpVector;"],[0,"&rharu;"],[0,"&DownRightVector;"],[0,"&dharr;"],[0,"&dharl;"],[0,"&RightArrowLeftArrow;"],[0,"&udarr;"],[0,"&LeftArrowRightArrow;"],[0,"&leftleftarrows;"],[0,"&upuparrows;"],[0,"&rightrightarrows;"],[0,"&ddarr;"],[0,"&leftrightharpoons;"],[0,"&Equilibrium;"],[0,"&nlArr;"],[0,"&nhArr;"],[0,"&nrArr;"],[0,"&DoubleLeftArrow;"],[0,"&DoubleUpArrow;"],[0,"&DoubleRightArrow;"],[0,"&dArr;"],[0,"&DoubleLeftRightArrow;"],[0,"&DoubleUpDownArrow;"],[0,"&nwArr;"],[0,"&neArr;"],[0,"&seArr;"],[0,"&swArr;"],[0,"&lAarr;"],[0,"&rAarr;"],[1,"&zigrarr;"],[6,"&larrb;"],[0,"&rarrb;"],[15,"&DownArrowUpArrow;"],[7,"&loarr;"],[0,"&roarr;"],[0,"&hoarr;"],[0,"&forall;"],[0,"&comp;"],[0,{v:"&part;",n:824,o:"&npart;"}],[0,"&exist;"],[0,"&nexist;"],[0,"&empty;"],[1,"&Del;"],[0,"&Element;"],[0,"&NotElement;"],[1,"&ni;"],[0,"&notni;"],[2,"&prod;"],[0,"&coprod;"],[0,"&sum;"],[0,"&minus;"],[0,"&MinusPlus;"],[0,"&dotplus;"],[1,"&Backslash;"],[0,"&lowast;"],[0,"&compfn;"],[1,"&radic;"],[2,"&prop;"],[0,"&infin;"],[0,"&angrt;"],[0,{v:"&ang;",n:8402,o:"&nang;"}],[0,"&angmsd;"],[0,"&angsph;"],[0,"&mid;"],[0,"&nmid;"],[0,"&DoubleVerticalBar;"],[0,"&NotDoubleVerticalBar;"],[0,"&and;"],[0,"&or;"],[0,{v:"&cap;",n:65024,o:"&caps;"}],[0,{v:"&cup;",n:65024,o:"&cups;"}],[0,"&int;"],[0,"&Int;"],[0,"&iiint;"],[0,"&conint;"],[0,"&Conint;"],[0,"&Cconint;"],[0,"&cwint;"],[0,"&ClockwiseContourIntegral;"],[0,"&awconint;"],[0,"&there4;"],[0,"&becaus;"],[0,"&ratio;"],[0,"&Colon;"],[0,"&dotminus;"],[1,"&mDDot;"],[0,"&homtht;"],[0,{v:"&sim;",n:8402,o:"&nvsim;"}],[0,{v:"&backsim;",n:817,o:"&race;"}],[0,{v:"&ac;",n:819,o:"&acE;"}],[0,"&acd;"],[0,"&VerticalTilde;"],[0,"&NotTilde;"],[0,{v:"&eqsim;",n:824,o:"&nesim;"}],[0,"&sime;"],[0,"&NotTildeEqual;"],[0,"&cong;"],[0,"&simne;"],[0,"&ncong;"],[0,"&ap;"],[0,"&nap;"],[0,"&ape;"],[0,{v:"&apid;",n:824,o:"&napid;"}],[0,"&backcong;"],[0,{v:"&asympeq;",n:8402,o:"&nvap;"}],[0,{v:"&bump;",n:824,o:"&nbump;"}],[0,{v:"&bumpe;",n:824,o:"&nbumpe;"}],[0,{v:"&doteq;",n:824,o:"&nedot;"}],[0,"&doteqdot;"],[0,"&efDot;"],[0,"&erDot;"],[0,"&Assign;"],[0,"&ecolon;"],[0,"&ecir;"],[0,"&circeq;"],[1,"&wedgeq;"],[0,"&veeeq;"],[1,"&triangleq;"],[2,"&equest;"],[0,"&ne;"],[0,{v:"&Congruent;",n:8421,o:"&bnequiv;"}],[0,"&nequiv;"],[1,{v:"&le;",n:8402,o:"&nvle;"}],[0,{v:"&ge;",n:8402,o:"&nvge;"}],[0,{v:"&lE;",n:824,o:"&nlE;"}],[0,{v:"&gE;",n:824,o:"&ngE;"}],[0,{v:"&lnE;",n:65024,o:"&lvertneqq;"}],[0,{v:"&gnE;",n:65024,o:"&gvertneqq;"}],[0,{v:"&ll;",n:new Map(e([[824,"&nLtv;"],[7577,"&nLt;"]]))}],[0,{v:"&gg;",n:new Map(e([[824,"&nGtv;"],[7577,"&nGt;"]]))}],[0,"&between;"],[0,"&NotCupCap;"],[0,"&nless;"],[0,"&ngt;"],[0,"&nle;"],[0,"&nge;"],[0,"&lesssim;"],[0,"&GreaterTilde;"],[0,"&nlsim;"],[0,"&ngsim;"],[0,"&LessGreater;"],[0,"&gl;"],[0,"&NotLessGreater;"],[0,"&NotGreaterLess;"],[0,"&pr;"],[0,"&sc;"],[0,"&prcue;"],[0,"&sccue;"],[0,"&PrecedesTilde;"],[0,{v:"&scsim;",n:824,o:"&NotSucceedsTilde;"}],[0,"&NotPrecedes;"],[0,"&NotSucceeds;"],[0,{v:"&sub;",n:8402,o:"&NotSubset;"}],[0,{v:"&sup;",n:8402,o:"&NotSuperset;"}],[0,"&nsub;"],[0,"&nsup;"],[0,"&sube;"],[0,"&supe;"],[0,"&NotSubsetEqual;"],[0,"&NotSupersetEqual;"],[0,{v:"&subne;",n:65024,o:"&varsubsetneq;"}],[0,{v:"&supne;",n:65024,o:"&varsupsetneq;"}],[1,"&cupdot;"],[0,"&UnionPlus;"],[0,{v:"&sqsub;",n:824,o:"&NotSquareSubset;"}],[0,{v:"&sqsup;",n:824,o:"&NotSquareSuperset;"}],[0,"&sqsube;"],[0,"&sqsupe;"],[0,{v:"&sqcap;",n:65024,o:"&sqcaps;"}],[0,{v:"&sqcup;",n:65024,o:"&sqcups;"}],[0,"&CirclePlus;"],[0,"&CircleMinus;"],[0,"&CircleTimes;"],[0,"&osol;"],[0,"&CircleDot;"],[0,"&circledcirc;"],[0,"&circledast;"],[1,"&circleddash;"],[0,"&boxplus;"],[0,"&boxminus;"],[0,"&boxtimes;"],[0,"&dotsquare;"],[0,"&RightTee;"],[0,"&dashv;"],[0,"&DownTee;"],[0,"&bot;"],[1,"&models;"],[0,"&DoubleRightTee;"],[0,"&Vdash;"],[0,"&Vvdash;"],[0,"&VDash;"],[0,"&nvdash;"],[0,"&nvDash;"],[0,"&nVdash;"],[0,"&nVDash;"],[0,"&prurel;"],[1,"&LeftTriangle;"],[0,"&RightTriangle;"],[0,{v:"&LeftTriangleEqual;",n:8402,o:"&nvltrie;"}],[0,{v:"&RightTriangleEqual;",n:8402,o:"&nvrtrie;"}],[0,"&origof;"],[0,"&imof;"],[0,"&multimap;"],[0,"&hercon;"],[0,"&intcal;"],[0,"&veebar;"],[1,"&barvee;"],[0,"&angrtvb;"],[0,"&lrtri;"],[0,"&bigwedge;"],[0,"&bigvee;"],[0,"&bigcap;"],[0,"&bigcup;"],[0,"&diam;"],[0,"&sdot;"],[0,"&sstarf;"],[0,"&divideontimes;"],[0,"&bowtie;"],[0,"&ltimes;"],[0,"&rtimes;"],[0,"&leftthreetimes;"],[0,"&rightthreetimes;"],[0,"&backsimeq;"],[0,"&curlyvee;"],[0,"&curlywedge;"],[0,"&Sub;"],[0,"&Sup;"],[0,"&Cap;"],[0,"&Cup;"],[0,"&fork;"],[0,"&epar;"],[0,"&lessdot;"],[0,"&gtdot;"],[0,{v:"&Ll;",n:824,o:"&nLl;"}],[0,{v:"&Gg;",n:824,o:"&nGg;"}],[0,{v:"&leg;",n:65024,o:"&lesg;"}],[0,{v:"&gel;",n:65024,o:"&gesl;"}],[2,"&cuepr;"],[0,"&cuesc;"],[0,"&NotPrecedesSlantEqual;"],[0,"&NotSucceedsSlantEqual;"],[0,"&NotSquareSubsetEqual;"],[0,"&NotSquareSupersetEqual;"],[2,"&lnsim;"],[0,"&gnsim;"],[0,"&precnsim;"],[0,"&scnsim;"],[0,"&nltri;"],[0,"&NotRightTriangle;"],[0,"&nltrie;"],[0,"&NotRightTriangleEqual;"],[0,"&vellip;"],[0,"&ctdot;"],[0,"&utdot;"],[0,"&dtdot;"],[0,"&disin;"],[0,"&isinsv;"],[0,"&isins;"],[0,{v:"&isindot;",n:824,o:"&notindot;"}],[0,"&notinvc;"],[0,"&notinvb;"],[1,{v:"&isinE;",n:824,o:"&notinE;"}],[0,"&nisd;"],[0,"&xnis;"],[0,"&nis;"],[0,"&notnivc;"],[0,"&notnivb;"],[6,"&barwed;"],[0,"&Barwed;"],[1,"&lceil;"],[0,"&rceil;"],[0,"&LeftFloor;"],[0,"&rfloor;"],[0,"&drcrop;"],[0,"&dlcrop;"],[0,"&urcrop;"],[0,"&ulcrop;"],[0,"&bnot;"],[1,"&profline;"],[0,"&profsurf;"],[1,"&telrec;"],[0,"&target;"],[5,"&ulcorn;"],[0,"&urcorn;"],[0,"&dlcorn;"],[0,"&drcorn;"],[2,"&frown;"],[0,"&smile;"],[9,"&cylcty;"],[0,"&profalar;"],[7,"&topbot;"],[6,"&ovbar;"],[1,"&solbar;"],[60,"&angzarr;"],[51,"&lmoustache;"],[0,"&rmoustache;"],[2,"&OverBracket;"],[0,"&bbrk;"],[0,"&bbrktbrk;"],[37,"&OverParenthesis;"],[0,"&UnderParenthesis;"],[0,"&OverBrace;"],[0,"&UnderBrace;"],[2,"&trpezium;"],[4,"&elinters;"],[59,"&blank;"],[164,"&circledS;"],[55,"&boxh;"],[1,"&boxv;"],[9,"&boxdr;"],[3,"&boxdl;"],[3,"&boxur;"],[3,"&boxul;"],[3,"&boxvr;"],[7,"&boxvl;"],[7,"&boxhd;"],[7,"&boxhu;"],[7,"&boxvh;"],[19,"&boxH;"],[0,"&boxV;"],[0,"&boxdR;"],[0,"&boxDr;"],[0,"&boxDR;"],[0,"&boxdL;"],[0,"&boxDl;"],[0,"&boxDL;"],[0,"&boxuR;"],[0,"&boxUr;"],[0,"&boxUR;"],[0,"&boxuL;"],[0,"&boxUl;"],[0,"&boxUL;"],[0,"&boxvR;"],[0,"&boxVr;"],[0,"&boxVR;"],[0,"&boxvL;"],[0,"&boxVl;"],[0,"&boxVL;"],[0,"&boxHd;"],[0,"&boxhD;"],[0,"&boxHD;"],[0,"&boxHu;"],[0,"&boxhU;"],[0,"&boxHU;"],[0,"&boxvH;"],[0,"&boxVh;"],[0,"&boxVH;"],[19,"&uhblk;"],[3,"&lhblk;"],[3,"&block;"],[8,"&blk14;"],[0,"&blk12;"],[0,"&blk34;"],[13,"&square;"],[8,"&blacksquare;"],[0,"&EmptyVerySmallSquare;"],[1,"&rect;"],[0,"&marker;"],[2,"&fltns;"],[1,"&bigtriangleup;"],[0,"&blacktriangle;"],[0,"&triangle;"],[2,"&blacktriangleright;"],[0,"&rtri;"],[3,"&bigtriangledown;"],[0,"&blacktriangledown;"],[0,"&dtri;"],[2,"&blacktriangleleft;"],[0,"&ltri;"],[6,"&loz;"],[0,"&cir;"],[32,"&tridot;"],[2,"&bigcirc;"],[8,"&ultri;"],[0,"&urtri;"],[0,"&lltri;"],[0,"&EmptySmallSquare;"],[0,"&FilledSmallSquare;"],[8,"&bigstar;"],[0,"&star;"],[7,"&phone;"],[49,"&female;"],[1,"&male;"],[29,"&spades;"],[2,"&clubs;"],[1,"&hearts;"],[0,"&diamondsuit;"],[3,"&sung;"],[2,"&flat;"],[0,"&natural;"],[0,"&sharp;"],[163,"&check;"],[3,"&cross;"],[8,"&malt;"],[21,"&sext;"],[33,"&VerticalSeparator;"],[25,"&lbbrk;"],[0,"&rbbrk;"],[84,"&bsolhsub;"],[0,"&suphsol;"],[28,"&LeftDoubleBracket;"],[0,"&RightDoubleBracket;"],[0,"&lang;"],[0,"&rang;"],[0,"&Lang;"],[0,"&Rang;"],[0,"&loang;"],[0,"&roang;"],[7,"&longleftarrow;"],[0,"&longrightarrow;"],[0,"&longleftrightarrow;"],[0,"&DoubleLongLeftArrow;"],[0,"&DoubleLongRightArrow;"],[0,"&DoubleLongLeftRightArrow;"],[1,"&longmapsto;"],[2,"&dzigrarr;"],[258,"&nvlArr;"],[0,"&nvrArr;"],[0,"&nvHarr;"],[0,"&Map;"],[6,"&lbarr;"],[0,"&bkarow;"],[0,"&lBarr;"],[0,"&dbkarow;"],[0,"&drbkarow;"],[0,"&DDotrahd;"],[0,"&UpArrowBar;"],[0,"&DownArrowBar;"],[2,"&Rarrtl;"],[2,"&latail;"],[0,"&ratail;"],[0,"&lAtail;"],[0,"&rAtail;"],[0,"&larrfs;"],[0,"&rarrfs;"],[0,"&larrbfs;"],[0,"&rarrbfs;"],[2,"&nwarhk;"],[0,"&nearhk;"],[0,"&hksearow;"],[0,"&hkswarow;"],[0,"&nwnear;"],[0,"&nesear;"],[0,"&seswar;"],[0,"&swnwar;"],[8,{v:"&rarrc;",n:824,o:"&nrarrc;"}],[1,"&cudarrr;"],[0,"&ldca;"],[0,"&rdca;"],[0,"&cudarrl;"],[0,"&larrpl;"],[2,"&curarrm;"],[0,"&cularrp;"],[7,"&rarrpl;"],[2,"&harrcir;"],[0,"&Uarrocir;"],[0,"&lurdshar;"],[0,"&ldrushar;"],[2,"&LeftRightVector;"],[0,"&RightUpDownVector;"],[0,"&DownLeftRightVector;"],[0,"&LeftUpDownVector;"],[0,"&LeftVectorBar;"],[0,"&RightVectorBar;"],[0,"&RightUpVectorBar;"],[0,"&RightDownVectorBar;"],[0,"&DownLeftVectorBar;"],[0,"&DownRightVectorBar;"],[0,"&LeftUpVectorBar;"],[0,"&LeftDownVectorBar;"],[0,"&LeftTeeVector;"],[0,"&RightTeeVector;"],[0,"&RightUpTeeVector;"],[0,"&RightDownTeeVector;"],[0,"&DownLeftTeeVector;"],[0,"&DownRightTeeVector;"],[0,"&LeftUpTeeVector;"],[0,"&LeftDownTeeVector;"],[0,"&lHar;"],[0,"&uHar;"],[0,"&rHar;"],[0,"&dHar;"],[0,"&luruhar;"],[0,"&ldrdhar;"],[0,"&ruluhar;"],[0,"&rdldhar;"],[0,"&lharul;"],[0,"&llhard;"],[0,"&rharul;"],[0,"&lrhard;"],[0,"&udhar;"],[0,"&duhar;"],[0,"&RoundImplies;"],[0,"&erarr;"],[0,"&simrarr;"],[0,"&larrsim;"],[0,"&rarrsim;"],[0,"&rarrap;"],[0,"&ltlarr;"],[1,"&gtrarr;"],[0,"&subrarr;"],[1,"&suplarr;"],[0,"&lfisht;"],[0,"&rfisht;"],[0,"&ufisht;"],[0,"&dfisht;"],[5,"&lopar;"],[0,"&ropar;"],[4,"&lbrke;"],[0,"&rbrke;"],[0,"&lbrkslu;"],[0,"&rbrksld;"],[0,"&lbrksld;"],[0,"&rbrkslu;"],[0,"&langd;"],[0,"&rangd;"],[0,"&lparlt;"],[0,"&rpargt;"],[0,"&gtlPar;"],[0,"&ltrPar;"],[3,"&vzigzag;"],[1,"&vangrt;"],[0,"&angrtvbd;"],[6,"&ange;"],[0,"&range;"],[0,"&dwangle;"],[0,"&uwangle;"],[0,"&angmsdaa;"],[0,"&angmsdab;"],[0,"&angmsdac;"],[0,"&angmsdad;"],[0,"&angmsdae;"],[0,"&angmsdaf;"],[0,"&angmsdag;"],[0,"&angmsdah;"],[0,"&bemptyv;"],[0,"&demptyv;"],[0,"&cemptyv;"],[0,"&raemptyv;"],[0,"&laemptyv;"],[0,"&ohbar;"],[0,"&omid;"],[0,"&opar;"],[1,"&operp;"],[1,"&olcross;"],[0,"&odsold;"],[1,"&olcir;"],[0,"&ofcir;"],[0,"&olt;"],[0,"&ogt;"],[0,"&cirscir;"],[0,"&cirE;"],[0,"&solb;"],[0,"&bsolb;"],[3,"&boxbox;"],[3,"&trisb;"],[0,"&rtriltri;"],[0,{v:"&LeftTriangleBar;",n:824,o:"&NotLeftTriangleBar;"}],[0,{v:"&RightTriangleBar;",n:824,o:"&NotRightTriangleBar;"}],[11,"&iinfin;"],[0,"&infintie;"],[0,"&nvinfin;"],[4,"&eparsl;"],[0,"&smeparsl;"],[0,"&eqvparsl;"],[5,"&blacklozenge;"],[8,"&RuleDelayed;"],[1,"&dsol;"],[9,"&bigodot;"],[0,"&bigoplus;"],[0,"&bigotimes;"],[1,"&biguplus;"],[1,"&bigsqcup;"],[5,"&iiiint;"],[0,"&fpartint;"],[2,"&cirfnint;"],[0,"&awint;"],[0,"&rppolint;"],[0,"&scpolint;"],[0,"&npolint;"],[0,"&pointint;"],[0,"&quatint;"],[0,"&intlarhk;"],[10,"&pluscir;"],[0,"&plusacir;"],[0,"&simplus;"],[0,"&plusdu;"],[0,"&plussim;"],[0,"&plustwo;"],[1,"&mcomma;"],[0,"&minusdu;"],[2,"&loplus;"],[0,"&roplus;"],[0,"&Cross;"],[0,"&timesd;"],[0,"&timesbar;"],[1,"&smashp;"],[0,"&lotimes;"],[0,"&rotimes;"],[0,"&otimesas;"],[0,"&Otimes;"],[0,"&odiv;"],[0,"&triplus;"],[0,"&triminus;"],[0,"&tritime;"],[0,"&intprod;"],[2,"&amalg;"],[0,"&capdot;"],[1,"&ncup;"],[0,"&ncap;"],[0,"&capand;"],[0,"&cupor;"],[0,"&cupcap;"],[0,"&capcup;"],[0,"&cupbrcap;"],[0,"&capbrcup;"],[0,"&cupcup;"],[0,"&capcap;"],[0,"&ccups;"],[0,"&ccaps;"],[2,"&ccupssm;"],[2,"&And;"],[0,"&Or;"],[0,"&andand;"],[0,"&oror;"],[0,"&orslope;"],[0,"&andslope;"],[1,"&andv;"],[0,"&orv;"],[0,"&andd;"],[0,"&ord;"],[1,"&wedbar;"],[6,"&sdote;"],[3,"&simdot;"],[2,{v:"&congdot;",n:824,o:"&ncongdot;"}],[0,"&easter;"],[0,"&apacir;"],[0,{v:"&apE;",n:824,o:"&napE;"}],[0,"&eplus;"],[0,"&pluse;"],[0,"&Esim;"],[0,"&Colone;"],[0,"&Equal;"],[1,"&ddotseq;"],[0,"&equivDD;"],[0,"&ltcir;"],[0,"&gtcir;"],[0,"&ltquest;"],[0,"&gtquest;"],[0,{v:"&leqslant;",n:824,o:"&nleqslant;"}],[0,{v:"&geqslant;",n:824,o:"&ngeqslant;"}],[0,"&lesdot;"],[0,"&gesdot;"],[0,"&lesdoto;"],[0,"&gesdoto;"],[0,"&lesdotor;"],[0,"&gesdotol;"],[0,"&lap;"],[0,"&gap;"],[0,"&lne;"],[0,"&gne;"],[0,"&lnap;"],[0,"&gnap;"],[0,"&lEg;"],[0,"&gEl;"],[0,"&lsime;"],[0,"&gsime;"],[0,"&lsimg;"],[0,"&gsiml;"],[0,"&lgE;"],[0,"&glE;"],[0,"&lesges;"],[0,"&gesles;"],[0,"&els;"],[0,"&egs;"],[0,"&elsdot;"],[0,"&egsdot;"],[0,"&el;"],[0,"&eg;"],[2,"&siml;"],[0,"&simg;"],[0,"&simlE;"],[0,"&simgE;"],[0,{v:"&LessLess;",n:824,o:"&NotNestedLessLess;"}],[0,{v:"&GreaterGreater;",n:824,o:"&NotNestedGreaterGreater;"}],[1,"&glj;"],[0,"&gla;"],[0,"&ltcc;"],[0,"&gtcc;"],[0,"&lescc;"],[0,"&gescc;"],[0,"&smt;"],[0,"&lat;"],[0,{v:"&smte;",n:65024,o:"&smtes;"}],[0,{v:"&late;",n:65024,o:"&lates;"}],[0,"&bumpE;"],[0,{v:"&PrecedesEqual;",n:824,o:"&NotPrecedesEqual;"}],[0,{v:"&sce;",n:824,o:"&NotSucceedsEqual;"}],[2,"&prE;"],[0,"&scE;"],[0,"&precneqq;"],[0,"&scnE;"],[0,"&prap;"],[0,"&scap;"],[0,"&precnapprox;"],[0,"&scnap;"],[0,"&Pr;"],[0,"&Sc;"],[0,"&subdot;"],[0,"&supdot;"],[0,"&subplus;"],[0,"&supplus;"],[0,"&submult;"],[0,"&supmult;"],[0,"&subedot;"],[0,"&supedot;"],[0,{v:"&subE;",n:824,o:"&nsubE;"}],[0,{v:"&supE;",n:824,o:"&nsupE;"}],[0,"&subsim;"],[0,"&supsim;"],[2,{v:"&subnE;",n:65024,o:"&varsubsetneqq;"}],[0,{v:"&supnE;",n:65024,o:"&varsupsetneqq;"}],[2,"&csub;"],[0,"&csup;"],[0,"&csube;"],[0,"&csupe;"],[0,"&subsup;"],[0,"&supsub;"],[0,"&subsub;"],[0,"&supsup;"],[0,"&suphsub;"],[0,"&supdsub;"],[0,"&forkv;"],[0,"&topfork;"],[0,"&mlcp;"],[8,"&Dashv;"],[1,"&Vdashl;"],[0,"&Barv;"],[0,"&vBar;"],[0,"&vBarv;"],[1,"&Vbar;"],[0,"&Not;"],[0,"&bNot;"],[0,"&rnmid;"],[0,"&cirmid;"],[0,"&midcir;"],[0,"&topcir;"],[0,"&nhpar;"],[0,"&parsim;"],[9,{v:"&parsl;",n:8421,o:"&nparsl;"}],[44343,{n:new Map(e([[56476,"&Ascr;"],[1,"&Cscr;"],[0,"&Dscr;"],[2,"&Gscr;"],[2,"&Jscr;"],[0,"&Kscr;"],[2,"&Nscr;"],[0,"&Oscr;"],[0,"&Pscr;"],[0,"&Qscr;"],[1,"&Sscr;"],[0,"&Tscr;"],[0,"&Uscr;"],[0,"&Vscr;"],[0,"&Wscr;"],[0,"&Xscr;"],[0,"&Yscr;"],[0,"&Zscr;"],[0,"&ascr;"],[0,"&bscr;"],[0,"&cscr;"],[0,"&dscr;"],[1,"&fscr;"],[1,"&hscr;"],[0,"&iscr;"],[0,"&jscr;"],[0,"&kscr;"],[0,"&lscr;"],[0,"&mscr;"],[0,"&nscr;"],[1,"&pscr;"],[0,"&qscr;"],[0,"&rscr;"],[0,"&sscr;"],[0,"&tscr;"],[0,"&uscr;"],[0,"&vscr;"],[0,"&wscr;"],[0,"&xscr;"],[0,"&yscr;"],[0,"&zscr;"],[52,"&Afr;"],[0,"&Bfr;"],[1,"&Dfr;"],[0,"&Efr;"],[0,"&Ffr;"],[0,"&Gfr;"],[2,"&Jfr;"],[0,"&Kfr;"],[0,"&Lfr;"],[0,"&Mfr;"],[0,"&Nfr;"],[0,"&Ofr;"],[0,"&Pfr;"],[0,"&Qfr;"],[1,"&Sfr;"],[0,"&Tfr;"],[0,"&Ufr;"],[0,"&Vfr;"],[0,"&Wfr;"],[0,"&Xfr;"],[0,"&Yfr;"],[1,"&afr;"],[0,"&bfr;"],[0,"&cfr;"],[0,"&dfr;"],[0,"&efr;"],[0,"&ffr;"],[0,"&gfr;"],[0,"&hfr;"],[0,"&ifr;"],[0,"&jfr;"],[0,"&kfr;"],[0,"&lfr;"],[0,"&mfr;"],[0,"&nfr;"],[0,"&ofr;"],[0,"&pfr;"],[0,"&qfr;"],[0,"&rfr;"],[0,"&sfr;"],[0,"&tfr;"],[0,"&ufr;"],[0,"&vfr;"],[0,"&wfr;"],[0,"&xfr;"],[0,"&yfr;"],[0,"&zfr;"],[0,"&Aopf;"],[0,"&Bopf;"],[1,"&Dopf;"],[0,"&Eopf;"],[0,"&Fopf;"],[0,"&Gopf;"],[1,"&Iopf;"],[0,"&Jopf;"],[0,"&Kopf;"],[0,"&Lopf;"],[0,"&Mopf;"],[1,"&Oopf;"],[3,"&Sopf;"],[0,"&Topf;"],[0,"&Uopf;"],[0,"&Vopf;"],[0,"&Wopf;"],[0,"&Xopf;"],[0,"&Yopf;"],[1,"&aopf;"],[0,"&bopf;"],[0,"&copf;"],[0,"&dopf;"],[0,"&eopf;"],[0,"&fopf;"],[0,"&gopf;"],[0,"&hopf;"],[0,"&iopf;"],[0,"&jopf;"],[0,"&kopf;"],[0,"&lopf;"],[0,"&mopf;"],[0,"&nopf;"],[0,"&oopf;"],[0,"&popf;"],[0,"&qopf;"],[0,"&ropf;"],[0,"&sopf;"],[0,"&topf;"],[0,"&uopf;"],[0,"&vopf;"],[0,"&wopf;"],[0,"&xopf;"],[0,"&yopf;"],[0,"&zopf;"]]))}],[8906,"&fflig;"],[0,"&filig;"],[0,"&fllig;"],[0,"&ffilig;"],[0,"&ffllig;"]]))},23024:(U,C,e)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.decodeXMLStrict=C.decodeHTML5Strict=C.decodeHTML4Strict=C.decodeHTML5=C.decodeHTML4=C.decodeHTMLAttribute=C.decodeHTMLStrict=C.decodeHTML=C.decodeXML=C.DecodingMode=C.EntityDecoder=C.encodeHTML5=C.encodeHTML4=C.encodeNonAsciiHTML=C.encodeHTML=C.escapeText=C.escapeAttribute=C.escapeUTF8=C.escape=C.encodeXML=C.encode=C.decodeStrict=C.decode=C.EncodingMode=C.EntityLevel=void 0;var i=e(38736),a=e(40696),l=e(83132),c;(function(O){O[O.XML=0]="XML",O[O.HTML=1]="HTML"})(c=C.EntityLevel||(C.EntityLevel={}));var v;(function(O){O[O.UTF8=0]="UTF8",O[O.ASCII=1]="ASCII",O[O.Extensive=2]="Extensive",O[O.Attribute=3]="Attribute",O[O.Text=4]="Text"})(v=C.EncodingMode||(C.EncodingMode={}));function _(O,N){N===void 0&&(N=c.XML);var B=typeof N=="number"?N:N.level;if(B===c.HTML){var j=typeof N=="object"?N.mode:void 0;return(0,i.decodeHTML)(O,j)}return(0,i.decodeXML)(O)}C.decode=_;function T(O,N){var B;N===void 0&&(N=c.XML);var j=typeof N=="number"?{level:N}:N;return(B=j.mode)!==null&&B!==void 0||(j.mode=i.DecodingMode.Strict),_(O,j)}C.decodeStrict=T;function A(O,N){N===void 0&&(N=c.XML);var B=typeof N=="number"?{level:N}:N;return B.mode===v.UTF8?(0,l.escapeUTF8)(O):B.mode===v.Attribute?(0,l.escapeAttribute)(O):B.mode===v.Text?(0,l.escapeText)(O):B.level===c.HTML?B.mode===v.ASCII?(0,a.encodeNonAsciiHTML)(O):(0,a.encodeHTML)(O):(0,l.encodeXML)(O)}C.encode=A;var R=e(83132);Object.defineProperty(C,"encodeXML",{enumerable:!0,get:function(){return R.encodeXML}}),Object.defineProperty(C,"escape",{enumerable:!0,get:function(){return R.escape}}),Object.defineProperty(C,"escapeUTF8",{enumerable:!0,get:function(){return R.escapeUTF8}}),Object.defineProperty(C,"escapeAttribute",{enumerable:!0,get:function(){return R.escapeAttribute}}),Object.defineProperty(C,"escapeText",{enumerable:!0,get:function(){return R.escapeText}});var P=e(40696);Object.defineProperty(C,"encodeHTML",{enumerable:!0,get:function(){return P.encodeHTML}}),Object.defineProperty(C,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return P.encodeNonAsciiHTML}}),Object.defineProperty(C,"encodeHTML4",{enumerable:!0,get:function(){return P.encodeHTML}}),Object.defineProperty(C,"encodeHTML5",{enumerable:!0,get:function(){return P.encodeHTML}});var M=e(38736);Object.defineProperty(C,"EntityDecoder",{enumerable:!0,get:function(){return M.EntityDecoder}}),Object.defineProperty(C,"DecodingMode",{enumerable:!0,get:function(){return M.DecodingMode}}),Object.defineProperty(C,"decodeXML",{enumerable:!0,get:function(){return M.decodeXML}}),Object.defineProperty(C,"decodeHTML",{enumerable:!0,get:function(){return M.decodeHTML}}),Object.defineProperty(C,"decodeHTMLStrict",{enumerable:!0,get:function(){return M.decodeHTMLStrict}}),Object.defineProperty(C,"decodeHTMLAttribute",{enumerable:!0,get:function(){return M.decodeHTMLAttribute}}),Object.defineProperty(C,"decodeHTML4",{enumerable:!0,get:function(){return M.decodeHTML}}),Object.defineProperty(C,"decodeHTML5",{enumerable:!0,get:function(){return M.decodeHTML}}),Object.defineProperty(C,"decodeHTML4Strict",{enumerable:!0,get:function(){return M.decodeHTMLStrict}}),Object.defineProperty(C,"decodeHTML5Strict",{enumerable:!0,get:function(){return M.decodeHTMLStrict}}),Object.defineProperty(C,"decodeXMLStrict",{enumerable:!0,get:function(){return M.decodeXML}})},43228:U=>{"use strict";U.exports=C=>{if(typeof C!="string")throw new TypeError("Expected a string");return C.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},25020:U=>{"use strict";U.exports=function C(e,i){if(e===i)return!0;if(e&&i&&typeof e=="object"&&typeof i=="object"){if(e.constructor!==i.constructor)return!1;var a,l,c;if(Array.isArray(e)){if(a=e.length,a!=i.length)return!1;for(l=a;l--!==0;)if(!C(e[l],i[l]))return!1;return!0}if(e.constructor===RegExp)return e.source===i.source&&e.flags===i.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===i.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===i.toString();if(c=Object.keys(e),a=c.length,a!==Object.keys(i).length)return!1;for(l=a;l--!==0;)if(!Object.prototype.hasOwnProperty.call(i,c[l]))return!1;for(l=a;l--!==0;){var v=c[l];if(!C(e[v],i[v]))return!1}return!0}return e!==e&&i!==i}},31812:(U,C,e)=>{"use strict";e.d(C,{IN:()=>id,KE:()=>cd,QF:()=>Fd,QJ:()=>Bd,uo:()=>Lf,m4:()=>Bf,KO:()=>r0,Sq:()=>K0});var i=e(62552),a=e(83688),l=e.n(a),c=function(hn){return v(hn)&&!_(hn)};function v(tt){return!!tt&&typeof tt=="object"}function _(tt){var hn=Object.prototype.toString.call(tt);return hn==="[object RegExp]"||hn==="[object Date]"||R(tt)}var T=typeof Symbol=="function"&&Symbol.for,A=T?Symbol.for("react.element"):60103;function R(tt){return tt.$$typeof===A}function P(tt){return Array.isArray(tt)?[]:{}}function M(tt,hn){return hn.clone!==!1&&hn.isMergeableObject(tt)?B(P(tt),tt,hn):tt}function O(tt,hn,Yn){return tt.concat(hn).map(function(h){return M(h,Yn)})}function N(tt,hn,Yn){var h={};return Yn.isMergeableObject(tt)&&Object.keys(tt).forEach(function(b){h[b]=M(tt[b],Yn)}),Object.keys(hn).forEach(function(b){!Yn.isMergeableObject(hn[b])||!tt[b]?h[b]=M(hn[b],Yn):h[b]=B(tt[b],hn[b],Yn)}),h}function B(tt,hn,Yn){Yn=Yn||{},Yn.arrayMerge=Yn.arrayMerge||O,Yn.isMergeableObject=Yn.isMergeableObject||c;var h=Array.isArray(hn),b=Array.isArray(tt),F=h===b;return F?h?Yn.arrayMerge(tt,hn,Yn):N(tt,hn,Yn):M(hn,Yn)}B.all=function(hn,Yn){if(!Array.isArray(hn))throw new Error("first argument should be an array");return hn.reduce(function(h,b){return B(h,b,Yn)},{})};var j=B;const z=j;var W=typeof global=="object"&&global&&global.Object===Object&&global;const X=W;var Q=typeof self=="object"&&self&&self.Object===Object&&self,K=X||Q||Function("return this")();const Y=K;var Z=Y.Symbol;const J=Z;var ee=Object.prototype,re=ee.hasOwnProperty,me=ee.toString,fe=J?J.toStringTag:void 0;function le(tt){var hn=re.call(tt,fe),Yn=tt[fe];try{tt[fe]=void 0;var h=!0}catch{}var b=me.call(tt);return h&&(hn?tt[fe]=Yn:delete tt[fe]),b}const Ve=le;var Ze=Object.prototype,Ce=Ze.toString;function ye(tt){return Ce.call(tt)}const Ae=ye;var Fe="[object Null]",Qe="[object Undefined]",ce=J?J.toStringTag:void 0;function Ge(tt){return tt==null?tt===void 0?Qe:Fe:ce&&ce in Object(tt)?Ve(tt):Ae(tt)}const Pe=Ge;function pe(tt,hn){return function(Yn){return tt(hn(Yn))}}const Se=pe;var _e=Se(Object.getPrototypeOf,Object);const Ne=_e;function Le(tt){return tt!=null&&typeof tt=="object"}const Ke=Le;var bt="[object Object]",yt=Function.prototype,It=Object.prototype,_t=yt.toString,zt=It.hasOwnProperty,Vt=_t.call(Object);function St(tt){if(!Ke(tt)||Pe(tt)!=bt)return!1;var hn=Ne(tt);if(hn===null)return!0;var Yn=zt.call(hn,"constructor")&&hn.constructor;return typeof Yn=="function"&&Yn instanceof Yn&&_t.call(Yn)==Vt}const Xt=St;function jt(){this.__data__=[],this.size=0}const sn=jt;function dt(tt,hn){return tt===hn||tt!==tt&&hn!==hn}const Ln=dt;function fn(tt,hn){for(var Yn=tt.length;Yn--;)if(Ln(tt[Yn][0],hn))return Yn;return-1}const cr=fn;var wr=Array.prototype,Jn=wr.splice;function nn(tt){var hn=this.__data__,Yn=cr(hn,tt);if(Yn<0)return!1;var h=hn.length-1;return Yn==h?hn.pop():Jn.call(hn,Yn,1),--this.size,!0}const or=nn;function bn(tt){var hn=this.__data__,Yn=cr(hn,tt);return Yn<0?void 0:hn[Yn][1]}const Sn=bn;function Hn(tt){return cr(this.__data__,tt)>-1}const er=Hn;function an(tt,hn){var Yn=this.__data__,h=cr(Yn,tt);return h<0?(++this.size,Yn.push([tt,hn])):Yn[h][1]=hn,this}const Cn=an;function de(tt){var hn=-1,Yn=tt==null?0:tt.length;for(this.clear();++hn<Yn;){var h=tt[hn];this.set(h[0],h[1])}}de.prototype.clear=sn,de.prototype.delete=or,de.prototype.get=Sn,de.prototype.has=er,de.prototype.set=Cn;const oe=de;function Ye(){this.__data__=new oe,this.size=0}const Et=Ye;function xe(tt){var hn=this.__data__,Yn=hn.delete(tt);return this.size=hn.size,Yn}const Re=xe;function We(tt){return this.__data__.get(tt)}const gt=We;function Nt(tt){return this.__data__.has(tt)}const Ct=Nt;function tn(tt){var hn=typeof tt;return tt!=null&&(hn=="object"||hn=="function")}const ge=tn;var At="[object AsyncFunction]",mn="[object Function]",xn="[object GeneratorFunction]",Un="[object Proxy]";function gr(tt){if(!ge(tt))return!1;var hn=Pe(tt);return hn==mn||hn==xn||hn==At||hn==Un}const Ur=gr;var Or=Y["__core-js_shared__"];const ii=Or;var Ui=function(){var tt=/[^.]+$/.exec(ii&&ii.keys&&ii.keys.IE_PROTO||"");return tt?"Symbol(src)_1."+tt:""}();function rn(tt){return!!Ui&&Ui in tt}const $n=rn;var yi=Function.prototype,Jr=yi.toString;function cn(tt){if(tt!=null){try{return Jr.call(tt)}catch{}try{return tt+""}catch{}}return""}const mt=cn;var we=/[\\^$.*+?()[\]{}|]/g,je=/^\[object .+?Constructor\]$/,pt=Function.prototype,at=Object.prototype,kt=pt.toString,vn=at.hasOwnProperty,Wn=RegExp("^"+kt.call(vn).replace(we,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function nr(tt){if(!ge(tt)||$n(tt))return!1;var hn=Ur(tt)?Wn:je;return hn.test(mt(tt))}const rr=nr;function Ot(tt,hn){return tt?.[hn]}const Gt=Ot;function Pt(tt,hn){var Yn=Gt(tt,hn);return rr(Yn)?Yn:void 0}const Tt=Pt;var An=Tt(Y,"Map");const on=An;var dn=Tt(Object,"create");const $e=dn;function Yt(){this.__data__=$e?$e(null):{},this.size=0}const $t=Yt;function Jt(tt){var hn=this.has(tt)&&delete this.__data__[tt];return this.size-=hn?1:0,hn}const Lt=Jt;var yn="__lodash_hash_undefined__",In=Object.prototype,yr=In.hasOwnProperty;function Rr(tt){var hn=this.__data__;if($e){var Yn=hn[tt];return Yn===yn?void 0:Yn}return yr.call(hn,tt)?hn[tt]:void 0}const Xr=Rr;var ci=Object.prototype,Hr=ci.hasOwnProperty;function un(tt){var hn=this.__data__;return $e?hn[tt]!==void 0:Hr.call(hn,tt)}const ct=un;var Ut="__lodash_hash_undefined__";function wt(tt,hn){var Yn=this.__data__;return this.size+=this.has(tt)?0:1,Yn[tt]=$e&&hn===void 0?Ut:hn,this}const kn=wt;function wn(tt){var hn=-1,Yn=tt==null?0:tt.length;for(this.clear();++hn<Yn;){var h=tt[hn];this.set(h[0],h[1])}}wn.prototype.clear=$t,wn.prototype.delete=Lt,wn.prototype.get=Xr,wn.prototype.has=ct,wn.prototype.set=kn;const Qn=wn;function ur(){this.size=0,this.__data__={hash:new Qn,map:new(on||oe),string:new Qn}}const fi=ur;function ot(tt){var hn=typeof tt;return hn=="string"||hn=="number"||hn=="symbol"||hn=="boolean"?tt!=="__proto__":tt===null}const ft=ot;function Mt(tt,hn){var Yn=tt.__data__;return ft(hn)?Yn[typeof hn=="string"?"string":"hash"]:Yn.map}const qt=Mt;function sr(tt){var hn=qt(this,tt).delete(tt);return this.size-=hn?1:0,hn}const lr=sr;function Cr(tt){return qt(this,tt).get(tt)}const xr=Cr;function qr(tt){return qt(this,tt).has(tt)}const jr=qr;function vr(tt,hn){var Yn=qt(this,tt),h=Yn.size;return Yn.set(tt,hn),this.size+=Yn.size==h?0:1,this}const $r=vr;function Wr(tt){var hn=-1,Yn=tt==null?0:tt.length;for(this.clear();++hn<Yn;){var h=tt[hn];this.set(h[0],h[1])}}Wr.prototype.clear=fi,Wr.prototype.delete=lr,Wr.prototype.get=xr,Wr.prototype.has=jr,Wr.prototype.set=$r;const be=Wr;var Ue=200;function ut(tt,hn){var Yn=this.__data__;if(Yn instanceof oe){var h=Yn.__data__;if(!on||h.length<Ue-1)return h.push([tt,hn]),this.size=++Yn.size,this;Yn=this.__data__=new be(h)}return Yn.set(tt,hn),this.size=Yn.size,this}const Ht=ut;function Fn(tt){var hn=this.__data__=new oe(tt);this.size=hn.size}Fn.prototype.clear=Et,Fn.prototype.delete=Re,Fn.prototype.get=gt,Fn.prototype.has=Ct,Fn.prototype.set=Ht;const ln=Fn;function jn(tt,hn){for(var Yn=-1,h=tt==null?0:tt.length;++Yn<h&&hn(tt[Yn],Yn,tt)!==!1;);return tt}const Nr=jn;var Mi=function(){try{var tt=Tt(Object,"defineProperty");return tt({},"",{}),tt}catch{}}();const Oi=Mi;function ni(tt,hn,Yn){hn=="__proto__"&&Oi?Oi(tt,hn,{configurable:!0,enumerable:!0,value:Yn,writable:!0}):tt[hn]=Yn}const rs=ni;var Qi=Object.prototype,la=Qi.hasOwnProperty;function as(tt,hn,Yn){var h=tt[hn];(!(la.call(tt,hn)&&Ln(h,Yn))||Yn===void 0&&!(hn in tt))&&rs(tt,hn,Yn)}const bs=as;function Za(tt,hn,Yn,h){var b=!Yn;Yn||(Yn={});for(var F=-1,k=hn.length;++F<k;){var G=hn[F],ae=h?h(Yn[G],tt[G],G,Yn,tt):void 0;ae===void 0&&(ae=tt[G]),b?rs(Yn,G,ae):bs(Yn,G,ae)}return Yn}const za=Za;function wo(tt,hn){for(var Yn=-1,h=Array(tt);++Yn<tt;)h[Yn]=hn(Yn);return h}const ca=wo;var Uo="[object Arguments]";function ru(tt){return Ke(tt)&&Pe(tt)==Uo}const di=ru;var wi=Object.prototype,dr=wi.hasOwnProperty,hi=wi.propertyIsEnumerable,Si=di(function(){return arguments}())?di:function(tt){return Ke(tt)&&dr.call(tt,"callee")&&!hi.call(tt,"callee")};const Di=Si;var Xi=Array.isArray;const zi=Xi;function os(){return!1}const js=os;var hs=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Vi=hs&&typeof module=="object"&&module&&!module.nodeType&&module,ns=Vi&&Vi.exports===hs,fs=ns?Y.Buffer:void 0,Ks=fs?fs.isBuffer:void 0,ma=Ks||js;const da=ma;var Da=9007199254740991,Ys=/^(?:0|[1-9]\d*)$/;function Xa(tt,hn){var Yn=typeof tt;return hn=hn??Da,!!hn&&(Yn=="number"||Yn!="symbol"&&Ys.test(tt))&&tt>-1&&tt%1==0&&tt<hn}const Po=Xa;var co=9007199254740991;function el(tt){return typeof tt=="number"&&tt>-1&&tt%1==0&&tt<=co}const Yo=el;var Ou="[object Arguments]",Qo="[object Array]",Ha="[object Boolean]",Jo="[object Date]",qo="[object Error]",tl="[object Function]",Nu="[object Map]",Kl="[object Number]",ke="[object Object]",Ie="[object RegExp]",Wt="[object Set]",Nn="[object String]",ei="[object WeakMap]",bi="[object ArrayBuffer]",Cs="[object DataView]",Bs="[object Float32Array]",Xs="[object Float64Array]",_a="[object Int8Array]",ga="[object Int16Array]",Vs="[object Int32Array]",Va="[object Uint8Array]",io="[object Uint8ClampedArray]",ya="[object Uint16Array]",oo="[object Uint32Array]",ka={};ka[Bs]=ka[Xs]=ka[_a]=ka[ga]=ka[Vs]=ka[Va]=ka[io]=ka[ya]=ka[oo]=!0,ka[Ou]=ka[Qo]=ka[bi]=ka[Ha]=ka[Cs]=ka[Jo]=ka[qo]=ka[tl]=ka[Nu]=ka[Kl]=ka[ke]=ka[Ie]=ka[Wt]=ka[Nn]=ka[ei]=!1;function Su(tt){return Ke(tt)&&Yo(tt.length)&&!!ka[Pe(tt)]}const Ru=Su;function Ko(tt){return function(hn){return tt(hn)}}const Yl=Ko;var gu=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ul=gu&&typeof module=="object"&&module&&!module.nodeType&&module,Vc=Ul&&Ul.exports===gu,ll=Vc&&X.process,Kc=function(){try{var tt=Ul&&Ul.require&&Ul.require("util").types;return tt||ll&&ll.binding&&ll.binding("util")}catch{}}();const wu=Kc;var Yc=wu&&wu.isTypedArray,S0=Yc?Yl(Yc):Ru;const bc=S0;var T0=Object.prototype,N0=T0.hasOwnProperty;function P0(tt,hn){var Yn=zi(tt),h=!Yn&&Di(tt),b=!Yn&&!h&&da(tt),F=!Yn&&!h&&!b&&bc(tt),k=Yn||h||b||F,G=k?ca(tt.length,String):[],ae=G.length;for(var De in tt)(hn||N0.call(tt,De))&&!(k&&(De=="length"||b&&(De=="offset"||De=="parent")||F&&(De=="buffer"||De=="byteLength"||De=="byteOffset")||Po(De,ae)))&&G.push(De);return G}const Ql=P0;var Qc=Object.prototype;function zn(tt){var hn=tt&&tt.constructor,Yn=typeof hn=="function"&&hn.prototype||Qc;return tt===Yn}const Kr=zn;var gn=Se(Object.keys,Object);const tr=gn;var st=Object.prototype,si=st.hasOwnProperty;function Yi(tt){if(!Kr(tt))return tr(tt);var hn=[];for(var Yn in Object(tt))si.call(tt,Yn)&&Yn!="constructor"&&hn.push(Yn);return hn}const Ri=Yi;function ta(tt){return tt!=null&&Yo(tt.length)&&!Ur(tt)}const fa=ta;function Aa(tt){return fa(tt)?Ql(tt):Ri(tt)}const Es=Aa;function ha(tt,hn){return tt&&za(hn,Es(hn),tt)}const qa=ha;function fo(tt){var hn=[];if(tt!=null)for(var Yn in Object(tt))hn.push(Yn);return hn}const Wa=fo;var Wo=Object.prototype,ou=Wo.hasOwnProperty;function Io(tt){if(!ge(tt))return Wa(tt);var hn=Kr(tt),Yn=[];for(var h in tt)h=="constructor"&&(hn||!ou.call(tt,h))||Yn.push(h);return Yn}const uu=Io;function Ta(tt){return fa(tt)?Ql(tt,!0):uu(tt)}const fu=Ta;function Zl(tt,hn){return tt&&za(hn,fu(hn),tt)}const Pu=Zl;var Zc=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Yu=Zc&&typeof module=="object"&&module&&!module.nodeType&&module,Cc=Yu&&Yu.exports===Zc,L0=Cc?Y.Buffer:void 0,Xc=L0?L0.allocUnsafe:void 0;function rc(tt,hn){if(hn)return tt.slice();var Yn=tt.length,h=Xc?Xc(Yn):new tt.constructor(Yn);return tt.copy(h),h}const Sl=rc;function B0(tt,hn){var Yn=-1,h=tt.length;for(hn||(hn=Array(h));++Yn<h;)hn[Yn]=tt[Yn];return hn}const Tl=B0;function z0(tt,hn){for(var Yn=-1,h=tt==null?0:tt.length,b=0,F=[];++Yn<h;){var k=tt[Yn];hn(k,Yn,tt)&&(F[b++]=k)}return F}const Jc=z0;function Ra(){return[]}const xs=Ra;var hu=Object.prototype,cl=hu.propertyIsEnumerable,Do=Object.getOwnPropertySymbols,D0=Do?function(tt){return tt==null?[]:(tt=Object(tt),Jc(Do(tt),function(hn){return cl.call(tt,hn)}))}:xs;const jl=D0;function nl(tt,hn){return za(tt,jl(tt),hn)}const Ml=nl;function ic(tt,hn){for(var Yn=-1,h=hn.length,b=tt.length;++Yn<h;)tt[b+Yn]=hn[Yn];return tt}const Qu=ic;var l0=Object.getOwnPropertySymbols,qc=l0?function(tt){for(var hn=[];tt;)Qu(hn,jl(tt)),tt=Ne(tt);return hn}:xs;const dc=qc;function c0(tt,hn){return za(tt,dc(tt),hn)}const fc=c0;function Zu(tt,hn,Yn){var h=hn(tt);return zi(tt)?h:Qu(h,Yn(tt))}const vu=Zu;function Tu(tt){return vu(tt,Es,jl)}const vl=Tu;function Zo(tt){return vu(tt,fu,dc)}const aa=Zo;var e0=Tt(Y,"DataView");const Ic=e0;var kc=Tt(Y,"Promise");const eu=kc;var Dl=Tt(Y,"Set");const d0=Dl;var Al=Tt(Y,"WeakMap");const Sc=Al;var Uc="[object Map]",eo="[object Object]",sc="[object Promise]",Eu="[object Set]",Lu="[object WeakMap]",dl="[object DataView]",rl=mt(Ic),Mc=mt(on),El=mt(eu),jc=mt(d0),td=mt(Sc),Xl=Pe;(Ic&&Xl(new Ic(new ArrayBuffer(1)))!=dl||on&&Xl(new on)!=Uc||eu&&Xl(eu.resolve())!=sc||d0&&Xl(new d0)!=Eu||Sc&&Xl(new Sc)!=Lu)&&(Xl=function(tt){var hn=Pe(tt),Yn=hn==eo?tt.constructor:void 0,h=Yn?mt(Yn):"";if(h)switch(h){case rl:return dl;case Mc:return Uc;case El:return sc;case jc:return Eu;case td:return Lu}return hn});const Nc=Xl;var Ho=Object.prototype,Bu=Ho.hasOwnProperty;function iu(tt){var hn=tt.length,Yn=new tt.constructor(hn);return hn&&typeof tt[0]=="string"&&Bu.call(tt,"index")&&(Yn.index=tt.index,Yn.input=tt.input),Yn}const f0=iu;var _l=Y.Uint8Array;const Nl=_l;function $c(tt){var hn=new tt.constructor(tt.byteLength);return new Nl(hn).set(new Nl(tt)),hn}const hc=$c;function il(tt,hn){var Yn=hn?hc(tt.buffer):tt.buffer;return new tt.constructor(Yn,tt.byteOffset,tt.byteLength)}const V0=il;var Wc=/\w*$/;function A0(tt){var hn=new tt.constructor(tt.source,Wc.exec(tt));return hn.lastIndex=tt.lastIndex,hn}const t0=A0;var Pl=J?J.prototype:void 0,xl=Pl?Pl.valueOf:void 0;function Pc(tt){return xl?Object(xl.call(tt)):{}}const Lc=Pc;function $l(tt,hn){var Yn=hn?hc(tt.buffer):tt.buffer;return new tt.constructor(Yn,tt.byteOffset,tt.length)}const Ts=$l;var Xu="[object Boolean]",Iu="[object Date]",Go="[object Map]",zo="[object Number]",Is="[object RegExp]",xa="[object Set]",Fu="[object String]",na="[object Symbol]",pc="[object ArrayBuffer]",n0="[object DataView]",Wl="[object Float32Array]",et="[object Float64Array]",pn="[object Int8Array]",Tn="[object Int16Array]",Kn="[object Int32Array]",fr="[object Uint8Array]",Sr="[object Uint8ClampedArray]",br="[object Uint16Array]",li="[object Uint32Array]";function pi(tt,hn,Yn){var h=tt.constructor;switch(hn){case pc:return hc(tt);case Xu:case Iu:return new h(+tt);case n0:return V0(tt,Yn);case Wl:case et:case pn:case Tn:case Kn:case fr:case Sr:case br:case li:return Ts(tt,Yn);case Go:return new h;case zo:case Fu:return new h(tt);case Is:return t0(tt);case xa:return new h;case na:return Lc(tt)}}const Bi=pi;var Fi=Object.create,Ii=function(){function tt(){}return function(hn){if(!ge(hn))return{};if(Fi)return Fi(hn);tt.prototype=hn;var Yn=new tt;return tt.prototype=void 0,Yn}}();const Ni=Ii;function Ds(tt){return typeof tt.constructor=="function"&&!Kr(tt)?Ni(Ne(tt)):{}}const ds=Ds;var Gs="[object Map]";function Fs(tt){return Ke(tt)&&Nc(tt)==Gs}const $s=Fs;var oa=wu&&wu.isMap,to=oa?Yl(oa):$s;const ba=to;var pa="[object Set]";function Lo(tt){return Ke(tt)&&Nc(tt)==pa}const su=Lo;var uo=wu&&wu.isSet,yo=uo?Yl(uo):su;const lu=yo;var Be=1,vt=2,xt=4,Zt="[object Arguments]",He="[object Array]",Pn="[object Boolean]",Xn="[object Date]",Qt="[object Error]",Bn="[object Function]",ir="[object GeneratorFunction]",Pr="[object Map]",Er="[object Number]",Ti="[object Object]",ji="[object RegExp]",Wi="[object Set]",ls="[object String]",Zi="[object Symbol]",Qs="[object WeakMap]",Js="[object ArrayBuffer]",ks="[object DataView]",Hs="[object Float32Array]",Ka="[object Float64Array]",Ma="[object Int8Array]",no="[object Int16Array]",ho="[object Int32Array]",Bo="[object Uint8Array]",Hu="[object Uint8ClampedArray]",Fo="[object Uint16Array]",Ya="[object Uint32Array]",Na={};Na[Zt]=Na[He]=Na[Js]=Na[ks]=Na[Pn]=Na[Xn]=Na[Hs]=Na[Ka]=Na[Ma]=Na[no]=Na[ho]=Na[Pr]=Na[Er]=Na[Ti]=Na[ji]=Na[Wi]=Na[ls]=Na[Zi]=Na[Bo]=Na[Hu]=Na[Fo]=Na[Ya]=!0,Na[Qt]=Na[Bn]=Na[Qs]=!1;function ti(tt,hn,Yn,h,b,F){var k,G=hn&Be,ae=hn&vt,De=hn&xt;if(Yn&&(k=b?Yn(tt,h,b,F):Yn(tt)),k!==void 0)return k;if(!ge(tt))return tt;var Xe=zi(tt);if(Xe){if(k=f0(tt),!G)return Tl(tt,k)}else{var lt=Nc(tt),it=lt==Bn||lt==ir;if(da(tt))return Sl(tt,G);if(lt==Ti||lt==Zt||it&&!b){if(k=ae||it?{}:ds(tt),!G)return ae?fc(tt,Pu(k,tt)):Ml(tt,qa(k,tt))}else{if(!Na[lt])return b?tt:{};k=Bi(tt,lt,G)}}F||(F=new ln);var Rn=F.get(tt);if(Rn)return Rn;F.set(tt,k),lu(tt)?tt.forEach(function(Tr){k.add(ti(Tr,hn,Yn,Tr,tt,F))}):ba(tt)&&tt.forEach(function(Tr,ui){k.set(ui,ti(Tr,hn,Yn,ui,tt,F))});var Zn=De?ae?aa:vl:ae?fu:Es,Fr=Xe?void 0:Zn(tt);return Nr(Fr||tt,function(Tr,ui){Fr&&(ui=Tr,Tr=tt[ui]),bs(k,ui,ti(Tr,hn,Yn,ui,tt,F))}),k}const ra=ti;var Ua=4;function fl(tt){return ra(tt,Ua)}const Ol=fl;function Ba(tt,hn){for(var Yn=-1,h=tt==null?0:tt.length,b=Array(h);++Yn<h;)b[Yn]=hn(tt[Yn],Yn,tt);return b}const mc=Ba;var Hc="[object Symbol]";function sl(tt){return typeof tt=="symbol"||Ke(tt)&&Pe(tt)==Hc}const _u=sl;var zs="Expected a function";function Ju(tt,hn){if(typeof tt!="function"||hn!=null&&typeof hn!="function")throw new TypeError(zs);var Yn=function(){var h=arguments,b=hn?hn.apply(this,h):h[0],F=Yn.cache;if(F.has(b))return F.get(b);var k=tt.apply(this,h);return Yn.cache=F.set(b,k)||F,k};return Yn.cache=new(Ju.Cache||be),Yn}Ju.Cache=be;const Vo=Ju;var Ao=500;function ku(tt){var hn=Vo(tt,function(h){return Yn.size===Ao&&Yn.clear(),h}),Yn=hn.cache;return hn}const x0=ku;var Ar=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yu=/\\(\\)?/g,Zd=x0(function(tt){var hn=[];return tt.charCodeAt(0)===46&&hn.push(""),tt.replace(Ar,function(Yn,h,b,F){hn.push(b?F.replace(yu,"$1"):h||Yn)}),hn});const Rl=Zd;var F0=1/0;function Md(tt){if(typeof tt=="string"||_u(tt))return tt;var hn=tt+"";return hn=="0"&&1/tt==-F0?"-0":hn}const yf=Md;var ac=1/0,Du=J?J.prototype:void 0,h0=Du?Du.toString:void 0;function Ll(tt){if(typeof tt=="string")return tt;if(zi(tt))return mc(tt,Ll)+"";if(_u(tt))return h0?h0.call(tt):"";var hn=tt+"";return hn=="0"&&1/tt==-ac?"-0":hn}const Au=Ll;function _d(tt){return tt==null?"":Au(tt)}const Jl=_d;function xi(tt){return zi(tt)?mc(tt,yf):_u(tt)?[tt]:Tl(Rl(Jl(tt)))}const Tc=xi;var Us=!0;function Nf(tt,hn){if(!Us){if(tt)return;var Yn="Warning: "+hn;typeof console<"u"&&console.warn(Yn);try{throw Error(Yn)}catch{}}}const yd=Nf;var Pf=e(35384),gs=e.n(Pf),bd=1,qu=4;function p0(tt){return ra(tt,bd|qu)}const bf=p0;function cu(){return cu=Object.assign||function(tt){for(var hn=1;hn<arguments.length;hn++){var Yn=arguments[hn];for(var h in Yn)Object.prototype.hasOwnProperty.call(Yn,h)&&(tt[h]=Yn[h])}return tt},cu.apply(this,arguments)}function Dt(tt,hn){tt.prototype=Object.create(hn.prototype),tt.prototype.constructor=tt,tt.__proto__=hn}function gc(tt,hn){if(tt==null)return{};var Yn={},h=Object.keys(tt),b,F;for(F=0;F<h.length;F++)b=h[F],!(hn.indexOf(b)>=0)&&(Yn[b]=tt[b]);return Yn}function O0(tt){if(tt===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return tt}var sf=function(hn){return Array.isArray(hn)&&hn.length===0},Bl=function(hn){return typeof hn=="function"},ro=function(hn){return hn!==null&&typeof hn=="object"},Nd=function(hn){return String(Math.floor(Number(hn)))===hn},hl=function(hn){return Object.prototype.toString.call(hn)==="[object String]"},zh=function(hn){return hn!==hn},Cd=function(hn){return i.Children.count(hn)===0},Pd=function(hn){return ro(hn)&&Bl(hn.then)},nd=function(hn){return hn&&ro(hn)&&ro(hn.target)};function Ca(tt){if(tt=tt||(typeof document<"u"?document:void 0),typeof tt>"u")return null;try{return tt.activeElement||tt.body}catch{return tt.body}}function Gu(tt,hn,Yn,h){h===void 0&&(h=0);for(var b=Tc(hn);tt&&h<b.length;)tt=tt[b[h++]];return h!==b.length&&!tt||tt===void 0?Yn:tt}function vc(tt,hn,Yn){for(var h=Ol(tt),b=h,F=0,k=Tc(hn);F<k.length-1;F++){var G=k[F],ae=Gu(tt,k.slice(0,F+1));if(ae&&(ro(ae)||Array.isArray(ae)))b=b[G]=Ol(ae);else{var De=k[F+1];b=b[G]=Nd(De)&&Number(De)>=0?[]:{}}}return(F===0?tt:b)[k[F]]===Yn?tt:(Yn===void 0?delete b[k[F]]:b[k[F]]=Yn,F===0&&Yn===void 0&&delete h[k[F]],h)}function ud(tt,hn,Yn,h){Yn===void 0&&(Yn=new WeakMap),h===void 0&&(h={});for(var b=0,F=Object.keys(tt);b<F.length;b++){var k=F[b],G=tt[k];ro(G)?Yn.get(G)||(Yn.set(G,!0),h[k]=Array.isArray(G)?[]:{},ud(G,hn,Yn,h[k])):h[k]=hn}return h}var Xd=(0,i.createContext)(void 0);Xd.displayName="FormikContext";var Lf=Xd.Provider,Ld=Xd.Consumer;function K0(){var tt=(0,i.useContext)(Xd);return tt||yd(!1),tt}function af(tt,hn){switch(hn.type){case"SET_VALUES":return cu({},tt,{values:hn.payload});case"SET_TOUCHED":return cu({},tt,{touched:hn.payload});case"SET_ERRORS":return l()(tt.errors,hn.payload)?tt:cu({},tt,{errors:hn.payload});case"SET_STATUS":return cu({},tt,{status:hn.payload});case"SET_ISSUBMITTING":return cu({},tt,{isSubmitting:hn.payload});case"SET_ISVALIDATING":return cu({},tt,{isValidating:hn.payload});case"SET_FIELD_VALUE":return cu({},tt,{values:vc(tt.values,hn.payload.field,hn.payload.value)});case"SET_FIELD_TOUCHED":return cu({},tt,{touched:vc(tt.touched,hn.payload.field,hn.payload.value)});case"SET_FIELD_ERROR":return cu({},tt,{errors:vc(tt.errors,hn.payload.field,hn.payload.value)});case"RESET_FORM":return cu({},tt,hn.payload);case"SET_FORMIK_STATE":return hn.payload(tt);case"SUBMIT_ATTEMPT":return cu({},tt,{touched:ud(tt.values,!0),isSubmitting:!0,submitCount:tt.submitCount+1});case"SUBMIT_FAILURE":return cu({},tt,{isSubmitting:!1});case"SUBMIT_SUCCESS":return cu({},tt,{isSubmitting:!1});default:return tt}}var Y0={},rd={};function r0(tt){var hn=tt.validateOnChange,Yn=hn===void 0?!0:hn,h=tt.validateOnBlur,b=h===void 0?!0:h,F=tt.validateOnMount,k=F===void 0?!1:F,G=tt.isInitialValid,ae=tt.enableReinitialize,De=ae===void 0?!1:ae,Xe=tt.onSubmit,lt=gc(tt,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),it=cu({validateOnChange:Yn,validateOnBlur:b,validateOnMount:k,onSubmit:Xe},lt),Rn=(0,i.useRef)(it.initialValues),Zn=(0,i.useRef)(it.initialErrors||Y0),Fr=(0,i.useRef)(it.initialTouched||rd),Tr=(0,i.useRef)(it.initialStatus),ui=(0,i.useRef)(!1),ki=(0,i.useRef)({});(0,i.useEffect)(function(){return ui.current=!0,function(){ui.current=!1}},[]);var cs=(0,i.useReducer)(af,{values:it.initialValues,errors:it.initialErrors||Y0,touched:it.initialTouched||rd,status:it.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),qi=cs[0],is=cs[1],Ns=(0,i.useCallback)(function(Pi,ia){return new Promise(function(ja,Fa){var xo=it.validate(Pi,ia);xo==null?ja(Y0):Pd(xo)?xo.then(function(bu){ja(bu||Y0)},function(bu){Fa(bu)}):ja(xo)})},[it.validate]),Zs=(0,i.useCallback)(function(Pi,ia){var ja=Co(it.validationSchema),Fa=ia&&ja.validateAt?ja.validateAt(ia,Pi):yl(Pi,ja);return new Promise(function(xo,bu){Fa.then(function(){xo(Y0)},function(po){po.name==="ValidationError"?xo(qf(po)):bu(po)})})},[it.validationSchema]),wa=(0,i.useCallback)(function(Pi,ia){return new Promise(function(ja){return ja(ki.current[Pi].validate(ia))})},[]),qs=(0,i.useCallback)(function(Pi){var ia=Object.keys(ki.current).filter(function(Fa){return Bl(ki.current[Fa].validate)}),ja=ia.length>0?ia.map(function(Fa){return wa(Fa,Gu(Pi,Fa))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ja).then(function(Fa){return Fa.reduce(function(xo,bu,po){return bu==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||bu&&(xo=vc(xo,ia[po],bu)),xo},{})})},[wa]),ao=(0,i.useCallback)(function(Pi){return Promise.all([qs(Pi),it.validationSchema?Zs(Pi):{},it.validate?Ns(Pi):{}]).then(function(ia){var ja=ia[0],Fa=ia[1],xo=ia[2],bu=z.all([ja,Fa,xo],{arrayMerge:ql});return bu})},[it.validate,it.validationSchema,qs,Ns,Zs]),So=Rs(function(Pi){return Pi===void 0&&(Pi=qi.values),is({type:"SET_ISVALIDATING",payload:!0}),ao(Pi).then(function(ia){return ui.current&&(is({type:"SET_ISVALIDATING",payload:!1}),is({type:"SET_ERRORS",payload:ia})),ia})});(0,i.useEffect)(function(){k&&ui.current===!0&&l()(Rn.current,it.initialValues)&&So(Rn.current)},[k,So]);var wl=(0,i.useCallback)(function(Pi){var ia=Pi&&Pi.values?Pi.values:Rn.current,ja=Pi&&Pi.errors?Pi.errors:Zn.current?Zn.current:it.initialErrors||{},Fa=Pi&&Pi.touched?Pi.touched:Fr.current?Fr.current:it.initialTouched||{},xo=Pi&&Pi.status?Pi.status:Tr.current?Tr.current:it.initialStatus;Rn.current=ia,Zn.current=ja,Fr.current=Fa,Tr.current=xo;var bu=function(){is({type:"RESET_FORM",payload:{isSubmitting:!!Pi&&!!Pi.isSubmitting,errors:ja,touched:Fa,status:xo,values:ia,isValidating:!!Pi&&!!Pi.isValidating,submitCount:Pi&&Pi.submitCount&&typeof Pi.submitCount=="number"?Pi.submitCount:0}})};if(it.onReset){var po=it.onReset(qi.values,g0);Pd(po)?po.then(bu):bu()}else bu()},[it.initialErrors,it.initialStatus,it.initialTouched]);(0,i.useEffect)(function(){ui.current===!0&&!l()(Rn.current,it.initialValues)&&De&&(Rn.current=it.initialValues,wl(),k&&So(Rn.current))},[De,it.initialValues,wl,k,So]),(0,i.useEffect)(function(){De&&ui.current===!0&&!l()(Zn.current,it.initialErrors)&&(Zn.current=it.initialErrors||Y0,is({type:"SET_ERRORS",payload:it.initialErrors||Y0}))},[De,it.initialErrors]),(0,i.useEffect)(function(){De&&ui.current===!0&&!l()(Fr.current,it.initialTouched)&&(Fr.current=it.initialTouched||rd,is({type:"SET_TOUCHED",payload:it.initialTouched||rd}))},[De,it.initialTouched]),(0,i.useEffect)(function(){De&&ui.current===!0&&!l()(Tr.current,it.initialStatus)&&(Tr.current=it.initialStatus,is({type:"SET_STATUS",payload:it.initialStatus}))},[De,it.initialStatus,it.initialTouched]);var Uu=Rs(function(Pi){if(ki.current[Pi]&&Bl(ki.current[Pi].validate)){var ia=Gu(qi.values,Pi),ja=ki.current[Pi].validate(ia);return Pd(ja)?(is({type:"SET_ISVALIDATING",payload:!0}),ja.then(function(Fa){return Fa}).then(function(Fa){is({type:"SET_FIELD_ERROR",payload:{field:Pi,value:Fa}}),is({type:"SET_ISVALIDATING",payload:!1})})):(is({type:"SET_FIELD_ERROR",payload:{field:Pi,value:ja}}),Promise.resolve(ja))}else if(it.validationSchema)return is({type:"SET_ISVALIDATING",payload:!0}),Zs(qi.values,Pi).then(function(Fa){return Fa}).then(function(Fa){is({type:"SET_FIELD_ERROR",payload:{field:Pi,value:Gu(Fa,Pi)}}),is({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),pl=(0,i.useCallback)(function(Pi,ia){var ja=ia.validate;ki.current[Pi]={validate:ja}},[]),Dc=(0,i.useCallback)(function(Pi){delete ki.current[Pi]},[]),xu=Rs(function(Pi,ia){is({type:"SET_TOUCHED",payload:Pi});var ja=ia===void 0?b:ia;return ja?So(qi.values):Promise.resolve()}),Bc=(0,i.useCallback)(function(Pi){is({type:"SET_ERRORS",payload:Pi})},[]),oc=Rs(function(Pi,ia){var ja=Bl(Pi)?Pi(qi.values):Pi;is({type:"SET_VALUES",payload:ja});var Fa=ia===void 0?Yn:ia;return Fa?So(ja):Promise.resolve()}),al=(0,i.useCallback)(function(Pi,ia){is({type:"SET_FIELD_ERROR",payload:{field:Pi,value:ia}})},[]),ju=Rs(function(Pi,ia,ja){is({type:"SET_FIELD_VALUE",payload:{field:Pi,value:ia}});var Fa=ja===void 0?Yn:ja;return Fa?So(vc(qi.values,Pi,ia)):Promise.resolve()}),ml=(0,i.useCallback)(function(Pi,ia){var ja=ia,Fa=Pi,xo;if(!hl(Pi)){Pi.persist&&Pi.persist();var bu=Pi.target?Pi.target:Pi.currentTarget,po=bu.type,Mu=bu.name,Td=bu.id,Uf=bu.value,th=bu.checked,Cf=bu.outerHTML,v0=bu.options,ef=bu.multiple;ja=ia||Mu||Td,Fa=/number|range/.test(po)?(xo=parseFloat(Uf),isNaN(xo)?"":xo):/checkbox/.test(po)?R0(Gu(qi.values,ja),th,Uf):v0&&ef?Jd(v0):Uf}ja&&ju(ja,Fa)},[ju,qi.values]),zc=Rs(function(Pi){if(hl(Pi))return function(ia){return ml(ia,Pi)};ml(Pi)}),m0=Rs(function(Pi,ia,ja){ia===void 0&&(ia=!0),is({type:"SET_FIELD_TOUCHED",payload:{field:Pi,value:ia}});var Fa=ja===void 0?b:ja;return Fa?So(qi.values):Promise.resolve()}),Q0=(0,i.useCallback)(function(Pi,ia){Pi.persist&&Pi.persist();var ja=Pi.target,Fa=ja.name,xo=ja.id,bu=ja.outerHTML,po=ia||Fa||xo;m0(po,!0)},[m0]),$u=Rs(function(Pi){if(hl(Pi))return function(ia){return Q0(ia,Pi)};Q0(Pi)}),ko=(0,i.useCallback)(function(Pi){Bl(Pi)?is({type:"SET_FORMIK_STATE",payload:Pi}):is({type:"SET_FORMIK_STATE",payload:function(){return Pi}})},[]),tu=(0,i.useCallback)(function(Pi){is({type:"SET_STATUS",payload:Pi})},[]),Cl=(0,i.useCallback)(function(Pi){is({type:"SET_ISSUBMITTING",payload:Pi})},[]),ol=Rs(function(){return is({type:"SUBMIT_ATTEMPT"}),So().then(function(Pi){var ia=Pi instanceof Error,ja=!ia&&Object.keys(Pi).length===0;if(ja){var Fa;try{if(Fa=pu(),Fa===void 0)return}catch(xo){throw xo}return Promise.resolve(Fa).then(function(xo){return ui.current&&is({type:"SUBMIT_SUCCESS"}),xo}).catch(function(xo){if(ui.current)throw is({type:"SUBMIT_FAILURE"}),xo})}else if(ui.current&&(is({type:"SUBMIT_FAILURE"}),ia))throw Pi})}),Ec=Rs(function(Pi){if(Pi&&Pi.preventDefault&&Bl(Pi.preventDefault)&&Pi.preventDefault(),Pi&&Pi.stopPropagation&&Bl(Pi.stopPropagation)&&Pi.stopPropagation(),!1)var ia;ol().catch(function(ja){console.warn("Warning: An unhandled error was caught from submitForm()",ja)})}),g0={resetForm:wl,validateForm:So,validateField:Uu,setErrors:Bc,setFieldError:al,setFieldTouched:m0,setFieldValue:ju,setStatus:tu,setSubmitting:Cl,setTouched:xu,setValues:oc,setFormikState:ko,submitForm:ol},pu=Rs(function(){var Pi=Co(it.validationSchema),ia=Pi&&Pi.cast?Pi.cast(qi.values):qi.values;return Xe(ia,g0)}),uc=Rs(function(Pi){Pi&&Pi.preventDefault&&Bl(Pi.preventDefault)&&Pi.preventDefault(),Pi&&Pi.stopPropagation&&Bl(Pi.stopPropagation)&&Pi.stopPropagation(),wl()}),Hl=(0,i.useCallback)(function(Pi){return{value:Gu(qi.values,Pi),error:Gu(qi.errors,Pi),touched:!!Gu(qi.touched,Pi),initialValue:Gu(Rn.current,Pi),initialTouched:!!Gu(Fr.current,Pi),initialError:Gu(Zn.current,Pi)}},[qi.errors,qi.touched,qi.values]),Gl=(0,i.useCallback)(function(Pi){return{setValue:function(ja,Fa){return ju(Pi,ja,Fa)},setTouched:function(ja,Fa){return m0(Pi,ja,Fa)},setError:function(ja){return al(Pi,ja)}}},[ju,m0,al]),_h=(0,i.useCallback)(function(Pi){var ia=ro(Pi),ja=ia?Pi.name:Pi,Fa=Gu(qi.values,ja),xo={name:ja,value:Fa,onChange:zc,onBlur:$u};if(ia){var bu=Pi.type,po=Pi.value,Mu=Pi.as,Td=Pi.multiple;bu==="checkbox"?po===void 0?xo.checked=!!Fa:(xo.checked=!!(Array.isArray(Fa)&&~Fa.indexOf(po)),xo.value=po):bu==="radio"?(xo.checked=Fa===po,xo.value=po):Mu==="select"&&Td&&(xo.value=xo.value||[],xo.multiple=!0)}return xo},[$u,zc,qi.values]),dd=(0,i.useMemo)(function(){return!l()(Rn.current,qi.values)},[Rn.current,qi.values]),w0=(0,i.useMemo)(function(){return typeof G<"u"?dd?qi.errors&&Object.keys(qi.errors).length===0:G!==!1&&Bl(G)?G(it):G:qi.errors&&Object.keys(qi.errors).length===0},[G,dd,qi.errors,it]),Vh=cu({},qi,{initialValues:Rn.current,initialErrors:Zn.current,initialTouched:Fr.current,initialStatus:Tr.current,handleBlur:$u,handleChange:zc,handleReset:uc,handleSubmit:Ec,resetForm:wl,setErrors:Bc,setFormikState:ko,setFieldTouched:m0,setFieldValue:ju,setFieldError:al,setStatus:tu,setSubmitting:Cl,setTouched:xu,setValues:oc,submitForm:ol,validateForm:So,validateField:Uu,isValid:w0,dirty:dd,unregisterField:Dc,registerField:pl,getFieldProps:_h,getFieldMeta:Hl,getFieldHelpers:Gl,validateOnBlur:b,validateOnChange:Yn,validateOnMount:k});return Vh}function Bd(tt){var hn=r0(tt),Yn=tt.component,h=tt.children,b=tt.render,F=tt.innerRef;return(0,i.useImperativeHandle)(F,function(){return hn}),(0,i.createElement)(Lf,{value:hn},Yn?(0,i.createElement)(Yn,hn):b?b(hn):h?Bl(h)?h(hn):Cd(h)?null:i.Children.only(h):null)}function Co(tt){if(tt)return Bl(tt)?tt():tt}function Jf(tt){var hn=tt.htmlContent,Yn=tt.documentationAnchorLink,h=tt.handlerName;console.warn("Warning: Formik called `"+h+"`, but you forgot to pass an `id` or `name` attribute to your input:\n    "+hn+`
    Formik cannot determine which value to update. For more info see https://formik.org/docs/api/formik#`+Yn+`
  `)}function qf(tt){var hn={};if(tt.inner){if(tt.inner.length===0)return vc(hn,tt.path,tt.message);for(var b=tt.inner,Yn=Array.isArray(b),h=0,b=Yn?b:b[Symbol.iterator]();;){var F;if(Yn){if(h>=b.length)break;F=b[h++]}else{if(h=b.next(),h.done)break;F=h.value}var k=F;Gu(hn,k.path)||(hn=vc(hn,k.path,k.message))}}return hn}function yl(tt,hn,Yn,h){Yn===void 0&&(Yn=!1);var b=Gc(tt);return hn[Yn?"validateSync":"validate"](b,{abortEarly:!1,context:h||b})}function Gc(tt){var hn=Array.isArray(tt)?[]:{};for(var Yn in tt)if(Object.prototype.hasOwnProperty.call(tt,Yn)){var h=String(Yn);Array.isArray(tt[h])===!0?hn[h]=tt[h].map(function(b){return Array.isArray(b)===!0||Xt(b)?Gc(b):b!==""?b:void 0}):Xt(tt[h])?hn[h]=Gc(tt[h]):hn[h]=tt[h]!==""?tt[h]:void 0}return hn}function ql(tt,hn,Yn){var h=tt.slice();return hn.forEach(function(F,k){if(typeof h[k]>"u"){var G=Yn.clone!==!1,ae=G&&Yn.isMergeableObject(F);h[k]=ae?z(Array.isArray(F)?[]:{},F,Yn):F}else Yn.isMergeableObject(F)?h[k]=z(tt[k],F,Yn):tt.indexOf(F)===-1&&h.push(F)}),h}function Jd(tt){return Array.from(tt).filter(function(hn){return hn.selected}).map(function(hn){return hn.value})}function R0(tt,hn,Yn){if(typeof tt=="boolean")return Boolean(hn);var h=[],b=!1,F=-1;if(Array.isArray(tt))h=tt,F=tt.indexOf(Yn),b=F>=0;else if(!Yn||Yn=="true"||Yn=="false")return Boolean(hn);return hn&&Yn&&!b?h.concat(Yn):b?h.slice(0,F).concat(h.slice(F+1)):h}var of=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?i.useLayoutEffect:i.useEffect;function Rs(tt){var hn=(0,i.useRef)(tt);return of(function(){hn.current=tt}),(0,i.useCallback)(function(){for(var Yn=arguments.length,h=new Array(Yn),b=0;b<Yn;b++)h[b]=arguments[b];return hn.current.apply(void 0,h)},[])}function Bf(tt){var hn=K0(),Yn=hn.getFieldProps,h=hn.getFieldMeta,b=hn.getFieldHelpers,F=hn.registerField,k=hn.unregisterField,G=ro(tt),ae=G?tt:{name:tt},De=ae.name,Xe=ae.validate;(0,i.useEffect)(function(){return De&&F(De,{validate:Xe}),function(){De&&k(De)}},[F,k,De,Xe]),De||yd(!1);var lt=(0,i.useMemo)(function(){return b(De)},[b,De]);return[Yn(ae),h(De),lt]}function id(tt){var hn=tt.validate,Yn=tt.name,h=tt.render,b=tt.children,F=tt.as,k=tt.component,G=gc(tt,["validate","name","render","children","as","component"]),ae=K0(),De=gc(ae,["validate","validationSchema"]),Xe=De.registerField,lt=De.unregisterField;(0,i.useEffect)(function(){return Xe(Yn,{validate:hn}),function(){lt(Yn)}},[Xe,lt,Yn,hn]);var it=De.getFieldProps(cu({name:Yn},G)),Rn=De.getFieldMeta(Yn),Zn={field:it,form:De};if(h)return h(cu({},Zn,{meta:Rn}));if(Bl(b))return b(cu({},Zn,{meta:Rn}));if(k){if(typeof k=="string"){var Fr=G.innerRef,Tr=gc(G,["innerRef"]);return(0,i.createElement)(k,cu({ref:Fr},it,Tr),b)}return(0,i.createElement)(k,cu({field:it,form:De},G),b)}var ui=F||"input";if(typeof ui=="string"){var ki=G.innerRef,cs=gc(G,["innerRef"]);return(0,i.createElement)(ui,cu({ref:ki},it,cs),b)}return(0,i.createElement)(ui,cu({},it,G),b)}var Fd=(0,i.forwardRef)(function(tt,hn){var Yn=tt.action,h=gc(tt,["action"]),b=Yn??"#",F=K0(),k=F.handleReset,G=F.handleSubmit;return(0,i.createElement)("form",Object.assign({onSubmit:G,ref:hn,onReset:k,action:b},h))});Fd.displayName="Form";function uf(tt){var hn=tt.mapPropsToValues,Yn=hn===void 0?function(b){var F={};for(var k in b)b.hasOwnProperty(k)&&typeof b[k]!="function"&&(F[k]=b[k]);return F}:hn,h=gc(tt,["mapPropsToValues"]);return function(F){var k=F.displayName||F.name||F.constructor&&F.constructor.name||"Component",G=function(ae){Dt(De,ae);function De(){var lt;return lt=ae.apply(this,arguments)||this,lt.validate=function(it){return h.validate(it,lt.props)},lt.validationSchema=function(){return Bl(h.validationSchema)?h.validationSchema(lt.props):h.validationSchema},lt.handleSubmit=function(it,Rn){return h.handleSubmit(it,cu({},Rn,{props:lt.props}))},lt.renderFormComponent=function(it){return createElement(F,Object.assign({},lt.props,it))},lt}var Xe=De.prototype;return Xe.render=function(){var it=this.props,Rn=gc(it,["children"]);return createElement(Bd,Object.assign({},Rn,h,{validate:h.validate&&this.validate,validationSchema:h.validationSchema&&this.validationSchema,initialValues:Yn(this.props),initialStatus:h.mapPropsToStatus&&h.mapPropsToStatus(this.props),initialErrors:h.mapPropsToErrors&&h.mapPropsToErrors(this.props),initialTouched:h.mapPropsToTouched&&h.mapPropsToTouched(this.props),onSubmit:this.handleSubmit,children:this.renderFormComponent}))},De}(Component);return G.displayName="WithFormik("+k+")",hoistNonReactStatics(G,F)}}function Ff(tt){var hn=function(b){return(0,i.createElement)(Ld,null,function(F){return F||yd(!1),(0,i.createElement)(tt,Object.assign({},b,{formik:F}))})},Yn=tt.displayName||tt.name||tt.constructor&&tt.constructor.name||"Component";return hn.WrappedComponent=tt,hn.displayName="FormikConnect("+Yn+")",gs()(hn,tt)}var kf=function(hn,Yn,h){var b=k0(hn),F=b[Yn];return b.splice(Yn,1),b.splice(h,0,F),b},Sd=function(hn,Yn,h){var b=k0(hn),F=b[Yn];return b[Yn]=b[h],b[h]=F,b},qd=function(hn,Yn,h){var b=k0(hn);return b.splice(Yn,0,h),b},du=function(hn,Yn,h){var b=k0(hn);return b[Yn]=h,b},k0=function(hn){if(hn){if(Array.isArray(hn))return[].concat(hn);var Yn=Object.keys(hn).map(function(h){return parseInt(h)}).reduce(function(h,b){return b>h?b:h},0);return Array.from(cu({},hn,{length:Yn+1}))}else return[]},ld=function(hn,Yn){var h=typeof hn=="function"?hn:Yn;return function(b){if(Array.isArray(b)||ro(b)){var F=k0(b);return h(F)}return b}},vi=function(tt){Dt(hn,tt);function hn(h){var b;return b=tt.call(this,h)||this,b.updateArrayField=function(F,k,G){var ae=b.props,De=ae.name,Xe=ae.formik.setFormikState;Xe(function(lt){var it=ld(G,F),Rn=ld(k,F),Zn=vc(lt.values,De,F(Gu(lt.values,De))),Fr=G?it(Gu(lt.errors,De)):void 0,Tr=k?Rn(Gu(lt.touched,De)):void 0;return sf(Fr)&&(Fr=void 0),sf(Tr)&&(Tr=void 0),cu({},lt,{values:Zn,errors:G?vc(lt.errors,De,Fr):lt.errors,touched:k?vc(lt.touched,De,Tr):lt.touched})})},b.push=function(F){return b.updateArrayField(function(k){return[].concat(k0(k),[bf(F)])},!1,!1)},b.handlePush=function(F){return function(){return b.push(F)}},b.swap=function(F,k){return b.updateArrayField(function(G){return Sd(G,F,k)},!0,!0)},b.handleSwap=function(F,k){return function(){return b.swap(F,k)}},b.move=function(F,k){return b.updateArrayField(function(G){return kf(G,F,k)},!0,!0)},b.handleMove=function(F,k){return function(){return b.move(F,k)}},b.insert=function(F,k){return b.updateArrayField(function(G){return qd(G,F,k)},function(G){return qd(G,F,null)},function(G){return qd(G,F,null)})},b.handleInsert=function(F,k){return function(){return b.insert(F,k)}},b.replace=function(F,k){return b.updateArrayField(function(G){return du(G,F,k)},!1,!1)},b.handleReplace=function(F,k){return function(){return b.replace(F,k)}},b.unshift=function(F){var k=-1;return b.updateArrayField(function(G){var ae=G?[F].concat(G):[F];return k<0&&(k=ae.length),ae},function(G){var ae=G?[null].concat(G):[null];return k<0&&(k=ae.length),ae},function(G){var ae=G?[null].concat(G):[null];return k<0&&(k=ae.length),ae}),k},b.handleUnshift=function(F){return function(){return b.unshift(F)}},b.handleRemove=function(F){return function(){return b.remove(F)}},b.handlePop=function(){return function(){return b.pop()}},b.remove=b.remove.bind(O0(b)),b.pop=b.pop.bind(O0(b)),b}var Yn=hn.prototype;return Yn.shouldComponentUpdate=function(b){return this.props.shouldUpdate?this.props.shouldUpdate(b,this.props):b.name!==this.props.name||Gu(b.formik.values,this.props.name)!==Gu(this.props.formik.values,this.props.name)||Gu(b.formik.errors,this.props.name)!==Gu(this.props.formik.errors,this.props.name)||Gu(b.formik.touched,this.props.name)!==Gu(this.props.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(b).length||b.formik.isSubmitting!==this.props.formik.isSubmitting},Yn.componentDidUpdate=function(b){this.props.validateOnChange&&this.props.formik.validateOnChange&&!l()(Gu(b.formik.values,b.name),Gu(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},Yn.remove=function(b){var F;return this.updateArrayField(function(k){var G=k?k0(k):[];return F||(F=G[b]),Bl(G.splice)&&G.splice(b,1),Bl(G.every)&&G.every(function(ae){return ae===void 0})?[]:G},!0,!0),F},Yn.pop=function(){var b;return this.updateArrayField(function(F){var k=F.slice();return b||(b=k&&k.pop&&k.pop()),k},!0,!0),b},Yn.render=function(){var b={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},F=this.props,k=F.component,G=F.render,ae=F.children,De=F.name,Xe=F.formik,lt=gc(Xe,["validate","validationSchema"]),it=cu({},b,{form:lt,name:De});return k?(0,i.createElement)(k,it):G?G(it):ae?typeof ae=="function"?ae(it):Cd(ae)?null:i.Children.only(ae):null},hn}(i.Component);vi.defaultProps={validateOnChange:!0};var cd=Ff(vi),kd=null,eh=null,bl=null,U0=null},98920:U=>{"use strict";var C="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,i=Math.max,a="[object Function]",l=function(T,A){for(var R=[],P=0;P<T.length;P+=1)R[P]=T[P];for(var M=0;M<A.length;M+=1)R[M+T.length]=A[M];return R},c=function(T,A){for(var R=[],P=A||0,M=0;P<T.length;P+=1,M+=1)R[M]=T[P];return R},v=function(_,T){for(var A="",R=0;R<_.length;R+=1)A+=_[R],R+1<_.length&&(A+=T);return A};U.exports=function(T){var A=this;if(typeof A!="function"||e.apply(A)!==a)throw new TypeError(C+A);for(var R=c(arguments,1),P,M=function(){if(this instanceof P){var z=A.apply(this,l(R,arguments));return Object(z)===z?z:this}return A.apply(T,l(R,arguments))},O=i(0,A.length-R.length),N=[],B=0;B<O;B++)N[B]="$"+B;if(P=Function("binder","return function ("+v(N,",")+"){ return binder.apply(this,arguments); }")(M),A.prototype){var j=function(){};j.prototype=A.prototype,P.prototype=new j,j.prototype=null}return P}},3032:(U,C,e)=>{"use strict";var i=e(98920);U.exports=Function.prototype.bind||i},6968:(U,C,e)=>{"use strict";var i,a=SyntaxError,l=Function,c=TypeError,v=function(Ve){try{return l('"use strict"; return ('+Ve+").constructor;")()}catch{}},_=Object.getOwnPropertyDescriptor;if(_)try{_({},"")}catch{_=null}var T=function(){throw new c},A=_?function(){try{return arguments.callee,T}catch{try{return _(arguments,"callee").get}catch{return T}}}():T,R=e(26324)(),P=e(72336)(),M=Object.getPrototypeOf||(P?function(Ve){return Ve.__proto__}:null),O={},N=typeof Uint8Array>"u"||!M?i:M(Uint8Array),B={"%AggregateError%":typeof AggregateError>"u"?i:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?i:ArrayBuffer,"%ArrayIteratorPrototype%":R&&M?M([][Symbol.iterator]()):i,"%AsyncFromSyncIteratorPrototype%":i,"%AsyncFunction%":O,"%AsyncGenerator%":O,"%AsyncGeneratorFunction%":O,"%AsyncIteratorPrototype%":O,"%Atomics%":typeof Atomics>"u"?i:Atomics,"%BigInt%":typeof BigInt>"u"?i:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?i:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?i:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?i:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?i:Float32Array,"%Float64Array%":typeof Float64Array>"u"?i:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?i:FinalizationRegistry,"%Function%":l,"%GeneratorFunction%":O,"%Int8Array%":typeof Int8Array>"u"?i:Int8Array,"%Int16Array%":typeof Int16Array>"u"?i:Int16Array,"%Int32Array%":typeof Int32Array>"u"?i:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":R&&M?M(M([][Symbol.iterator]())):i,"%JSON%":typeof JSON=="object"?JSON:i,"%Map%":typeof Map>"u"?i:Map,"%MapIteratorPrototype%":typeof Map>"u"||!R||!M?i:M(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?i:Promise,"%Proxy%":typeof Proxy>"u"?i:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?i:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?i:Set,"%SetIteratorPrototype%":typeof Set>"u"||!R||!M?i:M(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?i:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":R&&M?M(""[Symbol.iterator]()):i,"%Symbol%":R?Symbol:i,"%SyntaxError%":a,"%ThrowTypeError%":A,"%TypedArray%":N,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?i:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?i:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?i:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?i:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?i:WeakMap,"%WeakRef%":typeof WeakRef>"u"?i:WeakRef,"%WeakSet%":typeof WeakSet>"u"?i:WeakSet};if(M)try{null.error}catch(Ve){var j=M(M(Ve));B["%Error.prototype%"]=j}var z=function Ve(Ze){var Ce;if(Ze==="%AsyncFunction%")Ce=v("async function () {}");else if(Ze==="%GeneratorFunction%")Ce=v("function* () {}");else if(Ze==="%AsyncGeneratorFunction%")Ce=v("async function* () {}");else if(Ze==="%AsyncGenerator%"){var ye=Ve("%AsyncGeneratorFunction%");ye&&(Ce=ye.prototype)}else if(Ze==="%AsyncIteratorPrototype%"){var Ae=Ve("%AsyncGenerator%");Ae&&M&&(Ce=M(Ae.prototype))}return B[Ze]=Ce,Ce},W={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},X=e(3032),Q=e(85864),K=X.call(Function.call,Array.prototype.concat),Y=X.call(Function.apply,Array.prototype.splice),Z=X.call(Function.call,String.prototype.replace),J=X.call(Function.call,String.prototype.slice),ee=X.call(Function.call,RegExp.prototype.exec),re=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,me=/\\(\\)?/g,fe=function(Ze){var Ce=J(Ze,0,1),ye=J(Ze,-1);if(Ce==="%"&&ye!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(ye==="%"&&Ce!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var Ae=[];return Z(Ze,re,function(Fe,Qe,ce,Ge){Ae[Ae.length]=ce?Z(Ge,me,"$1"):Qe||Fe}),Ae},le=function(Ze,Ce){var ye=Ze,Ae;if(Q(W,ye)&&(Ae=W[ye],ye="%"+Ae[0]+"%"),Q(B,ye)){var Fe=B[ye];if(Fe===O&&(Fe=z(ye)),typeof Fe>"u"&&!Ce)throw new c("intrinsic "+Ze+" exists, but is not available. Please file an issue!");return{alias:Ae,name:ye,value:Fe}}throw new a("intrinsic "+Ze+" does not exist!")};U.exports=function(Ze,Ce){if(typeof Ze!="string"||Ze.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ce!="boolean")throw new c('"allowMissing" argument must be a boolean');if(ee(/^%?[^%]*%?$/,Ze)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var ye=fe(Ze),Ae=ye.length>0?ye[0]:"",Fe=le("%"+Ae+"%",Ce),Qe=Fe.name,ce=Fe.value,Ge=!1,Pe=Fe.alias;Pe&&(Ae=Pe[0],Y(ye,K([0,1],Pe)));for(var pe=1,Se=!0;pe<ye.length;pe+=1){var _e=ye[pe],Ne=J(_e,0,1),Le=J(_e,-1);if((Ne==='"'||Ne==="'"||Ne==="`"||Le==='"'||Le==="'"||Le==="`")&&Ne!==Le)throw new a("property names with quotes must have matching quotes");if((_e==="constructor"||!Se)&&(Ge=!0),Ae+="."+_e,Qe="%"+Ae+"%",Q(B,Qe))ce=B[Qe];else if(ce!=null){if(!(_e in ce)){if(!Ce)throw new c("base intrinsic for "+Ze+" exists, but the property is not available.");return}if(_&&pe+1>=ye.length){var Ke=_(ce,_e);Se=!!Ke,Se&&"get"in Ke&&!("originalValue"in Ke.get)?ce=Ke.get:ce=ce[_e]}else Se=Q(ce,_e),ce=ce[_e];Se&&!Ge&&(B[Qe]=ce)}}return ce}},7488:(U,C,e)=>{"use strict";var i=e(6968),a=i("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch{a=null}U.exports=a},86216:(U,C,e)=>{"use strict";var i=e(6968),a=i("%Object.defineProperty%",!0),l=function(){if(a)try{return a({},"a",{value:1}),!0}catch{return!1}return!1};l.hasArrayLengthDefineBug=function(){if(!l())return null;try{return a([],"length",{value:1}).length!==1}catch{return!0}},U.exports=l},72336:U=>{"use strict";var C={foo:{}},e=Object;U.exports=function(){return{__proto__:C}.foo===C.foo&&!({__proto__:null}instanceof e)}},26324:(U,C,e)=>{"use strict";var i=typeof Symbol<"u"&&Symbol,a=e(55556);U.exports=function(){return typeof i!="function"||typeof Symbol!="function"||typeof i("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:a()}},55556:U=>{"use strict";U.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},i=Symbol("test"),a=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var l=42;e[i]=l;for(i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var c=Object.getOwnPropertySymbols(e);if(c.length!==1||c[0]!==i||!Object.prototype.propertyIsEnumerable.call(e,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var v=Object.getOwnPropertyDescriptor(e,i);if(v.value!==l||v.enumerable!==!0)return!1}return!0}},85864:(U,C,e)=>{"use strict";var i=Function.prototype.call,a=Object.prototype.hasOwnProperty,l=e(3032);U.exports=l.call(i,a)},90176:U=>{function C(xe){return xe instanceof Map?xe.clear=xe.delete=xe.set=function(){throw new Error("map is read-only")}:xe instanceof Set&&(xe.add=xe.clear=xe.delete=function(){throw new Error("set is read-only")}),Object.freeze(xe),Object.getOwnPropertyNames(xe).forEach(function(Re){var We=xe[Re];typeof We=="object"&&!Object.isFrozen(We)&&C(We)}),xe}var e=C,i=C;e.default=i;class a{constructor(Re){Re.data===void 0&&(Re.data={}),this.data=Re.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function l(xe){return xe.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function c(xe,...Re){const We=Object.create(null);for(const gt in xe)We[gt]=xe[gt];return Re.forEach(function(gt){for(const Nt in gt)We[Nt]=gt[Nt]}),We}const v="</span>",_=xe=>!!xe.kind;class T{constructor(Re,We){this.buffer="",this.classPrefix=We.classPrefix,Re.walk(this)}addText(Re){this.buffer+=l(Re)}openNode(Re){if(!_(Re))return;let We=Re.kind;Re.sublanguage||(We=`${this.classPrefix}${We}`),this.span(We)}closeNode(Re){_(Re)&&(this.buffer+=v)}value(){return this.buffer}span(Re){this.buffer+=`<span class="${Re}">`}}class A{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Re){this.top.children.push(Re)}openNode(Re){const We={kind:Re,children:[]};this.add(We),this.stack.push(We)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Re){return this.constructor._walk(Re,this.rootNode)}static _walk(Re,We){return typeof We=="string"?Re.addText(We):We.children&&(Re.openNode(We),We.children.forEach(gt=>this._walk(Re,gt)),Re.closeNode(We)),Re}static _collapse(Re){typeof Re!="string"&&Re.children&&(Re.children.every(We=>typeof We=="string")?Re.children=[Re.children.join("")]:Re.children.forEach(We=>{A._collapse(We)}))}}class R extends A{constructor(Re){super(),this.options=Re}addKeyword(Re,We){Re!==""&&(this.openNode(We),this.addText(Re),this.closeNode())}addText(Re){Re!==""&&this.add(Re)}addSublanguage(Re,We){const gt=Re.root;gt.kind=We,gt.sublanguage=!0,this.add(gt)}toHTML(){return new T(this,this.options).value()}finalize(){return!0}}function P(xe){return new RegExp(xe.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function M(xe){return xe?typeof xe=="string"?xe:xe.source:null}function O(...xe){return xe.map(We=>M(We)).join("")}function N(...xe){return"("+xe.map(We=>M(We)).join("|")+")"}function B(xe){return new RegExp(xe.toString()+"|").exec("").length-1}function j(xe,Re){const We=xe&&xe.exec(Re);return We&&We.index===0}const z=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function W(xe,Re="|"){let We=0;return xe.map(gt=>{We+=1;const Nt=We;let Ct=M(gt),tn="";for(;Ct.length>0;){const ge=z.exec(Ct);if(!ge){tn+=Ct;break}tn+=Ct.substring(0,ge.index),Ct=Ct.substring(ge.index+ge[0].length),ge[0][0]==="\\"&&ge[1]?tn+="\\"+String(Number(ge[1])+Nt):(tn+=ge[0],ge[0]==="("&&We++)}return tn}).map(gt=>`(${gt})`).join(Re)}const X=/\b\B/,Q="[a-zA-Z]\\w*",K="[a-zA-Z_]\\w*",Y="\\b\\d+(\\.\\d+)?",Z="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",J="\\b(0b[01]+)",ee="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",re=(xe={})=>{const Re=/^#![ ]*\//;return xe.binary&&(xe.begin=O(Re,/.*\b/,xe.binary,/\b.*/)),c({className:"meta",begin:Re,end:/$/,relevance:0,"on:begin":(We,gt)=>{We.index!==0&&gt.ignoreMatch()}},xe)},me={begin:"\\\\[\\s\\S]",relevance:0},fe={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[me]},le={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[me]},Ve={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ze=function(xe,Re,We={}){const gt=c({className:"comment",begin:xe,end:Re,contains:[]},We);return gt.contains.push(Ve),gt.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),gt},Ce=Ze("//","$"),ye=Ze("/\\*","\\*/"),Ae=Ze("#","$"),Fe={className:"number",begin:Y,relevance:0},Qe={className:"number",begin:Z,relevance:0},ce={className:"number",begin:J,relevance:0},Ge={className:"number",begin:Y+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},Pe={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[me,{begin:/\[/,end:/\]/,relevance:0,contains:[me]}]}]},pe={className:"title",begin:Q,relevance:0},Se={className:"title",begin:K,relevance:0},_e={begin:"\\.\\s*"+K,relevance:0};var Le=Object.freeze({__proto__:null,MATCH_NOTHING_RE:X,IDENT_RE:Q,UNDERSCORE_IDENT_RE:K,NUMBER_RE:Y,C_NUMBER_RE:Z,BINARY_NUMBER_RE:J,RE_STARTERS_RE:ee,SHEBANG:re,BACKSLASH_ESCAPE:me,APOS_STRING_MODE:fe,QUOTE_STRING_MODE:le,PHRASAL_WORDS_MODE:Ve,COMMENT:Ze,C_LINE_COMMENT_MODE:Ce,C_BLOCK_COMMENT_MODE:ye,HASH_COMMENT_MODE:Ae,NUMBER_MODE:Fe,C_NUMBER_MODE:Qe,BINARY_NUMBER_MODE:ce,CSS_NUMBER_MODE:Ge,REGEXP_MODE:Pe,TITLE_MODE:pe,UNDERSCORE_TITLE_MODE:Se,METHOD_GUARD:_e,END_SAME_AS_BEGIN:function(xe){return Object.assign(xe,{"on:begin":(Re,We)=>{We.data._beginMatch=Re[1]},"on:end":(Re,We)=>{We.data._beginMatch!==Re[1]&&We.ignoreMatch()}})}});function Ke(xe,Re){xe.input[xe.index-1]==="."&&Re.ignoreMatch()}function bt(xe,Re){Re&&xe.beginKeywords&&(xe.begin="\\b("+xe.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",xe.__beforeBegin=Ke,xe.keywords=xe.keywords||xe.beginKeywords,delete xe.beginKeywords,xe.relevance===void 0&&(xe.relevance=0))}function yt(xe,Re){Array.isArray(xe.illegal)&&(xe.illegal=N(...xe.illegal))}function It(xe,Re){if(xe.match){if(xe.begin||xe.end)throw new Error("begin & end are not supported with match");xe.begin=xe.match,delete xe.match}}function _t(xe,Re){xe.relevance===void 0&&(xe.relevance=1)}const zt=["of","and","for","in","not","or","if","then","parent","list","value"],Vt="keyword";function St(xe,Re,We=Vt){const gt={};return typeof xe=="string"?Nt(We,xe.split(" ")):Array.isArray(xe)?Nt(We,xe):Object.keys(xe).forEach(function(Ct){Object.assign(gt,St(xe[Ct],Re,Ct))}),gt;function Nt(Ct,tn){Re&&(tn=tn.map(ge=>ge.toLowerCase())),tn.forEach(function(ge){const At=ge.split("|");gt[At[0]]=[Ct,Xt(At[0],At[1])]})}}function Xt(xe,Re){return Re?Number(Re):jt(xe)?0:1}function jt(xe){return zt.includes(xe.toLowerCase())}function sn(xe,{plugins:Re}){function We(ge,At){return new RegExp(M(ge),"m"+(xe.case_insensitive?"i":"")+(At?"g":""))}class gt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(At,mn){mn.position=this.position++,this.matchIndexes[this.matchAt]=mn,this.regexes.push([mn,At]),this.matchAt+=B(At)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const At=this.regexes.map(mn=>mn[1]);this.matcherRe=We(W(At),!0),this.lastIndex=0}exec(At){this.matcherRe.lastIndex=this.lastIndex;const mn=this.matcherRe.exec(At);if(!mn)return null;const xn=mn.findIndex((gr,Ur)=>Ur>0&&gr!==void 0),Un=this.matchIndexes[xn];return mn.splice(0,xn),Object.assign(mn,Un)}}class Nt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(At){if(this.multiRegexes[At])return this.multiRegexes[At];const mn=new gt;return this.rules.slice(At).forEach(([xn,Un])=>mn.addRule(xn,Un)),mn.compile(),this.multiRegexes[At]=mn,mn}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(At,mn){this.rules.push([At,mn]),mn.type==="begin"&&this.count++}exec(At){const mn=this.getMatcher(this.regexIndex);mn.lastIndex=this.lastIndex;let xn=mn.exec(At);if(this.resumingScanAtSamePosition()&&!(xn&&xn.index===this.lastIndex)){const Un=this.getMatcher(0);Un.lastIndex=this.lastIndex+1,xn=Un.exec(At)}return xn&&(this.regexIndex+=xn.position+1,this.regexIndex===this.count&&this.considerAll()),xn}}function Ct(ge){const At=new Nt;return ge.contains.forEach(mn=>At.addRule(mn.begin,{rule:mn,type:"begin"})),ge.terminatorEnd&&At.addRule(ge.terminatorEnd,{type:"end"}),ge.illegal&&At.addRule(ge.illegal,{type:"illegal"}),At}function tn(ge,At){const mn=ge;if(ge.isCompiled)return mn;[It].forEach(Un=>Un(ge,At)),xe.compilerExtensions.forEach(Un=>Un(ge,At)),ge.__beforeBegin=null,[bt,yt,_t].forEach(Un=>Un(ge,At)),ge.isCompiled=!0;let xn=null;if(typeof ge.keywords=="object"&&(xn=ge.keywords.$pattern,delete ge.keywords.$pattern),ge.keywords&&(ge.keywords=St(ge.keywords,xe.case_insensitive)),ge.lexemes&&xn)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return xn=xn||ge.lexemes||/\w+/,mn.keywordPatternRe=We(xn,!0),At&&(ge.begin||(ge.begin=/\B|\b/),mn.beginRe=We(ge.begin),ge.endSameAsBegin&&(ge.end=ge.begin),!ge.end&&!ge.endsWithParent&&(ge.end=/\B|\b/),ge.end&&(mn.endRe=We(ge.end)),mn.terminatorEnd=M(ge.end)||"",ge.endsWithParent&&At.terminatorEnd&&(mn.terminatorEnd+=(ge.end?"|":"")+At.terminatorEnd)),ge.illegal&&(mn.illegalRe=We(ge.illegal)),ge.contains||(ge.contains=[]),ge.contains=[].concat(...ge.contains.map(function(Un){return Ln(Un==="self"?ge:Un)})),ge.contains.forEach(function(Un){tn(Un,mn)}),ge.starts&&tn(ge.starts,At),mn.matcher=Ct(mn),mn}if(xe.compilerExtensions||(xe.compilerExtensions=[]),xe.contains&&xe.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return xe.classNameAliases=c(xe.classNameAliases||{}),tn(xe)}function dt(xe){return xe?xe.endsWithParent||dt(xe.starts):!1}function Ln(xe){return xe.variants&&!xe.cachedVariants&&(xe.cachedVariants=xe.variants.map(function(Re){return c(xe,{variants:null},Re)})),xe.cachedVariants?xe.cachedVariants:dt(xe)?c(xe,{starts:xe.starts?c(xe.starts):null}):Object.isFrozen(xe)?c(xe):xe}var fn="10.7.3";function cr(xe){return Boolean(xe||xe==="")}function wr(xe){const Re={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!xe.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,l(this.code);let gt={};return this.autoDetect?(gt=xe.highlightAuto(this.code),this.detectedLanguage=gt.language):(gt=xe.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),gt.value},autoDetect(){return!this.language||cr(this.autodetect)},ignoreIllegals(){return!0}},render(gt){return gt("pre",{},[gt("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:Re,VuePlugin:{install(gt){gt.component("highlightjs",Re)}}}}const Jn={"after:highlightElement":({el:xe,result:Re,text:We})=>{const gt=or(xe);if(!gt.length)return;const Nt=document.createElement("div");Nt.innerHTML=Re.value,Re.value=bn(gt,or(Nt),We)}};function nn(xe){return xe.nodeName.toLowerCase()}function or(xe){const Re=[];return function We(gt,Nt){for(let Ct=gt.firstChild;Ct;Ct=Ct.nextSibling)Ct.nodeType===3?Nt+=Ct.nodeValue.length:Ct.nodeType===1&&(Re.push({event:"start",offset:Nt,node:Ct}),Nt=We(Ct,Nt),nn(Ct).match(/br|hr|img|input/)||Re.push({event:"stop",offset:Nt,node:Ct}));return Nt}(xe,0),Re}function bn(xe,Re,We){let gt=0,Nt="";const Ct=[];function tn(){return!xe.length||!Re.length?xe.length?xe:Re:xe[0].offset!==Re[0].offset?xe[0].offset<Re[0].offset?xe:Re:Re[0].event==="start"?xe:Re}function ge(xn){function Un(gr){return" "+gr.nodeName+'="'+l(gr.value)+'"'}Nt+="<"+nn(xn)+[].map.call(xn.attributes,Un).join("")+">"}function At(xn){Nt+="</"+nn(xn)+">"}function mn(xn){(xn.event==="start"?ge:At)(xn.node)}for(;xe.length||Re.length;){let xn=tn();if(Nt+=l(We.substring(gt,xn[0].offset)),gt=xn[0].offset,xn===xe){Ct.reverse().forEach(At);do mn(xn.splice(0,1)[0]),xn=tn();while(xn===xe&&xn.length&&xn[0].offset===gt);Ct.reverse().forEach(ge)}else xn[0].event==="start"?Ct.push(xn[0].node):Ct.pop(),mn(xn.splice(0,1)[0])}return Nt+l(We.substr(gt))}const Sn={},Hn=xe=>{console.error(xe)},er=(xe,...Re)=>{console.log(`WARN: ${xe}`,...Re)},an=(xe,Re)=>{Sn[`${xe}/${Re}`]||(console.log(`Deprecated as of ${xe}. ${Re}`),Sn[`${xe}/${Re}`]=!0)},Cn=l,de=c,oe=Symbol("nomatch");var Et=function(xe){const Re=Object.create(null),We=Object.create(null),gt=[];let Nt=!0;const Ct=/(^(<[^>]+>|\t|)+|\n)/gm,tn="Could not find the language '{}', did you forget to load/include a language module?",ge={disableAutodetect:!0,name:"Plain text",contains:[]};let At={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:R};function mn($e){return At.noHighlightRe.test($e)}function xn($e){let Yt=$e.className+" ";Yt+=$e.parentNode?$e.parentNode.className:"";const $t=At.languageDetectRe.exec(Yt);if($t){const Jt=rr($t[1]);return Jt||(er(tn.replace("{}",$t[1])),er("Falling back to no-highlight mode for this block.",$e)),Jt?$t[1]:"no-highlight"}return Yt.split(/\s+/).find(Jt=>mn(Jt)||rr(Jt))}function Un($e,Yt,$t,Jt){let Lt="",yn="";typeof Yt=="object"?(Lt=$e,$t=Yt.ignoreIllegals,yn=Yt.language,Jt=void 0):(an("10.7.0","highlight(lang, code, ...args) has been deprecated."),an("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),yn=$e,Lt=Yt);const In={code:Lt,language:yn};An("before:highlight",In);const yr=In.result?In.result:gr(In.language,In.code,$t,Jt);return yr.code=In.code,An("after:highlight",yr),yr}function gr($e,Yt,$t,Jt){function Lt(Cr,xr){const qr=kn.case_insensitive?xr[0].toLowerCase():xr[0];return Object.prototype.hasOwnProperty.call(Cr.keywords,qr)&&Cr.keywords[qr]}function yn(){if(!ur.keywords){ot.addText(ft);return}let Cr=0;ur.keywordPatternRe.lastIndex=0;let xr=ur.keywordPatternRe.exec(ft),qr="";for(;xr;){qr+=ft.substring(Cr,xr.index);const jr=Lt(ur,xr);if(jr){const[vr,$r]=jr;if(ot.addText(qr),qr="",Mt+=$r,vr.startsWith("_"))qr+=xr[0];else{const Wr=kn.classNameAliases[vr]||vr;ot.addKeyword(xr[0],Wr)}}else qr+=xr[0];Cr=ur.keywordPatternRe.lastIndex,xr=ur.keywordPatternRe.exec(ft)}qr+=ft.substr(Cr),ot.addText(qr)}function In(){if(ft==="")return;let Cr=null;if(typeof ur.subLanguage=="string"){if(!Re[ur.subLanguage]){ot.addText(ft);return}Cr=gr(ur.subLanguage,ft,!0,fi[ur.subLanguage]),fi[ur.subLanguage]=Cr.top}else Cr=Or(ft,ur.subLanguage.length?ur.subLanguage:null);ur.relevance>0&&(Mt+=Cr.relevance),ot.addSublanguage(Cr.emitter,Cr.language)}function yr(){ur.subLanguage!=null?In():yn(),ft=""}function Rr(Cr){return Cr.className&&ot.openNode(kn.classNameAliases[Cr.className]||Cr.className),ur=Object.create(Cr,{parent:{value:ur}}),ur}function Xr(Cr,xr,qr){let jr=j(Cr.endRe,qr);if(jr){if(Cr["on:end"]){const vr=new a(Cr);Cr["on:end"](xr,vr),vr.isMatchIgnored&&(jr=!1)}if(jr){for(;Cr.endsParent&&Cr.parent;)Cr=Cr.parent;return Cr}}if(Cr.endsWithParent)return Xr(Cr.parent,xr,qr)}function ci(Cr){return ur.matcher.regexIndex===0?(ft+=Cr[0],1):(lr=!0,0)}function Hr(Cr){const xr=Cr[0],qr=Cr.rule,jr=new a(qr),vr=[qr.__beforeBegin,qr["on:begin"]];for(const $r of vr)if($r&&($r(Cr,jr),jr.isMatchIgnored))return ci(xr);return qr&&qr.endSameAsBegin&&(qr.endRe=P(xr)),qr.skip?ft+=xr:(qr.excludeBegin&&(ft+=xr),yr(),!qr.returnBegin&&!qr.excludeBegin&&(ft=xr)),Rr(qr),qr.returnBegin?0:xr.length}function un(Cr){const xr=Cr[0],qr=Yt.substr(Cr.index),jr=Xr(ur,Cr,qr);if(!jr)return oe;const vr=ur;vr.skip?ft+=xr:(vr.returnEnd||vr.excludeEnd||(ft+=xr),yr(),vr.excludeEnd&&(ft=xr));do ur.className&&ot.closeNode(),!ur.skip&&!ur.subLanguage&&(Mt+=ur.relevance),ur=ur.parent;while(ur!==jr.parent);return jr.starts&&(jr.endSameAsBegin&&(jr.starts.endRe=jr.endRe),Rr(jr.starts)),vr.returnEnd?0:xr.length}function ct(){const Cr=[];for(let xr=ur;xr!==kn;xr=xr.parent)xr.className&&Cr.unshift(xr.className);Cr.forEach(xr=>ot.openNode(xr))}let Ut={};function wt(Cr,xr){const qr=xr&&xr[0];if(ft+=Cr,qr==null)return yr(),0;if(Ut.type==="begin"&&xr.type==="end"&&Ut.index===xr.index&&qr===""){if(ft+=Yt.slice(xr.index,xr.index+1),!Nt){const jr=new Error("0 width match regex");throw jr.languageName=$e,jr.badRule=Ut.rule,jr}return 1}if(Ut=xr,xr.type==="begin")return Hr(xr);if(xr.type==="illegal"&&!$t){const jr=new Error('Illegal lexeme "'+qr+'" for mode "'+(ur.className||"<unnamed>")+'"');throw jr.mode=ur,jr}else if(xr.type==="end"){const jr=un(xr);if(jr!==oe)return jr}if(xr.type==="illegal"&&qr==="")return 1;if(sr>1e5&&sr>xr.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ft+=qr,qr.length}const kn=rr($e);if(!kn)throw Hn(tn.replace("{}",$e)),new Error('Unknown language: "'+$e+'"');const wn=sn(kn,{plugins:gt});let Qn="",ur=Jt||wn;const fi={},ot=new At.__emitter(At);ct();let ft="",Mt=0,qt=0,sr=0,lr=!1;try{for(ur.matcher.considerAll();;){sr++,lr?lr=!1:ur.matcher.considerAll(),ur.matcher.lastIndex=qt;const Cr=ur.matcher.exec(Yt);if(!Cr)break;const xr=Yt.substring(qt,Cr.index),qr=wt(xr,Cr);qt=Cr.index+qr}return wt(Yt.substr(qt)),ot.closeAllNodes(),ot.finalize(),Qn=ot.toHTML(),{relevance:Math.floor(Mt),value:Qn,language:$e,illegal:!1,emitter:ot,top:ur}}catch(Cr){if(Cr.message&&Cr.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Cr.message,context:Yt.slice(qt-100,qt+100),mode:Cr.mode},sofar:Qn,relevance:0,value:Cn(Yt),emitter:ot};if(Nt)return{illegal:!1,relevance:0,value:Cn(Yt),emitter:ot,language:$e,top:ur,errorRaised:Cr};throw Cr}}function Ur($e){const Yt={relevance:0,emitter:new At.__emitter(At),value:Cn($e),illegal:!1,top:ge};return Yt.emitter.addText($e),Yt}function Or($e,Yt){Yt=Yt||At.languages||Object.keys(Re);const $t=Ur($e),Jt=Yt.filter(rr).filter(Gt).map(Rr=>gr(Rr,$e,!1));Jt.unshift($t);const Lt=Jt.sort((Rr,Xr)=>{if(Rr.relevance!==Xr.relevance)return Xr.relevance-Rr.relevance;if(Rr.language&&Xr.language){if(rr(Rr.language).supersetOf===Xr.language)return 1;if(rr(Xr.language).supersetOf===Rr.language)return-1}return 0}),[yn,In]=Lt,yr=yn;return yr.second_best=In,yr}function ii($e){return At.tabReplace||At.useBR?$e.replace(Ct,Yt=>Yt===`
`?At.useBR?"<br>":Yt:At.tabReplace?Yt.replace(/\t/g,At.tabReplace):Yt):$e}function Ui($e,Yt,$t){const Jt=Yt?We[Yt]:$t;$e.classList.add("hljs"),Jt&&$e.classList.add(Jt)}const rn={"before:highlightElement":({el:$e})=>{At.useBR&&($e.innerHTML=$e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
`))},"after:highlightElement":({result:$e})=>{At.useBR&&($e.value=$e.value.replace(/\n/g,"<br>"))}},$n=/^(<[^>]+>|\t)+/gm,yi={"after:highlightElement":({result:$e})=>{At.tabReplace&&($e.value=$e.value.replace($n,Yt=>Yt.replace(/\t/g,At.tabReplace)))}};function Jr($e){let Yt=null;const $t=xn($e);if(mn($t))return;An("before:highlightElement",{el:$e,language:$t}),Yt=$e;const Jt=Yt.textContent,Lt=$t?Un(Jt,{language:$t,ignoreIllegals:!0}):Or(Jt);An("after:highlightElement",{el:$e,result:Lt,text:Jt}),$e.innerHTML=Lt.value,Ui($e,$t,Lt.language),$e.result={language:Lt.language,re:Lt.relevance,relavance:Lt.relevance},Lt.second_best&&($e.second_best={language:Lt.second_best.language,re:Lt.second_best.relevance,relavance:Lt.second_best.relevance})}function cn($e){$e.useBR&&(an("10.3.0","'useBR' will be removed entirely in v11.0"),an("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),At=de(At,$e)}const mt=()=>{if(mt.called)return;mt.called=!0,an("10.6.0","initHighlighting() is deprecated.  Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Jr)};function we(){an("10.6.0","initHighlightingOnLoad() is deprecated.  Use highlightAll() instead."),je=!0}let je=!1;function pt(){if(document.readyState==="loading"){je=!0;return}document.querySelectorAll("pre code").forEach(Jr)}function at(){je&&pt()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",at,!1);function kt($e,Yt){let $t=null;try{$t=Yt(xe)}catch(Jt){if(Hn("Language definition for '{}' could not be registered.".replace("{}",$e)),Nt)Hn(Jt);else throw Jt;$t=ge}$t.name||($t.name=$e),Re[$e]=$t,$t.rawDefinition=Yt.bind(null,xe),$t.aliases&&Ot($t.aliases,{languageName:$e})}function vn($e){delete Re[$e];for(const Yt of Object.keys(We))We[Yt]===$e&&delete We[Yt]}function Wn(){return Object.keys(Re)}function nr($e){an("10.4.0","requireLanguage will be removed entirely in v11."),an("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Yt=rr($e);if(Yt)return Yt;throw new Error("The '{}' language is required, but not loaded.".replace("{}",$e))}function rr($e){return $e=($e||"").toLowerCase(),Re[$e]||Re[We[$e]]}function Ot($e,{languageName:Yt}){typeof $e=="string"&&($e=[$e]),$e.forEach($t=>{We[$t.toLowerCase()]=Yt})}function Gt($e){const Yt=rr($e);return Yt&&!Yt.disableAutodetect}function Pt($e){$e["before:highlightBlock"]&&!$e["before:highlightElement"]&&($e["before:highlightElement"]=Yt=>{$e["before:highlightBlock"](Object.assign({block:Yt.el},Yt))}),$e["after:highlightBlock"]&&!$e["after:highlightElement"]&&($e["after:highlightElement"]=Yt=>{$e["after:highlightBlock"](Object.assign({block:Yt.el},Yt))})}function Tt($e){Pt($e),gt.push($e)}function An($e,Yt){const $t=$e;gt.forEach(function(Jt){Jt[$t]&&Jt[$t](Yt)})}function on($e){return an("10.2.0","fixMarkup will be removed entirely in v11.0"),an("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),ii($e)}function dn($e){return an("10.7.0","highlightBlock will be removed entirely in v12.0"),an("10.7.0","Please use highlightElement now."),Jr($e)}Object.assign(xe,{highlight:Un,highlightAuto:Or,highlightAll:pt,fixMarkup:on,highlightElement:Jr,highlightBlock:dn,configure:cn,initHighlighting:mt,initHighlightingOnLoad:we,registerLanguage:kt,unregisterLanguage:vn,listLanguages:Wn,getLanguage:rr,registerAliases:Ot,requireLanguage:nr,autoDetection:Gt,inherit:de,addPlugin:Tt,vuePlugin:wr(xe).VuePlugin}),xe.debugMode=function(){Nt=!1},xe.safeMode=function(){Nt=!0},xe.versionString=fn;for(const $e in Le)typeof Le[$e]=="object"&&e(Le[$e]);return Object.assign(xe,Le),xe.addPlugin(rn),xe.addPlugin(Jn),xe.addPlugin(yi),xe}({});U.exports=Et},95752:(U,C,e)=>{var i=e(90176);i.registerLanguage("1c",e(61203)),i.registerLanguage("abnf",e(68532)),i.registerLanguage("accesslog",e(88024)),i.registerLanguage("actionscript",e(17832)),i.registerLanguage("ada",e(79248)),i.registerLanguage("angelscript",e(39256)),i.registerLanguage("apache",e(66200)),i.registerLanguage("applescript",e(29352)),i.registerLanguage("arcade",e(52812)),i.registerLanguage("arduino",e(68516)),i.registerLanguage("armasm",e(58336)),i.registerLanguage("xml",e(96656)),i.registerLanguage("asciidoc",e(26340)),i.registerLanguage("aspectj",e(36596)),i.registerLanguage("autohotkey",e(75021)),i.registerLanguage("autoit",e(23548)),i.registerLanguage("avrasm",e(19804)),i.registerLanguage("awk",e(63420)),i.registerLanguage("axapta",e(52292)),i.registerLanguage("bash",e(45727)),i.registerLanguage("basic",e(84320)),i.registerLanguage("bnf",e(51556)),i.registerLanguage("brainfuck",e(77240)),i.registerLanguage("c-like",e(17760)),i.registerLanguage("c",e(65544)),i.registerLanguage("cal",e(1208)),i.registerLanguage("capnproto",e(25224)),i.registerLanguage("ceylon",e(55380)),i.registerLanguage("clean",e(15296)),i.registerLanguage("clojure",e(59672)),i.registerLanguage("clojure-repl",e(97608)),i.registerLanguage("cmake",e(83800)),i.registerLanguage("coffeescript",e(54860)),i.registerLanguage("coq",e(46280)),i.registerLanguage("cos",e(8580)),i.registerLanguage("cpp",e(73332)),i.registerLanguage("crmsh",e(75848)),i.registerLanguage("crystal",e(97520)),i.registerLanguage("csharp",e(35524)),i.registerLanguage("csp",e(98664)),i.registerLanguage("css",e(69472)),i.registerLanguage("d",e(32144)),i.registerLanguage("markdown",e(10976)),i.registerLanguage("dart",e(56764)),i.registerLanguage("delphi",e(79784)),i.registerLanguage("diff",e(12208)),i.registerLanguage("django",e(37368)),i.registerLanguage("dns",e(216)),i.registerLanguage("dockerfile",e(51179)),i.registerLanguage("dos",e(36096)),i.registerLanguage("dsconfig",e(68840)),i.registerLanguage("dts",e(79404)),i.registerLanguage("dust",e(30420)),i.registerLanguage("ebnf",e(55776)),i.registerLanguage("elixir",e(16616)),i.registerLanguage("elm",e(35248)),i.registerLanguage("ruby",e(10724)),i.registerLanguage("erb",e(59248)),i.registerLanguage("erlang-repl",e(47636)),i.registerLanguage("erlang",e(80056)),i.registerLanguage("excel",e(28016)),i.registerLanguage("fix",e(86412)),i.registerLanguage("flix",e(50728)),i.registerLanguage("fortran",e(15632)),i.registerLanguage("fsharp",e(19288)),i.registerLanguage("gams",e(82428)),i.registerLanguage("gauss",e(25588)),i.registerLanguage("gcode",e(62752)),i.registerLanguage("gherkin",e(96488)),i.registerLanguage("glsl",e(66020)),i.registerLanguage("gml",e(67296)),i.registerLanguage("go",e(10332)),i.registerLanguage("golo",e(90668)),i.registerLanguage("gradle",e(86044)),i.registerLanguage("groovy",e(83144)),i.registerLanguage("haml",e(86712)),i.registerLanguage("handlebars",e(90592)),i.registerLanguage("haskell",e(6544)),i.registerLanguage("haxe",e(56336)),i.registerLanguage("hsp",e(54628)),i.registerLanguage("htmlbars",e(94408)),i.registerLanguage("http",e(21136)),i.registerLanguage("hy",e(74432)),i.registerLanguage("inform7",e(54780)),i.registerLanguage("ini",e(44912)),i.registerLanguage("irpf90",e(76608)),i.registerLanguage("isbl",e(48652)),i.registerLanguage("java",e(59995)),i.registerLanguage("javascript",e(41100)),i.registerLanguage("jboss-cli",e(75900)),i.registerLanguage("json",e(80328)),i.registerLanguage("julia",e(79288)),i.registerLanguage("julia-repl",e(2100)),i.registerLanguage("kotlin",e(61224)),i.registerLanguage("lasso",e(46848)),i.registerLanguage("latex",e(51560)),i.registerLanguage("ldif",e(20896)),i.registerLanguage("leaf",e(35920)),i.registerLanguage("less",e(56896)),i.registerLanguage("lisp",e(62128)),i.registerLanguage("livecodeserver",e(54452)),i.registerLanguage("livescript",e(17548)),i.registerLanguage("llvm",e(68836)),i.registerLanguage("lsl",e(44680)),i.registerLanguage("lua",e(12012)),i.registerLanguage("makefile",e(14500)),i.registerLanguage("mathematica",e(21976)),i.registerLanguage("matlab",e(98756)),i.registerLanguage("maxima",e(14884)),i.registerLanguage("mel",e(15552)),i.registerLanguage("mercury",e(95120)),i.registerLanguage("mipsasm",e(22528)),i.registerLanguage("mizar",e(54565)),i.registerLanguage("perl",e(10568)),i.registerLanguage("mojolicious",e(74988)),i.registerLanguage("monkey",e(11708)),i.registerLanguage("moonscript",e(93284)),i.registerLanguage("n1ql",e(45720)),i.registerLanguage("nginx",e(39792)),i.registerLanguage("nim",e(63288)),i.registerLanguage("nix",e(32760)),i.registerLanguage("node-repl",e(18880)),i.registerLanguage("nsis",e(42840)),i.registerLanguage("objectivec",e(18936)),i.registerLanguage("ocaml",e(71504)),i.registerLanguage("openscad",e(72216)),i.registerLanguage("oxygene",e(64704)),i.registerLanguage("parser3",e(93724)),i.registerLanguage("pf",e(83484)),i.registerLanguage("pgsql",e(50464)),i.registerLanguage("php",e(31085)),i.registerLanguage("php-template",e(67240)),i.registerLanguage("plaintext",e(76968)),i.registerLanguage("pony",e(76472)),i.registerLanguage("powershell",e(37516)),i.registerLanguage("processing",e(89236)),i.registerLanguage("profile",e(92052)),i.registerLanguage("prolog",e(69344)),i.registerLanguage("properties",e(49135)),i.registerLanguage("protobuf",e(4912)),i.registerLanguage("puppet",e(45656)),i.registerLanguage("purebasic",e(87884)),i.registerLanguage("python",e(94860)),i.registerLanguage("python-repl",e(51564)),i.registerLanguage("q",e(57440)),i.registerLanguage("qml",e(60848)),i.registerLanguage("r",e(87624)),i.registerLanguage("reasonml",e(16452)),i.registerLanguage("rib",e(25456)),i.registerLanguage("roboconf",e(63392)),i.registerLanguage("routeros",e(18820)),i.registerLanguage("rsl",e(33032)),i.registerLanguage("ruleslanguage",e(29672)),i.registerLanguage("rust",e(36192)),i.registerLanguage("sas",e(85760)),i.registerLanguage("scala",e(15880)),i.registerLanguage("scheme",e(86992)),i.registerLanguage("scilab",e(9760)),i.registerLanguage("scss",e(23116)),i.registerLanguage("shell",e(20824)),i.registerLanguage("smali",e(76116)),i.registerLanguage("smalltalk",e(76444)),i.registerLanguage("sml",e(19076)),i.registerLanguage("sqf",e(99448)),i.registerLanguage("sql_more",e(72908)),i.registerLanguage("sql",e(68024)),i.registerLanguage("stan",e(62460)),i.registerLanguage("stata",e(3328)),i.registerLanguage("step21",e(27356)),i.registerLanguage("stylus",e(64492)),i.registerLanguage("subunit",e(65528)),i.registerLanguage("swift",e(37452)),i.registerLanguage("taggerscript",e(62728)),i.registerLanguage("yaml",e(21408)),i.registerLanguage("tap",e(43904)),i.registerLanguage("tcl",e(34720)),i.registerLanguage("thrift",e(27383)),i.registerLanguage("tp",e(2699)),i.registerLanguage("twig",e(81372)),i.registerLanguage("typescript",e(83964)),i.registerLanguage("vala",e(90500)),i.registerLanguage("vbnet",e(74008)),i.registerLanguage("vbscript",e(39432)),i.registerLanguage("vbscript-html",e(32268)),i.registerLanguage("verilog",e(43784)),i.registerLanguage("vhdl",e(49308)),i.registerLanguage("vim",e(25784)),i.registerLanguage("x86asm",e(14136)),i.registerLanguage("xl",e(968)),i.registerLanguage("xquery",e(39996)),i.registerLanguage("zephir",e(93572)),U.exports=i},61203:U=>{function C(e){var i="[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]+",a="\u0434\u0430\u043B\u0435\u0435 ",l="\u0432\u043E\u0437\u0432\u0440\u0430\u0442 \u0432\u044B\u0437\u0432\u0430\u0442\u044C\u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0434\u043B\u044F \u0435\u0441\u043B\u0438 \u0438 \u0438\u0437 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u0438\u043D\u0430\u0447\u0435\u0435\u0441\u043B\u0438 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043A\u043E\u043D\u0435\u0446\u0435\u0441\u043B\u0438 \u043A\u043E\u043D\u0435\u0446\u043F\u043E\u043F\u044B\u0442\u043A\u0438 \u043A\u043E\u043D\u0435\u0446\u0446\u0438\u043A\u043B\u0430 \u043D\u0435 \u043D\u043E\u0432\u044B\u0439 \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043F\u0435\u0440\u0435\u043C \u043F\u043E \u043F\u043E\u043A\u0430 \u043F\u043E\u043F\u044B\u0442\u043A\u0430 \u043F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0442\u043E\u0433\u0434\u0430 \u0446\u0438\u043A\u043B \u044D\u043A\u0441\u043F\u043E\u0440\u0442 ",c=a+l,v="\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0438\u0437\u0444\u0430\u0439\u043B\u0430 ",_="\u0432\u0435\u0431\u043A\u043B\u0438\u0435\u043D\u0442 \u0432\u043C\u0435\u0441\u0442\u043E \u0432\u043D\u0435\u0448\u043D\u0435\u0435\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043A\u043B\u0438\u0435\u043D\u0442 \u043A\u043E\u043D\u0435\u0446\u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043B\u0438\u0435\u043D\u0442 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u0435\u0440\u0432\u0435\u0440 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435\u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0435\u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435\u0431\u0435\u0437\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043D\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u0435\u0431\u0435\u0437\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430 \u043E\u0431\u043B\u0430\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u043E\u0441\u043B\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u0442\u043E\u043B\u0441\u0442\u044B\u0439\u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0431\u044B\u0447\u043D\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043B\u0441\u0442\u044B\u0439\u043A\u043B\u0438\u0435\u043D\u0442\u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u043E\u043D\u043A\u0438\u0439\u043A\u043B\u0438\u0435\u043D\u0442 ",T=v+_,A="\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0440\u0430\u043D\u0438\u0446 \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0440\u043E\u043A \u0441\u0438\u043C\u0432\u043E\u043B\u0442\u0430\u0431\u0443\u043B\u044F\u0446\u0438\u0438 ",R="ansitooem oemtoansi \u0432\u0432\u0435\u0441\u0442\u0438\u0432\u0438\u0434\u0441\u0443\u0431\u043A\u043E\u043D\u0442\u043E \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u0435 \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u0435\u0440\u0438\u043E\u0434 \u0432\u0432\u0435\u0441\u0442\u0438\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u0434\u0430\u0442\u0430\u0433\u043E\u0434 \u0434\u0430\u0442\u0430\u043C\u0435\u0441\u044F\u0446 \u0434\u0430\u0442\u0430\u0447\u0438\u0441\u043B\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0441\u0442\u0440\u043E\u043A\u0443 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0441\u0442\u0440\u043E\u043A\u0438 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0438\u0431 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043A\u043E\u0434\u0441\u0438\u043C\u0432 \u043A\u043E\u043D\u0433\u043E\u0434\u0430 \u043A\u043E\u043D\u0435\u0446\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043A\u043E\u043D\u0435\u0446\u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043D\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043A\u043E\u043D\u0435\u0446\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430 \u043A\u043E\u043D\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043A\u043E\u043D\u043C\u0435\u0441\u044F\u0446\u0430 \u043A\u043E\u043D\u043D\u0435\u0434\u0435\u043B\u0438 \u043B\u043E\u0433 \u043B\u043E\u043310 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u0441\u0443\u0431\u043A\u043E\u043D\u0442\u043E \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u043D\u0430\u0431\u043E\u0440\u0430\u043F\u0440\u0430\u0432 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C\u0432\u0438\u0434 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C\u0441\u0447\u0435\u0442 \u043D\u0430\u0439\u0442\u0438\u0441\u0441\u044B\u043B\u043A\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0431\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430 \u043D\u0430\u0447\u0433\u043E\u0434\u0430 \u043D\u0430\u0447\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043D\u0430\u0447\u043C\u0435\u0441\u044F\u0446\u0430 \u043D\u0430\u0447\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u043E\u043C\u0435\u0440\u0434\u043D\u044F\u0433\u043E\u0434\u0430 \u043D\u043E\u043C\u0435\u0440\u0434\u043D\u044F\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u043E\u043C\u0435\u0440\u043D\u0435\u0434\u0435\u043B\u0438\u0433\u043E\u0434\u0430 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0430\u0441\u0447\u0435\u0442\u043E\u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u043F\u043B\u0430\u043D\u0441\u0447\u0435\u0442\u043E\u0432 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439\u044F\u0437\u044B\u043A \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u043E\u043A\u043D\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0439 \u043F\u0435\u0440\u0438\u043E\u0434\u0441\u0442\u0440 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u0430\u0442\u0443\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0443\u0441\u0442\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0442\u0430 \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u043F\u0438\u0441\u044C \u043F\u0443\u0441\u0442\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u043C \u0440\u0430\u0437\u043E\u0431\u0440\u0430\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043D\u0430 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043F\u043E \u0441\u0438\u043C\u0432 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442 \u0441\u0442\u0430\u0442\u0443\u0441\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430 \u0441\u0442\u0440\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E\u0441\u0442\u0440\u043E\u043A \u0441\u0444\u043E\u0440\u043C\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u043F\u043E\u0437\u0438\u0446\u0438\u044E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u0447\u0435\u0442\u043F\u043E\u043A\u043E\u0434\u0443 \u0442\u0435\u043A\u0443\u0449\u0435\u0435\u0432\u0440\u0435\u043C\u044F \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0441\u0442\u0440 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0442\u0430\u043D\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0442\u0430\u043F\u043E \u0444\u0438\u043A\u0441\u0448\u0430\u0431\u043B\u043E\u043D \u0448\u0430\u0431\u043B\u043E\u043D ",P="acos asin atan base64\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 base64\u0441\u0442\u0440\u043E\u043A\u0430 cos exp log log10 pow sin sqrt tan xml\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 xml\u0441\u0442\u0440\u043E\u043A\u0430 xml\u0442\u0438\u043F xml\u0442\u0438\u043F\u0437\u043D\u0447 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0435\u043E\u043A\u043D\u043E \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0443\u043B\u0435\u0432\u043E \u0432\u0432\u0435\u0441\u0442\u0438\u0434\u0430\u0442\u0443 \u0432\u0432\u0435\u0441\u0442\u0438\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432\u0432\u0435\u0441\u0442\u0438\u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u0432\u0435\u0441\u0442\u0438\u0447\u0438\u0441\u043B\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C\u0447\u0442\u0435\u043D\u0438\u044Fxml \u0432\u043E\u043F\u0440\u043E\u0441 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432\u0440\u0435\u0433 \u0432\u044B\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0443\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u043F\u0440\u0430\u0432\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0432\u044B\u0447\u0438\u0441\u043B\u0438\u0442\u044C \u0433\u043E\u0434 \u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B\u0432\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u0430\u0442\u0430 \u0434\u0435\u043D\u044C \u0434\u0435\u043D\u044C\u0433\u043E\u0434\u0430 \u0434\u0435\u043D\u044C\u043D\u0435\u0434\u0435\u043B\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C\u043C\u0435\u0441\u044F\u0446 \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0434\u043B\u044F\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u0437\u0430\u043A\u0440\u044B\u0442\u044C\u0441\u043F\u0440\u0430\u0432\u043A\u0443 \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044Cjson \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044Cxml \u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C\u0434\u0430\u0442\u0443json \u0437\u0430\u043F\u0438\u0441\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0441\u0432\u043E\u0439\u0441\u0442\u0432 \u0437\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C\u0441\u0438\u0441\u0442\u0435\u043C\u0443 \u0437\u0430\u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0441\u0442\u0440\u043E\u043A\u0443\u0432\u043D\u0443\u0442\u0440 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0432\u0444\u0430\u0439\u043B \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0441\u0442\u0440\u043E\u043A\u0438\u0432\u043D\u0443\u0442\u0440 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0437\u0444\u0430\u0439\u043B\u0430 \u0438\u0437xml\u0442\u0438\u043F\u0430 \u0438\u043C\u043F\u043E\u0440\u0442\u043C\u043E\u0434\u0435\u043B\u0438xdto \u0438\u043C\u044F\u043A\u043E\u043C\u043F\u044C\u044E\u0442\u0435\u0440\u0430 \u0438\u043C\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0438\u043D\u0438\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0435\u0434\u0430\u043D\u043D\u044B\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u043E\u0431\u043E\u0448\u0438\u0431\u043A\u0435 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0438\u043C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0433\u043E\u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445\u0444\u0430\u0439\u043B\u043E\u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u043A\u043E\u0434\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043A\u043E\u0434\u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u043A\u043E\u043C\u0430\u043D\u0434\u0430\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043A\u043E\u043D\u0435\u0446\u0433\u043E\u0434\u0430 \u043A\u043E\u043D\u0435\u0446\u0434\u043D\u044F \u043A\u043E\u043D\u0435\u0446\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043A\u043E\u043D\u0435\u0446\u043C\u0435\u0441\u044F\u0446\u0430 \u043A\u043E\u043D\u0435\u0446\u043C\u0438\u043D\u0443\u0442\u044B \u043A\u043E\u043D\u0435\u0446\u043D\u0435\u0434\u0435\u043B\u0438 \u043A\u043E\u043D\u0435\u0446\u0447\u0430\u0441\u0430 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430\u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u0438 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0430 \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0444\u043E\u0440\u043C\u044B \u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0444\u0430\u0439\u043B \u043A\u0440\u0430\u0442\u043A\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043B\u0435\u0432 \u043C\u0430\u043A\u0441 \u043C\u0435\u0441\u0442\u043D\u043E\u0435\u0432\u0440\u0435\u043C\u044F \u043C\u0435\u0441\u044F\u0446 \u043C\u0438\u043D \u043C\u0438\u043D\u0443\u0442\u0430 \u043C\u043E\u043D\u043E\u043F\u043E\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u043D\u0430\u0439\u0442\u0438 \u043D\u0430\u0439\u0442\u0438\u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u044Bxml \u043D\u0430\u0439\u0442\u0438\u043E\u043A\u043D\u043E\u043F\u043E\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0441\u0441\u044B\u043B\u043A\u0435 \u043D\u0430\u0439\u0442\u0438\u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435\u043D\u0430\u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435 \u043D\u0430\u0439\u0442\u0438\u043F\u043E\u0441\u0441\u044B\u043B\u043A\u0430\u043C \u043D\u0430\u0439\u0442\u0438\u0444\u0430\u0439\u043B\u044B \u043D\u0430\u0447\u0430\u043B\u043E\u0433\u043E\u0434\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u0434\u043D\u044F \u043D\u0430\u0447\u0430\u043B\u043E\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u043C\u0435\u0441\u044F\u0446\u0430 \u043D\u0430\u0447\u0430\u043B\u043E\u043C\u0438\u043D\u0443\u0442\u044B \u043D\u0430\u0447\u0430\u043B\u043E\u043D\u0435\u0434\u0435\u043B\u0438 \u043D\u0430\u0447\u0430\u043B\u043E\u0447\u0430\u0441\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0437\u0430\u043F\u0440\u043E\u0441\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u0437\u0430\u043F\u0443\u0441\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u0438\u0441\u043A\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0447\u0435\u0433\u043E\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u043F\u043E\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u0437\u0444\u0430\u0439\u043B\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0430 \u043D\u0430\u0447\u0430\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043D\u0430\u0447\u0430\u0442\u044C\u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0443\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043D\u0435\u0434\u0435\u043B\u044F\u0433\u043E\u0434\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u044C\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043D\u043E\u043C\u0435\u0440\u0441\u0435\u0430\u043D\u0441\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043D\u043E\u043C\u0435\u0440\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043D\u0440\u0435\u0433 \u043D\u0441\u0442\u0440 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044E\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043F\u0440\u0435\u0440\u044B\u0432\u0430\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043E\u0431\u044A\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043E\u043A\u0440 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043E\u043F\u043E\u0432\u0435\u0441\u0442\u0438\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0441\u0442\u0438\u0442\u044C\u043E\u0431\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0437\u0430\u043F\u0440\u043E\u0441\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0438\u043D\u0434\u0435\u043A\u0441\u0441\u043F\u0440\u0430\u0432\u043A\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0441\u043E\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u0435\u0441\u043F\u0440\u0430\u0432\u043A\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0441\u043F\u0440\u0430\u0432\u043A\u0443 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0444\u043E\u0440\u043C\u0443 \u043E\u0442\u043A\u0440\u044B\u0442\u044C\u0444\u043E\u0440\u043C\u0443\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044E \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u0435\u0440\u0435\u0439\u0442\u0438\u043F\u043E\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0441\u0441\u044B\u043B\u043A\u0435 \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u0437\u0430\u043F\u0440\u043E\u0441\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0447\u0438\u043A\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043E\u0448\u0438\u0431\u043A\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0434\u0430\u0442\u044B \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0441\u0442\u0440\u043E\u043A\u0438 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u0432\u043E\u0434\u0447\u0438\u0441\u043B\u0430 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0432\u043E\u043F\u0440\u043E\u0441 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E\u043E\u0431\u043E\u0448\u0438\u0431\u043A\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043D\u0430\u043A\u0430\u0440\u0442\u0435 \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u043D\u043E\u0435\u0438\u043C\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044Ccom\u043E\u0431\u044A\u0435\u043A\u0442 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044Cxml\u0442\u0438\u043F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0430\u0434\u0440\u0435\u0441\u043F\u043E\u043C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043F\u044F\u0449\u0435\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0441\u044B\u043F\u0430\u043D\u0438\u044F\u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u043A\u043E\u0434\u044B\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0447\u0430\u0441\u043E\u0432\u044B\u0435\u043F\u043E\u044F\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0437\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043C\u044F\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0444\u0430\u0439\u043B\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043C\u044F\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E\u044D\u043A\u0440\u0430\u043D\u043E\u0432\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043A\u0440\u0430\u0442\u043A\u0438\u0439\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u043A\u0435\u0442\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0430\u0441\u043A\u0443\u0432\u0441\u0435\u0444\u0430\u0439\u043B\u044B\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0430\u0434\u0440\u0435\u0441\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0443\u044E\u0434\u043B\u0438\u043D\u0443\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u0443\u044E\u0441\u0441\u044B\u043B\u043A\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u0443\u044E\u0441\u0441\u044B\u043B\u043A\u0443\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u0449\u0438\u0439\u043C\u0430\u043A\u0435\u0442 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0431\u0449\u0443\u044E\u0444\u043E\u0440\u043C\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u043A\u043D\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u0443\u044E\u043E\u0442\u043C\u0435\u0442\u043A\u0443\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0433\u043E\u0440\u0435\u0436\u0438\u043C\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445\u043E\u043F\u0446\u0438\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u043E\u043B\u043D\u043E\u0435\u0438\u043C\u044F\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0445\u0441\u0441\u044B\u043B\u043E\u043A \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u0441\u043B\u043E\u0436\u043D\u043E\u0441\u0442\u0438\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438\u043A\u043B\u0438\u0435\u043D\u0442\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C\u043F\u0443\u0442\u0438\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0435\u0430\u043D\u0441\u044B\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430odata \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0443\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0441\u0435\u0430\u043D\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u043E\u0440\u043C\u0443 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u0443\u044E\u043E\u043F\u0446\u0438\u044E \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u0443\u044E\u043E\u043F\u0446\u0438\u044E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438\u043E\u0441 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0432\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0435\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u043F\u0440\u0430\u0432 \u043F\u0440\u0430\u0432\u043E\u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043A\u043E\u0434\u0430\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0430\u0432\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0447\u0430\u0441\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u044F\u0441\u0430 \u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u043A\u0440\u0430\u0442\u0438\u0442\u044C\u0440\u0430\u0431\u043E\u0442\u0443\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u043F\u0440\u0438\u0432\u0438\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C\u0432\u044B\u0437\u043E\u0432 \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044Cjson \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044Cxml \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C\u0434\u0430\u0442\u0443json \u043F\u0443\u0441\u0442\u0430\u044F\u0441\u0442\u0440\u043E\u043A\u0430 \u0440\u0430\u0431\u043E\u0447\u0438\u0439\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0440\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0434\u043B\u044F\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u044C\u0444\u0430\u0439\u043B \u0440\u0430\u0437\u043E\u0440\u0432\u0430\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0441\u0432\u043D\u0435\u0448\u043D\u0438\u043C\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u043C\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u0440\u043E\u043B\u044C\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0430 \u0441\u0438\u0433\u043D\u0430\u043B \u0441\u0438\u043C\u0432\u043E\u043B \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u043B\u0435\u0442\u043D\u0435\u0433\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C\u0431\u0443\u0444\u0435\u0440\u044B\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u043A\u0430\u0442\u0430\u043B\u043E\u0433 \u0441\u043E\u0437\u0434\u0430\u0442\u044C\u0444\u0430\u0431\u0440\u0438\u043A\u0443xdto \u0441\u043E\u043A\u0440\u043B \u0441\u043E\u043A\u0440\u043B\u043F \u0441\u043E\u043A\u0440\u043F \u0441\u043E\u043E\u0431\u0449\u0438\u0442\u044C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0441\u0440\u0435\u0434 \u0441\u0442\u0440\u0434\u043B\u0438\u043D\u0430 \u0441\u0442\u0440\u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F\u043D\u0430 \u0441\u0442\u0440\u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u043D\u0430\u0439\u0442\u0438 \u0441\u0442\u0440\u043D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F\u0441 \u0441\u0442\u0440\u043E\u043A\u0430 \u0441\u0442\u0440\u043E\u043A\u0430\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0441\u0442\u0440\u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0441\u0442\u0440\u043E\u043A\u0443 \u0441\u0442\u0440\u0440\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u044C \u0441\u0442\u0440\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u0441\u0440\u0430\u0432\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u0447\u0438\u0441\u043B\u043E\u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0439 \u0441\u0442\u0440\u0447\u0438\u0441\u043B\u043E\u0441\u0442\u0440\u043E\u043A \u0441\u0442\u0440\u0448\u0430\u0431\u043B\u043E\u043D \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0434\u0430\u0442\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0434\u0430\u0442\u0430\u0441\u0435\u0430\u043D\u0441\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u0430\u044F\u0434\u0430\u0442\u0430 \u0442\u0435\u043A\u0443\u0449\u0430\u044F\u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u0430\u044F\u0434\u0430\u0442\u0430\u0432\u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u0448\u0440\u0438\u0444\u0442\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u043A\u043E\u0434\u043B\u043E\u043A\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u044F\u0437\u044B\u043A \u0442\u0435\u043A\u0443\u0449\u0438\u0439\u044F\u0437\u044B\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0442\u0438\u043F \u0442\u0438\u043F\u0437\u043D\u0447 \u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u044F\u0430\u043A\u0442\u0438\u0432\u043D\u0430 \u0442\u0440\u0435\u0433 \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0434\u0430\u043D\u043D\u044B\u0435\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0438\u0437\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C\u0444\u0430\u0439\u043B\u044B \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u043E\u0435\u0432\u0440\u0435\u043C\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u043D\u0435\u0448\u043D\u044E\u044E\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0443 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F\u0441\u043F\u044F\u0449\u0435\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0441\u044B\u043F\u0430\u043D\u0438\u044F\u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E\u0433\u043E\u0441\u0435\u0430\u043D\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0432\u0440\u0435\u043C\u044F\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043A\u0440\u0430\u0442\u043A\u0438\u0439\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0443\u044E\u0434\u043B\u0438\u043D\u0443\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043C\u043E\u043D\u043E\u043F\u043E\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u043B\u0438\u0446\u0435\u043D\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0433\u043E\u0440\u0435\u0436\u0438\u043C\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u0445\u043E\u043F\u0446\u0438\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0440\u0438\u0432\u0438\u043B\u0435\u0433\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443\u0441\u043B\u043E\u0436\u043D\u043E\u0441\u0442\u0438\u043F\u0430\u0440\u043E\u043B\u0435\u0439\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0435\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0442\u044B\u0441\u0444\u0430\u0439\u043B\u0430\u043C\u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0441\u0432\u043D\u0435\u0448\u043D\u0438\u043C\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u043C\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0438\u0444\u043E\u0440\u043C\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430odata \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C\u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0441\u0435\u0430\u043D\u0441\u0430 \u0444\u043E\u0440\u043C\u0430\u0442 \u0446\u0435\u043B \u0447\u0430\u0441 \u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441 \u0447\u0430\u0441\u043E\u0432\u043E\u0439\u043F\u043E\u044F\u0441\u0441\u0435\u0430\u043D\u0441\u0430 \u0447\u0438\u0441\u043B\u043E \u0447\u0438\u0441\u043B\u043E\u043F\u0440\u043E\u043F\u0438\u0441\u044C\u044E \u044D\u0442\u043E\u0430\u0434\u0440\u0435\u0441\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 ",M="ws\u0441\u0441\u044B\u043B\u043A\u0438 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043C\u0430\u043A\u0435\u0442\u043E\u0432\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u0441\u0442\u0438\u043B\u0435\u0439 \u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u044B \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0432\u043D\u0435\u0448\u043D\u0438\u0435\u043E\u0442\u0447\u0435\u0442\u044B \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435\u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0433\u043B\u0430\u0432\u043D\u044B\u0439\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0433\u043B\u0430\u0432\u043D\u044B\u0439\u0441\u0442\u0438\u043B\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0435\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0436\u0443\u0440\u043D\u0430\u043B\u044B\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u043E\u0431\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0431\u043E\u0447\u0435\u0439\u0434\u0430\u0442\u044B \u0438\u0441\u0442\u043E\u0440\u0438\u044F\u0440\u0430\u0431\u043E\u0442\u044B\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043A\u043E\u043D\u0441\u0442\u0430\u043D\u0442\u044B \u043A\u0440\u0438\u0442\u0435\u0440\u0438\u0438\u043E\u0442\u0431\u043E\u0440\u0430 \u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0435 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u043A\u043B\u0430\u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0445\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u043E\u0442\u0447\u0435\u0442\u044B \u043F\u0430\u043D\u0435\u043B\u044C\u0437\u0430\u0434\u0430\u0447\u043E\u0441 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0441\u0435\u0430\u043D\u0441\u0430 \u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F \u043F\u043B\u0430\u043D\u044B\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043F\u043B\u0430\u043D\u044B\u0432\u0438\u0434\u043E\u0432\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A \u043F\u043B\u0430\u043D\u044B\u043E\u0431\u043C\u0435\u043D\u0430 \u043F\u043B\u0430\u043D\u044B\u0441\u0447\u0435\u0442\u043E\u0432 \u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u043F\u043E\u0438\u0441\u043A \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439\u0431\u0430\u0437\u044B \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445\u043F\u043E\u043A\u0443\u043F\u043E\u043A \u0440\u0430\u0431\u043E\u0447\u0430\u044F\u0434\u0430\u0442\u0430 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0438\u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u044B\u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u044B\u0435\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0442\u043E\u0440xdto \u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u0433\u0435\u043E\u043F\u043E\u0437\u0438\u0446\u0438\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0440\u0435\u043A\u043B\u0430\u043C\u044B \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043F\u043E\u0447\u0442\u044B \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0438\u0438 \u0444\u0430\u0431\u0440\u0438\u043A\u0430xdto \u0444\u0430\u0439\u043B\u043E\u0432\u044B\u0435\u043F\u043E\u0442\u043E\u043A\u0438 \u0444\u043E\u043D\u043E\u0432\u044B\u0435\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432\u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043E\u0431\u0449\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u0445\u0441\u043F\u0438\u0441\u043A\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043E\u0442\u0447\u0435\u0442\u043E\u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A ",O=A+R+P+M,N="web\u0446\u0432\u0435\u0442\u0430 windows\u0446\u0432\u0435\u0442\u0430 windows\u0448\u0440\u0438\u0444\u0442\u044B \u0431\u0438\u0431\u043B\u0438\u043E\u0442\u0435\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u0440\u0430\u043C\u043A\u0438\u0441\u0442\u0438\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0446\u0432\u0435\u0442\u0430\u0441\u0442\u0438\u043B\u044F \u0448\u0440\u0438\u0444\u0442\u044B\u0441\u0442\u0438\u043B\u044F ",B="\u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C\u044B\u0432\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u044F\u0432\u0444\u043E\u0440\u043C\u0435 \u0430\u0432\u0442\u043E\u0440\u0430\u0437\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0435\u0441\u0435\u0440\u0438\u0439 \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0438\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u0432 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0432\u044B\u0441\u043E\u0442\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u0430\u044F\u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430\u0444\u043E\u0440\u043C\u044B \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0432\u0438\u0434\u0433\u0440\u0443\u043F\u043F\u044B\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0434\u0435\u043A\u043E\u0440\u0430\u0446\u0438\u0438\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0438\u0434\u043A\u043D\u043E\u043F\u043A\u0438\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044F \u0432\u0438\u0434\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u0432\u0438\u0434\u043F\u043E\u043B\u044F\u0444\u043E\u0440\u043C\u044B \u0432\u0438\u0434\u0444\u043B\u0430\u0436\u043A\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435\u0440\u0430\u0437\u043C\u0435\u0440\u0430\u043D\u0430\u043F\u0443\u0437\u044B\u0440\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0435\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0430\u043A\u043E\u043B\u043E\u043D\u043E\u043A \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0430\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0444\u043E\u0440\u043C\u044B \u0433\u0440\u0443\u043F\u043F\u044B\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439\u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u043C\u0435\u0436\u0434\u0443\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0438\u0444\u043E\u0440\u043C\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0432\u044B\u0432\u043E\u0434\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u043B\u043E\u0441\u044B\u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0442\u043E\u0447\u043A\u0438\u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0438\u0441\u0442\u043E\u0440\u0438\u044F\u0432\u044B\u0431\u043E\u0440\u0430\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043E\u0441\u0438\u0442\u043E\u0447\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0440\u0430\u0437\u043C\u0435\u0440\u0430\u043F\u0443\u0437\u044B\u0440\u044C\u043A\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u044B\u043A\u043E\u043C\u0430\u043D\u0434 \u043C\u0430\u043A\u0441\u0438\u043C\u0443\u043C\u0441\u0435\u0440\u0438\u0439 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0434\u0435\u0440\u0435\u0432\u0430 \u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0441\u043F\u0438\u0441\u043A\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u043C\u0435\u0442\u043E\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u043C\u0435\u0442\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u043B\u0435\u0433\u0435\u043D\u0434\u0435\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u043A\u043D\u043E\u043F\u043E\u043A \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0438\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043D\u043E\u043F\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043D\u043E\u043F\u043A\u0438\u0432\u044B\u0431\u043E\u0440\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0431\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u0439\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043E\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043F\u0443\u0437\u044B\u0440\u044C\u043A\u043E\u0432\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0430\u043D\u0435\u043B\u0438\u043F\u043E\u0438\u0441\u043A\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u044F\u043F\u0440\u0438\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0438\u043F\u043E\u043B\u043E\u0441\u044B\u0440\u0435\u0433\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0444\u043E\u0440\u043C\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0444\u0438\u0433\u0443\u0440\u044B\u043A\u043D\u043E\u043F\u043A\u0438 \u043F\u0430\u043B\u0438\u0442\u0440\u0430\u0446\u0432\u0435\u0442\u043E\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043E\u0431\u044B\u0447\u043D\u043E\u0439\u0433\u0440\u0443\u043F\u043F\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0438\u0441\u043A\u0432\u0442\u0430\u0431\u043B\u0438\u0446\u0435\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\u043A\u043D\u043E\u043F\u043A\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u0430\u043D\u0434\u043D\u043E\u0439\u043F\u0430\u043D\u0435\u043B\u0438\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u0430\u043D\u0434\u043D\u043E\u0439\u043F\u0430\u043D\u0435\u043B\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0444\u043E\u0440\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043E\u043F\u043E\u0440\u043D\u043E\u0439\u0442\u043E\u0447\u043A\u0438\u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439\u0448\u043A\u0430\u043B\u044B\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0438\u0437\u043C\u0435\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0441\u0442\u0440\u043E\u043A\u0438\u043F\u043E\u0438\u0441\u043A\u0430 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u043B\u0438\u043D\u0438\u0438 \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u043E\u0438\u0441\u043A\u043E\u043C \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u043A\u0433\u043E\u0440\u0438\u0437\u043E\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439\u0433\u0438\u0441\u0442\u043E\u0433\u0440\u0430\u043C\u043C\u044B \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u0441\u0435\u0440\u0438\u0439\u0432\u043B\u0435\u0433\u0435\u043D\u0434\u0435\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0430\u0437\u043C\u0435\u0440\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0430\u0441\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u0432\u0435\u0440\u0442\u0438\u043A\u0430\u043B\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0432\u0432\u043E\u0434\u0430\u0441\u0442\u0440\u043E\u043A\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0431\u043E\u0440\u0430\u043D\u0435\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0434\u0430\u0442\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0441\u0442\u0440\u043E\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0440\u0435\u0436\u0438\u043C\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0437\u043C\u0435\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0441\u0432\u044F\u0437\u0430\u043D\u043D\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u043F\u0435\u0447\u0430\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043A\u043E\u043C\u0430\u043D\u0434\u044B \u0440\u0435\u0436\u0438\u043C\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u043E\u043A\u043D\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u043E\u043A\u043D\u0430\u0444\u043E\u0440\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0441\u0435\u0440\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u0440\u0438\u0441\u043E\u0432\u043A\u0438\u0441\u0435\u0442\u043A\u0438\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u0443\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u043E\u0441\u0442\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0431\u0435\u043B\u043E\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0435 \u0440\u0435\u0436\u0438\u043C\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043A\u043E\u043B\u043E\u043D\u043A\u0438 \u0440\u0435\u0436\u0438\u043C\u0441\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0440\u0435\u0436\u0438\u043C\u0441\u0433\u043B\u0430\u0436\u0438\u0432\u0430\u043D\u0438\u044F\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0441\u043F\u0438\u0441\u043A\u0430\u0437\u0430\u0434\u0430\u0447 \u0441\u043A\u0432\u043E\u0437\u043D\u043E\u0435\u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u0444\u043E\u0440\u043C\u044B\u0432\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0448\u043A\u0430\u043B\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F\u0433\u0440\u0443\u043F\u043F\u0430\u043A\u043E\u043C\u0430\u043D\u0434 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0435\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0441\u0442\u0438\u043B\u044C\u0441\u0442\u0440\u0435\u043B\u043A\u0438 \u0442\u0438\u043F\u0430\u043F\u043F\u0440\u043E\u043A\u0441\u0438\u043C\u0430\u0446\u0438\u0438\u043B\u0438\u043D\u0438\u0438\u0442\u0440\u0435\u043D\u0434\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0435\u0434\u0438\u043D\u0438\u0446\u044B\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0442\u0438\u043F\u0438\u043C\u043F\u043E\u0440\u0442\u0430\u0441\u0435\u0440\u0438\u0439\u0441\u043B\u043E\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u043C\u0430\u0440\u043A\u0435\u0440\u0430\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043C\u0430\u0440\u043A\u0435\u0440\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0441\u0435\u0440\u0438\u0438\u0441\u043B\u043E\u044F\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u0447\u043D\u043E\u0433\u043E\u043E\u0431\u044A\u0435\u043A\u0442\u0430\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0448\u043A\u0430\u043B\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u0435\u0433\u0435\u043D\u0434\u044B\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043F\u043E\u0438\u0441\u043A\u0430\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u043F\u0440\u043E\u0435\u043A\u0446\u0438\u0438\u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0440\u0430\u043C\u043A\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u0432\u044F\u0437\u0438\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u0433\u0430\u043D\u0442\u0430 \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u043F\u043E\u0441\u0435\u0440\u0438\u044F\u043C\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0442\u043E\u0447\u0435\u043A\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0439\u043B\u0438\u043D\u0438\u0438 \u0442\u0438\u043F\u0441\u0442\u043E\u0440\u043E\u043D\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0442\u0438\u043F\u0444\u043E\u0440\u043C\u044B\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0448\u043A\u0430\u043B\u044B\u0440\u0430\u0434\u0430\u0440\u043D\u043E\u0439\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0444\u0430\u043A\u0442\u043E\u0440\u043B\u0438\u043D\u0438\u0438\u0442\u0440\u0435\u043D\u0434\u0430\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B \u0444\u0438\u0433\u0443\u0440\u0430\u043A\u043D\u043E\u043F\u043A\u0438 \u0444\u0438\u0433\u0443\u0440\u044B\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0439\u0441\u0445\u0435\u043C\u044B \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u044F\u0432\u0442\u0430\u0431\u043B\u0438\u0446\u0435 \u0444\u043E\u0440\u043C\u0430\u0442\u0434\u043D\u044F\u0448\u043A\u0430\u043B\u044B\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0448\u0438\u0440\u0438\u043D\u0430\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0444\u043E\u0440\u043C\u044B ",j="\u0432\u0438\u0434\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u044F\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0438\u0438 \u0432\u0438\u0434\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u044F\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0432\u0438\u0434\u0441\u0447\u0435\u0442\u0430 \u0432\u0438\u0434\u0442\u043E\u0447\u043A\u0438\u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0430\u0433\u0440\u0435\u0433\u0430\u0442\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0435\u0436\u0438\u043C\u0430\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u0440\u0435\u0437\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0430\u0433\u0440\u0435\u0433\u0430\u0442\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u0432\u0440\u0435\u043C\u044F \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0438\u0441\u0438\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 ",z="\u0430\u0432\u0442\u043E\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439\u043D\u043E\u043C\u0435\u0440\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445 ",W="\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043E\u0440\u0438\u0435\u043D\u0442\u0430\u0446\u0438\u044F\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u043A\u043E\u043B\u043E\u043D\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u0441\u0442\u0440\u043E\u043A\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430\u043E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u0447\u0442\u0435\u043D\u0438\u044F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0434\u0432\u0443\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0435\u0439\u043F\u0435\u0447\u0430\u0442\u0438 \u0442\u0438\u043F\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043A\u0443\u0440\u0441\u043E\u0440\u043E\u0432\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u0440\u0438\u0441\u0443\u043D\u043A\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043B\u0438\u043D\u0438\u0438\u044F\u0447\u0435\u0439\u043A\u0438\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043B\u0438\u043D\u0438\u0439\u0441\u0432\u043E\u0434\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0440\u0438\u0441\u0443\u043D\u043A\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0441\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0443\u0437\u043E\u0440\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u0444\u0430\u0439\u043B\u0430\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u043E\u0447\u043D\u043E\u0441\u0442\u044C\u043F\u0435\u0447\u0430\u0442\u0438 \u0447\u0435\u0440\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u0441\u0442\u0440\u0430\u043D\u0438\u0446 ",X="\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u0432\u0440\u0435\u043C\u0435\u043D\u0438\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0449\u0438\u043A\u0430 ",Q="\u0442\u0438\u043F\u0444\u0430\u0439\u043B\u0430\u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 ",K="\u043E\u0431\u0445\u043E\u0434\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0437\u0430\u043F\u0438\u0441\u0438\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ",Y="\u0432\u0438\u0434\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u044F\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u043E\u0442\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0438\u0442\u043E\u0433\u043E\u0432 ",Z="\u0434\u043E\u0441\u0442\u0443\u043F\u043A\u0444\u0430\u0439\u043B\u0443 \u0440\u0435\u0436\u0438\u043C\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u0432\u044B\u0431\u043E\u0440\u0430\u0444\u0430\u0439\u043B\u0430 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0444\u0430\u0439\u043B\u0430 ",J="\u0442\u0438\u043F\u0438\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u044F\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044F\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ",ee="\u0432\u0438\u0434\u0434\u0430\u043D\u043D\u044B\u0445\u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043C\u0435\u0442\u043E\u0434\u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0438\u043F\u0435\u0434\u0438\u043D\u0438\u0446\u044B\u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u0430\u0432\u0440\u0435\u043C\u0435\u043D\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0447\u0438\u0441\u043B\u043E\u0432\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u0430\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u0434\u0435\u0440\u0435\u0432\u043E\u0440\u0435\u0448\u0435\u043D\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043A\u043B\u0430\u0441\u0442\u0435\u0440\u0438\u0437\u0430\u0446\u0438\u044F \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0430\u044F\u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0438\u0441\u043A\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439 \u0442\u0438\u043F\u043A\u043E\u043B\u043E\u043D\u043A\u0438\u043C\u043E\u0434\u0435\u043B\u0438\u043F\u0440\u043E\u0433\u043D\u043E\u0437\u0430 \u0442\u0438\u043F\u043C\u0435\u0440\u044B\u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u044F\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0442\u0441\u0435\u0447\u0435\u043D\u0438\u044F\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0438 \u0442\u0438\u043F\u043F\u043E\u043B\u044F\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u0430\u0432\u0438\u043B\u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0438\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u043E\u0440\u044F\u0434\u043E\u0447\u0438\u0432\u0430\u043D\u0438\u044F\u0448\u0430\u0431\u043B\u043E\u043D\u043E\u0432\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0443\u043F\u0440\u043E\u0449\u0435\u043D\u0438\u044F\u0434\u0435\u0440\u0435\u0432\u0430\u0440\u0435\u0448\u0435\u043D\u0438\u0439 ",re="ws\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0432\u0430\u0440\u0438\u0430\u043D\u0442xpathxs \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0437\u0430\u043F\u0438\u0441\u0438\u0434\u0430\u0442\u044Bjson \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0432\u0438\u0434\u0433\u0440\u0443\u043F\u043F\u044B\u043C\u043E\u0434\u0435\u043B\u0438xs \u0432\u0438\u0434\u0444\u0430\u0441\u0435\u0442\u0430xdto \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044Fdom \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u0441\u043E\u0441\u0442\u0430\u0432\u043D\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0441\u0442\u044C\u0441\u0445\u0435\u043C\u044Bxs \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D\u043D\u044B\u0435\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u043E\u0441\u0442\u0438xs \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0438\u043C\u0435\u043Dxs \u043C\u0435\u0442\u043E\u0434\u043D\u0430\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044Fxs \u043C\u043E\u0434\u0435\u043B\u044C\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043Exs \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0442\u0438\u043F\u0430xml \u043D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0435\u043F\u043E\u0434\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438xs \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0445\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432xs \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043Exs \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u043E\u0442\u0431\u043E\u0440\u0430\u0443\u0437\u043B\u043E\u0432dom \u043F\u0435\u0440\u0435\u043D\u043E\u0441\u0441\u0442\u0440\u043E\u043Ajson \u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0432\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0435dom \u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u044Bxml \u0442\u0438\u043F\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xml \u0442\u0438\u043F\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fjson \u0442\u0438\u043F\u043A\u0430\u043D\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043Exml \u0442\u0438\u043F\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044Bxs \u0442\u0438\u043F\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438xml \u0442\u0438\u043F\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430domxpath \u0442\u0438\u043F\u0443\u0437\u043B\u0430dom \u0442\u0438\u043F\u0443\u0437\u043B\u0430xml \u0444\u043E\u0440\u043C\u0430xml \u0444\u043E\u0440\u043C\u0430\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044Fxs \u0444\u043E\u0440\u043C\u0430\u0442\u0434\u0430\u0442\u044Bjson \u044D\u043A\u0440\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432json ",me="\u0432\u0438\u0434\u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0432\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0438\u0442\u043E\u0433\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u0435\u0439\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0431\u0443\u0445\u0433\u0430\u043B\u0442\u0435\u0440\u0441\u043A\u043E\u0433\u043E\u043E\u0441\u0442\u0430\u0442\u043A\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0432\u044B\u0432\u043E\u0434\u0430\u0442\u0435\u043A\u0441\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0433\u0440\u0443\u043F\u043F\u044B\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432\u043E\u0442\u0431\u043E\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u043F\u043E\u043B\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0441\u0442\u0430\u0442\u043A\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0440\u0430\u0437\u043C\u0435\u0449\u0435\u043D\u0438\u044F\u0442\u0435\u043A\u0441\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u0441\u0432\u044F\u0437\u0438\u043D\u0430\u0431\u043E\u0440\u043E\u0432\u0434\u0430\u043D\u043D\u044B\u0445\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043B\u0435\u0433\u0435\u043D\u0434\u044B\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u044B\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u043E\u0442\u0431\u043E\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0430\u0432\u0442\u043E\u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432\u0432\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0444\u0438\u043A\u0441\u0430\u0446\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0443\u0441\u043B\u043E\u0432\u043D\u043E\u0433\u043E\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 ",fe="\u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0442\u0435\u043A\u0441\u0442\u0430\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0432\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u043D\u0435ascii\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0442\u0435\u043A\u0441\u0442\u0430\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0440\u0430\u0437\u0431\u043E\u0440\u0430\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0433\u043E\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F ",le="\u0440\u0435\u0436\u0438\u043C\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438\u0437\u0430\u043F\u0438\u0441\u0438\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0438\u0437\u0430\u043F\u0438\u0441\u0438\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 ",Ve="\u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0440\u0435\u0436\u0438\u043C\u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0430\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0442\u0438\u043F\u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0432\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 ",Ze="\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430\u0438\u043C\u0435\u043D\u0444\u0430\u0439\u043B\u043E\u0432\u0432zip\u0444\u0430\u0439\u043B\u0435 \u043C\u0435\u0442\u043E\u0434\u0441\u0436\u0430\u0442\u0438\u044Fzip \u043C\u0435\u0442\u043E\u0434\u0448\u0438\u0444\u0440\u043E\u0432\u0430\u043D\u0438\u044Fzip \u0440\u0435\u0436\u0438\u043C\u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043F\u0443\u0442\u0435\u0439\u0444\u0430\u0439\u043B\u043E\u0432zip \u0440\u0435\u0436\u0438\u043C\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u043F\u043E\u0434\u043A\u0430\u0442\u0430\u043B\u043E\u0433\u043E\u0432zip \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u043F\u0443\u0442\u0435\u0439zip \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0441\u0436\u0430\u0442\u0438\u044Fzip ",Ce="\u0437\u0432\u0443\u043A\u043E\u0432\u043E\u0435\u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0445\u043E\u0434\u0430\u043A\u0441\u0442\u0440\u043E\u043A\u0435 \u043F\u043E\u0437\u0438\u0446\u0438\u044F\u0432\u043F\u043E\u0442\u043E\u043A\u0435 \u043F\u043E\u0440\u044F\u0434\u043E\u043A\u0431\u0430\u0439\u0442\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0435\u0436\u0438\u043C\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u043E\u0439\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0445\u043F\u043E\u043A\u0443\u043F\u043E\u043A \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u0444\u043E\u043D\u043E\u0432\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0442\u0438\u043F\u043F\u043E\u0434\u043F\u0438\u0441\u0447\u0438\u043A\u0430\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0445\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0437\u0430\u0449\u0438\u0449\u0435\u043D\u043D\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044Fftp ",ye="\u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043E\u0440\u044F\u0434\u043A\u0430\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u043F\u0435\u0440\u0438\u043E\u0434\u0430\u043C\u0438\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u043E\u0439\u0442\u043E\u0447\u043A\u0438\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043E\u0431\u044A\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0439\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u0442\u0438\u043F\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F\u0441\u0445\u0435\u043C\u044B\u0437\u0430\u043F\u0440\u043E\u0441\u0430 ",Ae="http\u043C\u0435\u0442\u043E\u0434 \u0430\u0432\u0442\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0430\u0432\u0442\u043E\u043F\u0440\u0435\u0444\u0438\u043A\u0441\u043D\u043E\u043C\u0435\u0440\u0430\u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0433\u043E\u044F\u0437\u044B\u043A\u0430 \u0432\u0438\u0434\u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0432\u0438\u0434\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u044C\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0439\u043F\u0440\u0438\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435\u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0435\u0439 \u0438\u043D\u0434\u0435\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0431\u0430\u0437\u044B\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0431\u044B\u0441\u0442\u0440\u043E\u0433\u043E\u0432\u044B\u0431\u043E\u0440\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u0434\u0447\u0438\u043D\u0435\u043D\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0430\u0437\u0434\u0435\u043B\u044F\u0435\u043C\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u043E\u0435\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0432\u0438\u0434\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0432\u0438\u0434\u0430\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A\u0438 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0437\u0430\u0434\u0430\u0447\u0438 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043B\u0430\u043D\u0430\u043E\u0431\u043C\u0435\u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0435\u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u0447\u0435\u0442\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435\u0433\u0440\u0430\u043D\u0438\u0446\u044B\u043F\u0440\u0438\u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u043D\u043E\u043C\u0435\u0440\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u043D\u043E\u043C\u0435\u0440\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u043F\u0435\u0440\u0438\u043E\u0434\u0438\u0447\u043D\u043E\u0441\u0442\u044C\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0441\u0432\u0435\u0434\u0435\u043D\u0438\u0439 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043C\u044B\u0445\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u043F\u043E\u0438\u0441\u043A\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u043F\u0440\u0438\u043D\u0430\u0434\u043B\u0435\u0436\u043D\u043E\u0441\u0442\u044C\u043E\u0431\u044A\u0435\u043A\u0442\u0430 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u043E\u0431\u0449\u0435\u0433\u043E\u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0430\u0432\u0442\u043E\u043D\u0443\u043C\u0435\u0440\u0430\u0446\u0438\u0438\u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0438\u0441\u0438\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u044B\u0445\u0432\u044B\u0437\u043E\u0432\u043E\u0432\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B\u0438\u0432\u043D\u0435\u0448\u043D\u0438\u0445\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442 \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0433\u043E\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u044B\u0431\u043E\u0440\u0430\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u0438 \u0440\u0435\u0436\u0438\u043C\u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u0438\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0440\u0435\u0436\u0438\u043C\u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u043E\u0439\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0445\u0430\u0440\u0430\u043A\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043A \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u043F\u043B\u0430\u043D\u0430\u0441\u0447\u0435\u0442\u043E\u0432 \u0441\u0435\u0440\u0438\u0438\u043A\u043E\u0434\u043E\u0432\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043F\u043E\u0438\u0441\u043A\u0430\u0441\u0442\u0440\u043E\u043A\u0438\u043F\u0440\u0438\u0432\u0432\u043E\u0434\u0435\u043F\u043E\u0441\u0442\u0440\u043E\u043A\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0442\u0438\u043F\u0434\u0430\u043D\u043D\u044B\u0445\u0442\u0430\u0431\u043B\u0438\u0446\u044B\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0438\u043F\u043A\u043E\u0434\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0438\u0434\u043E\u0432\u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0442\u0438\u043F\u043A\u043E\u0434\u0430\u0441\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0442\u0438\u043F\u043C\u0430\u043A\u0435\u0442\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0431\u0438\u0437\u043D\u0435\u0441\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u0442\u0438\u043F\u043D\u043E\u043C\u0435\u0440\u0430\u0437\u0430\u0434\u0430\u0447\u0438 \u0442\u0438\u043F\u0444\u043E\u0440\u043C\u044B \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0435\u0434\u0432\u0438\u0436\u0435\u043D\u0438\u0439 ",Fe="\u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C\u043F\u0440\u043E\u0431\u043B\u0435\u043C\u044B\u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043C\u0430\u0441\u0448\u0442\u0430\u0431\u0430\u0444\u043E\u0440\u043C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0433\u043E\u0448\u0440\u0438\u0444\u0442\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0439\u0434\u0430\u0442\u044B\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u0438\u0434\u0433\u0440\u0430\u043D\u0438\u0446\u044B \u0432\u0438\u0434\u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0438 \u0432\u0438\u0434\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0432\u0438\u0434\u0440\u0430\u043C\u043A\u0438 \u0432\u0438\u0434\u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0446\u0432\u0435\u0442\u0430 \u0432\u0438\u0434\u0447\u0438\u0441\u043B\u043E\u0432\u043E\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432\u0438\u0434\u0448\u0440\u0438\u0444\u0442\u0430 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0430\u044F\u0434\u043B\u0438\u043D\u0430 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u044B\u0439\u0437\u043D\u0430\u043A \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435byteordermark \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0439\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0430 \u043A\u043E\u0434\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u0430\u0434\u0438\u0430\u043B\u043E\u0433\u0430 \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430xbase \u043A\u043E\u0434\u0438\u0440\u043E\u0432\u043A\u0430\u0442\u0435\u043A\u0441\u0442\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u043E\u0438\u0441\u043A\u0430 \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0435\u0434\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u0438\u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043F\u0430\u043D\u0435\u043B\u0438\u0440\u0430\u0437\u0434\u0435\u043B\u043E\u0432 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u0434\u0438\u0430\u043B\u043E\u0433\u0430\u0432\u043E\u043F\u0440\u043E\u0441 \u0440\u0435\u0436\u0438\u043C\u0437\u0430\u043F\u0443\u0441\u043A\u0430\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u043A\u0440\u0443\u0433\u043B\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0444\u043E\u0440\u043C\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0440\u0435\u0436\u0438\u043C\u043F\u043E\u043B\u043D\u043E\u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E\u043F\u043E\u0438\u0441\u043A\u0430 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C\u043A\u043B\u0438\u0435\u043D\u0442\u0441\u043A\u043E\u0433\u043E\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u043F\u043E\u0441\u043E\u0431\u0432\u044B\u0431\u043E\u0440\u0430\u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0430windows \u0441\u043F\u043E\u0441\u043E\u0431\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0442\u0440\u043E\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0442\u0438\u043F\u0432\u043D\u0435\u0448\u043D\u0435\u0439\u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u044B \u0442\u0438\u043F\u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u044B \u0442\u0438\u043F\u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F\u043A\u043B\u0430\u0432\u0438\u0448\u0438enter \u0442\u0438\u043F\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438\u043E\u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0438\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438\u0431\u0430\u0437\u044B\u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0440\u043E\u0432\u0435\u043D\u044C\u0438\u0437\u043E\u043B\u044F\u0446\u0438\u0438\u0442\u0440\u0430\u043D\u0437\u0430\u043A\u0446\u0438\u0439 \u0445\u0435\u0448\u0444\u0443\u043D\u043A\u0446\u0438\u044F \u0447\u0430\u0441\u0442\u0438\u0434\u0430\u0442\u044B",Qe=N+B+j+z+W+X+Q+K+Y+Z+J+ee+re+me+fe+le+Ve+Ze+Ce+ye+Ae+Fe,ce="com\u043E\u0431\u044A\u0435\u043A\u0442 ftp\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 http\u0437\u0430\u043F\u0440\u043E\u0441 http\u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0442\u0432\u0435\u0442 http\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 ws\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F ws\u043F\u0440\u043E\u043A\u0441\u0438 xbase \u0430\u043D\u0430\u043B\u0438\u0437\u0434\u0430\u043D\u043D\u044B\u0445 \u0430\u043D\u043D\u043E\u0442\u0430\u0446\u0438\u044Fxs \u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u0431\u0443\u0444\u0435\u0440\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435xs \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0445\u0447\u0438\u0441\u0435\u043B \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0430\u044F\u0441\u0445\u0435\u043C\u0430 \u0433\u0435\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0438\u0435\u043A\u043E\u043E\u0440\u0434\u0438\u043D\u0430\u0442\u044B \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0430\u044F\u0441\u0445\u0435\u043C\u0430 \u0433\u0440\u0443\u043F\u043F\u0430\u043C\u043E\u0434\u0435\u043B\u0438xs \u0434\u0430\u043D\u043D\u044B\u0435\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0435\u0434\u0430\u043D\u043D\u044B\u0435 \u0434\u0435\u043D\u0434\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430\u0433\u0430\u043D\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0444\u0430\u0439\u043B\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0446\u0432\u0435\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0432\u044B\u0431\u043E\u0440\u0430\u0448\u0440\u0438\u0444\u0442\u0430 \u0434\u0438\u0430\u043B\u043E\u0433\u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u044F\u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0434\u0438\u0430\u043B\u043E\u0433\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E\u0433\u043E\u043F\u0435\u0440\u0438\u043E\u0434\u0430 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442dom \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442html \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044Fxs \u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u043C\u043E\u0435\u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u043F\u0438\u0441\u044Cdom \u0437\u0430\u043F\u0438\u0441\u044Cfastinfoset \u0437\u0430\u043F\u0438\u0441\u044Chtml \u0437\u0430\u043F\u0438\u0441\u044Cjson \u0437\u0430\u043F\u0438\u0441\u044Cxml \u0437\u0430\u043F\u0438\u0441\u044Czip\u0444\u0430\u0439\u043B\u0430 \u0437\u0430\u043F\u0438\u0441\u044C\u0434\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u044C\u0442\u0435\u043A\u0441\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C\u0443\u0437\u043B\u043E\u0432dom \u0437\u0430\u043F\u0440\u043E\u0441 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u043D\u043E\u0435\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435openssl \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043F\u043E\u043B\u0435\u0439\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430 \u0438\u043C\u043F\u043E\u0440\u0442xs \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u0430 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0435\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u043E\u0447\u0442\u043E\u0432\u044B\u0439\u043F\u0440\u043E\u0444\u0438\u043B\u044C \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u043F\u0440\u043E\u043A\u0441\u0438 \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F\u0434\u043B\u044F\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044Fxs \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0442\u0435\u0440\u0430\u0442\u043E\u0440\u0443\u0437\u043B\u043E\u0432dom \u043A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0434\u0430\u0442\u044B \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0434\u0432\u043E\u0438\u0447\u043D\u044B\u0445\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0441\u0442\u0440\u043E\u043A\u0438 \u043A\u0432\u0430\u043B\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440\u044B\u0447\u0438\u0441\u043B\u0430 \u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u0449\u0438\u043A\u043C\u0430\u043A\u0435\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u0449\u0438\u043A\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u043C\u0430\u043A\u0435\u0442\u0430\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u043D\u0441\u0442\u0440\u0443\u043A\u0442\u043E\u0440\u0444\u043E\u0440\u043C\u0430\u0442\u043D\u043E\u0439\u0441\u0442\u0440\u043E\u043A\u0438 \u043B\u0438\u043D\u0438\u044F \u043C\u0430\u043A\u0435\u0442\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u043A\u0435\u0442\u043E\u0431\u043B\u0430\u0441\u0442\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u043A\u0435\u0442\u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043C\u0430\u0441\u043A\u0430xs \u043C\u0435\u043D\u0435\u0434\u0436\u0435\u0440\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u043D\u0430\u0431\u043E\u0440\u0441\u0445\u0435\u043Cxml \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438\u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438json \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u043A\u0430\u0440\u0442\u0438\u043D\u043E\u043A \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u0431\u0445\u043E\u0434\u0434\u0435\u0440\u0435\u0432\u0430dom \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430xs \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u043D\u043E\u0442\u0430\u0446\u0438\u0438xs \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0435\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430xs \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0434\u043E\u0441\u0442\u0443\u043F\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F\u0441\u043E\u0431\u044B\u0442\u0438\u044F\u043E\u0442\u043A\u0430\u0437\u0432\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u0436\u0443\u0440\u043D\u0430\u043B\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438\u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043E\u0432\u043A\u0438\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043F\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0435\u043C\u043E\u0433\u043E\u0444\u0430\u0439\u043B\u0430 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0442\u0438\u043F\u043E\u0432 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043E\u0432xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0433\u0440\u0443\u043F\u043F\u044B\u043C\u043E\u0434\u0435\u043B\u0438xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u044F\u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u043E\u0441\u0442\u0438xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u043F\u0440\u043E\u0441\u0442\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0441\u043E\u0441\u0442\u0430\u0432\u043D\u043E\u0433\u043E\u0442\u0438\u043F\u0430xs \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435\u0442\u0438\u043F\u0430\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430dom \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044Fxpathxs \u043E\u0442\u0431\u043E\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u043A\u0435\u0442\u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0432\u044B\u0431\u043E\u0440\u0430 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0437\u0430\u043F\u0438\u0441\u0438json \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0437\u0430\u043F\u0438\u0441\u0438xml \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B\u0447\u0442\u0435\u043D\u0438\u044Fxml \u043F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435xs \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0449\u0438\u043A \u043F\u043E\u043B\u0435\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043B\u0435\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044Cdom \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u043E\u0442\u0447\u0435\u0442\u0430 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u043E\u0442\u0447\u0435\u0442\u0430\u0430\u043D\u0430\u043B\u0438\u0437\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u0441\u0442\u0440\u043E\u0438\u0442\u0435\u043B\u044C\u0441\u0445\u0435\u043Cxml \u043F\u043E\u0442\u043E\u043A \u043F\u043E\u0442\u043E\u043A\u0432\u043F\u0430\u043C\u044F\u0442\u0438 \u043F\u043E\u0447\u0442\u0430 \u043F\u043E\u0447\u0442\u043E\u0432\u043E\u0435\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435xsl \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043A\u043A\u0430\u043D\u043E\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u043C\u0443xml \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u0432\u044B\u0432\u043E\u0434\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u043A\u043E\u043B\u043B\u0435\u043A\u0446\u0438\u044E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u0432\u044B\u0432\u043E\u0434\u0430\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445\u0432\u0442\u0430\u0431\u043B\u0438\u0447\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u043E\u0440\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0440\u0430\u0437\u044B\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0438\u043C\u0435\u043Ddom \u0440\u0430\u043C\u043A\u0430 \u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u0440\u0435\u0433\u043B\u0430\u043C\u0435\u043D\u0442\u043D\u043E\u0433\u043E\u0437\u0430\u0434\u0430\u043D\u0438\u044F \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u043E\u0435\u0438\u043C\u044Fxml \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0447\u0442\u0435\u043D\u0438\u044F\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0432\u043E\u0434\u043D\u0430\u044F\u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0441\u0432\u044F\u0437\u044C\u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u0432\u044B\u0431\u043E\u0440\u0430 \u0441\u0432\u044F\u0437\u044C\u043F\u043E\u0442\u0438\u043F\u0443 \u0441\u0432\u044F\u0437\u044C\u043F\u043E\u0442\u0438\u043F\u0443\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0435\u0440\u0438\u0430\u043B\u0438\u0437\u0430\u0442\u043E\u0440xdto \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u043B\u0438\u0435\u043D\u0442\u0430windows \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u043B\u0438\u0435\u043D\u0442\u0430\u0444\u0430\u0439\u043B \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043A\u0440\u0438\u043F\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u0438 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u044B\u0443\u0434\u043E\u0441\u0442\u043E\u0432\u0435\u0440\u044F\u044E\u0449\u0438\u0445\u0446\u0435\u043D\u0442\u0440\u043E\u0432windows \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u044B\u0443\u0434\u043E\u0441\u0442\u043E\u0432\u0435\u0440\u044F\u044E\u0449\u0438\u0445\u0446\u0435\u043D\u0442\u0440\u043E\u0432\u0444\u0430\u0439\u043B \u0441\u0436\u0430\u0442\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0430\u044F\u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044E \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435\u043A\u043B\u0430\u0432\u0438\u0448 \u0441\u0440\u0430\u0432\u043D\u0435\u043D\u0438\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u0430\u044F\u0434\u0430\u0442\u0430\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0439\u043F\u0435\u0440\u0438\u043E\u0434 \u0441\u0445\u0435\u043C\u0430xml \u0441\u0445\u0435\u043C\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 \u0442\u0430\u0431\u043B\u0438\u0447\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043C\u043E\u0435\u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0442\u0438\u043F\u0434\u0430\u043D\u043D\u044B\u0445xml \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0439\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0444\u0430\u0431\u0440\u0438\u043A\u0430xdto \u0444\u0430\u0439\u043B \u0444\u0430\u0439\u043B\u043E\u0432\u044B\u0439\u043F\u043E\u0442\u043E\u043A \u0444\u0430\u0441\u0435\u0442\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0440\u0430\u0437\u0440\u044F\u0434\u043E\u0432\u0434\u0440\u043E\u0431\u043D\u043E\u0439\u0447\u0430\u0441\u0442\u0438xs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0439\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E\u0438\u0441\u043A\u043B\u044E\u0447\u0430\u044E\u0449\u0435\u0433\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0439\u0434\u043B\u0438\u043D\u044Bxs \u0444\u0430\u0441\u0435\u0442\u043E\u0431\u0440\u0430\u0437\u0446\u0430xs \u0444\u0430\u0441\u0435\u0442\u043E\u0431\u0449\u0435\u0433\u043E\u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0440\u0430\u0437\u0440\u044F\u0434\u043E\u0432xs \u0444\u0430\u0441\u0435\u0442\u043F\u0435\u0440\u0435\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044Fxs \u0444\u0430\u0441\u0435\u0442\u043F\u0440\u043E\u0431\u0435\u043B\u044C\u043D\u044B\u0445\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432xs \u0444\u0438\u043B\u044C\u0442\u0440\u0443\u0437\u043B\u043E\u0432dom \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F\u0441\u0442\u0440\u043E\u043A\u0430 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442xs \u0445\u0435\u0448\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0446\u0432\u0435\u0442 \u0447\u0442\u0435\u043D\u0438\u0435fastinfoset \u0447\u0442\u0435\u043D\u0438\u0435html \u0447\u0442\u0435\u043D\u0438\u0435json \u0447\u0442\u0435\u043D\u0438\u0435xml \u0447\u0442\u0435\u043D\u0438\u0435zip\u0444\u0430\u0439\u043B\u0430 \u0447\u0442\u0435\u043D\u0438\u0435\u0434\u0430\u043D\u043D\u044B\u0445 \u0447\u0442\u0435\u043D\u0438\u0435\u0442\u0435\u043A\u0441\u0442\u0430 \u0447\u0442\u0435\u043D\u0438\u0435\u0443\u0437\u043B\u043E\u0432dom \u0448\u0440\u0438\u0444\u0442 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0430\u043A\u043E\u043C\u043F\u043E\u043D\u043E\u0432\u043A\u0438\u0434\u0430\u043D\u043D\u044B\u0445 ",Ge="comsafearray \u0434\u0435\u0440\u0435\u0432\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u043C\u0430\u0441\u0441\u0438\u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441\u043F\u0438\u0441\u043E\u043A\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430 \u0442\u0430\u0431\u043B\u0438\u0446\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0439 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F\u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0430 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0444\u0438\u043A\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u043C\u0430\u0441\u0441\u0438\u0432 ",Pe=ce+Ge,pe="null \u0438\u0441\u0442\u0438\u043D\u0430 \u043B\u043E\u0436\u044C \u043D\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E",Se=e.inherit(e.NUMBER_MODE),_e={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Ne={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},Le=e.inherit(e.C_LINE_COMMENT_MODE),Ke={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:i,"meta-keyword":c+T},contains:[Le]},bt={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},yt={className:"function",variants:[{begin:"\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430|\u0444\u0443\u043D\u043A\u0446\u0438\u044F",end:"\\)",keywords:"\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0430 \u0444\u0443\u043D\u043A\u0446\u0438\u044F"},{begin:"\u043A\u043E\u043D\u0435\u0446\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B|\u043A\u043E\u043D\u0435\u0446\u0444\u0443\u043D\u043A\u0446\u0438\u0438",keywords:"\u043A\u043E\u043D\u0435\u0446\u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u044B \u043A\u043E\u043D\u0435\u0446\u0444\u0443\u043D\u043A\u0446\u0438\u0438"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:i,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:i,keyword:"\u0437\u043D\u0430\u0447",literal:pe},contains:[Se,_e,Ne]},Le]},e.inherit(e.TITLE_MODE,{begin:i})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:i,keyword:c,built_in:O,class:Qe,type:Pe,literal:pe},contains:[Ke,yt,Le,bt,Se,_e,Ne]}}U.exports=C},68532:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l={ruleDeclaration:/^[a-zA-Z][a-zA-Z0-9-]*/,unexpectedChars:/[!@#$^&',?+~`|:]/},c=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],v=a.COMMENT(/;/,/$/),_={className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},T={className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},A={className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},R={className:"symbol",begin:/%[si]/},P={className:"attribute",begin:e(l.ruleDeclaration,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:l.unexpectedChars,keywords:c,contains:[P,v,_,T,A,R,a.QUOTE_STRING_MODE,a.NUMBER_MODE]}}U.exports=i},88024:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(...l){return l.map(v=>C(v)).join("")}function i(...l){return"("+l.map(v=>C(v)).join("|")+")"}function a(l){const c=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:e(/"/,i(...c)),end:/"/,keywords:c,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}U.exports=a},17832:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l=/[a-zA-Z_$][a-zA-Z0-9_$]*/,c=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,v={className:"rest_arg",begin:/[.]{3}/,end:l,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.C_NUMBER_MODE,{className:"class",beginKeywords:"package",end:/\{/,contains:[a.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},a.TITLE_MODE]},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{"meta-keyword":"import include"}},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[a.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,v]},{begin:e(/:\s*/,c)}]},a.METHOD_GUARD],illegal:/#/}}U.exports=i},79248:U=>{function C(e){const i="\\d(_|\\d)*",a="[eE][-+]?"+i,l=i+"(\\."+i+")?("+a+")?",c="\\w+",_="\\b("+(i+"#"+c+"(\\."+c+")?#("+a+")?")+"|"+l+")",T="[A-Za-z](_?[A-Za-z0-9.])*",A=`[]\\{\\}%#'"`,R=e.COMMENT("--","$"),P={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:A,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:T,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[R,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:_,relevance:0},{className:"symbol",begin:"'"+T},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:A},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[R,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:A},P,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:A}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:A},P]}}U.exports=C},39256:U=>{function C(e){var i={className:"built_in",begin:"\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)"},a={className:"symbol",begin:"[a-zA-Z0-9_]+@"},l={className:"keyword",begin:"<",end:">",contains:[i,a]};return i.contains=[l],a.contains=[l],{name:"AngelScript",aliases:["asc"],keywords:"for in|0 break continue while do|0 return if else case switch namespace is cast or and xor not get|0 in inout|10 out override set|0 private public const default|0 final shared external mixin|10 enum typedef funcdef this super import from interface abstract|0 try catch protected explicit property",illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},i,a,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}U.exports=C},66200:U=>{function C(e){const i={className:"number",begin:/[$%]\d+/},a={className:"number",begin:/\d+/},l={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},c={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[l,c,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",i]},l,a,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}U.exports=C},29352:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(...l){return l.map(v=>C(v)).join("")}function i(...l){return"("+l.map(v=>C(v)).join("|")+")"}function a(l){const c=l.inherit(l.QUOTE_STRING_MODE,{illegal:null}),v={className:"params",begin:/\(/,end:/\)/,contains:["self",l.C_NUMBER_MODE,c]},_=l.COMMENT(/--/,/$/),T=l.COMMENT(/\(\*/,/\*\)/,{contains:["self",_]}),A=[_,T,l.HASH_COMMENT_MODE],R=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],P=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[c,l.C_NUMBER_MODE,{className:"built_in",begin:e(/\b/,i(...P),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:e(/\b/,i(...R),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[l.UNDERSCORE_TITLE_MODE,v]},...A],illegal:/\/\/|->|=>|\[\[/}}U.exports=a},52812:U=>{function C(e){const i="[A-Za-z_][0-9A-Za-z_]*",a={keyword:"if for while var new function do return void else break",literal:"BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined",built_in:"Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance Weekday When Within Year "},l={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},c={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},v={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},_={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,v]};v.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,c,e.REGEXP_MODE];const T=v.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",keywords:a,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,c,{begin:/[{,]\s*/,relevance:0,contains:[{begin:i+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:i,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+i+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:i},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:T}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:i}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:T}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}U.exports=C},68516:U=>{function C(v){return v?typeof v=="string"?v:v.source:null}function e(v){return a("(?=",v,")")}function i(v){return a("(",v,")?")}function a(...v){return v.map(T=>C(T)).join("")}function l(v){const _=v.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),T="decltype\\(auto\\)",A="[a-zA-Z_]\\w*::",R="<[^<>]+>",P="("+T+"|"+i(A)+"[a-zA-Z_]\\w*"+i(R)+")",M={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},O="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",N={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[v.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+O+"|.)",end:"'",illegal:"."},v.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},B={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},j={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},v.inherit(N,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},_,v.C_BLOCK_COMMENT_MODE]},z={className:"title",begin:i(A)+v.IDENT_RE,relevance:0},W=i(A)+v.IDENT_RE+"\\s*\\(",Q={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},K={className:"function.dispatch",relevance:0,keywords:Q,begin:a(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,v.IDENT_RE,e(/\s*\(/))},Y=[K,j,M,_,v.C_BLOCK_COMMENT_MODE,B,N],Z={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Q,contains:Y.concat([{begin:/\(/,end:/\)/,keywords:Q,contains:Y.concat(["self"]),relevance:0}]),relevance:0},J={className:"function",begin:"("+P+"[\\*&\\s]+)+"+W,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Q,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:T,keywords:Q,relevance:0},{begin:W,returnBegin:!0,contains:[z],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[N,B]},{className:"params",begin:/\(/,end:/\)/,keywords:Q,relevance:0,contains:[_,v.C_BLOCK_COMMENT_MODE,N,B,M,{begin:/\(/,end:/\)/,keywords:Q,relevance:0,contains:["self",_,v.C_BLOCK_COMMENT_MODE,N,B,M]}]},M,_,v.C_BLOCK_COMMENT_MODE,j]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:Q,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Z,J,K,Y,[j,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:Q,contains:["self",M]},{begin:v.IDENT_RE+"::",keywords:Q},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},v.TITLE_MODE]}]),exports:{preprocessor:j,strings:N,keywords:Q}}}function c(v){const _={keyword:"boolean byte word String",built_in:"KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD ",_:"setup loop runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",literal:"DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW"},T=l(v),A=T.keywords;return A.keyword+=" "+_.keyword,A.literal+=" "+_.literal,A.built_in+=" "+_.built_in,A._+=" "+_._,T.name="Arduino",T.aliases=["ino"],T.supersetOf="cpp",T}U.exports=c},58336:U=>{function C(e){const i={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},i,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}U.exports=C},26340:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l={begin:"^'{3,}[ \\t]*$",relevance:10},c=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],v=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:e(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],_=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:e(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],T={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},A={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[a.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),a.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ 	].+?([ 	]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},A,T,...c,...v,..._,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},l,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}U.exports=i},36596:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance",c="get set args call";return{name:"AspectJ",keywords:l,illegal:/<\/|#/,contains:[a.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},a.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:l+" "+c,excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},a.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:e(a.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[a.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:l,illegal:/["\[\]]/,contains:[{begin:e(a.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:l+" "+c,relevance:0},a.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:l,excludeEnd:!0,contains:[{begin:e(a.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[a.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,a.C_NUMBER_MODE,a.C_BLOCK_COMMENT_MODE]},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]},a.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}U.exports=i},75021:U=>{function C(e){const i={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[i,e.inherit(e.QUOTE_STRING_MODE,{contains:[i]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}U.exports=C},23548:U=>{function C(e){const i="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",a=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],l="True False And Null Not Or Default",c="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",v={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},_={begin:"\\$[A-z0-9_]+"},T={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},A={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},R={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":a},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[T,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},T,v]},P={className:"symbol",begin:"@[A-z0-9_]+"},M={className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[_,T,A]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:i,built_in:c,literal:l},contains:[v,_,T,A,R,P,M]}}U.exports=C},19804:U=>{function C(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}U.exports=C},63420:U=>{function C(e){const i={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:a},contains:[i,l,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}U.exports=C},52292:U=>{function C(e){return{name:"X++",aliases:["x++"],keywords:{keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]}]}}U.exports=C},45727:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l={},c={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[l]}]};Object.assign(l,{className:"variable",variants:[{begin:e(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},c]});const v={className:"subst",begin:/\$\(/,end:/\)/,contains:[a.BACKSLASH_ESCAPE]},_={begin:/<<-?\s*(?=\w+)/,starts:{contains:[a.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},T={className:"string",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,l,v]};v.contains.push(T);const A={className:"",begin:/\\"/},R={className:"string",begin:/'/,end:/'/},P={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},a.NUMBER_MODE,l]},M=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],O=a.SHEBANG({binary:`(${M.join("|")})`,relevance:10}),N={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[a.inherit(a.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[O,a.SHEBANG(),N,P,a.HASH_COMMENT_MODE,_,T,A,R,l]}}U.exports=i},84320:U=>{function C(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}U.exports=C},51556:U=>{function C(e){return{name:"Backus\u2013Naur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}U.exports=C},77240:U=>{function C(e){const i={className:"literal",begin:/[+-]/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(`[^\\[\\]\\.,\\+\\-<> \r
]`,`[\\[\\]\\.,\\+\\-<> \r
]`,{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[i]},i]}}U.exports=C},17760:U=>{function C(v){return v?typeof v=="string"?v:v.source:null}function e(v){return a("(?=",v,")")}function i(v){return a("(",v,")?")}function a(...v){return v.map(T=>C(T)).join("")}function l(v){const _=v.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),T="decltype\\(auto\\)",A="[a-zA-Z_]\\w*::",R="<[^<>]+>",P="("+T+"|"+i(A)+"[a-zA-Z_]\\w*"+i(R)+")",M={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},O="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",N={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[v.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+O+"|.)",end:"'",illegal:"."},v.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},B={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},j={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},v.inherit(N,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},_,v.C_BLOCK_COMMENT_MODE]},z={className:"title",begin:i(A)+v.IDENT_RE,relevance:0},W=i(A)+v.IDENT_RE+"\\s*\\(",Q={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},K={className:"function.dispatch",relevance:0,keywords:Q,begin:a(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,v.IDENT_RE,e(/\s*\(/))},Y=[K,j,M,_,v.C_BLOCK_COMMENT_MODE,B,N],Z={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Q,contains:Y.concat([{begin:/\(/,end:/\)/,keywords:Q,contains:Y.concat(["self"]),relevance:0}]),relevance:0},J={className:"function",begin:"("+P+"[\\*&\\s]+)+"+W,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Q,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:T,keywords:Q,relevance:0},{begin:W,returnBegin:!0,contains:[z],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[N,B]},{className:"params",begin:/\(/,end:/\)/,keywords:Q,relevance:0,contains:[_,v.C_BLOCK_COMMENT_MODE,N,B,M,{begin:/\(/,end:/\)/,keywords:Q,relevance:0,contains:["self",_,v.C_BLOCK_COMMENT_MODE,N,B,M]}]},M,_,v.C_BLOCK_COMMENT_MODE,j]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:Q,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Z,J,K,Y,[j,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:Q,contains:["self",M]},{begin:v.IDENT_RE+"::",keywords:Q},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},v.TITLE_MODE]}]),exports:{preprocessor:j,strings:N,keywords:Q}}}function c(v){const _=l(v),T=["c","h"],A=["cc","c++","h++","hpp","hh","hxx","cxx"];return _.disableAutodetect=!0,_.aliases=[],v.getLanguage("c")||_.aliases.push(...T),v.getLanguage("cpp")||_.aliases.push(...A),_}U.exports=c},65544:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(l){return i("(",l,")?")}function i(...l){return l.map(v=>C(v)).join("")}function a(l){const c=l.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),v="decltype\\(auto\\)",_="[a-zA-Z_]\\w*::",T="<[^<>]+>",A="("+v+"|"+e(_)+"[a-zA-Z_]\\w*"+e(T)+")",R={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},P="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",M={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[l.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+P+"|.)",end:"'",illegal:"."},l.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},O={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},N={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},l.inherit(M,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},c,l.C_BLOCK_COMMENT_MODE]},B={className:"title",begin:e(_)+l.IDENT_RE,relevance:0},j=e(_)+l.IDENT_RE+"\\s*\\(",z={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},W=[N,R,c,l.C_BLOCK_COMMENT_MODE,O,M],X={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:z,contains:W.concat([{begin:/\(/,end:/\)/,keywords:z,contains:W.concat(["self"]),relevance:0}]),relevance:0},Q={className:"function",begin:"("+A+"[\\*&\\s]+)+"+j,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:z,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:v,keywords:z,relevance:0},{begin:j,returnBegin:!0,contains:[B],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:z,relevance:0,contains:[c,l.C_BLOCK_COMMENT_MODE,M,O,R,{begin:/\(/,end:/\)/,keywords:z,relevance:0,contains:["self",c,l.C_BLOCK_COMMENT_MODE,M,O,R]}]},R,c,l.C_BLOCK_COMMENT_MODE,N]};return{name:"C",aliases:["h"],keywords:z,disableAutodetect:!0,illegal:"</",contains:[].concat(X,Q,W,[N,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:z,contains:["self",R]},{begin:l.IDENT_RE+"::",keywords:z},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},l.TITLE_MODE]}]),exports:{preprocessor:N,strings:M,keywords:z}}}U.exports=a},1208:U=>{function C(e){const i="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",a="false true",l=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],c={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},v={className:"string",begin:/(#\d+)+/},_={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},T={className:"string",begin:'"',end:'"'},A={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:[c,v]}].concat(l)},R={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[e.TITLE_MODE,A]};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:i,literal:a},illegal:/\/\*/,contains:[c,v,_,T,e.NUMBER_MODE,R,A]}}U.exports=C},25224:U=>{function C(e){return{name:"Cap\u2019n Proto",aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]}]}}U.exports=C},55380:U=>{function C(e){const i="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",a="shared abstract formal default actual variable late native deprecated final sealed annotation suppressWarnings small",l="doc by license see throws tagged",c={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:i,relevance:10},v=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[c]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return c.contains=v,{name:"Ceylon",keywords:{keyword:i+" "+a,meta:l},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(v)}}U.exports=C},15296:U=>{function C(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}U.exports=C},97608:U=>{function C(e){return{name:"Clojure REPL",contains:[{className:"meta",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}U.exports=C},59672:U=>{function C(e){const i="a-zA-Z_\\-!.?+*=<>&#'",a="["+i+"]["+i+"0-9/;:]*",l="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",c={$pattern:a,"builtin-name":l+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},v="[-+]?\\d+(\\.\\d+)?",_={begin:a,relevance:0},T={className:"number",begin:v,relevance:0},A=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),R=e.COMMENT(";","$",{relevance:0}),P={className:"literal",begin:/\b(true|false|nil)\b/},M={begin:"[\\[\\{]",end:"[\\]\\}]"},O={className:"comment",begin:"\\^"+a},N=e.COMMENT("\\^\\{","\\}"),B={className:"symbol",begin:"[:]{1,2}"+a},j={begin:"\\(",end:"\\)"},z={endsWithParent:!0,relevance:0},W={keywords:c,className:"name",begin:a,relevance:0,starts:z},X=[j,A,O,N,R,B,M,T,P,_],Q={beginKeywords:l,lexemes:a,end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:a,relevance:0,excludeEnd:!0,endsParent:!0}].concat(X)};return j.contains=[e.COMMENT("comment",""),Q,W,z],z.contains=X,M.contains=X,N.contains=[M],{name:"Clojure",aliases:["clj"],illegal:/\S/,contains:[j,A,O,N,R,B,M,T,P]}}U.exports=C},83800:U=>{function C(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}U.exports=C},54860:U=>{const C=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],i=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],a=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],l=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","module","global"],v=[].concat(l,c,i,a);function _(T){const A=["npm","print"],R=["yes","no","on","off"],P=["then","unless","until","loop","by","when","and","or","is","isnt","not"],M=["var","const","let","function","static"],O=K=>Y=>!K.includes(Y),N={keyword:C.concat(P).filter(O(M)),literal:e.concat(R),built_in:v.concat(A)},B="[A-Za-z$_][0-9A-Za-z$_]*",j={className:"subst",begin:/#\{/,end:/\}/,keywords:N},z=[T.BINARY_NUMBER_MODE,T.inherit(T.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[T.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[T.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[T.BACKSLASH_ESCAPE,j]},{begin:/"/,end:/"/,contains:[T.BACKSLASH_ESCAPE,j]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[j,T.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+B},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];j.contains=z;const W=T.inherit(T.TITLE_MODE,{begin:B}),X="(\\(.*\\)\\s*)?\\B[-=]>",Q={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:N,contains:["self"].concat(z)}]};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:N,illegal:/\/\*/,contains:z.concat([T.COMMENT("###","###"),T.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+B+"\\s*=\\s*"+X,end:"[-=]>",returnBegin:!0,contains:[W,Q]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:X,end:"[-=]>",returnBegin:!0,contains:[Q]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[W]},W]},{begin:B+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}U.exports=_},46280:U=>{function C(e){return{name:"Coq",keywords:{keyword:"_|0 as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies Dependent Derive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}U.exports=C},8580:U=>{function C(e){return{name:"Cach\xE9 Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}U.exports=C},73332:U=>{function C(c){return c?typeof c=="string"?c:c.source:null}function e(c){return a("(?=",c,")")}function i(c){return a("(",c,")?")}function a(...c){return c.map(_=>C(_)).join("")}function l(c){const v=c.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),_="decltype\\(auto\\)",T="[a-zA-Z_]\\w*::",A="<[^<>]+>",R="("+_+"|"+i(T)+"[a-zA-Z_]\\w*"+i(A)+")",P={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},M="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",O={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[c.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+M+"|.)",end:"'",illegal:"."},c.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},N={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},B={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},c.inherit(O,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},v,c.C_BLOCK_COMMENT_MODE]},j={className:"title",begin:i(T)+c.IDENT_RE,relevance:0},z=i(T)+c.IDENT_RE+"\\s*\\(",X={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},Q={className:"function.dispatch",relevance:0,keywords:X,begin:a(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,c.IDENT_RE,e(/\s*\(/))},K=[Q,B,P,v,c.C_BLOCK_COMMENT_MODE,N,O],Y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:X,contains:K.concat([{begin:/\(/,end:/\)/,keywords:X,contains:K.concat(["self"]),relevance:0}]),relevance:0},Z={className:"function",begin:"("+R+"[\\*&\\s]+)+"+z,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:X,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:_,keywords:X,relevance:0},{begin:z,returnBegin:!0,contains:[j],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[O,N]},{className:"params",begin:/\(/,end:/\)/,keywords:X,relevance:0,contains:[v,c.C_BLOCK_COMMENT_MODE,O,N,P,{begin:/\(/,end:/\)/,keywords:X,relevance:0,contains:["self",v,c.C_BLOCK_COMMENT_MODE,O,N,P]}]},P,v,c.C_BLOCK_COMMENT_MODE,B]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:X,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Y,Z,Q,K,[B,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:X,contains:["self",P]},{begin:c.IDENT_RE+"::",keywords:X},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},c.TITLE_MODE]}]),exports:{preprocessor:B,strings:O,keywords:X}}}U.exports=l},75848:U=>{function C(e){const i="primitive rsc_template",a="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",l="property rsc_defaults op_defaults",c="params meta operations op rule attributes utilization",v="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",_="number string",T="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:c+" "+v+" "+_,literal:T},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:i,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+a.split(" ").join("|")+")\\s+",keywords:a,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:l,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}U.exports=C},97520:U=>{function C(e){const i="(_?[ui](8|16|32|64|128))?",a="(_?f(32|64))?",l="[a-zA-Z_]\\w*[!?=]?",c="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",v="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",_={$pattern:l,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},T={className:"subst",begin:/#\{/,end:/\}/,keywords:_},A={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:_};function R(z,W){const X=[{begin:z,end:W}];return X[0].contains=X,X}const P={className:"string",contains:[e.BACKSLASH_ESCAPE,T],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:R("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:R("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:R(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:R("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},M={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:R("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:R("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:R(/\{/,/\}/)},{begin:"%q<",end:">",contains:R("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},O={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,T],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},N={className:"regexp",contains:[e.BACKSLASH_ESCAPE,T],variants:[{begin:"%r\\(",end:"\\)",contains:R("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:R("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:R(/\{/,/\}/)},{begin:"%r<",end:">",contains:R("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},B={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"})]},j=[A,P,M,N,O,B,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:v}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:v})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:v})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:c,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:c,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[P,{begin:c}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+i},{begin:"\\b0o([0-7_]+)"+i},{begin:"\\b0x([A-Fa-f0-9_]+)"+i},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+a+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+i}],relevance:0}];return T.contains=j,A.contains=j.slice(1),{name:"Crystal",aliases:["cr"],keywords:_,contains:j}}U.exports=C},35524:U=>{function C(e){const i=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],a=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],l=["default","false","null","true"],c=["abstract","as","base","break","case","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],v=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],_={keyword:c.concat(v),built_in:i,literal:l},T=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),A={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},R={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},P=e.inherit(R,{illegal:/\n/}),M={className:"subst",begin:/\{/,end:/\}/,keywords:_},O=e.inherit(M,{illegal:/\n/}),N={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,O]},B={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},M]},j=e.inherit(B,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},O]});M.contains=[B,N,R,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,A,e.C_BLOCK_COMMENT_MODE],O.contains=[j,N,P,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,A,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const z={variants:[B,N,R,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},W={begin:"<",end:">",contains:[{beginKeywords:"in out"},T]},X=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",Q={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:_,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},z,A,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},T,W,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[T,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[T,W,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+X+"\\s+)+"+e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:_,contains:[{beginKeywords:a.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,W],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,relevance:0,contains:[z,A,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Q]}}U.exports=C},98664:U=>{function C(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}U.exports=C},69472:U=>{const C=R=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[R.APOS_STRING_MODE,R.QUOTE_STRING_MODE]}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],l=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],c=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function v(R){return R?typeof R=="string"?R:R.source:null}function _(R){return T("(?=",R,")")}function T(...R){return R.map(M=>v(M)).join("")}function A(R){const P=C(R),M={className:"built_in",begin:/[\w-]+(?=\()/},O={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},N="and or not only",B=/@-?\w[\w]*(-\w+)*/,j="[a-zA-Z-][a-zA-Z0-9_-]*",z=[R.APOS_STRING_MODE,R.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[R.C_BLOCK_COMMENT_MODE,O,R.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+j,relevance:0},P.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+a.join("|")+")"},{begin:"::("+l.join("|")+")"}]},{className:"attribute",begin:"\\b("+c.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[P.HEXCOLOR,P.IMPORTANT,R.CSS_NUMBER_MODE,...z,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},M]},{begin:_(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:B},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:N,attribute:i.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...z,R.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b"}]}}U.exports=A},32144:U=>{function C(e){const i={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},a="(0|[1-9][\\d_]*)",l="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",c="0[bB][01_]+",v="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",_="0[xX]"+v,T="([eE][+-]?"+l+")",A="("+l+"(\\.\\d*|"+T+")|\\d+\\."+l+"|\\."+a+T+"?)",R="(0[xX]("+v+"\\."+v+"|\\.?"+v+")[pP][+-]?"+l+")",P="("+a+"|"+c+"|"+_+")",M="("+R+"|"+A+")",O=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,N={className:"number",begin:"\\b"+P+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},B={className:"number",begin:"\\b("+M+"([fF]|L|i|[fF]i|Li)?|"+P+"(i|[fF]i|Li))",relevance:0},j={className:"string",begin:"'("+O+"|.)",end:"'",illegal:"."},W={className:"string",begin:'"',contains:[{begin:O,relevance:0}],end:'"[cwd]?'},X={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},Q={className:"string",begin:"`",end:"`[cwd]?"},K={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},Y={className:"string",begin:'q"\\{',end:'\\}"'},Z={className:"meta",begin:"^#!",end:"$",relevance:5},J={className:"meta",begin:"#(line)",end:"$",relevance:5},ee={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},re=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,re,K,W,X,Q,Y,B,N,j,Z,J,ee]}}U.exports=C},56764:U=>{function C(e){const i={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},a={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},l={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,i,a]}]};a.contains=[e.C_NUMBER_MODE,l];const c=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],v=c.map(T=>`${T}?`);return{name:"Dart",keywords:{keyword:"abstract as assert async await break case catch class const continue covariant default deferred do dynamic else enum export extends extension external factory false final finally for Function get hide if implements import in inferface is late library mixin new null on operator part required rethrow return set show static super switch sync this throw true try typedef var void while with yield",built_in:c.concat(v).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[l,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}U.exports=C},79784:U=>{function C(e){const i="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ",a=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],l={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},c={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},v={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},_={className:"string",begin:/(#\d+)+/},T={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},A={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:[c,_,l].concat(a)},l].concat(a)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],case_insensitive:!0,keywords:i,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[c,_,e.NUMBER_MODE,v,T,A,l].concat(a)}}U.exports=C},12208:U=>{function C(e){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}U.exports=C},37368:U=>{function C(e){const i={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[i],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[i]}]}}U.exports=C},216:U=>{function C(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}U.exports=C},51179:U=>{function C(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}U.exports=C},36096:U=>{function C(e){const i=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",built_in:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux shift cd dir echo setlocal endlocal set pause copy append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shift sort start subst time title tree type ver verify vol ping net ipconfig taskkill xcopy ren del"},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:{className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0}.begin,end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),i]},{className:"number",begin:"\\b\\d+",relevance:0},i]}}U.exports=C},68840:U=>{function C(e){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},e.HASH_COMMENT_MODE]}}U.exports=C},79404:U=>{function C(e){const i={className:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},a={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:e.C_NUMBER_RE}],relevance:0},l={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[e.inherit(i,{className:"meta-string"}),{className:"meta-string",begin:"<",end:">",illegal:"\\n"}]},i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},c={className:"variable",begin:/&[a-z\d_]*\b/},v={className:"meta-keyword",begin:"/[a-z][a-z\\d-]*/"},_={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},T={className:"params",begin:"<",end:">",contains:[a,c]},A={className:"class",begin:/[a-zA-Z_][a-zA-Z\d_@]*\s\{/,end:/[{;=]/,returnBegin:!0,excludeEnd:!0};return{name:"Device Tree",keywords:"",contains:[{className:"class",begin:"/\\s*\\{",end:/\};/,relevance:10,contains:[c,v,_,A,T,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i]},c,v,_,A,T,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,i,l,{begin:e.IDENT_RE+"::",keywords:""}]}}U.exports=C},30420:U=>{function C(e){const i="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:i}]}}U.exports=C},55776:U=>{function C(e){const i=e.COMMENT(/\(\*/,/\*\)/),a={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},c={begin:/=/,end:/[.;]/,contains:[i,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[i,a,c]}}U.exports=C},16616:U=>{function C(e){const i="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",a="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",l={$pattern:i,keyword:"and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0"},c={className:"subst",begin:/#\{/,end:/\}/,keywords:l},v={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},_=`[/|([{<"']`,T={className:"string",begin:"~[a-z](?="+_+")",contains:[{endsParent:!0,contains:[{contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}]}]}]},A={className:"string",begin:"~[A-Z](?="+_+")",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}]},R={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},P={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},M=e.inherit(P,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),O=[R,A,T,e.HASH_COMMENT_MODE,M,P,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[R,{begin:a}],relevance:0},{className:"symbol",begin:i+":(?!:)",relevance:0},v,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"},{begin:"->"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[e.HASH_COMMENT_MODE,{begin:/\/: (?=\d+\s*[,\]])/,relevance:0,contains:[v]},{className:"regexp",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return c.contains=O,{name:"Elixir",keywords:l,contains:O}}U.exports=C},35248:U=>{function C(e){const i={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},a={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},i]},c={begin:/\{/,end:/\}/,contains:l.contains},v={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[l,i],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[l,i],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[a,l,c,i]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,i]},{begin:"port",end:"$",keywords:"port",contains:[i]},v,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,a,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),i,{begin:"->|<-"}],illegal:/;/}}U.exports=C},59248:U=>{function C(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}U.exports=C},47636:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta",begin:"^[0-9]+> ",relevance:10},a.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,{begin:e(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}U.exports=i},80056:U=>{function C(e){const i="[a-z'][a-zA-Z0-9_']*",a="("+i+":"+i+"|"+i+")",l={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},c=e.COMMENT("%","$"),v={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},_={begin:"fun\\s+"+i+"/\\d+"},T={begin:a+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:a,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},A={begin:/\{/,end:/\}/,relevance:0},R={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},P={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},M={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},O={beginKeywords:"fun receive if try case",end:"end",keywords:l};O.contains=[c,_,e.inherit(e.APOS_STRING_MODE,{className:""}),O,T,e.QUOTE_STRING_MODE,v,A,R,P,M];const N=[c,_,O,T,e.QUOTE_STRING_MODE,v,A,R,P,M];T.contains[1].contains=N,A.contains=N,M.contains[1].contains=N;const B=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],j={className:"params",begin:"\\(",end:"\\)",contains:N};return{name:"Erlang",aliases:["erl"],keywords:l,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+i+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[j,e.inherit(e.TITLE_MODE,{begin:i})],starts:{end:";|\\.",keywords:l,contains:N}},c,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:B.map(z=>`${z}|1.5`).join(" ")},contains:[j]},v,e.QUOTE_STRING_MODE,M,R,P,A,{begin:/\.$/}]}}U.exports=C},28016:U=>{function C(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:"ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST"},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}U.exports=C},86412:U=>{function C(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}U.exports=C},50728:U=>{function C(e){const i={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},a={className:"string",variants:[{begin:'"',end:'"'}]},c={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{literal:"true false",keyword:"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,a,c,e.C_NUMBER_MODE]}}U.exports=C},15632:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l={className:"params",begin:"\\(",end:"\\)"},c={variants:[a.COMMENT("!","$",{relevance:0}),a.COMMENT("^C[ ]","$",{relevance:0}),a.COMMENT("^C$","$",{relevance:0})]},v=/(_[a-z_\d]+)?/,_=/([de][+-]?\d+)?/,T={className:"number",variants:[{begin:e(/\b\d+/,/\.(\d*)/,_,v)},{begin:e(/\b\d+/,_,v)},{begin:e(/\.\d+/,_,v)}],relevance:0},A={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[a.UNDERSCORE_TITLE_MODE,l]},R={className:"string",relevance:0,variants:[a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{literal:".False. .True.",keyword:"kind do concurrent local shared while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock endassociate public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure impure integer real character complex logical codimension dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image sync change team co_broadcast co_max co_min co_sum co_reduce"},illegal:/\/\*/,contains:[R,A,{begin:/^C\s*=(?!=)/,relevance:0},c,T]}}U.exports=i},19288:U=>{function C(e){const i={begin:"<",end:">",contains:[e.inherit(e.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{name:"F#",aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},e.COMMENT("\\(\\*(\\s)","\\*\\)",{contains:["self"]}),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE,i]},{className:"meta",begin:"\\[<",end:">\\]",relevance:10},{className:"symbol",begin:"\\B('[A-Za-z])\\b",contains:[e.BACKSLASH_ESCAPE]},e.C_LINE_COMMENT_MODE,e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),e.C_NUMBER_MODE]}}U.exports=C},82428:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(l){return i("(",l,")*")}function i(...l){return l.map(v=>C(v)).join("")}function a(l){const c={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},v={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},_={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},T={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[l.BACKSLASH_ESCAPE]},A={begin:"/",end:"/",keywords:c,contains:[T,l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,l.QUOTE_STRING_MODE,l.APOS_STRING_MODE,l.C_NUMBER_MODE]},R=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,P={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[T,A,{className:"comment",begin:i(R,e(i(/[ ]+/,R))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:c,contains:[l.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},l.COMMENT("^\\*","$"),l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,l.QUOTE_STRING_MODE,l.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[l.COMMENT("^\\*","$"),l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,l.QUOTE_STRING_MODE,l.APOS_STRING_MODE,A,P]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[P]},l.COMMENT("^\\*","$"),l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,l.QUOTE_STRING_MODE,l.APOS_STRING_MODE,l.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},v,_]},l.C_NUMBER_MODE,_]}}U.exports=a},25588:U=>{function C(e){const i={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},a=e.COMMENT("@","@"),l={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[{className:"meta-string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a]},c={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},v=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,c]}],_={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},T=function(O,N,B){const j=e.inherit({className:"function",beginKeywords:O,end:N,excludeEnd:!0,contains:[].concat(v)},B||{});return j.contains.push(_),j.contains.push(e.C_NUMBER_MODE),j.contains.push(e.C_BLOCK_COMMENT_MODE),j.contains.push(a),j},A={className:"built_in",begin:"\\b("+i.built_in.split(" ").join("|")+")\\b"},R={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},P={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:i,relevance:0,contains:[{beginKeywords:i.keyword},A,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},M={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:i.built_in,literal:i.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,A,P,R,"self"]};return P.contains.push(M),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:i,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,R,l,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},T("proc keyword",";"),T("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,a,M]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},P,c]}}U.exports=C},62752:U=>{function C(e){const i="[A-Z_][A-Z0-9_.]*",a="%",l={$pattern:i,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},c={className:"meta",begin:"([O])([0-9]+)"},v=e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+e.C_NUMBER_RE}),_=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),v,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[v],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:l,contains:[{className:"meta",begin:a},c].concat(_)}}U.exports=C},96488:U=>{function C(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}U.exports=C},66020:U=>{function C(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}U.exports=C},67296:U=>{function C(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum function constructor delete #macro #region #endregion",built_in:"is_real is_string is_array is_undefined is_int32 is_int64 is_ptr is_vec3 is_vec4 is_matrix is_bool is_method is_struct is_infinity is_nan is_numeric typeof variable_global_exists variable_global_get variable_global_set variable_instance_exists variable_instance_get variable_instance_set variable_instance_get_names variable_struct_exists variable_struct_get variable_struct_get_names variable_struct_names_count variable_struct_remove variable_struct_set array_delete array_insert array_length array_length_1d array_length_2d array_height_2d array_equals array_create array_copy array_pop array_push array_resize array_sort random random_range irandom irandom_range random_set_seed random_get_seed randomize randomise choose abs round floor ceil sign frac sqrt sqr exp ln log2 log10 sin cos tan arcsin arccos arctan arctan2 dsin dcos dtan darcsin darccos darctan darctan2 degtorad radtodeg power logn min max mean median clamp lerp dot_product dot_product_3d dot_product_normalised dot_product_3d_normalised dot_product_normalized dot_product_3d_normalized math_set_epsilon math_get_epsilon angle_difference point_distance_3d point_distance point_direction lengthdir_x lengthdir_y real string int64 ptr string_format chr ansi_char ord string_length string_byte_length string_pos string_copy string_char_at string_ord_at string_byte_at string_set_byte_at string_delete string_insert string_lower string_upper string_repeat string_letters string_digits string_lettersdigits string_replace string_replace_all string_count string_hash_to_newline clipboard_has_text clipboard_set_text clipboard_get_text date_current_datetime date_create_datetime date_valid_datetime date_inc_year date_inc_month date_inc_week date_inc_day date_inc_hour date_inc_minute date_inc_second date_get_year date_get_month date_get_week date_get_day date_get_hour date_get_minute date_get_second date_get_weekday date_get_day_of_year date_get_hour_of_year date_get_minute_of_year date_get_second_of_year date_year_span date_month_span date_week_span date_day_span date_hour_span date_minute_span date_second_span date_compare_datetime date_compare_date date_compare_time date_date_of date_time_of date_datetime_string date_date_string date_time_string date_days_in_month date_days_in_year date_leap_year date_is_today date_set_timezone date_get_timezone game_set_speed game_get_speed motion_set motion_add place_free place_empty place_meeting place_snapped move_random move_snap move_towards_point move_contact_solid move_contact_all move_outside_solid move_outside_all move_bounce_solid move_bounce_all move_wrap distance_to_point distance_to_object position_empty position_meeting path_start path_end mp_linear_step mp_potential_step mp_linear_step_object mp_potential_step_object mp_potential_settings mp_linear_path mp_potential_path mp_linear_path_object mp_potential_path_object mp_grid_create mp_grid_destroy mp_grid_clear_all mp_grid_clear_cell mp_grid_clear_rectangle mp_grid_add_cell mp_grid_get_cell mp_grid_add_rectangle mp_grid_add_instances mp_grid_path mp_grid_draw mp_grid_to_ds_grid collision_point collision_rectangle collision_circle collision_ellipse collision_line collision_point_list collision_rectangle_list collision_circle_list collision_ellipse_list collision_line_list instance_position_list instance_place_list point_in_rectangle point_in_triangle point_in_circle rectangle_in_rectangle rectangle_in_triangle rectangle_in_circle instance_find instance_exists instance_number instance_position instance_nearest instance_furthest instance_place instance_create_depth instance_create_layer instance_copy instance_change instance_destroy position_destroy position_change instance_id_get instance_deactivate_all instance_deactivate_object instance_deactivate_region instance_activate_all instance_activate_object instance_activate_region room_goto room_goto_previous room_goto_next room_previous room_next room_restart game_end game_restart game_load game_save game_save_buffer game_load_buffer event_perform event_user event_perform_object event_inherited show_debug_message show_debug_overlay debug_event debug_get_callstack alarm_get alarm_set font_texture_page_size keyboard_set_map keyboard_get_map keyboard_unset_map keyboard_check keyboard_check_pressed keyboard_check_released keyboard_check_direct keyboard_get_numlock keyboard_set_numlock keyboard_key_press keyboard_key_release keyboard_clear io_clear mouse_check_button mouse_check_button_pressed mouse_check_button_released mouse_wheel_up mouse_wheel_down mouse_clear draw_self draw_sprite draw_sprite_pos draw_sprite_ext draw_sprite_stretched draw_sprite_stretched_ext draw_sprite_tiled draw_sprite_tiled_ext draw_sprite_part draw_sprite_part_ext draw_sprite_general draw_clear draw_clear_alpha draw_point draw_line draw_line_width draw_rectangle draw_roundrect draw_roundrect_ext draw_triangle draw_circle draw_ellipse draw_set_circle_precision draw_arrow draw_button draw_path draw_healthbar draw_getpixel draw_getpixel_ext draw_set_colour draw_set_color draw_set_alpha draw_get_colour draw_get_color draw_get_alpha merge_colour make_colour_rgb make_colour_hsv colour_get_red colour_get_green colour_get_blue colour_get_hue colour_get_saturation colour_get_value merge_color make_color_rgb make_color_hsv color_get_red color_get_green color_get_blue color_get_hue color_get_saturation color_get_value merge_color screen_save screen_save_part draw_set_font draw_set_halign draw_set_valign draw_text draw_text_ext string_width string_height string_width_ext string_height_ext draw_text_transformed draw_text_ext_transformed draw_text_colour draw_text_ext_colour draw_text_transformed_colour draw_text_ext_transformed_colour draw_text_color draw_text_ext_color draw_text_transformed_color draw_text_ext_transformed_color draw_point_colour draw_line_colour draw_line_width_colour draw_rectangle_colour draw_roundrect_colour draw_roundrect_colour_ext draw_triangle_colour draw_circle_colour draw_ellipse_colour draw_point_color draw_line_color draw_line_width_color draw_rectangle_color draw_roundrect_color draw_roundrect_color_ext draw_triangle_color draw_circle_color draw_ellipse_color draw_primitive_begin draw_vertex draw_vertex_colour draw_vertex_color draw_primitive_end sprite_get_uvs font_get_uvs sprite_get_texture font_get_texture texture_get_width texture_get_height texture_get_uvs draw_primitive_begin_texture draw_vertex_texture draw_vertex_texture_colour draw_vertex_texture_color texture_global_scale surface_create surface_create_ext surface_resize surface_free surface_exists surface_get_width surface_get_height surface_get_texture surface_set_target surface_set_target_ext surface_reset_target surface_depth_disable surface_get_depth_disable draw_surface draw_surface_stretched draw_surface_tiled draw_surface_part draw_surface_ext draw_surface_stretched_ext draw_surface_tiled_ext draw_surface_part_ext draw_surface_general surface_getpixel surface_getpixel_ext surface_save surface_save_part surface_copy surface_copy_part application_surface_draw_enable application_get_position application_surface_enable application_surface_is_enabled display_get_width display_get_height display_get_orientation display_get_gui_width display_get_gui_height display_reset display_mouse_get_x display_mouse_get_y display_mouse_set display_set_ui_visibility window_set_fullscreen window_get_fullscreen window_set_caption window_set_min_width window_set_max_width window_set_min_height window_set_max_height window_get_visible_rects window_get_caption window_set_cursor window_get_cursor window_set_colour window_get_colour window_set_color window_get_color window_set_position window_set_size window_set_rectangle window_center window_get_x window_get_y window_get_width window_get_height window_mouse_get_x window_mouse_get_y window_mouse_set window_view_mouse_get_x window_view_mouse_get_y window_views_mouse_get_x window_views_mouse_get_y audio_listener_position audio_listener_velocity audio_listener_orientation audio_emitter_position audio_emitter_create audio_emitter_free audio_emitter_exists audio_emitter_pitch audio_emitter_velocity audio_emitter_falloff audio_emitter_gain audio_play_sound audio_play_sound_on audio_play_sound_at audio_stop_sound audio_resume_music audio_music_is_playing audio_resume_sound audio_pause_sound audio_pause_music audio_channel_num audio_sound_length audio_get_type audio_falloff_set_model audio_play_music audio_stop_music audio_master_gain audio_music_gain audio_sound_gain audio_sound_pitch audio_stop_all audio_resume_all audio_pause_all audio_is_playing audio_is_paused audio_exists audio_sound_set_track_position audio_sound_get_track_position audio_emitter_get_gain audio_emitter_get_pitch audio_emitter_get_x audio_emitter_get_y audio_emitter_get_z audio_emitter_get_vx audio_emitter_get_vy audio_emitter_get_vz audio_listener_set_position audio_listener_set_velocity audio_listener_set_orientation audio_listener_get_data audio_set_master_gain audio_get_master_gain audio_sound_get_gain audio_sound_get_pitch audio_get_name audio_sound_set_track_position audio_sound_get_track_position audio_create_stream audio_destroy_stream audio_create_sync_group audio_destroy_sync_group audio_play_in_sync_group audio_start_sync_group audio_stop_sync_group audio_pause_sync_group audio_resume_sync_group audio_sync_group_get_track_pos audio_sync_group_debug audio_sync_group_is_playing audio_debug audio_group_load audio_group_unload audio_group_is_loaded audio_group_load_progress audio_group_name audio_group_stop_all audio_group_set_gain audio_create_buffer_sound audio_free_buffer_sound audio_create_play_queue audio_free_play_queue audio_queue_sound audio_get_recorder_count audio_get_recorder_info audio_start_recording audio_stop_recording audio_sound_get_listener_mask audio_emitter_get_listener_mask audio_get_listener_mask audio_sound_set_listener_mask audio_emitter_set_listener_mask audio_set_listener_mask audio_get_listener_count audio_get_listener_info audio_system show_message show_message_async clickable_add clickable_add_ext clickable_change clickable_change_ext clickable_delete clickable_exists clickable_set_style show_question show_question_async get_integer get_string get_integer_async get_string_async get_login_async get_open_filename get_save_filename get_open_filename_ext get_save_filename_ext show_error highscore_clear highscore_add highscore_value highscore_name draw_highscore sprite_exists sprite_get_name sprite_get_number sprite_get_width sprite_get_height sprite_get_xoffset sprite_get_yoffset sprite_get_bbox_left sprite_get_bbox_right sprite_get_bbox_top sprite_get_bbox_bottom sprite_save sprite_save_strip sprite_set_cache_size sprite_set_cache_size_ext sprite_get_tpe sprite_prefetch sprite_prefetch_multi sprite_flush sprite_flush_multi sprite_set_speed sprite_get_speed_type sprite_get_speed font_exists font_get_name font_get_fontname font_get_bold font_get_italic font_get_first font_get_last font_get_size font_set_cache_size path_exists path_get_name path_get_length path_get_time path_get_kind path_get_closed path_get_precision path_get_number path_get_point_x path_get_point_y path_get_point_speed path_get_x path_get_y path_get_speed script_exists script_get_name timeline_add timeline_delete timeline_clear timeline_exists timeline_get_name timeline_moment_clear timeline_moment_add_script timeline_size timeline_max_moment object_exists object_get_name object_get_sprite object_get_solid object_get_visible object_get_persistent object_get_mask object_get_parent object_get_physics object_is_ancestor room_exists room_get_name sprite_set_offset sprite_duplicate sprite_assign sprite_merge sprite_add sprite_replace sprite_create_from_surface sprite_add_from_surface sprite_delete sprite_set_alpha_from_sprite sprite_collision_mask font_add_enable_aa font_add_get_enable_aa font_add font_add_sprite font_add_sprite_ext font_replace font_replace_sprite font_replace_sprite_ext font_delete path_set_kind path_set_closed path_set_precision path_add path_assign path_duplicate path_append path_delete path_add_point path_insert_point path_change_point path_delete_point path_clear_points path_reverse path_mirror path_flip path_rotate path_rescale path_shift script_execute object_set_sprite object_set_solid object_set_visible object_set_persistent object_set_mask room_set_width room_set_height room_set_persistent room_set_background_colour room_set_background_color room_set_view room_set_viewport room_get_viewport room_set_view_enabled room_add room_duplicate room_assign room_instance_add room_instance_clear room_get_camera room_set_camera asset_get_index asset_get_type file_text_open_from_string file_text_open_read file_text_open_write file_text_open_append file_text_close file_text_write_string file_text_write_real file_text_writeln file_text_read_string file_text_read_real file_text_readln file_text_eof file_text_eoln file_exists file_delete file_rename file_copy directory_exists directory_create directory_destroy file_find_first file_find_next file_find_close file_attributes filename_name filename_path filename_dir filename_drive filename_ext filename_change_ext file_bin_open file_bin_rewrite file_bin_close file_bin_position file_bin_size file_bin_seek file_bin_write_byte file_bin_read_byte parameter_count parameter_string environment_get_variable ini_open_from_string ini_open ini_close ini_read_string ini_read_real ini_write_string ini_write_real ini_key_exists ini_section_exists ini_key_delete ini_section_delete ds_set_precision ds_exists ds_stack_create ds_stack_destroy ds_stack_clear ds_stack_copy ds_stack_size ds_stack_empty ds_stack_push ds_stack_pop ds_stack_top ds_stack_write ds_stack_read ds_queue_create ds_queue_destroy ds_queue_clear ds_queue_copy ds_queue_size ds_queue_empty ds_queue_enqueue ds_queue_dequeue ds_queue_head ds_queue_tail ds_queue_write ds_queue_read ds_list_create ds_list_destroy ds_list_clear ds_list_copy ds_list_size ds_list_empty ds_list_add ds_list_insert ds_list_replace ds_list_delete ds_list_find_index ds_list_find_value ds_list_mark_as_list ds_list_mark_as_map ds_list_sort ds_list_shuffle ds_list_write ds_list_read ds_list_set ds_map_create ds_map_destroy ds_map_clear ds_map_copy ds_map_size ds_map_empty ds_map_add ds_map_add_list ds_map_add_map ds_map_replace ds_map_replace_map ds_map_replace_list ds_map_delete ds_map_exists ds_map_find_value ds_map_find_previous ds_map_find_next ds_map_find_first ds_map_find_last ds_map_write ds_map_read ds_map_secure_save ds_map_secure_load ds_map_secure_load_buffer ds_map_secure_save_buffer ds_map_set ds_priority_create ds_priority_destroy ds_priority_clear ds_priority_copy ds_priority_size ds_priority_empty ds_priority_add ds_priority_change_priority ds_priority_find_priority ds_priority_delete_value ds_priority_delete_min ds_priority_find_min ds_priority_delete_max ds_priority_find_max ds_priority_write ds_priority_read ds_grid_create ds_grid_destroy ds_grid_copy ds_grid_resize ds_grid_width ds_grid_height ds_grid_clear ds_grid_set ds_grid_add ds_grid_multiply ds_grid_set_region ds_grid_add_region ds_grid_multiply_region ds_grid_set_disk ds_grid_add_disk ds_grid_multiply_disk ds_grid_set_grid_region ds_grid_add_grid_region ds_grid_multiply_grid_region ds_grid_get ds_grid_get_sum ds_grid_get_max ds_grid_get_min ds_grid_get_mean ds_grid_get_disk_sum ds_grid_get_disk_min ds_grid_get_disk_max ds_grid_get_disk_mean ds_grid_value_exists ds_grid_value_x ds_grid_value_y ds_grid_value_disk_exists ds_grid_value_disk_x ds_grid_value_disk_y ds_grid_shuffle ds_grid_write ds_grid_read ds_grid_sort ds_grid_set ds_grid_get effect_create_below effect_create_above effect_clear part_type_create part_type_destroy part_type_exists part_type_clear part_type_shape part_type_sprite part_type_size part_type_scale part_type_orientation part_type_life part_type_step part_type_death part_type_speed part_type_direction part_type_gravity part_type_colour1 part_type_colour2 part_type_colour3 part_type_colour_mix part_type_colour_rgb part_type_colour_hsv part_type_color1 part_type_color2 part_type_color3 part_type_color_mix part_type_color_rgb part_type_color_hsv part_type_alpha1 part_type_alpha2 part_type_alpha3 part_type_blend part_system_create part_system_create_layer part_system_destroy part_system_exists part_system_clear part_system_draw_order part_system_depth part_system_position part_system_automatic_update part_system_automatic_draw part_system_update part_system_drawit part_system_get_layer part_system_layer part_particles_create part_particles_create_colour part_particles_create_color part_particles_clear part_particles_count part_emitter_create part_emitter_destroy part_emitter_destroy_all part_emitter_exists part_emitter_clear part_emitter_region part_emitter_burst part_emitter_stream external_call external_define external_free window_handle window_device matrix_get matrix_set matrix_build_identity matrix_build matrix_build_lookat matrix_build_projection_ortho matrix_build_projection_perspective matrix_build_projection_perspective_fov matrix_multiply matrix_transform_vertex matrix_stack_push matrix_stack_pop matrix_stack_multiply matrix_stack_set matrix_stack_clear matrix_stack_top matrix_stack_is_empty browser_input_capture os_get_config os_get_info os_get_language os_get_region os_lock_orientation display_get_dpi_x display_get_dpi_y display_set_gui_size display_set_gui_maximise display_set_gui_maximize device_mouse_dbclick_enable display_set_timing_method display_get_timing_method display_set_sleep_margin display_get_sleep_margin virtual_key_add virtual_key_hide virtual_key_delete virtual_key_show draw_enable_drawevent draw_enable_swf_aa draw_set_swf_aa_level draw_get_swf_aa_level draw_texture_flush draw_flush gpu_set_blendenable gpu_set_ztestenable gpu_set_zfunc gpu_set_zwriteenable gpu_set_lightingenable gpu_set_fog gpu_set_cullmode gpu_set_blendmode gpu_set_blendmode_ext gpu_set_blendmode_ext_sepalpha gpu_set_colorwriteenable gpu_set_colourwriteenable gpu_set_alphatestenable gpu_set_alphatestref gpu_set_alphatestfunc gpu_set_texfilter gpu_set_texfilter_ext gpu_set_texrepeat gpu_set_texrepeat_ext gpu_set_tex_filter gpu_set_tex_filter_ext gpu_set_tex_repeat gpu_set_tex_repeat_ext gpu_set_tex_mip_filter gpu_set_tex_mip_filter_ext gpu_set_tex_mip_bias gpu_set_tex_mip_bias_ext gpu_set_tex_min_mip gpu_set_tex_min_mip_ext gpu_set_tex_max_mip gpu_set_tex_max_mip_ext gpu_set_tex_max_aniso gpu_set_tex_max_aniso_ext gpu_set_tex_mip_enable gpu_set_tex_mip_enable_ext gpu_get_blendenable gpu_get_ztestenable gpu_get_zfunc gpu_get_zwriteenable gpu_get_lightingenable gpu_get_fog gpu_get_cullmode gpu_get_blendmode gpu_get_blendmode_ext gpu_get_blendmode_ext_sepalpha gpu_get_blendmode_src gpu_get_blendmode_dest gpu_get_blendmode_srcalpha gpu_get_blendmode_destalpha gpu_get_colorwriteenable gpu_get_colourwriteenable gpu_get_alphatestenable gpu_get_alphatestref gpu_get_alphatestfunc gpu_get_texfilter gpu_get_texfilter_ext gpu_get_texrepeat gpu_get_texrepeat_ext gpu_get_tex_filter gpu_get_tex_filter_ext gpu_get_tex_repeat gpu_get_tex_repeat_ext gpu_get_tex_mip_filter gpu_get_tex_mip_filter_ext gpu_get_tex_mip_bias gpu_get_tex_mip_bias_ext gpu_get_tex_min_mip gpu_get_tex_min_mip_ext gpu_get_tex_max_mip gpu_get_tex_max_mip_ext gpu_get_tex_max_aniso gpu_get_tex_max_aniso_ext gpu_get_tex_mip_enable gpu_get_tex_mip_enable_ext gpu_push_state gpu_pop_state gpu_get_state gpu_set_state draw_light_define_ambient draw_light_define_direction draw_light_define_point draw_light_enable draw_set_lighting draw_light_get_ambient draw_light_get draw_get_lighting shop_leave_rating url_get_domain url_open url_open_ext url_open_full get_timer achievement_login achievement_logout achievement_post achievement_increment achievement_post_score achievement_available achievement_show_achievements achievement_show_leaderboards achievement_load_friends achievement_load_leaderboard achievement_send_challenge achievement_load_progress achievement_reset achievement_login_status achievement_get_pic achievement_show_challenge_notifications achievement_get_challenges achievement_event achievement_show achievement_get_info cloud_file_save cloud_string_save cloud_synchronise ads_enable ads_disable ads_setup ads_engagement_launch ads_engagement_available ads_engagement_active ads_event ads_event_preload ads_set_reward_callback ads_get_display_height ads_get_display_width ads_move ads_interstitial_available ads_interstitial_display device_get_tilt_x device_get_tilt_y device_get_tilt_z device_is_keypad_open device_mouse_check_button device_mouse_check_button_pressed device_mouse_check_button_released device_mouse_x device_mouse_y device_mouse_raw_x device_mouse_raw_y device_mouse_x_to_gui device_mouse_y_to_gui iap_activate iap_status iap_enumerate_products iap_restore_all iap_acquire iap_consume iap_product_details iap_purchase_details facebook_init facebook_login facebook_status facebook_graph_request facebook_dialog facebook_logout facebook_launch_offerwall facebook_post_message facebook_send_invite facebook_user_id facebook_accesstoken facebook_check_permission facebook_request_read_permissions facebook_request_publish_permissions gamepad_is_supported gamepad_get_device_count gamepad_is_connected gamepad_get_description gamepad_get_button_threshold gamepad_set_button_threshold gamepad_get_axis_deadzone gamepad_set_axis_deadzone gamepad_button_count gamepad_button_check gamepad_button_check_pressed gamepad_button_check_released gamepad_button_value gamepad_axis_count gamepad_axis_value gamepad_set_vibration gamepad_set_colour gamepad_set_color os_is_paused window_has_focus code_is_compiled http_get http_get_file http_post_string http_request json_encode json_decode zip_unzip load_csv base64_encode base64_decode md5_string_unicode md5_string_utf8 md5_file os_is_network_connected sha1_string_unicode sha1_string_utf8 sha1_file os_powersave_enable analytics_event analytics_event_ext win8_livetile_tile_notification win8_livetile_tile_clear win8_livetile_badge_notification win8_livetile_badge_clear win8_livetile_queue_enable win8_secondarytile_pin win8_secondarytile_badge_notification win8_secondarytile_delete win8_livetile_notification_begin win8_livetile_notification_secondary_begin win8_livetile_notification_expiry win8_livetile_notification_tag win8_livetile_notification_text_add win8_livetile_notification_image_add win8_livetile_notification_end win8_appbar_enable win8_appbar_add_element win8_appbar_remove_element win8_settingscharm_add_entry win8_settingscharm_add_html_entry win8_settingscharm_add_xaml_entry win8_settingscharm_set_xaml_property win8_settingscharm_get_xaml_property win8_settingscharm_remove_entry win8_share_image win8_share_screenshot win8_share_file win8_share_url win8_share_text win8_search_enable win8_search_disable win8_search_add_suggestions win8_device_touchscreen_available win8_license_initialize_sandbox win8_license_trial_version winphone_license_trial_version winphone_tile_title winphone_tile_count winphone_tile_back_title winphone_tile_back_content winphone_tile_back_content_wide winphone_tile_front_image winphone_tile_front_image_small winphone_tile_front_image_wide winphone_tile_back_image winphone_tile_back_image_wide winphone_tile_background_colour winphone_tile_background_color winphone_tile_icon_image winphone_tile_small_icon_image winphone_tile_wide_content winphone_tile_cycle_images winphone_tile_small_background_image physics_world_create physics_world_gravity physics_world_update_speed physics_world_update_iterations physics_world_draw_debug physics_pause_enable physics_fixture_create physics_fixture_set_kinematic physics_fixture_set_density physics_fixture_set_awake physics_fixture_set_restitution physics_fixture_set_friction physics_fixture_set_collision_group physics_fixture_set_sensor physics_fixture_set_linear_damping physics_fixture_set_angular_damping physics_fixture_set_circle_shape physics_fixture_set_box_shape physics_fixture_set_edge_shape physics_fixture_set_polygon_shape physics_fixture_set_chain_shape physics_fixture_add_point physics_fixture_bind physics_fixture_bind_ext physics_fixture_delete physics_apply_force physics_apply_impulse physics_apply_angular_impulse physics_apply_local_force physics_apply_local_impulse physics_apply_torque physics_mass_properties physics_draw_debug physics_test_overlap physics_remove_fixture physics_set_friction physics_set_density physics_set_restitution physics_get_friction physics_get_density physics_get_restitution physics_joint_distance_create physics_joint_rope_create physics_joint_revolute_create physics_joint_prismatic_create physics_joint_pulley_create physics_joint_wheel_create physics_joint_weld_create physics_joint_friction_create physics_joint_gear_create physics_joint_enable_motor physics_joint_get_value physics_joint_set_value physics_joint_delete physics_particle_create physics_particle_delete physics_particle_delete_region_circle physics_particle_delete_region_box physics_particle_delete_region_poly physics_particle_set_flags physics_particle_set_category_flags physics_particle_draw physics_particle_draw_ext physics_particle_count physics_particle_get_data physics_particle_get_data_particle physics_particle_group_begin physics_particle_group_circle physics_particle_group_box physics_particle_group_polygon physics_particle_group_add_point physics_particle_group_end physics_particle_group_join physics_particle_group_delete physics_particle_group_count physics_particle_group_get_data physics_particle_group_get_mass physics_particle_group_get_inertia physics_particle_group_get_centre_x physics_particle_group_get_centre_y physics_particle_group_get_vel_x physics_particle_group_get_vel_y physics_particle_group_get_ang_vel physics_particle_group_get_x physics_particle_group_get_y physics_particle_group_get_angle physics_particle_set_group_flags physics_particle_get_group_flags physics_particle_get_max_count physics_particle_get_radius physics_particle_get_density physics_particle_get_damping physics_particle_get_gravity_scale physics_particle_set_max_count physics_particle_set_radius physics_particle_set_density physics_particle_set_damping physics_particle_set_gravity_scale network_create_socket network_create_socket_ext network_create_server network_create_server_raw network_connect network_connect_raw network_send_packet network_send_raw network_send_broadcast network_send_udp network_send_udp_raw network_set_timeout network_set_config network_resolve network_destroy buffer_create buffer_write buffer_read buffer_seek buffer_get_surface buffer_set_surface buffer_delete buffer_exists buffer_get_type buffer_get_alignment buffer_poke buffer_peek buffer_save buffer_save_ext buffer_load buffer_load_ext buffer_load_partial buffer_copy buffer_fill buffer_get_size buffer_tell buffer_resize buffer_md5 buffer_sha1 buffer_base64_encode buffer_base64_decode buffer_base64_decode_ext buffer_sizeof buffer_get_address buffer_create_from_vertex_buffer buffer_create_from_vertex_buffer_ext buffer_copy_from_vertex_buffer buffer_async_group_begin buffer_async_group_option buffer_async_group_end buffer_load_async buffer_save_async gml_release_mode gml_pragma steam_activate_overlay steam_is_overlay_enabled steam_is_overlay_activated steam_get_persona_name steam_initialised steam_is_cloud_enabled_for_app steam_is_cloud_enabled_for_account steam_file_persisted steam_get_quota_total steam_get_quota_free steam_file_write steam_file_write_file steam_file_read steam_file_delete steam_file_exists steam_file_size steam_file_share steam_is_screenshot_requested steam_send_screenshot steam_is_user_logged_on steam_get_user_steam_id steam_user_owns_dlc steam_user_installed_dlc steam_set_achievement steam_get_achievement steam_clear_achievement steam_set_stat_int steam_set_stat_float steam_set_stat_avg_rate steam_get_stat_int steam_get_stat_float steam_get_stat_avg_rate steam_reset_all_stats steam_reset_all_stats_achievements steam_stats_ready steam_create_leaderboard steam_upload_score steam_upload_score_ext steam_download_scores_around_user steam_download_scores steam_download_friends_scores steam_upload_score_buffer steam_upload_score_buffer_ext steam_current_game_language steam_available_languages steam_activate_overlay_browser steam_activate_overlay_user steam_activate_overlay_store steam_get_user_persona_name steam_get_app_id steam_get_user_account_id steam_ugc_download steam_ugc_create_item steam_ugc_start_item_update steam_ugc_set_item_title steam_ugc_set_item_description steam_ugc_set_item_visibility steam_ugc_set_item_tags steam_ugc_set_item_content steam_ugc_set_item_preview steam_ugc_submit_item_update steam_ugc_get_item_update_progress steam_ugc_subscribe_item steam_ugc_unsubscribe_item steam_ugc_num_subscribed_items steam_ugc_get_subscribed_items steam_ugc_get_item_install_info steam_ugc_get_item_update_info steam_ugc_request_item_details steam_ugc_create_query_user steam_ugc_create_query_user_ex steam_ugc_create_query_all steam_ugc_create_query_all_ex steam_ugc_query_set_cloud_filename_filter steam_ugc_query_set_match_any_tag steam_ugc_query_set_search_text steam_ugc_query_set_ranked_by_trend_days steam_ugc_query_add_required_tag steam_ugc_query_add_excluded_tag steam_ugc_query_set_return_long_description steam_ugc_query_set_return_total_only steam_ugc_query_set_allow_cached_response steam_ugc_send_query shader_set shader_get_name shader_reset shader_current shader_is_compiled shader_get_sampler_index shader_get_uniform shader_set_uniform_i shader_set_uniform_i_array shader_set_uniform_f shader_set_uniform_f_array shader_set_uniform_matrix shader_set_uniform_matrix_array shader_enable_corner_id texture_set_stage texture_get_texel_width texture_get_texel_height shaders_are_supported vertex_format_begin vertex_format_end vertex_format_delete vertex_format_add_position vertex_format_add_position_3d vertex_format_add_colour vertex_format_add_color vertex_format_add_normal vertex_format_add_texcoord vertex_format_add_textcoord vertex_format_add_custom vertex_create_buffer vertex_create_buffer_ext vertex_delete_buffer vertex_begin vertex_end vertex_position vertex_position_3d vertex_colour vertex_color vertex_argb vertex_texcoord vertex_normal vertex_float1 vertex_float2 vertex_float3 vertex_float4 vertex_ubyte4 vertex_submit vertex_freeze vertex_get_number vertex_get_buffer_size vertex_create_buffer_from_buffer vertex_create_buffer_from_buffer_ext push_local_notification push_get_first_local_notification push_get_next_local_notification push_cancel_local_notification skeleton_animation_set skeleton_animation_get skeleton_animation_mix skeleton_animation_set_ext skeleton_animation_get_ext skeleton_animation_get_duration skeleton_animation_get_frames skeleton_animation_clear skeleton_skin_set skeleton_skin_get skeleton_attachment_set skeleton_attachment_get skeleton_attachment_create skeleton_collision_draw_set skeleton_bone_data_get skeleton_bone_data_set skeleton_bone_state_get skeleton_bone_state_set skeleton_get_minmax skeleton_get_num_bounds skeleton_get_bounds skeleton_animation_get_frame skeleton_animation_set_frame draw_skeleton draw_skeleton_time draw_skeleton_instance draw_skeleton_collision skeleton_animation_list skeleton_skin_list skeleton_slot_data layer_get_id layer_get_id_at_depth layer_get_depth layer_create layer_destroy layer_destroy_instances layer_add_instance layer_has_instance layer_set_visible layer_get_visible layer_exists layer_x layer_y layer_get_x layer_get_y layer_hspeed layer_vspeed layer_get_hspeed layer_get_vspeed layer_script_begin layer_script_end layer_shader layer_get_script_begin layer_get_script_end layer_get_shader layer_set_target_room layer_get_target_room layer_reset_target_room layer_get_all layer_get_all_elements layer_get_name layer_depth layer_get_element_layer layer_get_element_type layer_element_move layer_force_draw_depth layer_is_draw_depth_forced layer_get_forced_depth layer_background_get_id layer_background_exists layer_background_create layer_background_destroy layer_background_visible layer_background_change layer_background_sprite layer_background_htiled layer_background_vtiled layer_background_stretch layer_background_yscale layer_background_xscale layer_background_blend layer_background_alpha layer_background_index layer_background_speed layer_background_get_visible layer_background_get_sprite layer_background_get_htiled layer_background_get_vtiled layer_background_get_stretch layer_background_get_yscale layer_background_get_xscale layer_background_get_blend layer_background_get_alpha layer_background_get_index layer_background_get_speed layer_sprite_get_id layer_sprite_exists layer_sprite_create layer_sprite_destroy layer_sprite_change layer_sprite_index layer_sprite_speed layer_sprite_xscale layer_sprite_yscale layer_sprite_angle layer_sprite_blend layer_sprite_alpha layer_sprite_x layer_sprite_y layer_sprite_get_sprite layer_sprite_get_index layer_sprite_get_speed layer_sprite_get_xscale layer_sprite_get_yscale layer_sprite_get_angle layer_sprite_get_blend layer_sprite_get_alpha layer_sprite_get_x layer_sprite_get_y layer_tilemap_get_id layer_tilemap_exists layer_tilemap_create layer_tilemap_destroy tilemap_tileset tilemap_x tilemap_y tilemap_set tilemap_set_at_pixel tilemap_get_tileset tilemap_get_tile_width tilemap_get_tile_height tilemap_get_width tilemap_get_height tilemap_get_x tilemap_get_y tilemap_get tilemap_get_at_pixel tilemap_get_cell_x_at_pixel tilemap_get_cell_y_at_pixel tilemap_clear draw_tilemap draw_tile tilemap_set_global_mask tilemap_get_global_mask tilemap_set_mask tilemap_get_mask tilemap_get_frame tile_set_empty tile_set_index tile_set_flip tile_set_mirror tile_set_rotate tile_get_empty tile_get_index tile_get_flip tile_get_mirror tile_get_rotate layer_tile_exists layer_tile_create layer_tile_destroy layer_tile_change layer_tile_xscale layer_tile_yscale layer_tile_blend layer_tile_alpha layer_tile_x layer_tile_y layer_tile_region layer_tile_visible layer_tile_get_sprite layer_tile_get_xscale layer_tile_get_yscale layer_tile_get_blend layer_tile_get_alpha layer_tile_get_x layer_tile_get_y layer_tile_get_region layer_tile_get_visible layer_instance_get_instance instance_activate_layer instance_deactivate_layer camera_create camera_create_view camera_destroy camera_apply camera_get_active camera_get_default camera_set_default camera_set_view_mat camera_set_proj_mat camera_set_update_script camera_set_begin_script camera_set_end_script camera_set_view_pos camera_set_view_size camera_set_view_speed camera_set_view_border camera_set_view_angle camera_set_view_target camera_get_view_mat camera_get_proj_mat camera_get_update_script camera_get_begin_script camera_get_end_script camera_get_view_x camera_get_view_y camera_get_view_width camera_get_view_height camera_get_view_speed_x camera_get_view_speed_y camera_get_view_border_x camera_get_view_border_y camera_get_view_angle camera_get_view_target view_get_camera view_get_visible view_get_xport view_get_yport view_get_wport view_get_hport view_get_surface_id view_set_camera view_set_visible view_set_xport view_set_yport view_set_wport view_set_hport view_set_surface_id gesture_drag_time gesture_drag_distance gesture_flick_speed gesture_double_tap_time gesture_double_tap_distance gesture_pinch_distance gesture_pinch_angle_towards gesture_pinch_angle_away gesture_rotate_time gesture_rotate_angle gesture_tap_count gesture_get_drag_time gesture_get_drag_distance gesture_get_flick_speed gesture_get_double_tap_time gesture_get_double_tap_distance gesture_get_pinch_distance gesture_get_pinch_angle_towards gesture_get_pinch_angle_away gesture_get_rotate_time gesture_get_rotate_angle gesture_get_tap_count keyboard_virtual_show keyboard_virtual_hide keyboard_virtual_status keyboard_virtual_height",literal:"self other all noone global local undefined pointer_invalid pointer_null path_action_stop path_action_restart path_action_continue path_action_reverse true false pi GM_build_date GM_version GM_runtime_version  timezone_local timezone_utc gamespeed_fps gamespeed_microseconds  ev_create ev_destroy ev_step ev_alarm ev_keyboard ev_mouse ev_collision ev_other ev_draw ev_draw_begin ev_draw_end ev_draw_pre ev_draw_post ev_keypress ev_keyrelease ev_trigger ev_left_button ev_right_button ev_middle_button ev_no_button ev_left_press ev_right_press ev_middle_press ev_left_release ev_right_release ev_middle_release ev_mouse_enter ev_mouse_leave ev_mouse_wheel_up ev_mouse_wheel_down ev_global_left_button ev_global_right_button ev_global_middle_button ev_global_left_press ev_global_right_press ev_global_middle_press ev_global_left_release ev_global_right_release ev_global_middle_release ev_joystick1_left ev_joystick1_right ev_joystick1_up ev_joystick1_down ev_joystick1_button1 ev_joystick1_button2 ev_joystick1_button3 ev_joystick1_button4 ev_joystick1_button5 ev_joystick1_button6 ev_joystick1_button7 ev_joystick1_button8 ev_joystick2_left ev_joystick2_right ev_joystick2_up ev_joystick2_down ev_joystick2_button1 ev_joystick2_button2 ev_joystick2_button3 ev_joystick2_button4 ev_joystick2_button5 ev_joystick2_button6 ev_joystick2_button7 ev_joystick2_button8 ev_outside ev_boundary ev_game_start ev_game_end ev_room_start ev_room_end ev_no_more_lives ev_animation_end ev_end_of_path ev_no_more_health ev_close_button ev_user0 ev_user1 ev_user2 ev_user3 ev_user4 ev_user5 ev_user6 ev_user7 ev_user8 ev_user9 ev_user10 ev_user11 ev_user12 ev_user13 ev_user14 ev_user15 ev_step_normal ev_step_begin ev_step_end ev_gui ev_gui_begin ev_gui_end ev_cleanup ev_gesture ev_gesture_tap ev_gesture_double_tap ev_gesture_drag_start ev_gesture_dragging ev_gesture_drag_end ev_gesture_flick ev_gesture_pinch_start ev_gesture_pinch_in ev_gesture_pinch_out ev_gesture_pinch_end ev_gesture_rotate_start ev_gesture_rotating ev_gesture_rotate_end ev_global_gesture_tap ev_global_gesture_double_tap ev_global_gesture_drag_start ev_global_gesture_dragging ev_global_gesture_drag_end ev_global_gesture_flick ev_global_gesture_pinch_start ev_global_gesture_pinch_in ev_global_gesture_pinch_out ev_global_gesture_pinch_end ev_global_gesture_rotate_start ev_global_gesture_rotating ev_global_gesture_rotate_end vk_nokey vk_anykey vk_enter vk_return vk_shift vk_control vk_alt vk_escape vk_space vk_backspace vk_tab vk_pause vk_printscreen vk_left vk_right vk_up vk_down vk_home vk_end vk_delete vk_insert vk_pageup vk_pagedown vk_f1 vk_f2 vk_f3 vk_f4 vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12 vk_numpad0 vk_numpad1 vk_numpad2 vk_numpad3 vk_numpad4 vk_numpad5 vk_numpad6 vk_numpad7 vk_numpad8 vk_numpad9 vk_divide vk_multiply vk_subtract vk_add vk_decimal vk_lshift vk_lcontrol vk_lalt vk_rshift vk_rcontrol vk_ralt  mb_any mb_none mb_left mb_right mb_middle c_aqua c_black c_blue c_dkgray c_fuchsia c_gray c_green c_lime c_ltgray c_maroon c_navy c_olive c_purple c_red c_silver c_teal c_white c_yellow c_orange fa_left fa_center fa_right fa_top fa_middle fa_bottom pr_pointlist pr_linelist pr_linestrip pr_trianglelist pr_trianglestrip pr_trianglefan bm_complex bm_normal bm_add bm_max bm_subtract bm_zero bm_one bm_src_colour bm_inv_src_colour bm_src_color bm_inv_src_color bm_src_alpha bm_inv_src_alpha bm_dest_alpha bm_inv_dest_alpha bm_dest_colour bm_inv_dest_colour bm_dest_color bm_inv_dest_color bm_src_alpha_sat tf_point tf_linear tf_anisotropic mip_off mip_on mip_markedonly audio_falloff_none audio_falloff_inverse_distance audio_falloff_inverse_distance_clamped audio_falloff_linear_distance audio_falloff_linear_distance_clamped audio_falloff_exponent_distance audio_falloff_exponent_distance_clamped audio_old_system audio_new_system audio_mono audio_stereo audio_3d cr_default cr_none cr_arrow cr_cross cr_beam cr_size_nesw cr_size_ns cr_size_nwse cr_size_we cr_uparrow cr_hourglass cr_drag cr_appstart cr_handpoint cr_size_all spritespeed_framespersecond spritespeed_framespergameframe asset_object asset_unknown asset_sprite asset_sound asset_room asset_path asset_script asset_font asset_timeline asset_tiles asset_shader fa_readonly fa_hidden fa_sysfile fa_volumeid fa_directory fa_archive  ds_type_map ds_type_list ds_type_stack ds_type_queue ds_type_grid ds_type_priority ef_explosion ef_ring ef_ellipse ef_firework ef_smoke ef_smokeup ef_star ef_spark ef_flare ef_cloud ef_rain ef_snow pt_shape_pixel pt_shape_disk pt_shape_square pt_shape_line pt_shape_star pt_shape_circle pt_shape_ring pt_shape_sphere pt_shape_flare pt_shape_spark pt_shape_explosion pt_shape_cloud pt_shape_smoke pt_shape_snow ps_distr_linear ps_distr_gaussian ps_distr_invgaussian ps_shape_rectangle ps_shape_ellipse ps_shape_diamond ps_shape_line ty_real ty_string dll_cdecl dll_stdcall matrix_view matrix_projection matrix_world os_win32 os_windows os_macosx os_ios os_android os_symbian os_linux os_unknown os_winphone os_tizen os_win8native os_wiiu os_3ds  os_psvita os_bb10 os_ps4 os_xboxone os_ps3 os_xbox360 os_uwp os_tvos os_switch browser_not_a_browser browser_unknown browser_ie browser_firefox browser_chrome browser_safari browser_safari_mobile browser_opera browser_tizen browser_edge browser_windows_store browser_ie_mobile  device_ios_unknown device_ios_iphone device_ios_iphone_retina device_ios_ipad device_ios_ipad_retina device_ios_iphone5 device_ios_iphone6 device_ios_iphone6plus device_emulator device_tablet display_landscape display_landscape_flipped display_portrait display_portrait_flipped tm_sleep tm_countvsyncs of_challenge_win of_challen ge_lose of_challenge_tie leaderboard_type_number leaderboard_type_time_mins_secs cmpfunc_never cmpfunc_less cmpfunc_equal cmpfunc_lessequal cmpfunc_greater cmpfunc_notequal cmpfunc_greaterequal cmpfunc_always cull_noculling cull_clockwise cull_counterclockwise lighttype_dir lighttype_point iap_ev_storeload iap_ev_product iap_ev_purchase iap_ev_consume iap_ev_restore iap_storeload_ok iap_storeload_failed iap_status_uninitialised iap_status_unavailable iap_status_loading iap_status_available iap_status_processing iap_status_restoring iap_failed iap_unavailable iap_available iap_purchased iap_canceled iap_refunded fb_login_default fb_login_fallback_to_webview fb_login_no_fallback_to_webview fb_login_forcing_webview fb_login_use_system_account fb_login_forcing_safari  phy_joint_anchor_1_x phy_joint_anchor_1_y phy_joint_anchor_2_x phy_joint_anchor_2_y phy_joint_reaction_force_x phy_joint_reaction_force_y phy_joint_reaction_torque phy_joint_motor_speed phy_joint_angle phy_joint_motor_torque phy_joint_max_motor_torque phy_joint_translation phy_joint_speed phy_joint_motor_force phy_joint_max_motor_force phy_joint_length_1 phy_joint_length_2 phy_joint_damping_ratio phy_joint_frequency phy_joint_lower_angle_limit phy_joint_upper_angle_limit phy_joint_angle_limits phy_joint_max_length phy_joint_max_torque phy_joint_max_force phy_debug_render_aabb phy_debug_render_collision_pairs phy_debug_render_coms phy_debug_render_core_shapes phy_debug_render_joints phy_debug_render_obb phy_debug_render_shapes  phy_particle_flag_water phy_particle_flag_zombie phy_particle_flag_wall phy_particle_flag_spring phy_particle_flag_elastic phy_particle_flag_viscous phy_particle_flag_powder phy_particle_flag_tensile phy_particle_flag_colourmixing phy_particle_flag_colormixing phy_particle_group_flag_solid phy_particle_group_flag_rigid phy_particle_data_flag_typeflags phy_particle_data_flag_position phy_particle_data_flag_velocity phy_particle_data_flag_colour phy_particle_data_flag_color phy_particle_data_flag_category  achievement_our_info achievement_friends_info achievement_leaderboard_info achievement_achievement_info achievement_filter_all_players achievement_filter_friends_only achievement_filter_favorites_only achievement_type_achievement_challenge achievement_type_score_challenge achievement_pic_loaded  achievement_show_ui achievement_show_profile achievement_show_leaderboard achievement_show_achievement achievement_show_bank achievement_show_friend_picker achievement_show_purchase_prompt network_socket_tcp network_socket_udp network_socket_bluetooth network_type_connect network_type_disconnect network_type_data network_type_non_blocking_connect network_config_connect_timeout network_config_use_non_blocking_socket network_config_enable_reliable_udp network_config_disable_reliable_udp buffer_fixed buffer_grow buffer_wrap buffer_fast buffer_vbuffer buffer_network buffer_u8 buffer_s8 buffer_u16 buffer_s16 buffer_u32 buffer_s32 buffer_u64 buffer_f16 buffer_f32 buffer_f64 buffer_bool buffer_text buffer_string buffer_surface_copy buffer_seek_start buffer_seek_relative buffer_seek_end buffer_generalerror buffer_outofspace buffer_outofbounds buffer_invalidtype  text_type button_type input_type ANSI_CHARSET DEFAULT_CHARSET EASTEUROPE_CHARSET RUSSIAN_CHARSET SYMBOL_CHARSET SHIFTJIS_CHARSET HANGEUL_CHARSET GB2312_CHARSET CHINESEBIG5_CHARSET JOHAB_CHARSET HEBREW_CHARSET ARABIC_CHARSET GREEK_CHARSET TURKISH_CHARSET VIETNAMESE_CHARSET THAI_CHARSET MAC_CHARSET BALTIC_CHARSET OEM_CHARSET  gp_face1 gp_face2 gp_face3 gp_face4 gp_shoulderl gp_shoulderr gp_shoulderlb gp_shoulderrb gp_select gp_start gp_stickl gp_stickr gp_padu gp_padd gp_padl gp_padr gp_axislh gp_axislv gp_axisrh gp_axisrv ov_friends ov_community ov_players ov_settings ov_gamegroup ov_achievements lb_sort_none lb_sort_ascending lb_sort_descending lb_disp_none lb_disp_numeric lb_disp_time_sec lb_disp_time_ms ugc_result_success ugc_filetype_community ugc_filetype_microtrans ugc_visibility_public ugc_visibility_friends_only ugc_visibility_private ugc_query_RankedByVote ugc_query_RankedByPublicationDate ugc_query_AcceptedForGameRankedByAcceptanceDate ugc_query_RankedByTrend ugc_query_FavoritedByFriendsRankedByPublicationDate ugc_query_CreatedByFriendsRankedByPublicationDate ugc_query_RankedByNumTimesReported ugc_query_CreatedByFollowedUsersRankedByPublicationDate ugc_query_NotYetRated ugc_query_RankedByTotalVotesAsc ugc_query_RankedByVotesUp ugc_query_RankedByTextSearch ugc_sortorder_CreationOrderDesc ugc_sortorder_CreationOrderAsc ugc_sortorder_TitleAsc ugc_sortorder_LastUpdatedDesc ugc_sortorder_SubscriptionDateDesc ugc_sortorder_VoteScoreDesc ugc_sortorder_ForModeration ugc_list_Published ugc_list_VotedOn ugc_list_VotedUp ugc_list_VotedDown ugc_list_WillVoteLater ugc_list_Favorited ugc_list_Subscribed ugc_list_UsedOrPlayed ugc_list_Followed ugc_match_Items ugc_match_Items_Mtx ugc_match_Items_ReadyToUse ugc_match_Collections ugc_match_Artwork ugc_match_Videos ugc_match_Screenshots ugc_match_AllGuides ugc_match_WebGuides ugc_match_IntegratedGuides ugc_match_UsableInGame ugc_match_ControllerBindings  vertex_usage_position vertex_usage_colour vertex_usage_color vertex_usage_normal vertex_usage_texcoord vertex_usage_textcoord vertex_usage_blendweight vertex_usage_blendindices vertex_usage_psize vertex_usage_tangent vertex_usage_binormal vertex_usage_fog vertex_usage_depth vertex_usage_sample vertex_type_float1 vertex_type_float2 vertex_type_float3 vertex_type_float4 vertex_type_colour vertex_type_color vertex_type_ubyte4 layerelementtype_undefined layerelementtype_background layerelementtype_instance layerelementtype_oldtilemap layerelementtype_sprite layerelementtype_tilemap layerelementtype_particlesystem layerelementtype_tile tile_rotate tile_flip tile_mirror tile_index_mask kbv_type_default kbv_type_ascii kbv_type_url kbv_type_email kbv_type_numbers kbv_type_phone kbv_type_phone_name kbv_returnkey_default kbv_returnkey_go kbv_returnkey_google kbv_returnkey_join kbv_returnkey_next kbv_returnkey_route kbv_returnkey_search kbv_returnkey_send kbv_returnkey_yahoo kbv_returnkey_done kbv_returnkey_continue kbv_returnkey_emergency kbv_autocapitalize_none kbv_autocapitalize_words kbv_autocapitalize_sentences kbv_autocapitalize_characters",symbol:"argument_relative argument argument0 argument1 argument2 argument3 argument4 argument5 argument6 argument7 argument8 argument9 argument10 argument11 argument12 argument13 argument14 argument15 argument_count x|0 y|0 xprevious yprevious xstart ystart hspeed vspeed direction speed friction gravity gravity_direction path_index path_position path_positionprevious path_speed path_scale path_orientation path_endaction object_index id solid persistent mask_index instance_count instance_id room_speed fps fps_real current_time current_year current_month current_day current_weekday current_hour current_minute current_second alarm timeline_index timeline_position timeline_speed timeline_running timeline_loop room room_first room_last room_width room_height room_caption room_persistent score lives health show_score show_lives show_health caption_score caption_lives caption_health event_type event_number event_object event_action application_surface gamemaker_pro gamemaker_registered gamemaker_version error_occurred error_last debug_mode keyboard_key keyboard_lastkey keyboard_lastchar keyboard_string mouse_x mouse_y mouse_button mouse_lastbutton cursor_sprite visible sprite_index sprite_width sprite_height sprite_xoffset sprite_yoffset image_number image_index image_speed depth image_xscale image_yscale image_angle image_alpha image_blend bbox_left bbox_right bbox_top bbox_bottom layer background_colour  background_showcolour background_color background_showcolor view_enabled view_current view_visible view_xview view_yview view_wview view_hview view_xport view_yport view_wport view_hport view_angle view_hborder view_vborder view_hspeed view_vspeed view_object view_surface_id view_camera game_id game_display_name game_project_name game_save_id working_directory temp_directory program_directory browser_width browser_height os_type os_device os_browser os_version display_aa async_load delta_time webgl_enabled event_data iap_data phy_rotation phy_position_x phy_position_y phy_angular_velocity phy_linear_velocity_x phy_linear_velocity_y phy_speed_x phy_speed_y phy_speed phy_angular_damping phy_linear_damping phy_bullet phy_fixed_rotation phy_active phy_mass phy_inertia phy_com_x phy_com_y phy_dynamic phy_kinematic phy_sleeping phy_collision_points phy_collision_x phy_collision_y phy_col_normal_x phy_col_normal_y phy_position_xprevious phy_position_yprevious"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}U.exports=C},10332:U=>{function C(e){const i={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:i,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:e.C_NUMBER_RE+"[i]",relevance:1},e.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:i,illegal:/["']/}]}]}}U.exports=C},90668:U=>{function C(e){return{name:"Golo",keywords:{keyword:"println readln print import module function local return let var while for foreach times in case when match with break continue augment augmentation each find filter reduce if then else otherwise try catch finally raise throw orIfNull DynamicObject|10 DynamicVariable struct Observable map set vector list array",literal:"true false null"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}U.exports=C},86044:U=>{function C(e){return{name:"Gradle",case_insensitive:!0,keywords:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}U.exports=C},83144:U=>{function C(c){return c?typeof c=="string"?c:c.source:null}function e(c){return i("(?=",c,")")}function i(...c){return c.map(_=>C(_)).join("")}function a(c,v={}){return v.variants=c,v}function l(c){const v="[A-Za-z0-9_$]+",_=a([c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,c.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),T={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[c.BACKSLASH_ESCAPE]},A=a([c.BINARY_NUMBER_MODE,c.C_NUMBER_MODE]),R=a([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},c.APOS_STRING_MODE,c.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[c.SHEBANG({binary:"groovy",relevance:10}),_,R,T,A,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},c.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:v+"[ 	]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[_,R,T,A,"self"]},{className:"symbol",begin:"^[ 	]*"+e(v+":"),excludeBegin:!0,end:v+":",relevance:0}],illegal:/#|<\//}}U.exports=l},86712:U=>{function C(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,starts:{end:/\}/,subLanguage:"ruby"}}]}}U.exports=C},90592:U=>{function C(v){return v?typeof v=="string"?v:v.source:null}function e(v){return a("(",v,")*")}function i(v){return a("(",v,")?")}function a(...v){return v.map(T=>C(T)).join("")}function l(...v){return"("+v.map(T=>C(T)).join("|")+")"}function c(v){const _={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},T={literal:["true","false","undefined","null"]},A=/""|"[^"]+"/,R=/''|'[^']+'/,P=/\[\]|\[[^\]]+\]/,M=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,O=/(\.|\/)/,N=l(A,R,P,M),B=a(i(/\.|\.\/|\//),N,e(a(O,N))),j=a("(",P,"|",M,")(?==)"),z={begin:B,lexemes:/[\w.\/]+/},W=v.inherit(z,{keywords:T}),X={begin:/\(/,end:/\)/},Q={className:"attr",begin:j,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[v.NUMBER_MODE,v.QUOTE_STRING_MODE,v.APOS_STRING_MODE,W,X]}}},K={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},Y={contains:[v.NUMBER_MODE,v.QUOTE_STRING_MODE,v.APOS_STRING_MODE,K,Q,W,X],returnEnd:!0},Z=v.inherit(z,{className:"name",keywords:_,starts:v.inherit(Y,{end:/\)/})});X.contains=[Z];const J=v.inherit(z,{keywords:_,className:"name",starts:v.inherit(Y,{end:/\}\}/})}),ee=v.inherit(z,{keywords:_,className:"name"}),re=v.inherit(z,{className:"name",keywords:_,starts:v.inherit(Y,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},v.COMMENT(/\{\{!--/,/--\}\}/),v.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[J],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[ee]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[J]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[ee]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[re]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[re]}]}}U.exports=c},6544:U=>{function C(e){const i={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},a={className:"meta",begin:/\{-#/,end:/#-\}/},l={className:"meta",begin:"^#",end:"$"},c={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},v={begin:"\\(",end:"\\)",illegal:'"',contains:[a,l,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),i]},_={begin:/\{/,end:/\}/,contains:v.contains};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[v,i],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[v,i],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[c,v,i]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[a,c,v,_,i]},{beginKeywords:"default",end:"$",contains:[c,v,i]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,i]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[c,e.QUOTE_STRING_MODE,i]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},a,l,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,c,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),i,{begin:"->|<-"}]}}U.exports=C},56336:U=>{function C(e){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ 	]*",end:"[^A-Za-z0-9_ 	\\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ 	]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE]}],illegal:/<\//}}U.exports=C},54628:U=>{function C(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}U.exports=C},94408:U=>{function C(_){return _?typeof _=="string"?_:_.source:null}function e(_){return a("(",_,")*")}function i(_){return a("(",_,")?")}function a(..._){return _.map(A=>C(A)).join("")}function l(..._){return"("+_.map(A=>C(A)).join("|")+")"}function c(_){const T={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},A={literal:["true","false","undefined","null"]},R=/""|"[^"]+"/,P=/''|'[^']+'/,M=/\[\]|\[[^\]]+\]/,O=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,N=/(\.|\/)/,B=l(R,P,M,O),j=a(i(/\.|\.\/|\//),B,e(a(N,B))),z=a("(",M,"|",O,")(?==)"),W={begin:j,lexemes:/[\w.\/]+/},X=_.inherit(W,{keywords:A}),Q={begin:/\(/,end:/\)/},K={className:"attr",begin:z,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[_.NUMBER_MODE,_.QUOTE_STRING_MODE,_.APOS_STRING_MODE,X,Q]}}},Y={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},Z={contains:[_.NUMBER_MODE,_.QUOTE_STRING_MODE,_.APOS_STRING_MODE,Y,K,X,Q],returnEnd:!0},J=_.inherit(W,{className:"name",keywords:T,starts:_.inherit(Z,{end:/\)/})});Q.contains=[J];const ee=_.inherit(W,{keywords:T,className:"name",starts:_.inherit(Z,{end:/\}\}/})}),re=_.inherit(W,{keywords:T,className:"name"}),me=_.inherit(W,{className:"name",keywords:T,starts:_.inherit(Z,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},_.COMMENT(/\{\{!--/,/--\}\}/),_.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[ee],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[re]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[ee]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[re]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[me]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[me]}]}}function v(_){const T=c(_);return T.name="HTMLbars",_.getLanguage("handlebars")&&(T.disableAutodetect=!0),T}U.exports=v},21136:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l="HTTP/(2|1\\.[01])",v={className:"attribute",begin:e("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},_=[v,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+l+" \\d{3})",end:/$/,contains:[{className:"meta",begin:l},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:_}},{begin:"(?=^[A-Z]+ (.*?) "+l+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:l},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:_}},a.inherit(v,{relevance:0})]}}U.exports=i},74432:U=>{function C(e){var i="a-zA-Z_\\-!.?+*=<>&#'",a="["+i+"]["+i+"0-9/;:]*",l={$pattern:a,"builtin-name":"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},c="[-+]?\\d+(\\.\\d+)?",v={begin:a,relevance:0},_={className:"number",begin:c,relevance:0},T=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),A=e.COMMENT(";","$",{relevance:0}),R={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},P={begin:"[\\[\\{]",end:"[\\]\\}]"},M={className:"comment",begin:"\\^"+a},O=e.COMMENT("\\^\\{","\\}"),N={className:"symbol",begin:"[:]{1,2}"+a},B={begin:"\\(",end:"\\)"},j={endsWithParent:!0,relevance:0},z={className:"name",relevance:0,keywords:l,begin:a,starts:j},W=[B,T,M,O,A,N,P,_,R,v];return B.contains=[e.COMMENT("comment",""),z,j],j.contains=W,P.contains=W,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),B,T,M,O,A,N,P,_,R]}}U.exports=C},54780:U=>{function C(e){const i="\\[",a="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:i,end:a}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:i,end:a,contains:["self"]}]}}U.exports=C},44912:U=>{function C(c){return c?typeof c=="string"?c:c.source:null}function e(c){return i("(?=",c,")")}function i(...c){return c.map(_=>C(_)).join("")}function a(...c){return"("+c.map(_=>C(_)).join("|")+")"}function l(c){const v={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:c.NUMBER_RE}]},_=c.COMMENT();_.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const T={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},A={className:"literal",begin:/\bon|off|true|false|yes|no\b/},R={className:"string",contains:[c.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},P={begin:/\[/,end:/\]/,contains:[_,A,T,R,v,"self"],relevance:0},B=a(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/),j=i(B,"(\\s*\\.\\s*",B,")*",e(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[_,{className:"section",begin:/\[+/,end:/\]+/},{begin:j,className:"attr",starts:{end:/$/,contains:[_,P,A,T,R,v]}}]}}U.exports=l},76608:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l={className:"params",begin:"\\(",end:"\\)"},c=/(_[a-z_\d]+)?/,v=/([de][+-]?\d+)?/,_={className:"number",variants:[{begin:e(/\b\d+/,/\.(\d*)/,v,c)},{begin:e(/\b\d+/,v,c)},{begin:e(/\.\d+/,v,c)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[a.inherit(a.APOS_STRING_MODE,{className:"string",relevance:0}),a.inherit(a.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[a.UNDERSCORE_TITLE_MODE,l]},a.COMMENT("!","$",{relevance:0}),a.COMMENT("begin_doc","end_doc",{relevance:10}),_]}}U.exports=i},48652:U=>{function C(e){const i="[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_!][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]*",a="[A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_][A-Za-z\u0410-\u042F\u0430-\u044F\u0451\u0401_0-9]*",l="and \u0438 else \u0438\u043D\u0430\u0447\u0435 endexcept endfinally endforeach \u043A\u043E\u043D\u0435\u0446\u0432\u0441\u0435 endif \u043A\u043E\u043D\u0435\u0446\u0435\u0441\u043B\u0438 endwhile \u043A\u043E\u043D\u0435\u0446\u043F\u043E\u043A\u0430 except exitfor finally foreach \u0432\u0441\u0435 if \u0435\u0441\u043B\u0438 in \u0432 not \u043D\u0435 or \u0438\u043B\u0438 try while \u043F\u043E\u043A\u0430 ",c="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING  SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",v="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",_="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",T="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",A="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",R="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",P="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",M="smHidden smMaximized smMinimized smNormal wmNo wmYes ",O="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",N="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",B="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",j="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",z="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",W="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",X="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",Q="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",K="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",Y="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",Z="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",J="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",ee="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STAT\u0415 SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",re="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",me="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",fe="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",le="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",Ve="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",Ze="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",Ce="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",ye="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",Ae="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",Fe="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",Qe="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",ce="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",Ge="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",Pe="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",pe="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",Se=c+v+_+T+A+R+P+M+O+N+B+j+z+W+X+Q+K+Y+Z+J+ee+re+me+fe+le+Ve+Ze+Ce+ye+Ae+Fe+Qe+ce+Ge+Pe+pe,_e="atUser atGroup atRole ",Ne="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",Le="apBegin apEnd ",Ke="alLeft alRight ",bt="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",yt="cirCommon cirRevoked ",It="ctSignature ctEncode ctSignatureEncode ",_t="clbUnchecked clbChecked clbGrayed ",zt="ceISB ceAlways ceNever ",Vt="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",St="cfInternal cfDisplay ",Xt="ciUnspecified ciWrite ciRead ",jt="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",sn="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",dt="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",Ln="cltInternal cltPrimary cltGUI ",fn="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",cr="dssEdit dssInsert dssBrowse dssInActive ",wr="dftDate dftShortDate dftDateTime dftTimeStamp ",Jn="dotDays dotHours dotMinutes dotSeconds ",nn="dtkndLocal dtkndUTC ",or="arNone arView arEdit arFull ",bn="ddaView ddaEdit ",Sn="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",Hn="ecotFile ecotProcess ",er="eaGet eaCopy eaCreate eaCreateStandardRoute ",an="edltAll edltNothing edltQuery ",Cn="essmText essmCard ",de="esvtLast esvtLastActive esvtSpecified ",oe="edsfExecutive edsfArchive ",Ye="edstSQLServer edstFile ",Et="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",xe="vsDefault vsDesign vsActive vsObsolete ",Re="etNone etCertificate etPassword etCertificatePassword ",We="ecException ecWarning ecInformation ",gt="estAll estApprovingOnly ",Nt="evtLast evtLastActive evtQuery ",Ct="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",tn="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",ge="grhAuto grhX1 grhX2 grhX3 ",At="hltText hltRTF hltHTML ",mn="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",xn="im8bGrayscale im24bRGB im1bMonochrome ",Un="itBMP itJPEG itWMF itPNG ",gr="ikhInformation ikhWarning ikhError ikhNoIcon ",Ur="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",Or="isShow isHide isByUserSettings ",ii="jkJob jkNotice jkControlJob ",Ui="jtInner jtLeft jtRight jtFull jtCross ",rn="lbpAbove lbpBelow lbpLeft lbpRight ",$n="eltPerConnection eltPerUser ",yi="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",Jr="sfsItalic sfsStrikeout sfsNormal ",cn="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",mt="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",we="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",je="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",pt="rdWindow rdFile rdPrinter ",at="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",kt="reOnChange reOnChangeValues ",vn="ttGlobal ttLocal ttUser ttSystem ",Wn="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",nr="smSelect smLike smCard ",rr="stNone stAuthenticating stApproving ",Ot="sctString sctStream ",Gt="sstAnsiSort sstNaturalSort ",Pt="svtEqual svtContain ",Tt="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",An="tarAbortByUser tarAbortByWorkflowException ",on="tvtAllWords tvtExactPhrase tvtAnyWord ",dn="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",$e="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",Yt="btAnd btDetailAnd btOr btNotOr btOnly ",$t="vmView vmSelect vmNavigation ",Jt="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",Lt="wfatPrevious wfatNext wfatCancel wfatFinish ",yn="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",In="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",yr="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",Rr="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",Xr="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",ci="waAll waPerformers waManual ",Hr="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",un="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",ct="wiLow wiNormal wiHigh ",Ut="wrtSoft wrtHard ",wt="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",kn="wtmFull wtmFromCurrent wtmOnlyCurrent ",wn=_e+Ne+Le+Ke+bt+yt+It+_t+zt+Vt+St+Xt+jt+sn+dt+Ln+fn+cr+wr+Jn+nn+or+bn+Sn+Hn+er+an+Cn+de+oe+Ye+Et+xe+Re+We+gt+Nt+Ct+tn+ge+At+mn+xn+Un+gr+Ur+Or+ii+Ui+rn+$n+yi+Jr+cn+mt+we+je+pt+at+kt+vn+Wn+nr+rr+Ot+Gt+Pt+Tt+An+on+dn+$e+Yt+$t+Jt+Lt+yn+In+yr+Rr+Xr+ci+Hr+un+ct+Ut+wt+kn,Qn="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory \u0410\u043D\u0430\u043B\u0438\u0437 \u0411\u0430\u0437\u0430\u0414\u0430\u043D\u043D\u044B\u0445 \u0411\u043B\u043E\u043A\u0415\u0441\u0442\u044C \u0411\u043B\u043E\u043A\u0415\u0441\u0442\u044C\u0420\u0430\u0441\u0448 \u0411\u043B\u043E\u043A\u0418\u043D\u0444\u043E \u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C \u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C\u0420\u0430\u0441\u0448 \u0411\u043B\u043E\u043A\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0412\u0432\u043E\u0434 \u0412\u0432\u043E\u0434\u041C\u0435\u043D\u044E \u0412\u0435\u0434\u0421 \u0412\u0435\u0434\u0421\u043F\u0440 \u0412\u0435\u0440\u0445\u043D\u044F\u044F\u0413\u0440\u0430\u043D\u0438\u0446\u0430\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u0412\u043D\u0435\u0448\u041F\u0440\u043E\u0433\u0440 \u0412\u043E\u0441\u0441\u0442 \u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F\u041F\u0430\u043F\u043A\u0430 \u0412\u0440\u0435\u043C\u044F \u0412\u044B\u0431\u043E\u0440SQL \u0412\u044B\u0431\u0440\u0430\u0442\u044C\u0417\u0430\u043F\u0438\u0441\u044C \u0412\u044B\u0434\u0435\u043B\u0438\u0442\u044C\u0421\u0442\u0440 \u0412\u044B\u0437\u0432\u0430\u0442\u044C \u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0412\u044B\u043F\u041F\u0440\u043E\u0433\u0440 \u0413\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u0438\u0439\u0424\u0430\u0439\u043B \u0413\u0440\u0443\u043F\u043F\u0430\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0414\u0430\u0442\u0430\u0412\u0440\u0435\u043C\u044F\u0421\u0435\u0440\u0432 \u0414\u0435\u043D\u044C\u041D\u0435\u0434\u0435\u043B\u0438 \u0414\u0438\u0430\u043B\u043E\u0433\u0414\u0430\u041D\u0435\u0442 \u0414\u043B\u0438\u043D\u0430\u0421\u0442\u0440 \u0414\u043E\u0431\u041F\u043E\u0434\u0441\u0442\u0440 \u0415\u041F\u0443\u0441\u0442\u043E \u0415\u0441\u043B\u0438\u0422\u043E \u0415\u0427\u0438\u0441\u043B\u043E \u0417\u0430\u043C\u041F\u043E\u0434\u0441\u0442\u0440 \u0417\u0430\u043F\u0438\u0441\u044C\u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A\u0430 \u0417\u043D\u0430\u0447\u041F\u043E\u043B\u044F\u0421\u043F\u0440 \u0418\u0414\u0422\u0438\u043F\u0421\u043F\u0440 \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u0414\u0438\u0441\u043A \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u0418\u043C\u044F\u0424\u0430\u0439\u043B\u0430 \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u041F\u0443\u0442\u044C \u0418\u0437\u0432\u043B\u0435\u0447\u044C\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u0435 \u0418\u0437\u043C\u0414\u0430\u0442 \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C\u0420\u0430\u0437\u043C\u0435\u0440\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u0418\u0437\u043C\u0435\u0440\u0435\u043D\u0438\u0439\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u0418\u043C\u044F\u041E\u0440\u0433 \u0418\u043C\u044F\u041F\u043E\u043B\u044F\u0421\u043F\u0440 \u0418\u043D\u0434\u0435\u043A\u0441 \u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0428\u0430\u0433 \u0418\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439\u0420\u0435\u0436\u0438\u043C \u0418\u0442\u043E\u0433\u0422\u0431\u043B\u0421\u043F\u0440 \u041A\u043E\u0434\u0412\u0438\u0434\u0412\u0435\u0434\u0421\u043F\u0440 \u041A\u043E\u0434\u0412\u0438\u0434\u0421\u043F\u0440\u041F\u043E\u0418\u0414 \u041A\u043E\u0434\u041F\u043EAnalit \u041A\u043E\u0434\u0421\u0438\u043C\u0432\u043E\u043B\u0430 \u041A\u043E\u0434\u0421\u043F\u0440 \u041A\u043E\u043B\u041F\u043E\u0434\u0441\u0442\u0440 \u041A\u043E\u043B\u041F\u0440\u043E\u043F \u041A\u043E\u043D\u041C\u0435\u0441 \u041A\u043E\u043D\u0441\u0442 \u041A\u043E\u043D\u0441\u0442\u0415\u0441\u0442\u044C \u041A\u043E\u043D\u0441\u0442\u0417\u043D\u0430\u0447 \u041A\u043E\u043D\u0422\u0440\u0430\u043D \u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0424\u0430\u0439\u043B \u041A\u043E\u043F\u0438\u044F\u0421\u0442\u0440 \u041A\u041F\u0435\u0440\u0438\u043E\u0434 \u041A\u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u041C\u0430\u043A\u0441 \u041C\u0430\u043A\u0441\u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u041C\u0430\u0441\u0441\u0438\u0432 \u041C\u0435\u043D\u044E \u041C\u0435\u043D\u044E\u0420\u0430\u0441\u0448 \u041C\u0438\u043D \u041D\u0430\u0431\u043E\u0440\u0414\u0430\u043D\u043D\u044B\u0445\u041D\u0430\u0439\u0442\u0438\u0420\u0430\u0441\u0448 \u041D\u0430\u0438\u043C\u0412\u0438\u0434\u0421\u043F\u0440 \u041D\u0430\u0438\u043C\u041F\u043EAnalit \u041D\u0430\u0438\u043C\u0421\u043F\u0440 \u041D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C\u041F\u0435\u0440\u0435\u0432\u043E\u0434\u044B\u0421\u0442\u0440\u043E\u043A \u041D\u0430\u0447\u041C\u0435\u0441 \u041D\u0430\u0447\u0422\u0440\u0430\u043D \u041D\u0438\u0436\u043D\u044F\u044F\u0413\u0440\u0430\u043D\u0438\u0446\u0430\u041C\u0430\u0441\u0441\u0438\u0432\u0430 \u041D\u043E\u043C\u0435\u0440\u0421\u043F\u0440 \u041D\u041F\u0435\u0440\u0438\u043E\u0434 \u041E\u043A\u043D\u043E \u041E\u043A\u0440 \u041E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u0435 \u041E\u0442\u043B\u0418\u043D\u0444\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u041E\u0442\u043B\u0418\u043D\u0444\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u041E\u0442\u0447\u0435\u0442 \u041E\u0442\u0447\u0435\u0442\u0410\u043D\u0430\u043B \u041E\u0442\u0447\u0435\u0442\u0418\u043D\u0442 \u041F\u0430\u043F\u043A\u0430\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u041F\u0430\u0443\u0437\u0430 \u041F\u0412\u044B\u0431\u043E\u0440SQL \u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C\u0424\u0430\u0439\u043B \u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C\u0424\u0430\u0439\u043B \u041F\u043E\u0434\u0441\u0442\u0440 \u041F\u043E\u0438\u0441\u043A\u041F\u043E\u0434\u0441\u0442\u0440 \u041F\u043E\u0438\u0441\u043A\u0421\u0442\u0440 \u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C\u0418\u0414\u0422\u0430\u0431\u043B\u0438\u0446\u044B \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0418\u0414 \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0418\u043C\u044F \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0421\u0442\u0430\u0442\u0443\u0441 \u041F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0417\u043D\u0430\u0447 \u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C\u0423\u0441\u043B\u043E\u0432\u0438\u0435 \u0420\u0430\u0437\u0431\u0421\u0442\u0440 \u0420\u0430\u0437\u043D\u0412\u0440\u0435\u043C\u044F \u0420\u0430\u0437\u043D\u0414\u0430\u0442 \u0420\u0430\u0437\u043D\u0414\u0430\u0442\u0430\u0412\u0440\u0435\u043C\u044F \u0420\u0430\u0437\u043D\u0420\u0430\u0431\u0412\u0440\u0435\u043C\u044F \u0420\u0435\u0433\u0423\u0441\u0442\u0412\u0440\u0435\u043C \u0420\u0435\u0433\u0423\u0441\u0442\u0414\u0430\u0442 \u0420\u0435\u0433\u0423\u0441\u0442\u0427\u0441\u043B \u0420\u0435\u0434\u0422\u0435\u043A\u0441\u0442 \u0420\u0435\u0435\u0441\u0442\u0440\u0417\u0430\u043F\u0438\u0441\u044C \u0420\u0435\u0435\u0441\u0442\u0440\u0421\u043F\u0438\u0441\u043E\u043A\u0418\u043C\u0435\u043D\u041F\u0430\u0440\u0430\u043C \u0420\u0435\u0435\u0441\u0442\u0440\u0427\u0442\u0435\u043D\u0438\u0435 \u0420\u0435\u043A\u0432\u0421\u043F\u0440 \u0420\u0435\u043A\u0432\u0421\u043F\u0440\u041F\u0440 \u0421\u0435\u0433\u043E\u0434\u043D\u044F \u0421\u0435\u0439\u0447\u0430\u0441 \u0421\u0435\u0440\u0432\u0435\u0440 \u0421\u0435\u0440\u0432\u0435\u0440\u041F\u0440\u043E\u0446\u0435\u0441\u0441\u0418\u0414 \u0421\u0435\u0440\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u0424\u0430\u0439\u043B\u0421\u0447\u0438\u0442\u0430\u0442\u044C \u0421\u0436\u041F\u0440\u043E\u0431 \u0421\u0438\u043C\u0432\u043E\u043B \u0421\u0438\u0441\u0442\u0435\u043C\u0430\u0414\u0438\u0440\u0435\u043A\u0442\u0443\u043C\u041A\u043E\u0434 \u0421\u0438\u0441\u0442\u0435\u043C\u0430\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u0421\u0438\u0441\u0442\u0435\u043C\u0430\u041A\u043E\u0434 \u0421\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u0412\u044B\u0431\u043E\u0440\u0430\u0418\u0437\u0414\u0432\u0443\u0445\u0421\u043F\u0438\u0441\u043A\u043E\u0432 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u0412\u044B\u0431\u043E\u0440\u0430\u041F\u0430\u043F\u043A\u0438 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u041E\u0442\u043A\u0440\u044B\u0442\u0438\u044F\u0424\u0430\u0439\u043B\u0430 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0414\u0438\u0430\u043B\u043E\u0433\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F\u0424\u0430\u0439\u043B\u0430 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0417\u0430\u043F\u0440\u043E\u0441 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0418\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0418\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041A\u044D\u0448\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439\u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041C\u0430\u0441\u0441\u0438\u0432 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041D\u0430\u0431\u043E\u0440\u0414\u0430\u043D\u043D\u044B\u0445 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041E\u0431\u044A\u0435\u043A\u0442 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041E\u0442\u0447\u0435\u0442 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u041F\u0430\u043F\u043A\u0443 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0420\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043F\u0438\u0441\u043E\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043F\u0438\u0441\u043E\u043A\u0421\u0442\u0440\u043E\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A \u0421\u043E\u0437\u0434\u0430\u0442\u044C\u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0421\u043E\u0437\u0434\u0421\u043F\u0440 \u0421\u043E\u0441\u0442\u0421\u043F\u0440 \u0421\u043E\u0445\u0440 \u0421\u043E\u0445\u0440\u0421\u043F\u0440 \u0421\u043F\u0438\u0441\u043E\u043A\u0421\u0438\u0441\u0442\u0435\u043C \u0421\u043F\u0440 \u0421\u043F\u0440\u0430\u0432\u043E\u0447\u043D\u0438\u043A \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0415\u0441\u0442\u044C \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0421\u043D\u044F\u0442\u044C\u0420\u0430\u0441\u0448 \u0421\u043F\u0440\u0411\u043B\u043E\u043A\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0421\u043F\u0440\u0418\u0437\u043C\u041D\u0430\u0431\u0414\u0430\u043D \u0421\u043F\u0440\u041A\u043E\u0434 \u0421\u043F\u0440\u041D\u043E\u043C\u0435\u0440 \u0421\u043F\u0440\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0421\u043F\u0440\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0421\u043F\u0440\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0421\u043F\u0440\u041F\u0430\u0440\u0430\u043C \u0421\u043F\u0440\u041F\u043E\u043B\u0435\u0417\u043D\u0430\u0447 \u0421\u043F\u0440\u041F\u043E\u043B\u0435\u0418\u043C\u044F \u0421\u043F\u0440\u0420\u0435\u043A\u0432 \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u0412\u0432\u0435\u0434\u0417\u043D \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u041D\u043E\u0432\u044B\u0435 \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u041F\u0440 \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u041F\u0440\u0435\u0434\u0417\u043D \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u0420\u0435\u0436\u0438\u043C \u0421\u043F\u0440\u0420\u0435\u043A\u0432\u0422\u0438\u043F\u0422\u0435\u043A\u0441\u0442 \u0421\u043F\u0440\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0421\u043F\u0440\u0421\u043E\u0441\u0442 \u0421\u043F\u0440\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0421\u043F\u0440\u0422\u0431\u043B\u0418\u0442\u043E\u0433 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041A\u043E\u043B \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041C\u0430\u043A\u0441 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041C\u0438\u043D \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u041F\u0440\u0435\u0434 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u0421\u043B\u0435\u0434 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u0421\u043E\u0437\u0434 \u0421\u043F\u0440\u0422\u0431\u043B\u0421\u0442\u0440\u0423\u0434 \u0421\u043F\u0440\u0422\u0435\u043A\u041F\u0440\u0435\u0434\u0441\u0442 \u0421\u043F\u0440\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0421\u0440\u0430\u0432\u043D\u0438\u0442\u044C\u0421\u0442\u0440 \u0421\u0442\u0440\u0412\u0435\u0440\u0445\u0420\u0435\u0433\u0438\u0441\u0442\u0440 \u0421\u0442\u0440\u041D\u0438\u0436\u043D\u0420\u0435\u0433\u0438\u0441\u0442\u0440 \u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u0421\u0443\u043C\u041F\u0440\u043E\u043F \u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439 \u0421\u0446\u0435\u043D\u0430\u0440\u0438\u0439\u041F\u0430\u0440\u0430\u043C \u0422\u0435\u043A\u0412\u0435\u0440\u0441\u0438\u044F \u0422\u0435\u043A\u041E\u0440\u0433 \u0422\u043E\u0447\u043D \u0422\u0440\u0430\u043D \u0422\u0440\u0430\u043D\u0441\u043B\u0438\u0442\u0435\u0440\u0430\u0446\u0438\u044F \u0423\u0434\u0430\u043B\u0438\u0442\u044C\u0422\u0430\u0431\u043B\u0438\u0446\u0443 \u0423\u0434\u0430\u043B\u0438\u0442\u044C\u0424\u0430\u0439\u043B \u0423\u0434\u0421\u043F\u0440 \u0423\u0434\u0421\u0442\u0440\u0422\u0431\u043B\u0421\u043F\u0440 \u0423\u0441\u0442 \u0423\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438\u041A\u043E\u043D\u0441\u0442\u0430\u043D\u0442 \u0424\u0430\u0439\u043B\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0421\u0447\u0438\u0442\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0424\u0430\u0439\u043B\u0412\u0440\u0435\u043C\u044F \u0424\u0430\u0439\u043B\u0412\u0440\u0435\u043C\u044F\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0424\u0430\u0439\u043B\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0417\u0430\u043D\u044F\u0442 \u0424\u0430\u0439\u043B\u0417\u0430\u043F\u0438\u0441\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0418\u0441\u043A\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041C\u043E\u0436\u043D\u043E\u0427\u0438\u0442\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0435\u0440\u0435\u043A\u043E\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0424\u0430\u0439\u043B\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0424\u0430\u0439\u043B\u0420\u0430\u0437\u043C\u0435\u0440 \u0424\u0430\u0439\u043B\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0421\u0441\u044B\u043B\u043A\u0430\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0424\u0430\u0439\u043B\u0421\u0447\u0438\u0442\u0430\u0442\u044C \u0424\u0430\u0439\u043B\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0424\u043C\u0442SQL\u0414\u0430\u0442 \u0424\u043C\u0442\u0414\u0430\u0442 \u0424\u043C\u0442\u0421\u0442\u0440 \u0424\u043C\u0442\u0427\u0441\u043B \u0424\u043E\u0440\u043C\u0430\u0442 \u0426\u041C\u0430\u0441\u0441\u0438\u0432\u042D\u043B\u0435\u043C\u0435\u043D\u0442 \u0426\u041D\u0430\u0431\u043E\u0440\u0414\u0430\u043D\u043D\u044B\u0445\u0420\u0435\u043A\u0432\u0438\u0437\u0438\u0442 \u0426\u041F\u043E\u0434\u0441\u0442\u0440 ",ur="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work \u0412\u044B\u0437\u043E\u0432\u0421\u043F\u043E\u0441\u043E\u0431 \u0418\u043C\u044F\u041E\u0442\u0447\u0435\u0442\u0430 \u0420\u0435\u043A\u0432\u0417\u043D\u0430\u0447 ",fi="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",ot=Se+wn,ft=ur,Mt="null true false nil ",qt={className:"number",begin:e.NUMBER_RE,relevance:0},sr={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},lr={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},Cr={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,lr]},xr={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,lr]},qr={variants:[Cr,xr]},jr={$pattern:i,keyword:l,built_in:ot,class:ft,literal:Mt},vr={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:jr,relevance:0},$r={className:"type",begin:":[ \\t]*("+fi.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Wr={className:"variable",keywords:jr,begin:i,relevance:0,contains:[$r,vr]},be=a+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:jr,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:be,end:"\\)$",returnBegin:!0,keywords:jr,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:i,built_in:Qn},begin:be,end:"\\(",returnBegin:!0,excludeEnd:!0},vr,Wr,sr,qt,qr]},$r,vr,Wr,sr,qt,qr]}}U.exports=C},59995:U=>{var C="[0-9](_*[0-9])*",e=`\\.(${C})`,i="[0-9a-fA-F](_*[0-9a-fA-F])*",a={className:"number",variants:[{begin:`(\\b(${C})((${e})|\\.)?|(${e}))[eE][+-]?(${C})[fFdD]?\\b`},{begin:`\\b(${C})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${C})[fFdD]\\b`},{begin:`\\b0[xX]((${i})\\.?|(${i})?\\.(${i}))[pP][+-]?(${C})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${i})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function l(c){var v="[\xC0-\u02B8a-zA-Z_$][\xC0-\u02B8a-zA-Z_$0-9]*",_=v+"(<"+v+"(\\s*,\\s*"+v+")*>)?",T="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",A={className:"meta",begin:"@"+v,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]};const R=a;return{name:"Java",aliases:["jsp"],keywords:T,illegal:/<\/|#/,contains:[c.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:!0,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},c.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+c.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,end:/[{;=]/,keywords:T,contains:[{beginKeywords:"record"},{begin:c.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[c.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:T,relevance:0,contains:[c.C_BLOCK_COMMENT_MODE]},c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"("+_+"\\s+)+"+c.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:T,contains:[{begin:c.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[c.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:T,relevance:0,contains:[A,c.APOS_STRING_MODE,c.QUOTE_STRING_MODE,R,c.C_BLOCK_COMMENT_MODE]},c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE]},R,A]}}U.exports=l},41100:U=>{const C="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],i=["true","false","null","undefined","NaN","Infinity"],a=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],l=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],c=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],v=["arguments","this","super","console","window","document","localStorage","module","global"],_=[].concat(c,v,a,l);function T(M){return M?typeof M=="string"?M:M.source:null}function A(M){return R("(?=",M,")")}function R(...M){return M.map(N=>T(N)).join("")}function P(M){const O=(Ce,{after:ye})=>{const Ae="</"+Ce[0].slice(1);return Ce.input.indexOf(Ae,ye)!==-1},N=C,B={begin:"<>",end:"</>"},j={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Ce,ye)=>{const Ae=Ce[0].length+Ce.index,Fe=Ce.input[Ae];if(Fe==="<"){ye.ignoreMatch();return}Fe===">"&&(O(Ce,{after:Ae})||ye.ignoreMatch())}},z={$pattern:C,keyword:e,literal:i,built_in:_},W="[0-9](_?[0-9])*",X=`\\.(${W})`,Q="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",K={className:"number",variants:[{begin:`(\\b(${Q})((${X})|\\.)?|(${X}))[eE][+-]?(${W})\\b`},{begin:`\\b(${Q})\\b((${X})\\b|\\.)?|(${X})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},Y={className:"subst",begin:"\\$\\{",end:"\\}",keywords:z,contains:[]},Z={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[M.BACKSLASH_ESCAPE,Y],subLanguage:"xml"}},J={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[M.BACKSLASH_ESCAPE,Y],subLanguage:"css"}},ee={className:"string",begin:"`",end:"`",contains:[M.BACKSLASH_ESCAPE,Y]},me={className:"comment",variants:[M.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:N+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),M.C_BLOCK_COMMENT_MODE,M.C_LINE_COMMENT_MODE]},fe=[M.APOS_STRING_MODE,M.QUOTE_STRING_MODE,Z,J,ee,K,M.REGEXP_MODE];Y.contains=fe.concat({begin:/\{/,end:/\}/,keywords:z,contains:["self"].concat(fe)});const le=[].concat(me,Y.contains),Ve=le.concat([{begin:/\(/,end:/\)/,keywords:z,contains:["self"].concat(le)}]),Ze={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:z,contains:Ve};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:z,exports:{PARAMS_CONTAINS:Ve},illegal:/#(?![$_A-z])/,contains:[M.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M.APOS_STRING_MODE,M.QUOTE_STRING_MODE,Z,J,ee,me,K,{begin:R(/[{,\n]\s*/,A(R(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,N+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:N+A("\\s*:"),relevance:0}]},{begin:"("+M.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[me,M.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+M.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:M.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:z,contains:Ve}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:B.begin,end:B.end},{begin:j.begin,"on:begin":j.isTrulyOpeningTag,end:j.end}],subLanguage:"xml",contains:[{begin:j.begin,end:j.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:z,contains:["self",M.inherit(M.TITLE_MODE,{begin:N}),Ze],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:M.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[Ze,M.inherit(M.TITLE_MODE,{begin:N})]},{variants:[{begin:"\\."+N},{begin:"\\$"+N}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},M.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[M.inherit(M.TITLE_MODE,{begin:N}),"self",Ze]},{begin:"(get|set)\\s+(?="+N+"\\()",end:/\{/,keywords:"get set",contains:[M.inherit(M.TITLE_MODE,{begin:N}),{begin:/\(\)/},Ze]},{begin:/\$[(.]/}]}}U.exports=P},75900:U=>{function C(e){const a={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},l={className:"function",begin:/:[\w\-.]+/,relevance:0},c={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},v={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,v,l,c,a]}}U.exports=C},80328:U=>{function C(e){const i={literal:"true false null"},a=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],l=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],c={end:",",endsWithParent:!0,excludeEnd:!0,contains:l,keywords:i},v={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(c,{begin:/:/})].concat(a),illegal:"\\S"},_={begin:"\\[",end:"\\]",contains:[e.inherit(c)],illegal:"\\S"};return l.push(v,_),a.forEach(function(T){l.push(T)}),{name:"JSON",contains:l,keywords:i,illegal:"\\S"}}U.exports=C},2100:U=>{function C(e){return{name:"Julia REPL",contains:[{className:"meta",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"},aliases:["jldoctest"]}]}}U.exports=C},79288:U=>{function C(e){var i="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",a=["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],l=["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","\u03C0","\u212F"],c=["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"],v={$pattern:i,keyword:a,literal:l,built_in:c},_={keywords:v,illegal:/<\//},T={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},A={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},R={className:"subst",begin:/\$\(/,end:/\)/,keywords:v},P={className:"variable",begin:"\\$"+i},M={className:"string",contains:[e.BACKSLASH_ESCAPE,R,P],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},O={className:"string",contains:[e.BACKSLASH_ESCAPE,R,P],begin:"`",end:"`"},N={className:"meta",begin:"@"+i},B={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return _.name="Julia",_.contains=[T,A,M,O,N,B,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],R.contains=_.contains,_}U.exports=C},61224:U=>{var C="[0-9](_*[0-9])*",e=`\\.(${C})`,i="[0-9a-fA-F](_*[0-9a-fA-F])*",a={className:"number",variants:[{begin:`(\\b(${C})((${e})|\\.)?|(${e}))[eE][+-]?(${C})[fFdD]?\\b`},{begin:`\\b(${C})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${C})[fFdD]\\b`},{begin:`\\b0[xX]((${i})\\.?|(${i})?\\.(${i}))[pP][+-]?(${C})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${i})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function l(c){const v={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},_={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},T={className:"symbol",begin:c.UNDERSCORE_IDENT_RE+"@"},A={className:"subst",begin:/\$\{/,end:/\}/,contains:[c.C_NUMBER_MODE]},R={className:"variable",begin:"\\$"+c.UNDERSCORE_IDENT_RE},P={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[R,A]},{begin:"'",end:"'",illegal:/\n/,contains:[c.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[c.BACKSLASH_ESCAPE,R,A]}]};A.contains.push(P);const M={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+c.UNDERSCORE_IDENT_RE+")?"},O={className:"meta",begin:"@"+c.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[c.inherit(P,{className:"meta-string"})]}]},N=a,B=c.COMMENT("/\\*","\\*/",{contains:[c.C_BLOCK_COMMENT_MODE]}),j={variants:[{className:"type",begin:c.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},z=j;return z.variants[1].contains=[j],j.variants[1].contains=[z],{name:"Kotlin",aliases:["kt","kts"],keywords:v,contains:[c.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),c.C_LINE_COMMENT_MODE,B,_,T,M,O,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:v,relevance:5,contains:[{begin:c.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[c.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:v,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[j,c.C_LINE_COMMENT_MODE,B],relevance:0},c.C_LINE_COMMENT_MODE,B,M,O,P,c.C_NUMBER_MODE]},B]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},c.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},M,O]},P,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
`},N]}}U.exports=l},46848:U=>{function C(e){const i="[a-zA-Z_][\\w.]*",a="<\\?(lasso(script)?|=)",l="\\]|\\?>",c={$pattern:i+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},v=e.COMMENT("<!--","-->",{relevance:0}),_={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[v]}},T={className:"meta",begin:"\\[/noprocess|"+a},A={className:"symbol",begin:"'"+i+"'"},R=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+i},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:i,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+i,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[A]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:i+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:c,contains:[{className:"meta",begin:l,relevance:0,starts:{end:"\\[|"+a,returnEnd:!0,relevance:0,contains:[v]}},_,T,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:c,contains:[{className:"meta",begin:l,relevance:0,starts:{end:"\\[noprocess\\]|"+a,returnEnd:!0,contains:[v]}},_,T].concat(R)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(R)}}U.exports=C},51560:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return"("+a.map(c=>C(c)).join("|")+")"}function i(a){const l=e(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(fe=>fe+"(?![a-zA-Z@:_])")),c=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(fe=>fe+"(?![a-zA-Z:_])").join("|")),v=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],_=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],T={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:l},{endsParent:!0,begin:c},{endsParent:!0,variants:_},{endsParent:!0,relevance:0,variants:v}]},A={className:"params",relevance:0,begin:/#+\d?/},R={variants:_},P={className:"built_in",relevance:0,begin:/[$&^_]/},M={className:"meta",begin:"% !TeX",end:"$",relevance:10},O=a.COMMENT("%","$",{relevance:0}),N=[T,A,R,P,M,O],B={begin:/\{/,end:/\}/,relevance:0,contains:["self",...N]},j=a.inherit(B,{relevance:0,endsParent:!0,contains:[B,...N]}),z={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[B,...N]},W={begin:/\s+/,relevance:0},X=[j],Q=[z],K=function(fe,le){return{contains:[W],starts:{relevance:0,contains:fe,starts:le}}},Y=function(fe,le){return{begin:"\\\\"+fe+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+fe},relevance:0,contains:[W],starts:le}},Z=function(fe,le){return a.inherit({begin:"\\\\begin(?=[ 	]*(\\r?\\n[ 	]*)?\\{"+fe+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},K(X,le))},J=(fe="string")=>a.END_SAME_AS_BEGIN({className:fe,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),ee=function(fe){return{className:"string",end:"(?=\\\\end\\{"+fe+"\\})"}},re=(fe="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:fe,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),me=[...["verb","lstinline"].map(fe=>Y(fe,{contains:[J()]})),Y("mint",K(X,{contains:[J()]})),Y("mintinline",K(X,{contains:[re(),J()]})),Y("url",{contains:[re("link"),re("link")]}),Y("hyperref",{contains:[re("link")]}),Y("href",K(Q,{contains:[re("link")]})),...[].concat(...["","\\*"].map(fe=>[Z("verbatim"+fe,ee("verbatim"+fe)),Z("filecontents"+fe,K(X,ee("filecontents"+fe))),...["","B","L"].map(le=>Z(le+"Verbatim"+fe,K(Q,ee(le+"Verbatim"+fe))))])),Z("minted",K(Q,K(X,ee("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...me,...N]}}U.exports=i},20896:U=>{function C(e){return{name:"LDIF",contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},e.HASH_COMMENT_MODE]}}U.exports=C},35920:U=>{function C(e){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}U.exports=C},56896:U=>{const C=T=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[T.APOS_STRING_MODE,T.QUOTE_STRING_MODE]}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],l=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],c=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse(),v=a.concat(l);function _(T){const A=C(T),R=v,P="and or not only",M="[\\w-]+",O="("+M+"|@\\{"+M+"\\})",N=[],B=[],j=function(me){return{className:"string",begin:"~?"+me+".*?"+me}},z=function(me,fe,le){return{className:me,begin:fe,relevance:le}},W={$pattern:/[a-z-]+/,keyword:P,attribute:i.join(" ")},X={begin:"\\(",end:"\\)",contains:B,keywords:W,relevance:0};B.push(T.C_LINE_COMMENT_MODE,T.C_BLOCK_COMMENT_MODE,j("'"),j('"'),T.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},A.HEXCOLOR,X,z("variable","@@?"+M,10),z("variable","@\\{"+M+"\\}"),z("built_in","~?`[^`]*?`"),{className:"attribute",begin:M+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},A.IMPORTANT);const Q=B.concat({begin:/\{/,end:/\}/,contains:N}),K={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(B)},Y={begin:O+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},{className:"attribute",begin:"\\b("+c.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:B}}]},Z={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:W,returnEnd:!0,contains:B,relevance:0}},J={className:"variable",variants:[{begin:"@"+M+"\\s*:",relevance:15},{begin:"@"+M}],starts:{end:"[;}]",returnEnd:!0,contains:Q}},ee={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:O,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[T.C_LINE_COMMENT_MODE,T.C_BLOCK_COMMENT_MODE,K,z("keyword","all\\b"),z("variable","@\\{"+M+"\\}"),{begin:"\\b("+e.join("|")+")\\b",className:"selector-tag"},z("selector-tag",O+"%?",0),z("selector-id","#"+O),z("selector-class","\\."+O,0),z("selector-tag","&",0),A.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+a.join("|")+")"},{className:"selector-pseudo",begin:"::("+l.join("|")+")"},{begin:"\\(",end:"\\)",contains:Q},{begin:"!important"}]},re={begin:M+`:(:)?(${R.join("|")})`,returnBegin:!0,contains:[ee]};return N.push(T.C_LINE_COMMENT_MODE,T.C_BLOCK_COMMENT_MODE,Z,J,re,Y,ee),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:N}}U.exports=_},62128:U=>{function C(e){var i="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",a="\\|[^]*?\\|",l="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",c={className:"literal",begin:"\\b(t{1}|nil)\\b"},v={className:"number",variants:[{begin:l,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+l+" +"+l,end:"\\)"}]},_=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),T=e.COMMENT(";","$",{relevance:0}),A={begin:"\\*",end:"\\*"},R={className:"symbol",begin:"[:&]"+i},P={begin:i,relevance:0},M={begin:a},O={begin:"\\(",end:"\\)",contains:["self",c,_,v,P]},N={contains:[v,_,A,R,O,P],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+a}]},B={variants:[{begin:"'"+i},{begin:"#'"+i+"(::"+i+")*"}]},j={begin:"\\(\\s*",end:"\\)"},z={endsWithParent:!0,relevance:0};return j.contains=[{className:"name",variants:[{begin:i,relevance:0},{begin:a}]},z],z.contains=[N,B,j,c,v,_,T,A,R,M,P],{name:"Lisp",illegal:/\S/,contains:[v,e.SHEBANG(),c,_,T,N,B,j,P]}}U.exports=C},54452:U=>{function C(e){const i={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},a=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],l=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),c=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[i,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[i,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,l]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[c,l],relevance:0},{beginKeywords:"command on",end:"$",contains:[i,c,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,l]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,l].concat(a),illegal:";$|^\\[|^=|&|\\{"}}U.exports=C},17548:U=>{const C=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],e=["true","false","null","undefined","NaN","Infinity"],i=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],a=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],l=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],c=["arguments","this","super","console","window","document","localStorage","module","global"],v=[].concat(l,c,i,a);function _(T){const A=["npm","print"],R=["yes","no","on","off","it","that","void"],P=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],M={keyword:C.concat(P),literal:e.concat(R),built_in:v.concat(A)},O="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",N=T.inherit(T.TITLE_MODE,{begin:O}),B={className:"subst",begin:/#\{/,end:/\}/,keywords:M},j={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:M},z=[T.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[T.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[T.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[T.BACKSLASH_ESCAPE,B,j]},{begin:/"/,end:/"/,contains:[T.BACKSLASH_ESCAPE,B,j]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[B,T.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+O},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];B.contains=z;const W={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:M,contains:["self"].concat(z)}]},X={begin:"(#=>|=>|\\|>>|-?->|!->)"};return{name:"LiveScript",aliases:["ls"],keywords:M,illegal:/\/\*/,contains:z.concat([T.COMMENT("\\/\\*","\\*\\/"),T.HASH_COMMENT_MODE,X,{className:"function",contains:[N,W],returnBegin:!0,variants:[{begin:"("+O+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+O+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+O+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[N]},N]},{begin:O+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}U.exports=_},68836:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l=/([-a-zA-Z$._][\w$.-]*)/,c={className:"type",begin:/\bi\d+(?=\s|\b)/},v={className:"operator",relevance:0,begin:/=/},_={className:"punctuation",relevance:0,begin:/,/},T={className:"number",variants:[{begin:/0[xX][a-fA-F0-9]+/},{begin:/-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},A={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},R={className:"variable",variants:[{begin:e(/%/,l)},{begin:/%\d+/},{begin:/#\d+/}]},P={className:"title",variants:[{begin:e(/@/,l)},{begin:/@\d+/},{begin:e(/!/,l)},{begin:e(/!\d+/,l)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[c,a.COMMENT(/;\s*$/,null,{relevance:0}),a.COMMENT(/;/,/$/),a.QUOTE_STRING_MODE,{className:"string",variants:[{begin:/"/,end:/[^\\]"/}]},P,_,v,R,A,T]}}U.exports=i},44680:U=>{function C(e){var i={className:"subst",begin:/\\[tn"\\]/},a={className:"string",begin:'"',end:'"',contains:[i]},l={className:"number",relevance:0,begin:e.C_NUMBER_RE},c={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},v={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[a,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},l,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},v,c,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}U.exports=C},12012:U=>{function C(e){const i="\\[=*\\[",a="\\]=*\\]",l={begin:i,end:a,contains:["self"]},c=[e.COMMENT("--(?!"+i+")","$"),e.COMMENT("--"+i,a,{contains:[l],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:c.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:c}].concat(c)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:i,end:a,contains:[l],relevance:5}])}}U.exports=C},14500:U=>{function C(e){const i={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i]},l={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[i]},c={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},v={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,"meta-keyword":".PHONY"}},_={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[i]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,i,a,l,c,v,_]}}U.exports=C},10976:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},c={begin:"^[-\\*]{3,}",end:"$"},v={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},_={className:"bullet",begin:"^[ 	]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},T={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},R={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.+?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},P={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},M={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};P.contains.push(M),M.contains.push(P);let O=[l,R];return P.contains=P.contains.concat(O),M.contains=M.contains.concat(O),O=O.concat(P,M),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:O},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:O}]}]},l,_,P,M,{className:"quote",begin:"^>\\s+",contains:O,end:"$"},v,c,R,T]}}U.exports=i},21976:U=>{const C=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Apply","ApplySides","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayQ","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstronomicalData","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomList","AtomQ","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTracks","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","BabyMonsterGroupB","Back","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginFrontEndInteractionPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","Binomial","BinomialDistribution","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockMap","BlockRandom","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CardinalBSplineBasis","CarlemanLinearize","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalData","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","ClosingSaveDialog","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledFunction","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteKaryTree","CompletionsListPacket","Complex","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","ConformAudio","ConformImages","Congruent","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegionBox","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnesWindow","ConoverTest","ConsoleMessage","ConsoleMessagePacket","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","Convergents","ConversionOptions","ConversionRules","ConvertToBitmapPacket","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexPolygonQ","ConvexPolyhedronQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyTag","CopyToClipboard","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePalettePacket","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","Cumulant","CumulantGeneratingFunction","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentlySpeakingPacket","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylindricalDecomposition","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFormatTypeForStyle","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayFlushImagePacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplaySetSizePacket","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DragAndDrop","DrawEdges","DrawFrontFaces","DrawHighlighted","Drop","DropoutLayer","DSolve","DSolveValue","Dt","DualLinearProgramming","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoFunction","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EnableConsolePrintPacket","Enabled","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndFrontEndInteractionPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedProcess","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPostmanTour","FindProcessParameters","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlipView","Floor","FlowPolynomial","FlushPrintOutputPacket","Fold","FoldList","FoldPair","FoldPairList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FractionalBrownianMotionProcess","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceOpacity","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionDomain","FunctionExpand","FunctionInterpolation","FunctionPeriod","FunctionRange","FunctionSpace","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedCell","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoPath","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetBoundingBoxSizePacket","GetContext","GetEnvironment","GetFileName","GetFrontEndOptionsDataPacket","GetLinebreakInformationPacket","GetMenusPacket","GetPageBreakInformationPacket","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","Grad","Gradient","GradientFilter","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphElementData","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","HeaderSize","HeaderStyle","Heads","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","Here","HermiteDecomposition","HermiteH","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IgnoreCase","IgnoreDiacritics","IgnorePunctuation","IgnoreSpellCheck","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImagingDevice","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","Interactive","InteractiveTradingChart","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LibraryDataType","LibraryFunction","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseID","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeContainsQ","MoleculeEquivalentQ","MoleculeGraph","MoleculeModify","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeValue","Moment","Momentary","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborGraph","NearestTo","NebulaData","NeedCurrentFrontEndPackagePacket","NeedCurrentFrontEndSymbolsPacket","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestWhile","NestWhileList","NetAppend","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookCreateReturnObject","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookFindReturnObject","NotebookGet","NotebookGetLayoutInformationPacket","NotebookGetMisspellingsPacket","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookOpenReturnObject","NotebookPath","NotebookPrint","NotebookPut","NotebookPutReturnObject","NotebookRead","NotebookResetGeneratedCells","Notebooks","NotebookSave","NotebookSaveAs","NotebookSelection","NotebookSetupLayoutInformationPacket","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhysicalSystemData","Pi","Pick","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderReplace","Plain","PlanarAngle","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointFigureChart","PointLegend","PointSize","PoissonConsulDistribution","PoissonDistribution","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","Projection","Prolog","PromptForm","ProofObject","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","Quit","Quotient","QuotientRemainder","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomChoice","RandomColor","RandomComplex","RandomEntity","RandomFunction","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecognitionPrior","RecognitionThreshold","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionDifference","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionFillingStyle","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteConnect","RemoteConnectionObject","RemoteFile","RemoteRun","RemoteRunProcess","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetMenusPacket","ResetScheduledTask","ReshapeLayer","Residue","ResizeLayer","Resolve","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RiskAchievementImportance","RiskReductionImportance","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionDuplicateCell","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectionSetStyle","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetBoxFormNamesPacket","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetEvaluationNotebook","SetFileDate","SetFileLoadingContext","SetNotebookStatusLine","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetSpeechParametersPacket","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","SetValue","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SnDispersion","Snippet","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolidAngle","SolidData","SolidRegionQ","Solve","SolveAlways","SolveDelayed","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SpatialGraphDistribution","SpatialMedian","SpatialTransformationLayer","Speak","SpeakerMatchQ","SpeakTextPacket","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","SpellingSuggestionsPacket","Sphere","SphereBox","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripWrapperBoxes","StrokeForm","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTracks","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxBackground","TableViewBoxItemSize","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThompsonGroupTh","Thread","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRules","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","TreeForm","TreeGraph","TreeGraphQ","TreePlot","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValidationLength","ValidationSet","Value","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceTest","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerboseConvertToPostScriptPacket","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","Version","VersionedPreferences","VersionNumber","VertexAdd","VertexCapacity","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoPause","VideoPlay","VideoQ","VideoStop","VideoStream","VideoStreams","VideoTimeSeries","VideoTracks","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$ConditionHold","$ConfiguredKernels","$Context","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultLocalBase","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$PublisherID","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterWolframID","$RequesterWolframUUID","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function e(v){return v?typeof v=="string"?v:v.source:null}function i(v){return a("(",v,")?")}function a(...v){return v.map(T=>e(T)).join("")}function l(...v){return"("+v.map(T=>e(T)).join("|")+")"}function c(v){const _=/([2-9]|[1-2]\d|[3][0-5])\^\^/,T=/(\w*\.\w+|\w+\.\w*|\w+)/,A=/(\d*\.\d+|\d+\.\d*|\d+)/,R=l(a(_,T),A),O=l(/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/),N=/\*\^[+-]?\d+/,j={className:"number",relevance:0,begin:a(R,i(O),i(N))},z=/[a-zA-Z$][a-zA-Z0-9$]*/,W=new Set(C),X={variants:[{className:"builtin-symbol",begin:z,"on:begin":(re,me)=>{W.has(re[0])||me.ignoreMatch()}},{className:"symbol",relevance:0,begin:z}]},Q={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},K={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},Y={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},Z={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},J={className:"brace",relevance:0,begin:/[[\](){}]/},ee={className:"message-name",relevance:0,begin:a("::",z)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[v.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),Y,Z,ee,X,Q,v.QUOTE_STRING_MODE,j,K,J]}}U.exports=c},98756:U=>{function C(e){var i="('|\\.')+",a={relevance:0,contains:[{begin:i}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:a},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+i,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:a},{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:a},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE,{begin:'""'}],starts:a},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}U.exports=C},14884:U=>{function C(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}U.exports=C},15552:U=>{function C(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}U.exports=C},95120:U=>{function C(e){const i={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},a=e.COMMENT("%","$"),l={className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},c=e.inherit(e.APOS_STRING_MODE,{relevance:0}),v=e.inherit(e.QUOTE_STRING_MODE,{relevance:0}),_={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};return v.contains=v.contains.slice(),v.contains.push(_),{name:"Mercury",aliases:["m","moo"],keywords:i,contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},a,e.C_BLOCK_COMMENT_MODE,l,e.NUMBER_MODE,c,v,{begin:/:-/},{begin:/\.$/}]}}U.exports=C},22528:U=>{function C(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}U.exports=C},54565:U=>{function C(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}U.exports=C},74988:U=>{function C(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}U.exports=C},11708:U=>{function C(e){const i={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw import",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"built_in",begin:"\\b(self|super)\\b"},{className:"meta",begin:"\\s*#",end:"$",keywords:{"meta-keyword":"if else elseif endif end then"}},{className:"meta",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,i]}}U.exports=C},93284:U=>{function C(e){const i={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},a="[A-Za-z$_][0-9A-Za-z$_]*",l={className:"subst",begin:/#\{/,end:/\}/,keywords:i},c=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,l]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];l.contains=c;const v=e.inherit(e.TITLE_MODE,{begin:a}),_="(\\(.*\\)\\s*)?\\B[-=]>",T={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(c)}]};return{name:"MoonScript",aliases:["moon"],keywords:i,illegal:/\/\*/,contains:c.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+a+"\\s*=\\s*"+_,end:"[-=]>",returnBegin:!0,contains:[v,T]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:_,end:"[-=]>",returnBegin:!0,contains:[T]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[v]},v]},{className:"name",begin:a+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}U.exports=C},45720:U=>{function C(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,endsWithParent:!0,keywords:{keyword:"all alter analyze and any array as asc begin between binary boolean break bucket build by call case cast cluster collate collection commit connect continue correlate cover create database dataset datastore declare decrement delete derived desc describe distinct do drop each element else end every except exclude execute exists explain fetch first flatten for force from function grant group gsi having if ignore ilike in include increment index infer inline inner insert intersect into is join key keys keyspace known last left let letting like limit lsm map mapping matched materialized merge minus namespace nest not number object offset on option or order outer over parse partition password path pool prepare primary private privilege procedure public raw realm reduce rename return returning revoke right role rollback satisfies schema select self semi set show some start statistics string system then to transaction trigger truncate under union unique unknown unnest unset update upsert use user using validate value valued values via view when where while with within work xor",literal:"true false null missing|5",built_in:"array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE],relevance:2},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}U.exports=C},39792:U=>{function C(e){const i={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/\}/},{begin:/[$@]/+e.UNDERSCORE_IDENT_RE}]},a={endsWithParent:!0,keywords:{$pattern:"[a-z/_]+",literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[i]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},i]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{begin:e.UNDERSCORE_IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\{/,contains:[{className:"section",begin:e.UNDERSCORE_IDENT_RE}],relevance:0},{begin:e.UNDERSCORE_IDENT_RE+"\\s",end:";|\\{",returnBegin:!0,contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:a}],relevance:0}],illegal:"[^\\s\\}]"}}U.exports=C},63288:U=>{function C(e){return{name:"Nim",keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from func generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}U.exports=C},32760:U=>{function C(e){const i={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},a={className:"subst",begin:/\$\{/,end:/\}/,keywords:i},l={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]},c={className:"string",contains:[a],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},v=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c,l];return a.contains=v,{name:"Nix",aliases:["nixos"],keywords:i,contains:v}}U.exports=C},18880:U=>{function C(e){return{name:"Node REPL",contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}U.exports=C},42840:U=>{function C(e){const i={className:"variable",begin:/\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/},a={className:"variable",begin:/\$+\{[\w.:-]+\}/},l={className:"variable",begin:/\$+\w+/,illegal:/\(\)\{\}/},c={className:"variable",begin:/\$+\([\w^.:-]+\)/},v={className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},_={className:"keyword",begin:/!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|searchparse|searchreplace|system|tempfile|undef|verbose|warning)/},T={className:"meta",begin:/\$(\\[nrt]|\$)/},A={className:"class",begin:/\w+::\w+/},R={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[T,i,a,l,c]};return{name:"NSIS",case_insensitive:!1,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileWriteUTF16LE FileSeek FileWrite FileWriteByte FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetKnownFolderPath GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfRtlLanguage IfShellVarContextAll IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText Int64Cmp Int64CmpU Int64Fmt IntCmp IntCmpU IntFmt IntOp IntPtrCmp IntPtrCmpU IntPtrOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadAndSetImage LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestLongPathAware ManifestMaxVersionTested ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PEAddResource PEDllCharacteristics PERemoveResource PESubsysVer Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib"},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup",end:"$"},R,_,a,l,c,v,A,e.NUMBER_MODE]}}U.exports=C},18936:U=>{function C(e){const i={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},a=/[a-zA-Z@][a-zA-Z0-9_]*/,l={$pattern:a,keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},c={$pattern:a,keyword:"@interface @class @protocol @implementation"};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"</",contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+c.keyword.split(" ").join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:c,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}U.exports=C},71504:U=>{function C(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}U.exports=C},72216:U=>{function C(e){const i={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},a={className:"literal",begin:"false|true|PI|undef"},l={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),v={className:"meta",keywords:{"meta-keyword":"include use"},begin:"include|use <",end:">"},_={className:"params",begin:"\\(",end:"\\)",contains:["self",l,c,i,a]},T={begin:"[*!#%]",relevance:0},A={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[_,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,v,c,i,T,A]}}U.exports=C},64704:U=>{function C(e){const i={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},a=e.COMMENT(/\{/,/\}/,{relevance:0}),l=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),c={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},v={className:"string",begin:"(#\\d+)+"},_={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:i,contains:[c,v]},a,l]};return{name:"Oxygene",case_insensitive:!0,keywords:i,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[a,l,e.C_LINE_COMMENT_MODE,c,v,e.NUMBER_MODE,_,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:i,contains:[c,v,a,l,e.C_LINE_COMMENT_MODE,_]}]}}U.exports=C},93724:U=>{function C(e){const i=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[i]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}U.exports=C},10568:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(...l){return l.map(v=>C(v)).join("")}function i(...l){return"("+l.map(v=>C(v)).join("|")+")"}function a(l){const c=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],v=/[dualxmsipngr]{0,12}/,_={$pattern:/[\w.]+/,keyword:c.join(" ")},T={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:_},A={begin:/->\{/,end:/\}/},R={variants:[{begin:/\$\d/},{begin:e(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},P=[l.BACKSLASH_ESCAPE,T,R],M=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],O=(j,z,W="\\1")=>{const X=W==="\\1"?W:e(W,z);return e(e("(?:",j,")"),z,/(?:\\.|[^\\\/])*?/,X,/(?:\\.|[^\\\/])*?/,W,v)},N=(j,z,W)=>e(e("(?:",j,")"),z,/(?:\\.|[^\\\/])*?/,W,v),B=[R,l.HASH_COMMENT_MODE,l.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),A,{className:"string",contains:P,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[l.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[l.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+l.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[l.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:O("s|tr|y",i(...M))},{begin:O("s|tr|y","\\(","\\)")},{begin:O("s|tr|y","\\[","\\]")},{begin:O("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:N("(?:m|qr)?",/\//,/\//)},{begin:N("m|qr",i(...M),/\1/)},{begin:N("m|qr",/\(/,/\)/)},{begin:N("m|qr",/\[/,/\]/)},{begin:N("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[l.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return T.contains=B,A.contains=B,{name:"Perl",aliases:["pl","pm"],keywords:_,contains:B}}U.exports=a},83484:U=>{function C(e){const i={className:"variable",begin:/\$[\w\d#@][\w\d_]*/},a={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,i,a]}}U.exports=C},50464:U=>{function C(e){const i=e.COMMENT("--","$"),a="[a-zA-Z_][a-zA-Z_0-9$]*",l="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",c="<<\\s*"+a+"\\s*>>",v="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",_="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",T="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",A="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",R=A.trim().split(" ").map(function(j){return j.split("|")[0]}).join("|"),P="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",M="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",O="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",B="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(j){return j.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],case_insensitive:!0,keywords:{keyword:v+T+_,built_in:P+M+O},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+B+")\\s*\\("},{begin:"\\.("+R+")\\b"},{begin:"\\b("+R+")\\s+PATH\\b",keywords:{keyword:"PATH",type:A.replace("PATH ","")}},{className:"type",begin:"\\b("+R+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:l,end:l,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,i,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:c,relevance:10}]}}U.exports=C},67240:U=>{function C(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}U.exports=C},31085:U=>{function C(e){const i={className:"variable",begin:"\\$+[a-zA-Z_\x7F-\xFF][a-zA-Z0-9_\x7F-\xFF]*(?![A-Za-z0-9])(?![$])"},a={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},l={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),v=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),_=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),T={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[e.inherit(c,{begin:"b'",end:"'"}),e.inherit(v,{begin:'b"',end:'"'}),v,c,_]},A={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},R={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php3","php4","php5","php6","php7","php8"],case_insensitive:!0,keywords:R,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[a]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),a,{className:"keyword",begin:/\$this\b/},i,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:R,contains:["self",i,e.C_BLOCK_COMMENT_MODE,T,A]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},T,A]}}U.exports=C},76968:U=>{function C(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}U.exports=C},76472:U=>{function C(e){const i={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},a={className:"string",begin:'"""',end:'"""',relevance:10},l={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},c={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},v={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},_={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:i,contains:[v,a,l,c,_,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}U.exports=C},37516:U=>{function C(e){const i=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],a="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",l="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",c={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},v=/\w[\w\d]*((-)[\w\d]+)*/,_={begin:"`[\\s\\S]",relevance:0},T={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},A={className:"literal",begin:/\$(null|true|false)\b/},R={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[_,T,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},P={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},M={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},O=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[M]}),N={className:"built_in",variants:[{begin:"(".concat(a,")+(-)[\\w\\d]+")}]},B={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},j={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:v,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[T]}]},z={begin:/using\s/,end:/$/,returnBegin:!0,contains:[R,P,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},W={variants:[{className:"operator",begin:"(".concat(l,")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},X={className:"selector-tag",begin:/@\B/,relevance:0},Q={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(c.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},K=[Q,O,_,e.NUMBER_MODE,R,P,N,T,A,X],Y={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",K,{begin:"("+i.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return Q.contains.unshift(Y),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:c,contains:K.concat(B,j,z,W,Y)}}U.exports=C},89236:U=>{function C(e){return{name:"Processing",keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",title:"setup draw",built_in:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}U.exports=C},92052:U=>{function C(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}U.exports=C},69344:U=>{function C(e){const i={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},a={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},l={begin:/\(/,end:/\)/,relevance:0},c={begin:/\[/,end:/\]/},v={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},_={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},T={className:"string",begin:/0'(\\'|.)/},A={className:"string",begin:/0'\\s/},P=[i,a,l,{begin:/:-/},c,v,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,_,T,A,e.C_NUMBER_MODE];return l.contains=P,c.contains=P,{name:"Prolog",contains:P.concat([{begin:/\.$/}])}}U.exports=C},49135:U=>{function C(e){var i="[ \\t\\f]*",a="[ \\t\\f]+",l=i+"[:=]"+i,c=a,v="("+l+"|"+c+")",_="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",T="([^\\\\:= \\t\\f\\n]|\\\\.)+",A={end:v,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:_+l,relevance:1},{begin:_+c,relevance:0}],contains:[{className:"attr",begin:_,endsParent:!0,relevance:0}],starts:A},{begin:T+v,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:T,endsParent:!0,relevance:0}],starts:A},{className:"attr",relevance:0,begin:T+i+"$"}]}}U.exports=C},4912:U=>{function C(e){return{name:"Protocol Buffers",keywords:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}U.exports=C},45656:U=>{function C(e){const i={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},a=e.COMMENT("#","$"),l="([A-Za-z_]|::)(\\w|::)*",c=e.inherit(e.TITLE_MODE,{begin:l}),v={className:"variable",begin:"\\$"+l},_={className:"string",contains:[e.BACKSLASH_ESCAPE,v],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[a,v,_,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[c,a]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE},{begin:/\{/,end:/\}/,keywords:i,relevance:0,contains:[_,a,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},v]}],relevance:0}]}}U.exports=C},87884:U=>{function C(e){const i={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},a={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until  UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},i,a]}}U.exports=C},51564:U=>{function C(e){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}U.exports=C},94860:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(l){return i("(?=",l,")")}function i(...l){return l.map(v=>C(v)).join("")}function a(l){const A={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},R={className:"meta",begin:/^(>>>|\.\.\.) /},P={className:"subst",begin:/\{/,end:/\}/,keywords:A,illegal:/#/},M={begin:/\{\{/,relevance:0},O={className:"string",contains:[l.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE,R],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,R],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE,R,M,P]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,R,M,P]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[l.BACKSLASH_ESCAPE,M,P]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[l.BACKSLASH_ESCAPE,M,P]},l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]},N="[0-9](_?[0-9])*",B=`(\\b(${N}))?\\.(${N})|\\b(${N})\\.`,j={className:"number",relevance:0,variants:[{begin:`(\\b(${N})|(${B}))[eE][+-]?(${N})[jJ]?\\b`},{begin:`(${B})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${N})[jJ]\\b`}]},z={className:"comment",begin:e(/# type:/),end:/$/,keywords:A,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},W={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:A,contains:["self",R,j,O,l.HASH_COMMENT_MODE]}]};return P.contains=[O,j,R],{name:"Python",aliases:["py","gyp","ipython"],keywords:A,illegal:/(<\/|->|\?)|=>/,contains:[R,j,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},O,z,l.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[l.UNDERSCORE_TITLE_MODE,W,{begin:/->/,endsWithParent:!0,keywords:A}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[j,W,O]}]}}U.exports=a},57440:U=>{function C(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}U.exports=C},60848:U=>{function C(a){return a?typeof a=="string"?a:a.source:null}function e(...a){return a.map(c=>C(c)).join("")}function i(a){const l={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},c="[a-zA-Z_][a-zA-Z0-9\\._]*",v={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},_={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},T={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:c,returnEnd:!1}},A={begin:c+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:c,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},R={begin:e(c,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[a.inherit(a.TITLE_MODE,{begin:c})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:l,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},a.APOS_STRING_MODE,a.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[a.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:a.C_NUMBER_RE}],relevance:0},{begin:"("+a.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},_,v,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[a.inherit(a.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+a.IDENT_RE,relevance:0},T,A,R],illegal:/#/}}U.exports=i},87624:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(l){return i("(?=",l,")")}function i(...l){return l.map(v=>C(v)).join("")}function a(l){const c=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,v=/[a-zA-Z][a-zA-Z_0-9]*/;return{name:"R",illegal:/->/,keywords:{$pattern:c,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},compilerExtensions:[(_,T)=>{if(!_.beforeMatch)return;if(_.starts)throw new Error("beforeMatch cannot be used with starts");const A=Object.assign({},_);Object.keys(_).forEach(R=>{delete _[R]}),_.begin=i(A.beforeMatch,e(A.begin)),_.starts={relevance:0,contains:[Object.assign(A,{endsParent:!0})]},_.relevance=0,delete A.beforeMatch}],contains:[l.COMMENT(/#'/,/$/,{contains:[{className:"doctag",begin:"@examples",starts:{contains:[{begin:/\n/},{begin:/#'\s*(?=@[a-zA-Z]+)/,endsParent:!0},{begin:/#'/,end:/$/,excludeBegin:!0}]}},{className:"doctag",begin:"@param",end:/$/,contains:[{className:"variable",variants:[{begin:c},{begin:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{className:"doctag",begin:/@[a-zA-Z]+/},{className:"meta-keyword",begin:/\\[a-zA-Z]+/}]}),l.HASH_COMMENT_MODE,{className:"string",contains:[l.BACKSLASH_ESCAPE],variants:[l.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),l.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),l.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),l.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),l.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),l.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{className:"number",relevance:0,beforeMatch:/([^a-zA-Z0-9._])/,variants:[{match:/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/},{match:/0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/},{match:/(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/}]},{begin:"%",end:"%"},{begin:i(v,"\\s+<-\\s+")},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}U.exports=a},16452:U=>{function C(e){function i(Y){return Y.map(function(Z){return Z.split("").map(function(J){return"\\"+J}).join("")}).join("|")}const a="~?[a-z$_][0-9a-zA-Z$_]*",l="`?[A-Z$_][0-9a-zA-Z$_]*",c="'?[a-z$_][0-9a-z$_]*",v="\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+c+"\\s*(,"+c+"\\s*)*)?\\))?",_=a+"("+v+"){0,2}",T="("+i(["||","++","**","+.","*","/","*.","/.","..."])+"|\\|>|&&|==|===)",A="\\s+"+T+"\\s+",R={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},P="\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",M={className:"number",relevance:0,variants:[{begin:P},{begin:"\\(-"+P+"\\)"}]},O={className:"operator",relevance:0,begin:T},N=[{className:"identifier",relevance:0,begin:a},O,M],B=[e.QUOTE_STRING_MODE,O,{className:"module",begin:"\\b"+l,returnBegin:!0,end:".",contains:[{className:"identifier",begin:l,relevance:0}]}],j=[{className:"module",begin:"\\b"+l,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:l,relevance:0}]}],z={begin:a,end:"(,|\\n|\\))",relevance:0,contains:[O,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:j}]},W={className:"function",relevance:0,keywords:R,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+a+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:a},{begin:_},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[z]}]},{begin:"\\(\\.\\s"+a+"\\)\\s*=>"}]};B.push(W);const X={className:"constructor",begin:l+"\\(",end:"\\)",illegal:"\\n",keywords:R,contains:[e.QUOTE_STRING_MODE,O,{className:"params",begin:"\\b"+a}]},Q={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:R,end:"=>",relevance:0,contains:[X,O,{relevance:0,className:"constructor",begin:l}]},K={className:"module-access",keywords:R,returnBegin:!0,variants:[{begin:"\\b("+l+"\\.)+"+a},{begin:"\\b("+l+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[W,{begin:"\\(",end:"\\)",skip:!0}].concat(B)},{begin:"\\b("+l+"\\.)+\\{",end:/\}/}],contains:B};return j.push(K),{name:"ReasonML",aliases:["re"],keywords:R,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[e.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},e.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:N},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:N},X,{className:"operator",begin:A,illegal:"-->",relevance:0},M,e.C_LINE_COMMENT_MODE,Q,W,{className:"module-def",begin:"\\bmodule\\s+"+a+"\\s+"+l+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:R,relevance:0,contains:[{className:"module",relevance:0,begin:l},{begin:/\{/,end:/\}/,skip:!0}].concat(B)},K]}}U.exports=C},25456:U=>{function C(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[e.HASH_COMMENT_MODE,e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}U.exports=C},63392:U=>{function C(e){const i="[a-zA-Z-_][^\\n{]+\\{",a={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{begin:"^facet "+i,end:/\}/,keywords:"facet",contains:[a,e.HASH_COMMENT_MODE]},{begin:"^\\s*instance of "+i,end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",a,e.HASH_COMMENT_MODE]},{begin:"^"+i,end:/\}/,contains:[a,e.HASH_COMMENT_MODE]},e.HASH_COMMENT_MODE]}}U.exports=C},18820:U=>{function C(e){const i="foreach do while for if from to step else on-error and or not in",a="global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime",l="add remove enable disable set get print export edit find run debug error info warning",c="true false yes no nothing nil null",v="traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw",_={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},T={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,_,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]},A={className:"string",begin:/'/,end:/'/};return{name:"Microtik RouterOS script",aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:c,keyword:i+" :"+i.split(" ").join(" :")+" :"+a.split(" ").join(" :")},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{begin:/<\//,end:/>/}],illegal:/./},e.COMMENT("^#","$"),T,A,_,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[T,A,_,{className:"literal",begin:"\\b("+c.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+l.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"builtin-name",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+v.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}U.exports=C},33032:U=>{function C(e){return{name:"RenderMan RSL",keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"surface displacement light volume imager",end:"\\("},{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}U.exports=C},10724:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(l){return i("(?=",l,")")}function i(...l){return l.map(v=>C(v)).join("")}function a(l){const c="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",v={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},_={className:"doctag",begin:"@[A-Za-z]+"},T={begin:"#<",end:">"},A=[l.COMMENT("#","$",{contains:[_]}),l.COMMENT("^=begin","^=end",{contains:[_],relevance:10}),l.COMMENT("^__END__","\\n$")],R={className:"subst",begin:/#\{/,end:/\}/,keywords:v},P={className:"string",contains:[l.BACKSLASH_ESCAPE,R],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:/<<[-~]?'?(\w+)\n(?:[^\n]*\n)*?\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},l.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[l.BACKSLASH_ESCAPE,R]})]}]},M="[1-9](_?[0-9])*|0",O="[0-9](_?[0-9])*",N={className:"number",relevance:0,variants:[{begin:`\\b(${M})(\\.(${O}))?([eE][+-]?(${O})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},B={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:v},j=[P,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[l.inherit(l.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+l.IDENT_RE+"::)?"+l.IDENT_RE,relevance:0}]}].concat(A)},{className:"function",begin:i(/def\s+/,e(c+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[l.inherit(l.TITLE_MODE,{begin:c}),B].concat(A)},{begin:l.IDENT_RE+"::"},{className:"symbol",begin:l.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[P,{begin:c}],relevance:0},N,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:v},{begin:"("+l.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[l.BACKSLASH_ESCAPE,R],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(T,A),relevance:0}].concat(T,A);R.contains=j,B.contains=j;const z="[>?]>",W="[\\w#]+\\(\\w+\\):\\d+:\\d+>",X="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",Q=[{begin:/^\s*=>/,starts:{end:"$",contains:j}},{className:"meta",begin:"^("+z+"|"+W+"|"+X+")(?=[ ])",starts:{end:"$",contains:j}}];return A.unshift(T),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:v,illegal:/\/\*/,contains:[l.SHEBANG({binary:"ruby"})].concat(Q).concat(A).concat(j)}}U.exports=a},29672:U=>{function C(e){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}U.exports=C},36192:U=>{function C(e){const i="([ui](8|16|32|64|128|size)|f(32|64))?",a="abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",l="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",keyword:a,literal:"true false Some None Ok Err",built_in:l},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)"+i},{begin:"\\b0o([0-7_]+)"+i},{begin:"\\b0x([A-Fa-f0-9_]+)"+i},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+i}],relevance:0},{className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beginKeywords:"trait enum struct union",end:/\{/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"[\\w\\d]"},{begin:e.IDENT_RE+"::",keywords:{built_in:l}},{begin:"->"}]}}U.exports=C},85760:U=>{function C(e){const i="do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where",a="abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|cexist|cinv|close|cnonct|collate|compbl|compound|compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|filename|fileref|finfo|finv|fipname|fipnamel|fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|hms|hosthelp|hour|ibessel|index|indexc|indexw|input|inputc|inputn|int|intck|intnx|intrr|irr|jbessel|juldate|kurtosis|lag|lbound|left|length|lgamma|libname|libref|log|log10|log2|logpdf|logpmf|logsdf|lowcase|max|mdy|mean|min|minute|mod|month|mopen|mort|n|netpv|nmiss|normal|note|npv|open|ordinal|pathname|pdf|peek|peekc|pmf|point|poisson|poke|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probt|put|putc|putn|qtr|quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|rewind|right|round|saving|scan|sdf|second|sign|sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|stfips|stname|stnamel|substr|sum|symget|sysget|sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|tinv|tnonct|today|translate|tranwrd|trigamma|trim|trimn|trunc|uniform|upcase|uss|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|zipnamel|zipstate";return{name:"SAS",case_insensitive:!0,keywords:{literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",meta:i},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{className:"emphasis",begin:/^\s*datalines|cards.*;/,end:/^\s*;\s*$/},{className:"built_in",begin:"%("+"bquote|nrbquote|cmpres|qcmpres|compstor|datatyp|display|do|else|end|eval|global|goto|if|index|input|keydef|label|left|length|let|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qcmpres|qleft|qlowcase|qscan|qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|substr|superq|syscall|sysevalf|sysexec|sysfunc|sysget|syslput|sysprod|sysrc|sysrput|then|to|trim|unquote|until|upcase|verify|while|window"+")"},{className:"name",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:"[^%]("+a+")[(]"},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},e.COMMENT("\\*",";"),e.C_BLOCK_COMMENT_MODE]}}U.exports=C},15880:U=>{function C(e){const i={className:"meta",begin:"@[A-Za-z]+"},a={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},l={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,a]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[a],relevance:10}]},c={className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},v={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},_={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},T={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[v]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[v]},_]},A={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[_]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,c,v,A,T,e.C_NUMBER_MODE,i]}}U.exports=C},86992:U=>{function C(e){const i="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",a="(-|\\+)?\\d+([./]\\d+)?",l=a+"[+\\-]"+a+"i",c={$pattern:i,"builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},v={className:"literal",begin:"(#t|#f|#\\\\"+i+"|#\\\\.)"},_={className:"number",variants:[{begin:a,relevance:0},{begin:l,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},T=e.QUOTE_STRING_MODE,A=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],R={begin:i,relevance:0},P={className:"symbol",begin:"'"+i},M={endsWithParent:!0,relevance:0},O={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",v,T,_,R,P]}]},N={className:"name",relevance:0,begin:i,keywords:c},j={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[N,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[R]}]},N,M]};return M.contains=[v,_,T,R,P,O,j].concat(A),{name:"Scheme",illegal:/\S/,contains:[e.SHEBANG(),_,T,P,O,j].concat(A)}}U.exports=C},9760:U=>{function C(e){const i=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:i},e.COMMENT("//","$")].concat(i)}}U.exports=C},23116:U=>{const C=_=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[_.APOS_STRING_MODE,_.QUOTE_STRING_MODE]}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],l=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],c=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function v(_){const T=C(_),A=l,R=a,P="@[a-z-]+",M="and or not only",N={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[_.C_LINE_COMMENT_MODE,_.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},T.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+e.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+R.join("|")+")"},{className:"selector-pseudo",begin:"::("+A.join("|")+")"},N,{begin:/\(/,end:/\)/,contains:[_.CSS_NUMBER_MODE]},{className:"attribute",begin:"\\b("+c.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[N,T.HEXCOLOR,_.CSS_NUMBER_MODE,_.QUOTE_STRING_MODE,_.APOS_STRING_MODE,T.IMPORTANT]},{begin:"@(page|font-face)",lexemes:P,keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:M,attribute:i.join(" ")},contains:[{begin:P,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},N,_.QUOTE_STRING_MODE,_.APOS_STRING_MODE,T.HEXCOLOR,_.CSS_NUMBER_MODE]}]}}U.exports=v},20824:U=>{function C(e){return{name:"Shell Session",aliases:["console"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}U.exports=C},76116:U=>{function C(e){const i=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],a=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],l=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+l.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+i.join("|")+")\\s"},{begin:"\\s("+i.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+a.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;:
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}U.exports=C},76444:U=>{function C(e){const i="[a-z][a-zA-Z0-9_]*",a={className:"string",begin:"\\$.{1}"},l={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:"self super nil true false thisContext",contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:i+":",relevance:0},e.C_NUMBER_MODE,l,a,{begin:"\\|[ ]*"+i+"([ ]+"+i+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+i}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,a,e.C_NUMBER_MODE,l]}]}}U.exports=C},19076:U=>{function C(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}U.exports=C},99448:U=>{function C(e){const i={className:"variable",begin:/\b_+[a-zA-Z]\w*/},a={className:"title",begin:/[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/},l={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"define undef ifdef ifndef else endif include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(l,{className:"meta-string"}),{className:"meta-string",begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:"case catch default do else exit exitWith for forEach from if private switch then throw to try waitUntil while with",built_in:"abs accTime acos action actionIDs actionKeys actionKeysImages actionKeysNames actionKeysNamesArray actionName actionParams activateAddons activatedAddons activateKey add3DENConnection add3DENEventHandler add3DENLayer addAction addBackpack addBackpackCargo addBackpackCargoGlobal addBackpackGlobal addCamShake addCuratorAddons addCuratorCameraArea addCuratorEditableObjects addCuratorEditingArea addCuratorPoints addEditorObject addEventHandler addForce addGoggles addGroupIcon addHandgunItem addHeadgear addItem addItemCargo addItemCargoGlobal addItemPool addItemToBackpack addItemToUniform addItemToVest addLiveStats addMagazine addMagazineAmmoCargo addMagazineCargo addMagazineCargoGlobal addMagazineGlobal addMagazinePool addMagazines addMagazineTurret addMenu addMenuItem addMissionEventHandler addMPEventHandler addMusicEventHandler addOwnedMine addPlayerScores addPrimaryWeaponItem addPublicVariableEventHandler addRating addResources addScore addScoreSide addSecondaryWeaponItem addSwitchableUnit addTeamMember addToRemainsCollector addTorque addUniform addVehicle addVest addWaypoint addWeapon addWeaponCargo addWeaponCargoGlobal addWeaponGlobal addWeaponItem addWeaponPool addWeaponTurret admin agent agents AGLToASL aimedAtTarget aimPos airDensityRTD airplaneThrottle airportSide AISFinishHeal alive all3DENEntities allAirports allControls allCurators allCutLayers allDead allDeadMen allDisplays allGroups allMapMarkers allMines allMissionObjects allow3DMode allowCrewInImmobile allowCuratorLogicIgnoreAreas allowDamage allowDammage allowFileOperations allowFleeing allowGetIn allowSprint allPlayers allSimpleObjects allSites allTurrets allUnits allUnitsUAV allVariables ammo ammoOnPylon and animate animateBay animateDoor animatePylon animateSource animationNames animationPhase animationSourcePhase animationState append apply armoryPoints arrayIntersect asin ASLToAGL ASLToATL assert assignAsCargo assignAsCargoIndex assignAsCommander assignAsDriver assignAsGunner assignAsTurret assignCurator assignedCargo assignedCommander assignedDriver assignedGunner assignedItems assignedTarget assignedTeam assignedVehicle assignedVehicleRole assignItem assignTeam assignToAirport atan atan2 atg ATLToASL attachedObject attachedObjects attachedTo attachObject attachTo attackEnabled backpack backpackCargo backpackContainer backpackItems backpackMagazines backpackSpaceFor behaviour benchmark binocular boundingBox boundingBoxReal boundingCenter breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call callExtension camCommand camCommit camCommitPrepared camCommitted camConstuctionSetParams camCreate camDestroy cameraEffect cameraEffectEnableHUD cameraInterest cameraOn cameraView campaignConfigFile camPreload camPreloaded camPrepareBank camPrepareDir camPrepareDive camPrepareFocus camPrepareFov camPrepareFovRange camPreparePos camPrepareRelPos camPrepareTarget camSetBank camSetDir camSetDive camSetFocus camSetFov camSetFovRange camSetPos camSetRelPos camSetTarget camTarget camUseNVG canAdd canAddItemToBackpack canAddItemToUniform canAddItemToVest cancelSimpleTaskDestination canFire canMove canSlingLoad canStand canSuspend canTriggerDynamicSimulation canUnloadInCombat canVehicleCargo captive captiveNum cbChecked cbSetChecked ceil channelEnabled cheatsEnabled checkAIFeature checkVisibility className clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio clearWeaponCargo clearWeaponCargoGlobal clearWeaponPool clientOwner closeDialog closeDisplay closeOverlay collapseObjectTree collect3DENHistory collectiveRTD combatMode commandArtilleryFire commandChat commander commandFire commandFollow commandFSM commandGetOut commandingMenu commandMove commandRadio commandStop commandSuppressiveFire commandTarget commandWatch comment commitOverlay compile compileFinal completedFSM composeText configClasses configFile configHierarchy configName configProperties configSourceAddonList configSourceMod configSourceModList confirmSensorTarget connectTerminalToUAV controlsGroupCtrl copyFromClipboard copyToClipboard copyWaypoints cos count countEnemy countFriendly countSide countType countUnknown create3DENComposition create3DENEntity createAgent createCenter createDialog createDiaryLink createDiaryRecord createDiarySubject createDisplay createGearDialog createGroup createGuardedPoint createLocation createMarker createMarkerLocal createMenu createMine createMissionDisplay createMPCampaignDisplay createSimpleObject createSimpleTask createSite createSoundSource createTask createTeam createTrigger createUnit createVehicle createVehicleCrew createVehicleLocal crew ctAddHeader ctAddRow ctClear ctCurSel ctData ctFindHeaderRows ctFindRowHeader ctHeaderControls ctHeaderCount ctRemoveHeaders ctRemoveRows ctrlActivate ctrlAddEventHandler ctrlAngle ctrlAutoScrollDelay ctrlAutoScrollRewind ctrlAutoScrollSpeed ctrlChecked ctrlClassName ctrlCommit ctrlCommitted ctrlCreate ctrlDelete ctrlEnable ctrlEnabled ctrlFade ctrlHTMLLoaded ctrlIDC ctrlIDD ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone ctrlMapCursor ctrlMapMouseOver ctrlMapScale ctrlMapScreenToWorld ctrlMapWorldToScreen ctrlModel ctrlModelDirAndUp ctrlModelScale ctrlParent ctrlParentControlsGroup ctrlPosition ctrlRemoveAllEventHandlers ctrlRemoveEventHandler ctrlScale ctrlSetActiveColor ctrlSetAngle ctrlSetAutoScrollDelay ctrlSetAutoScrollRewind ctrlSetAutoScrollSpeed ctrlSetBackgroundColor ctrlSetChecked ctrlSetEventHandler ctrlSetFade ctrlSetFocus ctrlSetFont ctrlSetFontH1 ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH2B ctrlSetFontH3 ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5 ctrlSetFontH5B ctrlSetFontH6 ctrlSetFontH6B ctrlSetFontHeight ctrlSetFontHeightH1 ctrlSetFontHeightH2 ctrlSetFontHeightH3 ctrlSetFontHeightH4 ctrlSetFontHeightH5 ctrlSetFontHeightH6 ctrlSetFontHeightSecondary ctrlSetFontP ctrlSetFontPB ctrlSetFontSecondary ctrlSetForegroundColor ctrlSetModel ctrlSetModelDirAndUp ctrlSetModelScale ctrlSetPixelPrecision ctrlSetPosition ctrlSetScale ctrlSetStructuredText ctrlSetText ctrlSetTextColor ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight ctrlTextWidth ctrlType ctrlVisible ctRowControls ctRowCount ctSetCurSel ctSetData ctSetHeaderTemplate ctSetRowTemplate ctSetValue ctValue curatorAddons curatorCamera curatorCameraArea curatorCameraAreaCeiling curatorCoef curatorEditableObjects curatorEditingArea curatorEditingAreaType curatorMouseOver curatorPoints curatorRegisteredObjects curatorSelected curatorWaypointCost current3DENOperation currentChannel currentCommand currentMagazine currentMagazineDetail currentMagazineDetailTurret currentMagazineTurret currentMuzzle currentNamespace currentTask currentTasks currentThrowable currentVisionMode currentWaypoint currentWeapon currentWeaponMode currentWeaponTurret currentZeroing cursorObject cursorTarget customChat customRadio cutFadeOut cutObj cutRsc cutText damage date dateToNumber daytime deActivateKey debriefingText debugFSM debugLog deg delete3DENEntities deleteAt deleteCenter deleteCollection deleteEditorObject deleteGroup deleteGroupWhenEmpty deleteIdentity deleteLocation deleteMarker deleteMarkerLocal deleteRange deleteResources deleteSite deleteStatus deleteTeam deleteVehicle deleteVehicleCrew deleteWaypoint detach detectedMines diag_activeMissionFSMs diag_activeScripts diag_activeSQFScripts diag_activeSQSScripts diag_captureFrame diag_captureFrameToFile diag_captureSlowFrame diag_codePerformance diag_drawMode diag_enable diag_enabled diag_fps diag_fpsMin diag_frameNo diag_lightNewLoad diag_list diag_log diag_logSlowFrame diag_mergeConfigFile diag_recordTurretLimits diag_setLightNew diag_tickTime diag_toggle dialog diarySubjectExists didJIP didJIPOwner difficulty difficultyEnabled difficultyEnabledRTD difficultyOption direction directSay disableAI disableCollisionWith disableConversation disableDebriefingStats disableMapIndicators disableNVGEquipment disableRemoteSensors disableSerialization disableTIEquipment disableUAVConnectability disableUserInput displayAddEventHandler displayCtrl displayParent displayRemoveAllEventHandlers displayRemoveEventHandler displaySetEventHandler dissolveTeam distance distance2D distanceSqr distributionRegion do3DENAction doArtilleryFire doFire doFollow doFSM doGetOut doMove doorPhase doStop doSuppressiveFire doTarget doWatch drawArrow drawEllipse drawIcon drawIcon3D drawLine drawLine3D drawLink drawLocation drawPolygon drawRectangle drawTriangle driver drop dynamicSimulationDistance dynamicSimulationDistanceCoef dynamicSimulationEnabled dynamicSimulationSystemEnabled echo edit3DENMissionAttributes editObject editorSetEventHandler effectiveCommander emptyPositions enableAI enableAIFeature enableAimPrecision enableAttack enableAudioFeature enableAutoStartUpRTD enableAutoTrimRTD enableCamShake enableCaustics enableChannel enableCollisionWith enableCopilot enableDebriefingStats enableDiagLegend enableDynamicSimulation enableDynamicSimulationSystem enableEndDialog enableEngineArtillery enableEnvironment enableFatigue enableGunLights enableInfoPanelComponent enableIRLasers enableMimics enablePersonTurret enableRadio enableReload enableRopeAttach enableSatNormalOnDetail enableSaving enableSentences enableSimulation enableSimulationGlobal enableStamina enableTeamSwitch enableTraffic enableUAVConnectability enableUAVWaypoints enableVehicleCargo enableVehicleSensor enableWeaponDisassembly endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities environmentEnabled estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM exp expectedDestination exportJIPMessages eyeDirection eyePos face faction fadeMusic fadeRadio fadeSound fadeSpeech failMission fillWeaponsFromPool find findCover findDisplay findEditorObject findEmptyPosition findEmptyPositionReady findIf findNearestEnemy finishMissionInit finite fire fireAtTarget firstBackpack flag flagAnimationPhase flagOwner flagSide flagTexture fleeing floor flyInHeight flyInHeightASL fog fogForecast fogParams forceAddUniform forcedMap forceEnd forceFlagTexture forceFollowRoad forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent forEachMemberTeam forgetTarget format formation formationDirection formationLeader formationMembers formationPosition formationTask formatText formLeader freeLook fromEditor fuel fullCrew gearIDCAmmoCount gearSlotAmmoCount gearSlotData get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntity get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLayerEntities get3DENLinesVisible get3DENMissionAttribute get3DENMouseOver get3DENSelected getAimingCoef getAllEnvSoundControllers getAllHitPointsDamage getAllOwnedMines getAllSoundControllers getAmmoCargo getAnimAimPrecision getAnimSpeedCoef getArray getArtilleryAmmo getArtilleryComputerSettings getArtilleryETA getAssignedCuratorLogic getAssignedCuratorUnit getBackpackCargo getBleedingRemaining getBurningValue getCameraViewDirection getCargoIndex getCenterOfMass getClientState getClientStateNumber getCompatiblePylonMagazines getConnectedUAV getContainerMaxLoad getCursorObjectParams getCustomAimCoef getDammage getDescription getDir getDirVisual getDLCAssetsUsage getDLCAssetsUsageByName getDLCs getEditorCamera getEditorMode getEditorObjectScope getElevationOffset getEnvSoundController getFatigue getForcedFlagTexture getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getMusicPlayedTime getNumber getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlateNumber getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getPylonMagazines getRelDir getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSoundController getSoundControllerResult getSpeed getStamina getStatValue getSuppression getTerrainGrid getTerrainHeightASL getText getTotalDLCUsageTime getUnitLoadout getUnitTrait getUserMFDText getUserMFDvalue getVariable getVehicleCargo getWeaponCargo getWeaponSway getWingsOrientationRTD getWingsPositionRTD getWPPos glanceAt globalChat globalRadio goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner groupRadio groupSelectedUnits groupSelectUnit gunner gusts halt handgunItems handgunMagazine handgunWeapon handsHit hasInterface hasPilotCamera hasWeapon hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup hcShowBar hcShownBar headgear hideBody hideObject hideObjectGlobal hideSelection hint hintC hintCadet hintSilent hmd hostMission htmlLoad HUDMovementLevels humidity image importAllGroups importance in inArea inAreaArray incapacitatedState inflame inflamed infoPanel infoPanelComponentEnabled infoPanelComponents infoPanels inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest isBleeding isBurning isClass isCollisionLightOn isCopilotEnabled isDamageAllowed isDedicated isDLCAvailable isEngineOn isEqualTo isEqualType isEqualTypeAll isEqualTypeAny isEqualTypeArray isEqualTypeParams isFilePatchingEnabled isFlashlightOn isFlatEmpty isForcedWalk isFormationLeader isGroupDeletedWhenEmpty isHidden isInRemainsCollector isInstructorFigureEnabled isIRLaserOn isKeyActive isKindOf isLaserOn isLightOn isLocalized isManualFire isMarkedForCollection isMultiplayer isMultiplayerSolo isNil isNull isNumber isObjectHidden isObjectRTD isOnRoad isPipEnabled isPlayer isRealTime isRemoteExecuted isRemoteExecutedJIP isServer isShowing3DIcons isSimpleObject isSprintAllowed isStaminaEnabled isSteamMission isStreamFriendlyUIEnabled isText isTouchingGround isTurnedOut isTutHintsEnabled isUAVConnectable isUAVConnected isUIContext isUniformAllowed isVehicleCargo isVehicleRadarOn isVehicleSensorEnabled isWalking isWeaponDeployed isWeaponRested itemCargo items itemsWithMagazines join joinAs joinAsSilent joinSilent joinString kbAddDatabase kbAddDatabaseTargets kbAddTopic kbHasTopic kbReact kbRemoveTopic kbTell kbWasSaid keyImage keyName knowsAbout land landAt landResult language laserTarget lbAdd lbClear lbColor lbColorRight lbCurSel lbData lbDelete lbIsSelected lbPicture lbPictureRight lbSelection lbSetColor lbSetColorRight lbSetCurSel lbSetData lbSetPicture lbSetPictureColor lbSetPictureColorDisabled lbSetPictureColorSelected lbSetPictureRight lbSetPictureRightColor lbSetPictureRightColorDisabled lbSetPictureRightColorSelected lbSetSelectColor lbSetSelectColorRight lbSetSelected lbSetText lbSetTextRight lbSetTooltip lbSetValue lbSize lbSort lbSortByValue lbText lbTextRight lbValue leader leaderboardDeInit leaderboardGetRows leaderboardInit leaderboardRequestRowsFriends leaderboardsRequestUploadScore leaderboardsRequestUploadScoreKeepBest leaderboardState leaveVehicle libraryCredits libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed linearConversion lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith linkItem list listObjects listRemoteTargets listVehicleSensors ln lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbSort lnbSortByValue lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform loadVest local localize locationPosition lock lockCameraTo lockCargo lockDriver locked lockedCargo lockedDriver lockedTurret lockIdentity lockTurret lockWP log logEntities logNetwork logNetworkTerminate lookAt lookAtPos magazineCargo magazines magazinesAllTurrets magazinesAmmo magazinesAmmoCargo magazinesAmmoFull magazinesDetail magazinesDetailBackpack magazinesDetailUniform magazinesDetailVest magazinesTurret magazineTurretAmmo mapAnimAdd mapAnimClear mapAnimCommit mapAnimDone mapCenterOnCamera mapGridPosition markAsFinishedOnSteam markerAlpha markerBrush markerColor markerDir markerPos markerShape markerSize markerText markerType max members menuAction menuAdd menuChecked menuClear menuCollapse menuData menuDelete menuEnable menuEnabled menuExpand menuHover menuPicture menuSetAction menuSetCheck menuSetData menuSetPicture menuSetValue menuShortcut menuShortcutText menuSize menuSort menuText menuURL menuValue min mineActive mineDetectedBy missionConfigFile missionDifficulty missionName missionNamespace missionStart missionVersion mod modelToWorld modelToWorldVisual modelToWorldVisualWorld modelToWorldWorld modParams moonIntensity moonPhase morale move move3DENCamera moveInAny moveInCargo moveInCommander moveInDriver moveInGunner moveInTurret moveObjectToEnd moveOut moveTime moveTo moveToCompleted moveToFailed musicVolume name nameSound nearEntities nearestBuilding nearestLocation nearestLocations nearestLocationWithDubbing nearestObject nearestObjects nearestTerrainObjects nearObjects nearObjectsReady nearRoads nearSupplies nearTargets needReload netId netObjNull newOverlay nextMenuItemIndex nextWeatherChange nMenuItems not numberOfEnginesRTD numberToDate objectCurators objectFromNetId objectParent objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openSteamApp openYoutubeVideo or orderGetIn overcast overcastForecast owner param params parseNumber parseSimpleArray parseText parsingNamespace particlesQuality pickWeaponPool pitch pixelGrid pixelGridBase pixelGridNoUIScale pixelH pixelW playableSlotsNumber playableUnits playAction playActionNow player playerRespawnTime playerSide playersNumber playGesture playMission playMove playMoveNow playMusic playScriptedMission playSound playSound3D position positionCameraToWorld posScreenToWorld posWorldToScreen ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy ppEffectEnable ppEffectEnabled ppEffectForceInNVG precision preloadCamera preloadObject preloadSound preloadTitleObj preloadTitleRsc preprocessFile preprocessFileLineNumbers primaryWeapon primaryWeaponItems primaryWeaponMagazine priority processDiaryLink productVersion profileName profileNamespace profileNameSteam progressLoadingScreen progressPosition progressSetPosition publicVariable publicVariableClient publicVariableServer pushBack pushBackUnique putWeaponPool queryItemsPool queryMagazinePool queryWeaponPool rad radioChannelAdd radioChannelCreate radioChannelRemove radioChannelSetCallSign radioChannelSetLabel radioVolume rain rainbow random rank rankId rating rectangular registeredTasks registerTask reload reloadEnabled remoteControl remoteExec remoteExecCall remoteExecutedOwner remove3DENConnection remove3DENEventHandler remove3DENLayer removeAction removeAll3DENEventHandlers removeAllActions removeAllAssignedItems removeAllContainers removeAllCuratorAddons removeAllCuratorCameraAreas removeAllCuratorEditingAreas removeAllEventHandlers removeAllHandgunItems removeAllItems removeAllItemsWithMagazines removeAllMissionEventHandlers removeAllMPEventHandlers removeAllMusicEventHandlers removeAllOwnedMines removeAllPrimaryWeaponItems removeAllWeapons removeBackpack removeBackpackGlobal removeCuratorAddons removeCuratorCameraArea removeCuratorEditableObjects removeCuratorEditingArea removeDrawIcon removeDrawLinks removeEventHandler removeFromRemainsCollector removeGoggles removeGroupIcon removeHandgunItem removeHeadgear removeItem removeItemFromBackpack removeItemFromUniform removeItemFromVest removeItems removeMagazine removeMagazineGlobal removeMagazines removeMagazinesTurret removeMagazineTurret removeMenuItem removeMissionEventHandler removeMPEventHandler removeMusicEventHandler removeOwnedMine removePrimaryWeaponItem removeSecondaryWeaponItem removeSimpleTask removeSwitchableUnit removeTeamMember removeUniform removeVest removeWeapon removeWeaponAttachmentCargo removeWeaponCargo removeWeaponGlobal removeWeaponTurret reportRemoteTarget requiredVersion resetCamShake resetSubgroupDirection resize resources respawnVehicle restartEditorCamera reveal revealMine reverse reversedMouseY roadAt roadsConnectedTo roleDescription ropeAttachedObjects ropeAttachedTo ropeAttachEnabled ropeAttachTo ropeCreate ropeCut ropeDestroy ropeDetach ropeEndPosition ropeLength ropes ropeUnwind ropeUnwound rotorsForcesRTD rotorsRpmRTD round runInitScript safeZoneH safeZoneW safeZoneWAbs safeZoneX safeZoneXAbs safeZoneY save3DENInventory saveGame saveIdentity saveJoysticks saveOverlay saveProfileNamespace saveStatus saveVar savingEnabled say say2D say3D scopeName score scoreSide screenshot screenToWorld scriptDone scriptName scudState secondaryWeapon secondaryWeaponItems secondaryWeaponMagazine select selectBestPlaces selectDiarySubject selectedEditorObjects selectEditorObject selectionNames selectionPosition selectLeader selectMax selectMin selectNoPlayer selectPlayer selectRandom selectRandomWeighted selectWeapon selectWeaponTurret sendAUMessage sendSimpleCommand sendTask sendTaskResult sendUDPMessage serverCommand serverCommandAvailable serverCommandExecutable serverName serverTime set set3DENAttribute set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLayer set3DENLinesVisible set3DENLogicType set3DENMissionAttribute set3DENMissionAttributes set3DENModelsVisible set3DENObjectType set3DENSelected setAccTime setActualCollectiveRTD setAirplaneThrottle setAirportSide setAmmo setAmmoCargo setAmmoOnPylon setAnimSpeedCoef setAperture setApertureNew setArmoryPoints setAttributes setAutonomous setBehaviour setBleedingRemaining setBrakesRTD setCameraInterest setCamShakeDefParams setCamShakeParams setCamUseTI setCaptive setCenterOfMass setCollisionLight setCombatMode setCompassOscillation setConvoySeparation setCuratorCameraAreaCeiling setCuratorCoef setCuratorEditingAreaType setCuratorWaypointCost setCurrentChannel setCurrentTask setCurrentWaypoint setCustomAimCoef setCustomWeightRTD setDamage setDammage setDate setDebriefingText setDefaultCamera setDestination setDetailMapBlendPars setDir setDirection setDrawIcon setDriveOnPath setDropInterval setDynamicSimulationDistance setDynamicSimulationDistanceCoef setEditorMode setEditorObjectScope setEffectCondition setEngineRPMRTD setFace setFaceAnimation setFatigue setFeatureType setFlagAnimationPhase setFlagOwner setFlagSide setFlagTexture setFog setFormation setFormationTask setFormDir setFriend setFromEditor setFSMVariable setFuel setFuelCargo setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible setGroupId setGroupIdGlobal setGroupOwner setGusts setHideBehind setHit setHitIndex setHitPointDamage setHorizonParallaxCoef setHUDMovementLevels setIdentity setImportance setInfoPanel setLeader setLightAmbient setLightAttenuation setLightBrightness setLightColor setLightDayLight setLightFlareMaxDistance setLightFlareSize setLightIntensity setLightnings setLightUseFlare setLocalWindParams setMagazineTurretAmmo setMarkerAlpha setMarkerAlphaLocal setMarkerBrush setMarkerBrushLocal setMarkerColor setMarkerColorLocal setMarkerDir setMarkerDirLocal setMarkerPos setMarkerPosLocal setMarkerShape setMarkerShapeLocal setMarkerSize setMarkerSizeLocal setMarkerText setMarkerTextLocal setMarkerType setMarkerTypeLocal setMass setMimic setMousePosition setMusicEffect setMusicEventHandler setName setNameSound setObjectArguments setObjectMaterial setObjectMaterialGlobal setObjectProxy setObjectTexture setObjectTextureGlobal setObjectViewDistance setOvercast setOwner setOxygenRemaining setParticleCircle setParticleClass setParticleFire setParticleParams setParticleRandom setPilotCameraDirection setPilotCameraRotation setPilotCameraTarget setPilotLight setPiPEffect setPitch setPlateNumber setPlayable setPlayerRespawnTime setPos setPosASL setPosASL2 setPosASLW setPosATL setPosition setPosWorld setPylonLoadOut setPylonsPriority setRadioMsg setRain setRainbow setRandomLip setRank setRectangular setRepairCargo setRotorBrakeRTD setShadowDistance setShotParents setSide setSimpleTaskAlwaysVisible setSimpleTaskCustomData setSimpleTaskDescription setSimpleTaskDestination setSimpleTaskTarget setSimpleTaskType setSimulWeatherLayers setSize setSkill setSlingLoad setSoundEffect setSpeaker setSpeech setSpeedMode setStamina setStaminaScheme setStatValue setSuppression setSystemOfUnits setTargetAge setTaskMarkerOffset setTaskResult setTaskState setTerrainGrid setText setTimeMultiplier setTitleEffect setTrafficDensity setTrafficDistance setTrafficGap setTrafficSpeed setTriggerActivation setTriggerArea setTriggerStatements setTriggerText setTriggerTimeout setTriggerType setType setUnconscious setUnitAbility setUnitLoadout setUnitPos setUnitPosWeak setUnitRank setUnitRecoilCoefficient setUnitTrait setUnloadInCombat setUserActionText setUserMFDText setUserMFDvalue setVariable setVectorDir setVectorDirAndUp setVectorUp setVehicleAmmo setVehicleAmmoDef setVehicleArmor setVehicleCargo setVehicleId setVehicleLock setVehiclePosition setVehicleRadar setVehicleReceiveRemoteTargets setVehicleReportOwnPosition setVehicleReportRemoteTargets setVehicleTIPars setVehicleVarName setVelocity setVelocityModelSpace setVelocityTransformation setViewDistance setVisibleIfTreeCollapsed setWantedRPMRTD setWaves setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointForceBehaviour setWaypointFormation setWaypointHousePosition setWaypointLoiterRadius setWaypointLoiterType setWaypointName setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible setWeaponReloadingTime setWind setWindDir setWindForce setWindStr setWingForceScaleRTD setWPPos show3DIcons showChat showCinemaBorder showCommandingMenu showCompass showCuratorCompass showGPS showHUD showLegend showMap shownArtilleryComputer shownChat shownCompass shownCuratorCompass showNewEditorObject shownGPS shownHUD shownMap shownPad shownRadio shownScoretable shownUAVFeed shownWarrant shownWatch showPad showRadio showScoretable showSubtitles showUAVFeed showWarrant showWatch showWaypoint showWaypoints side sideChat sideEnemy sideFriendly sideRadio simpleTasks simulationEnabled simulCloudDensity simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode splitString sqrt squadParams stance startLoadingScreen step stop stopEngineRTD stopped str sunOrMoon supportInfo suppressFor surfaceIsWater surfaceNormal surfaceType swimInDepth switchableUnits switchAction switchCamera switchGesture switchLight switchMove synchronizedObjects synchronizedTriggers synchronizedWaypoints synchronizeObjectsAdd synchronizeObjectsRemove synchronizeTrigger synchronizeWaypoint systemChat systemOfUnits tan targetKnowledge targets targetsAggregate targetsQuery taskAlwaysVisible taskChildren taskCompleted taskCustomData taskDescription taskDestination taskHint taskMarkerOffset taskParent taskResult taskState taskType teamMember teamName teams teamSwitch teamSwitchEnabled teamType terminate terrainIntersect terrainIntersectASL terrainIntersectAtASL text textLog textLogFormat tg time timeMultiplier titleCut titleFadeOut titleObj titleRsc titleText toArray toFixed toLower toString toUpper triggerActivated triggerActivation triggerArea triggerAttachedVehicle triggerAttachObject triggerAttachVehicle triggerDynamicSimulation triggerStatements triggerText triggerTimeout triggerTimeoutCurrent triggerType turretLocal turretOwner turretUnit tvAdd tvClear tvCollapse tvCollapseAll tvCount tvCurSel tvData tvDelete tvExpand tvExpandAll tvPicture tvSetColor tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected tvSetText tvSetTooltip tvSetValue tvSort tvSortByValue tvText tvTooltip tvValue type typeName typeOf UAVControl uiNamespace uiSleep unassignCurator unassignItem unassignTeam unassignVehicle underwater uniform uniformContainer uniformItems uniformMagazines unitAddons unitAimPosition unitAimPositionVisual unitBackpack unitIsUAV unitPos unitReady unitRecoilCoefficient units unitsBelowHeight unlinkItem unlockAchievement unregisterTask updateDrawIcon updateMenuItem updateObjectTree useAISteeringComponent useAudioTimeForMoves userInputDisabled vectorAdd vectorCos vectorCrossProduct vectorDiff vectorDir vectorDirVisual vectorDistance vectorDistanceSqr vectorDotProduct vectorFromTo vectorMagnitude vectorMagnitudeSqr vectorModelToWorld vectorModelToWorldVisual vectorMultiply vectorNormalized vectorUp vectorUpVisual vectorWorldToModel vectorWorldToModelVisual vehicle vehicleCargoEnabled vehicleChat vehicleRadio vehicleReceiveRemoteTargets vehicleReportOwnPosition vehicleReportRemoteTargets vehicles vehicleVarName velocity velocityModelSpace verifySignature vest vestContainer vestItems vestMagazines viewDistance visibleCompass visibleGPS visibleMap visiblePosition visiblePositionASL visibleScoretable visibleWatch waves waypointAttachedObject waypointAttachedVehicle waypointAttachObject waypointAttachVehicle waypointBehaviour waypointCombatMode waypointCompletionRadius waypointDescription waypointForceBehaviour waypointFormation waypointHousePosition waypointLoiterRadius waypointLoiterType waypointName waypointPosition waypoints waypointScript waypointsEnabledUAV waypointShow waypointSpeed waypointStatements waypointTimeout waypointTimeoutCurrent waypointType waypointVisible weaponAccessories weaponAccessoriesCargo weaponCargo weaponDirection weaponInertia weaponLowered weapons weaponsItems weaponsItemsCargo weaponState weaponsTurret weightRTD WFSideText wind ",literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nil objNull opfor pi resistance scriptNull sideAmbientLife sideEmpty sideLogic sideUnknown taskNull teamMemberNull true west"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,i,a,l,c],illegal:/#|^\$ /}}U.exports=C},68024:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(...l){return l.map(v=>C(v)).join("")}function i(...l){return"("+l.map(v=>C(v)).join("|")+")"}function a(l){const c=l.COMMENT("--","$"),v={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},_={begin:/"/,end:/"/,contains:[{begin:/""/}]},T=["true","false","unknown"],A=["double precision","large object","with timezone","without timezone"],R=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],P=["add","asc","collation","desc","final","first","last","view"],M=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update   ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],O=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],N=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],B=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],j=O,z=[...M,...P].filter(Y=>!O.includes(Y)),W={className:"variable",begin:/@[a-z0-9]+/},X={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},Q={begin:e(/\b/,i(...j),/\s*\(/),keywords:{built_in:j}};function K(Y,{exceptions:Z,when:J}={}){const ee=J;return Z=Z||[],Y.map(re=>re.match(/\|\d+$/)||Z.includes(re)?re:ee(re)?`${re}|0`:re)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:K(z,{when:Y=>Y.length<3}),literal:T,type:R,built_in:N},contains:[{begin:i(...B),keywords:{$pattern:/[\w\.]+/,keyword:z.concat(B),literal:T,type:R}},{className:"type",begin:i(...A)},Q,W,v,_,l.C_NUMBER_MODE,l.C_BLOCK_COMMENT_MODE,c,X]}}U.exports=a},72908:U=>{function C(e){var i=e.COMMENT("--","$");return{name:"SQL (more)",aliases:["mysql","oracle"],disableAutodetect:!0,case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,i,e.HASH_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE,i,e.HASH_COMMENT_MODE]}}U.exports=C},62460:U=>{function C(e){const i=["functions","model","data","parameters","quantities","transformed","generated"],a=["for","in","if","else","while","break","continue","return"],l=["print","reject","increment_log_prob|10","integrate_ode|10","integrate_ode_rk45|10","integrate_ode_bdf|10","algebra_solver"],c=["int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],v=["Phi","Phi_approx","abs","acos","acosh","algebra_solver","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bernoulli_cdf","bernoulli_lccdf","bernoulli_lcdf","bernoulli_logit_lpmf","bernoulli_logit_rng","bernoulli_lpmf","bernoulli_rng","bessel_first_kind","bessel_second_kind","beta_binomial_cdf","beta_binomial_lccdf","beta_binomial_lcdf","beta_binomial_lpmf","beta_binomial_rng","beta_cdf","beta_lccdf","beta_lcdf","beta_lpdf","beta_rng","binary_log_loss","binomial_cdf","binomial_coefficient_log","binomial_lccdf","binomial_lcdf","binomial_logit_lpmf","binomial_lpmf","binomial_rng","block","categorical_logit_lpmf","categorical_logit_rng","categorical_lpmf","categorical_rng","cauchy_cdf","cauchy_lccdf","cauchy_lcdf","cauchy_lpdf","cauchy_rng","cbrt","ceil","chi_square_cdf","chi_square_lccdf","chi_square_lcdf","chi_square_lpdf","chi_square_rng","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","dirichlet_lpdf","dirichlet_rng","distance","dot_product","dot_self","double_exponential_cdf","double_exponential_lccdf","double_exponential_lcdf","double_exponential_lpdf","double_exponential_rng","e","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","exp_mod_normal_cdf","exp_mod_normal_lccdf","exp_mod_normal_lcdf","exp_mod_normal_lpdf","exp_mod_normal_rng","expm1","exponential_cdf","exponential_lccdf","exponential_lcdf","exponential_lpdf","exponential_rng","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","frechet_cdf","frechet_lccdf","frechet_lcdf","frechet_lpdf","frechet_rng","gamma_cdf","gamma_lccdf","gamma_lcdf","gamma_lpdf","gamma_p","gamma_q","gamma_rng","gaussian_dlm_obs_lpdf","get_lp","gumbel_cdf","gumbel_lccdf","gumbel_lcdf","gumbel_lpdf","gumbel_rng","head","hypergeometric_lpmf","hypergeometric_rng","hypot","inc_beta","int_step","integrate_ode","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_chi_square_cdf","inv_chi_square_lccdf","inv_chi_square_lcdf","inv_chi_square_lpdf","inv_chi_square_rng","inv_cloglog","inv_gamma_cdf","inv_gamma_lccdf","inv_gamma_lcdf","inv_gamma_lpdf","inv_gamma_rng","inv_logit","inv_sqrt","inv_square","inv_wishart_lpdf","inv_wishart_rng","inverse","inverse_spd","is_inf","is_nan","lbeta","lchoose","lgamma","lkj_corr_cholesky_lpdf","lkj_corr_cholesky_rng","lkj_corr_lpdf","lkj_corr_rng","lmgamma","lmultiply","log","log10","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log2","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_mix","log_rising_factorial","log_softmax","log_sum_exp","logistic_cdf","logistic_lccdf","logistic_lcdf","logistic_lpdf","logistic_rng","logit","lognormal_cdf","lognormal_lccdf","lognormal_lcdf","lognormal_lpdf","lognormal_rng","machine_precision","matrix_exp","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multi_gp_cholesky_lpdf","multi_gp_lpdf","multi_normal_cholesky_lpdf","multi_normal_cholesky_rng","multi_normal_lpdf","multi_normal_prec_lpdf","multi_normal_rng","multi_student_t_lpdf","multi_student_t_rng","multinomial_lpmf","multinomial_rng","multiply_log","multiply_lower_tri_self_transpose","neg_binomial_2_cdf","neg_binomial_2_lccdf","neg_binomial_2_lcdf","neg_binomial_2_log_lpmf","neg_binomial_2_log_rng","neg_binomial_2_lpmf","neg_binomial_2_rng","neg_binomial_cdf","neg_binomial_lccdf","neg_binomial_lcdf","neg_binomial_lpmf","neg_binomial_rng","negative_infinity","normal_cdf","normal_lccdf","normal_lcdf","normal_lpdf","normal_rng","not_a_number","num_elements","ordered_logistic_lpmf","ordered_logistic_rng","owens_t","pareto_cdf","pareto_lccdf","pareto_lcdf","pareto_lpdf","pareto_rng","pareto_type_2_cdf","pareto_type_2_lccdf","pareto_type_2_lcdf","pareto_type_2_lpdf","pareto_type_2_rng","pi","poisson_cdf","poisson_lccdf","poisson_lcdf","poisson_log_lpmf","poisson_log_rng","poisson_lpmf","poisson_rng","positive_infinity","pow","print","prod","qr_Q","qr_R","quad_form","quad_form_diag","quad_form_sym","rank","rayleigh_cdf","rayleigh_lccdf","rayleigh_lcdf","rayleigh_lpdf","rayleigh_rng","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scaled_inv_chi_square_cdf","scaled_inv_chi_square_lccdf","scaled_inv_chi_square_lcdf","scaled_inv_chi_square_lpdf","scaled_inv_chi_square_rng","sd","segment","sin","singular_values","sinh","size","skew_normal_cdf","skew_normal_lccdf","skew_normal_lcdf","skew_normal_lpdf","skew_normal_rng","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","sqrt2","square","squared_distance","step","student_t_cdf","student_t_lccdf","student_t_lcdf","student_t_lpdf","student_t_rng","sub_col","sub_row","sum","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_cdf","uniform_lccdf","uniform_lcdf","uniform_lpdf","uniform_rng","variance","von_mises_lpdf","von_mises_rng","weibull_cdf","weibull_lccdf","weibull_lcdf","weibull_lpdf","weibull_rng","wiener_lpdf","wishart_lpdf","wishart_rng"],_=["bernoulli","bernoulli_logit","beta","beta_binomial","binomial","binomial_logit","categorical","categorical_logit","cauchy","chi_square","dirichlet","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","neg_binomial","neg_binomial_2","neg_binomial_2_log","normal","ordered_logistic","pareto","pareto_type_2","poisson","poisson_log","rayleigh","scaled_inv_chi_square","skew_normal","student_t","uniform","von_mises","weibull","wiener","wishart"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:i,keyword:a.concat(c).concat(l),built_in:v},contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/#/,/$/,{relevance:0,keywords:{"meta-keyword":"include"}}),e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{className:"doctag",begin:/@(return|param)/}]}),{begin:/<\s*lower\s*=/,keywords:"lower"},{begin:/[<,]\s*upper\s*=/,keywords:"upper"},{className:"keyword",begin:/\btarget\s*\+=/,relevance:10},{begin:"~\\s*("+e.IDENT_RE+")\\s*\\(",keywords:_},{className:"number",variants:[{begin:/\b\d+(?:\.\d*)?(?:[eE][+-]?\d+)?/},{begin:/\.\d+(?:[eE][+-]?\d+)?\b/}],relevance:0},{className:"string",begin:'"',end:'"',relevance:0}]}}U.exports=C},3328:U=>{function C(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/},{className:"string",variants:[{begin:`\`"[^\r
]*?"'`},{begin:`"[^\r
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ 	]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}U.exports=C},27356:U=>{function C(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"HEADER ENDSEC DATA"},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}U.exports=C},64492:U=>{const C=_=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[_.APOS_STRING_MODE,_.QUOTE_STRING_MODE]}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],i=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],a=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],l=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],c=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function v(_){const T=C(_),A="and or not only",R={className:"variable",begin:"\\$"+_.IDENT_RE},P=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],M="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[_.QUOTE_STRING_MODE,_.APOS_STRING_MODE,_.C_LINE_COMMENT_MODE,_.C_BLOCK_COMMENT_MODE,T.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+M,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+M,className:"selector-id"},{begin:"\\b("+e.join("|")+")"+M,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+a.join("|")+")"+M},{className:"selector-pseudo",begin:"&?::("+l.join("|")+")"+M},T.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:A,attribute:i.join(" ")},contains:[_.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+P.join("|")+"))\\b"},R,_.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[T.HEXCOLOR,R,_.APOS_STRING_MODE,_.CSS_NUMBER_MODE,_.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+c.join("|")+")\\b",starts:{end:/;|$/,contains:[T.HEXCOLOR,R,_.APOS_STRING_MODE,_.QUOTE_STRING_MODE,_.CSS_NUMBER_MODE,_.C_BLOCK_COMMENT_MODE,T.IMPORTANT],illegal:/\./,relevance:0}}]}}U.exports=v},65528:U=>{function C(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[
(multipart)?`,end:`\\]
`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}U.exports=C},37452:U=>{function C(Z){return Z?typeof Z=="string"?Z:Z.source:null}function e(Z){return i("(?=",Z,")")}function i(...Z){return Z.map(ee=>C(ee)).join("")}function a(...Z){return"("+Z.map(ee=>C(ee)).join("|")+")"}const l=Z=>i(/\b/,Z,/\w$/.test(Z)?/\b/:/\B/),c=["Protocol","Type"].map(l),v=["init","self"].map(l),_=["Any","Self"],T=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],A=["false","nil","true"],R=["assignment","associativity","higherThan","left","lowerThan","none","right"],P=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],M=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],O=a(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),N=a(O,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),B=i(O,N,"*"),j=a(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),z=a(j,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),W=i(j,z,"*"),X=i(/[A-Z]/,z,"*"),Q=["autoclosure",i(/convention\(/,a("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",i(/objc\(/,W,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],K=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function Y(Z){const J={match:/\s+/,relevance:0},ee=Z.COMMENT("/\\*","\\*/",{contains:["self"]}),re=[Z.C_LINE_COMMENT_MODE,ee],me={className:"keyword",begin:i(/\./,e(a(...c,...v))),end:a(...c,...v),excludeBegin:!0},fe={match:i(/\./,a(...T)),relevance:0},le=T.filter(Cn=>typeof Cn=="string").concat(["_|0"]),Ve=T.filter(Cn=>typeof Cn!="string").concat(_).map(l),Ze={variants:[{className:"keyword",match:a(...Ve,...v)}]},Ce={$pattern:a(/\b\w+/,/#\w+/),keyword:le.concat(P),literal:A},ye=[me,fe,Ze],Ae={match:i(/\./,a(...M)),relevance:0},Fe={className:"built_in",match:i(/\b/,a(...M),/(?=\()/)},Qe=[Ae,Fe],ce={match:/->/,relevance:0},Ge={className:"operator",relevance:0,variants:[{match:B},{match:`\\.(\\.|${N})+`}]},Pe=[ce,Ge],pe="([0-9]_*)+",Se="([0-9a-fA-F]_*)+",_e={className:"number",relevance:0,variants:[{match:`\\b(${pe})(\\.(${pe}))?([eE][+-]?(${pe}))?\\b`},{match:`\\b0x(${Se})(\\.(${Se}))?([pP][+-]?(${pe}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},Ne=(Cn="")=>({className:"subst",variants:[{match:i(/\\/,Cn,/[0\\tnr"']/)},{match:i(/\\/,Cn,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Le=(Cn="")=>({className:"subst",match:i(/\\/,Cn,/[\t ]*(?:[\r\n]|\r\n)/)}),Ke=(Cn="")=>({className:"subst",label:"interpol",begin:i(/\\/,Cn,/\(/),end:/\)/}),bt=(Cn="")=>({begin:i(Cn,/"""/),end:i(/"""/,Cn),contains:[Ne(Cn),Le(Cn),Ke(Cn)]}),yt=(Cn="")=>({begin:i(Cn,/"/),end:i(/"/,Cn),contains:[Ne(Cn),Ke(Cn)]}),It={className:"string",variants:[bt(),bt("#"),bt("##"),bt("###"),yt(),yt("#"),yt("##"),yt("###")]},_t={match:i(/`/,W,/`/)},zt={className:"variable",match:/\$\d+/},Vt={className:"variable",match:`\\$${z}+`},St=[_t,zt,Vt],Xt={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:K,contains:[...Pe,_e,It]}]}},jt={className:"keyword",match:i(/@/,a(...Q))},sn={className:"meta",match:i(/@/,W)},dt=[Xt,jt,sn],Ln={match:e(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:i(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,z,"+")},{className:"type",match:X,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:i(/\s+&\s+/,e(X)),relevance:0}]},fn={begin:/</,end:/>/,keywords:Ce,contains:[...re,...ye,...dt,ce,Ln]};Ln.contains.push(fn);const cr={match:i(W,/\s*:/),keywords:"_|0",relevance:0},wr={begin:/\(/,end:/\)/,relevance:0,keywords:Ce,contains:["self",cr,...re,...ye,...Qe,...Pe,_e,It,...St,...dt,Ln]},Jn={beginKeywords:"func",contains:[{className:"title",match:a(_t.match,W,B),endsParent:!0,relevance:0},J]},nn={begin:/</,end:/>/,contains:[...re,Ln]},or={begin:a(e(i(W,/\s*:/)),e(i(W,/\s+/,W,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:W}]},bn={begin:/\(/,end:/\)/,keywords:Ce,contains:[or,...re,...ye,...Pe,_e,It,...dt,Ln,wr],endsParent:!0,illegal:/["']/},Sn={className:"function",match:e(/\bfunc\b/),contains:[Jn,nn,bn,J],illegal:[/\[/,/%/]},Hn={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[nn,bn,J],illegal:/\[|%/},er={beginKeywords:"operator",end:Z.MATCH_NOTHING_RE,contains:[{className:"title",match:B,endsParent:!0,relevance:0}]},an={beginKeywords:"precedencegroup",end:Z.MATCH_NOTHING_RE,contains:[{className:"title",match:X,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[...R,...A],contains:[Ln]}]};for(const Cn of It.variants){const de=Cn.contains.find(Ye=>Ye.label==="interpol");de.keywords=Ce;const oe=[...ye,...Qe,...Pe,_e,It,...St];de.contains=[...oe,{begin:/\(/,end:/\)/,contains:["self",...oe]}]}return{name:"Swift",keywords:Ce,contains:[...re,Sn,Hn,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:Ce,contains:[Z.inherit(Z.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...ye]},er,an,{beginKeywords:"import",end:/$/,contains:[...re],relevance:0},...ye,...Qe,...Pe,_e,It,...St,...dt,Ln,wr]}}U.exports=Y},62728:U=>{function C(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}U.exports=C},43904:U=>{function C(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}U.exports=C},34720:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(l){return i("(",l,")?")}function i(...l){return l.map(v=>C(v)).join("")}function a(l){const c=/[a-zA-Z_][a-zA-Z0-9_]*/,v={className:"number",variants:[l.BINARY_NUMBER_MODE,l.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[l.COMMENT(";[ \\t]*#","$"),l.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:i(/\$/,e(/::/),c,"(::",c,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[v]}]},{className:"string",contains:[l.BACKSLASH_ESCAPE],variants:[l.inherit(l.QUOTE_STRING_MODE,{illegal:null})]},v]}}U.exports=a},27383:U=>{function C(e){const i="bool byte i16 i32 i64 double string binary";return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:i,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:i,contains:["self"]}]}}U.exports=C},2699:U=>{function C(e){const i={className:"number",begin:"[1-9][0-9]*",relevance:0},a={className:"symbol",begin:":[^\\]]+"},l={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",i,a]},c={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",i,e.QUOTE_STRING_MODE,a]};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[l,c,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}U.exports=C},81372:U=>{function C(e){var i={className:"params",begin:"\\(",end:"\\)"},a="attribute block constant cycle date dump include max min parent random range source template_from_string",l={beginKeywords:a,keywords:{name:a},relevance:0,contains:[i]},c={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[l]},v="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return v=v+" "+v.split(" ").map(function(_){return"end"+_}).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:v,starts:{endsWithParent:!0,contains:[c,l],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",c,l]}]}}U.exports=C},83964:U=>{const C="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],i=["true","false","null","undefined","NaN","Infinity"],a=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],l=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],c=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],v=["arguments","this","super","console","window","document","localStorage","module","global"],_=[].concat(c,v,a,l);function T(O){return O?typeof O=="string"?O:O.source:null}function A(O){return R("(?=",O,")")}function R(...O){return O.map(B=>T(B)).join("")}function P(O){const N=(ye,{after:Ae})=>{const Fe="</"+ye[0].slice(1);return ye.input.indexOf(Fe,Ae)!==-1},B=C,j={begin:"<>",end:"</>"},z={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ye,Ae)=>{const Fe=ye[0].length+ye.index,Qe=ye.input[Fe];if(Qe==="<"){Ae.ignoreMatch();return}Qe===">"&&(N(ye,{after:Fe})||Ae.ignoreMatch())}},W={$pattern:C,keyword:e,literal:i,built_in:_},X="[0-9](_?[0-9])*",Q=`\\.(${X})`,K="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Y={className:"number",variants:[{begin:`(\\b(${K})((${Q})|\\.)?|(${Q}))[eE][+-]?(${X})\\b`},{begin:`\\b(${K})\\b((${Q})\\b|\\.)?|(${Q})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},Z={className:"subst",begin:"\\$\\{",end:"\\}",keywords:W,contains:[]},J={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[O.BACKSLASH_ESCAPE,Z],subLanguage:"xml"}},ee={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[O.BACKSLASH_ESCAPE,Z],subLanguage:"css"}},re={className:"string",begin:"`",end:"`",contains:[O.BACKSLASH_ESCAPE,Z]},fe={className:"comment",variants:[O.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:B+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),O.C_BLOCK_COMMENT_MODE,O.C_LINE_COMMENT_MODE]},le=[O.APOS_STRING_MODE,O.QUOTE_STRING_MODE,J,ee,re,Y,O.REGEXP_MODE];Z.contains=le.concat({begin:/\{/,end:/\}/,keywords:W,contains:["self"].concat(le)});const Ve=[].concat(fe,Z.contains),Ze=Ve.concat([{begin:/\(/,end:/\)/,keywords:W,contains:["self"].concat(Ve)}]),Ce={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:Ze};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:W,exports:{PARAMS_CONTAINS:Ze},illegal:/#(?![$_A-z])/,contains:[O.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},O.APOS_STRING_MODE,O.QUOTE_STRING_MODE,J,ee,re,fe,Y,{begin:R(/[{,\n]\s*/,A(R(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,B+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:B+A("\\s*:"),relevance:0}]},{begin:"("+O.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[fe,O.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+O.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:O.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:Ze}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:j.begin,end:j.end},{begin:z.begin,"on:begin":z.isTrulyOpeningTag,end:z.end}],subLanguage:"xml",contains:[{begin:z.begin,end:z.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:W,contains:["self",O.inherit(O.TITLE_MODE,{begin:B}),Ce],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:O.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[Ce,O.inherit(O.TITLE_MODE,{begin:B})]},{variants:[{begin:"\\."+B},{begin:"\\$"+B}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},O.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[O.inherit(O.TITLE_MODE,{begin:B}),"self",Ce]},{begin:"(get|set)\\s+(?="+B+"\\()",end:/\{/,keywords:"get set",contains:[O.inherit(O.TITLE_MODE,{begin:B}),{begin:/\(\)/},Ce]},{begin:/\$[(.]/}]}}function M(O){const N=C,B={beginKeywords:"namespace",end:/\{/,excludeEnd:!0},j={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},z={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},W=["any","void","number","boolean","string","object","never","enum"],X=["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"],Q={$pattern:C,keyword:e.concat(X),literal:i,built_in:_.concat(W)},K={className:"meta",begin:"@"+N},Y=(ee,re,me)=>{const fe=ee.contains.findIndex(le=>le.label===re);if(fe===-1)throw new Error("can not find mode to replace");ee.contains.splice(fe,1,me)},Z=P(O);Object.assign(Z.keywords,Q),Z.exports.PARAMS_CONTAINS.push(K),Z.contains=Z.contains.concat([K,B,j]),Y(Z,"shebang",O.SHEBANG()),Y(Z,"use_strict",z);const J=Z.contains.find(ee=>ee.className==="function");return J.relevance=0,Object.assign(Z,{name:"TypeScript",aliases:["ts","tsx"]}),Z}U.exports=M},90500:U=>{function C(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}U.exports=C},74008:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(...l){return l.map(v=>C(v)).join("")}function i(...l){return"("+l.map(v=>C(v)).join("|")+")"}function a(l){const c={className:"string",begin:/"(""|[^/n])"C\b/},v={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},_=/\d{1,2}\/\d{1,2}\/\d{4}/,T=/\d{4}-\d{1,2}-\d{1,2}/,A=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,R=/\d{1,2}(:\d{1,2}){1,2}/,P={className:"literal",variants:[{begin:e(/# */,i(T,_),/ *#/)},{begin:e(/# */,R,/ *#/)},{begin:e(/# */,A,/ *#/)},{begin:e(/# */,i(T,_),/ +/,i(A,R),/ *#/)}]},M={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},O={className:"label",begin:/^\w+:/},N=l.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),B=l.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[c,v,P,M,O,N,B,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[B]}]}}U.exports=a},32268:U=>{function C(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}U.exports=C},39432:U=>{function C(l){return l?typeof l=="string"?l:l.source:null}function e(...l){return l.map(v=>C(v)).join("")}function i(...l){return"("+l.map(v=>C(v)).join("|")+")"}function a(l){const c="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split  cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" "),v=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],_={begin:e(i(...c),"\\s*\\("),relevance:0,keywords:{built_in:c}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:v,literal:"true false null nothing empty"},illegal:"//",contains:[_,l.inherit(l.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),l.COMMENT(/'/,/$/,{relevance:0}),l.C_NUMBER_MODE]}}U.exports=a},43784:U=>{function C(e){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}U.exports=C},49308:U=>{function C(e){const i="\\d(_|\\d)*",a="[eE][-+]?"+i,l=i+"(\\."+i+")?("+a+")?",c="\\w+",_="\\b("+(i+"#"+c+"(\\."+c+")?#("+a+")?")+"|"+l+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:_,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}U.exports=C},25784:U=>{function C(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}U.exports=C},14136:U=>{function C(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0  xmm1  xmm2  xmm3  xmm4  xmm5  xmm6  xmm7  xmm8  xmm9 xmm10  xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0  ymm1  ymm2  ymm3  ymm4  ymm5  ymm6  ymm7  ymm8  ymm9 ymm10  ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0  zmm1  zmm2  zmm3  zmm4  zmm5  zmm6  zmm7  zmm8  zmm9 zmm10  zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__  __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__  __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}U.exports=C},968:U=>{function C(e){const a={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+"ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},l={className:"string",begin:'"',end:'"',illegal:"\\n"},c={className:"string",begin:"'",end:"'",illegal:"\\n"},v={className:"string",begin:"<<",end:">>"},_={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},T={beginKeywords:"import",end:"$",keywords:a,contains:[l]},A={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:a}})]};return{name:"XL",aliases:["tao"],keywords:a,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l,c,v,A,T,_,e.NUMBER_MODE]}}U.exports=C},96656:U=>{function C(v){return v?typeof v=="string"?v:v.source:null}function e(v){return a("(?=",v,")")}function i(v){return a("(",v,")?")}function a(...v){return v.map(T=>C(T)).join("")}function l(...v){return"("+v.map(T=>C(T)).join("|")+")"}function c(v){const _=a(/[A-Z_]/,i(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),T=/[A-Za-z0-9._:-]+/,A={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},R={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},P=v.inherit(R,{begin:/\(/,end:/\)/}),M=v.inherit(v.APOS_STRING_MODE,{className:"meta-string"}),O=v.inherit(v.QUOTE_STRING_MODE,{className:"meta-string"}),N={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:T,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[A]},{begin:/'/,end:/'/,contains:[A]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[R,O,M,P,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[R,P,O,M]}]}]},v.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},A,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[N],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[N],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:a(/</,e(a(_,l(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:_,relevance:0,starts:N}]},{className:"tag",begin:a(/<\//,e(a(_,/>/))),contains:[{className:"name",begin:_,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}U.exports=c},39996:U=>{function C(e){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}U.exports=C},21408:U=>{function C(e){var i="true false yes no null",a="[\\w#;/?:@&=+$,.~*'()[\\]]+",l={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ 	]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ 	]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ 	]|$)"}]},c={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},v={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,c]},_=e.inherit(v,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),T="[0-9]{4}(-[0-9][0-9]){0,2}",A="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",R="(\\.[0-9]*)?",P="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",M={className:"number",begin:"\\b"+T+A+R+P+"\\b"},O={end:",",endsWithParent:!0,excludeEnd:!0,keywords:i,relevance:0},N={begin:/\{/,end:/\}/,contains:[O],illegal:"\\n",relevance:0},B={begin:"\\[",end:"\\]",contains:[O],illegal:"\\n",relevance:0},j=[l,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+a},{className:"type",begin:"!<"+a+">"},{className:"type",begin:"!"+a},{className:"type",begin:"!!"+a},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:i,keywords:{literal:i}},M,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},N,B,v],z=[...j];return z.pop(),z.push(_),O.contains=z,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:j}}U.exports=C},93572:U=>{function C(e){const i={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},a=e.UNDERSCORE_TITLE_MODE,l={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},c="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:c,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[a,{className:"params",begin:/\(/,end:/\)/,keywords:c,contains:["self",e.C_BLOCK_COMMENT_MODE,i,l]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},a]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[a]},{beginKeywords:"use",end:/;/,contains:[a]},{begin:/=>/},i,l]}}U.exports=C},53232:(U,C,e)=>{"use strict";e.d(C,{iU:()=>Ve,Yf:()=>ce,gh:()=>W,Wi:()=>Pe,Ep:()=>z,gx:()=>X});var i=e(59056);function a(pe){return pe.charAt(0)==="/"}function l(pe,Se){for(var _e=Se,Ne=_e+1,Le=pe.length;Ne<Le;_e+=1,Ne+=1)pe[_e]=pe[Ne];pe.pop()}function c(pe,Se){Se===void 0&&(Se="");var _e=pe&&pe.split("/")||[],Ne=Se&&Se.split("/")||[],Le=pe&&a(pe),Ke=Se&&a(Se),bt=Le||Ke;if(pe&&a(pe)?Ne=_e:_e.length&&(Ne.pop(),Ne=Ne.concat(_e)),!Ne.length)return"/";var yt;if(Ne.length){var It=Ne[Ne.length-1];yt=It==="."||It===".."||It===""}else yt=!1;for(var _t=0,zt=Ne.length;zt>=0;zt--){var Vt=Ne[zt];Vt==="."?l(Ne,zt):Vt===".."?(l(Ne,zt),_t++):_t&&(l(Ne,zt),_t--)}if(!bt)for(;_t--;_t)Ne.unshift("..");bt&&Ne[0]!==""&&(!Ne[0]||!a(Ne[0]))&&Ne.unshift("");var St=Ne.join("/");return yt&&St.substr(-1)!=="/"&&(St+="/"),St}const v=c;function _(pe){return pe.valueOf?pe.valueOf():Object.prototype.valueOf.call(pe)}function T(pe,Se){if(pe===Se)return!0;if(pe==null||Se==null)return!1;if(Array.isArray(pe))return Array.isArray(Se)&&pe.length===Se.length&&pe.every(function(Le,Ke){return T(Le,Se[Ke])});if(typeof pe=="object"||typeof Se=="object"){var _e=_(pe),Ne=_(Se);return _e!==pe||Ne!==Se?T(_e,Ne):Object.keys(Object.assign({},pe,Se)).every(function(Le){return T(pe[Le],Se[Le])})}return!1}const A=T;var R=e(58664);function P(pe){return pe.charAt(0)==="/"?pe:"/"+pe}function M(pe){return pe.charAt(0)==="/"?pe.substr(1):pe}function O(pe,Se){return pe.toLowerCase().indexOf(Se.toLowerCase())===0&&"/?#".indexOf(pe.charAt(Se.length))!==-1}function N(pe,Se){return O(pe,Se)?pe.substr(Se.length):pe}function B(pe){return pe.charAt(pe.length-1)==="/"?pe.slice(0,-1):pe}function j(pe){var Se=pe||"/",_e="",Ne="",Le=Se.indexOf("#");Le!==-1&&(Ne=Se.substr(Le),Se=Se.substr(0,Le));var Ke=Se.indexOf("?");return Ke!==-1&&(_e=Se.substr(Ke),Se=Se.substr(0,Ke)),{pathname:Se,search:_e==="?"?"":_e,hash:Ne==="#"?"":Ne}}function z(pe){var Se=pe.pathname,_e=pe.search,Ne=pe.hash,Le=Se||"/";return _e&&_e!=="?"&&(Le+=_e.charAt(0)==="?"?_e:"?"+_e),Ne&&Ne!=="#"&&(Le+=Ne.charAt(0)==="#"?Ne:"#"+Ne),Le}function W(pe,Se,_e,Ne){var Le;typeof pe=="string"?(Le=j(pe),Le.state=Se):(Le=(0,i.c)({},pe),Le.pathname===void 0&&(Le.pathname=""),Le.search?Le.search.charAt(0)!=="?"&&(Le.search="?"+Le.search):Le.search="",Le.hash?Le.hash.charAt(0)!=="#"&&(Le.hash="#"+Le.hash):Le.hash="",Se!==void 0&&Le.state===void 0&&(Le.state=Se));try{Le.pathname=decodeURI(Le.pathname)}catch(Ke){throw Ke instanceof URIError?new URIError('Pathname "'+Le.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):Ke}return _e&&(Le.key=_e),Ne?Le.pathname?Le.pathname.charAt(0)!=="/"&&(Le.pathname=v(Le.pathname,Ne.pathname)):Le.pathname=Ne.pathname:Le.pathname||(Le.pathname="/"),Le}function X(pe,Se){return pe.pathname===Se.pathname&&pe.search===Se.search&&pe.hash===Se.hash&&pe.key===Se.key&&A(pe.state,Se.state)}function Q(){var pe=null;function Se(bt){return pe=bt,function(){pe===bt&&(pe=null)}}function _e(bt,yt,It,_t){if(pe!=null){var zt=typeof pe=="function"?pe(bt,yt):pe;typeof zt=="string"?typeof It=="function"?It(zt,_t):_t(!0):_t(zt!==!1)}else _t(!0)}var Ne=[];function Le(bt){var yt=!0;function It(){yt&&bt.apply(void 0,arguments)}return Ne.push(It),function(){yt=!1,Ne=Ne.filter(function(_t){return _t!==It})}}function Ke(){for(var bt=arguments.length,yt=new Array(bt),It=0;It<bt;It++)yt[It]=arguments[It];Ne.forEach(function(_t){return _t.apply(void 0,yt)})}return{setPrompt:Se,confirmTransitionTo:_e,appendListener:Le,notifyListeners:Ke}}var K=!!(typeof window<"u"&&window.document&&window.document.createElement);function Y(pe,Se){Se(window.confirm(pe))}function Z(){var pe=window.navigator.userAgent;return(pe.indexOf("Android 2.")!==-1||pe.indexOf("Android 4.0")!==-1)&&pe.indexOf("Mobile Safari")!==-1&&pe.indexOf("Chrome")===-1&&pe.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}function J(){return window.navigator.userAgent.indexOf("Trident")===-1}function ee(){return window.navigator.userAgent.indexOf("Firefox")===-1}function re(pe){return pe.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var me="popstate",fe="hashchange";function le(){try{return window.history.state||{}}catch{return{}}}function Ve(pe){pe===void 0&&(pe={}),K||(0,R.c)(!1);var Se=window.history,_e=Z(),Ne=!J(),Le=pe,Ke=Le.forceRefresh,bt=Ke===void 0?!1:Ke,yt=Le.getUserConfirmation,It=yt===void 0?Y:yt,_t=Le.keyLength,zt=_t===void 0?6:_t,Vt=pe.basename?B(P(pe.basename)):"";function St(Re){var We=Re||{},gt=We.key,Nt=We.state,Ct=window.location,tn=Ct.pathname,ge=Ct.search,At=Ct.hash,mn=tn+ge+At;return Vt&&(mn=N(mn,Vt)),W(mn,Nt,gt)}function Xt(){return Math.random().toString(36).substr(2,zt)}var jt=Q();function sn(Re){(0,i.c)(xe,Re),xe.length=Se.length,jt.notifyListeners(xe.location,xe.action)}function dt(Re){re(Re)||cr(St(Re.state))}function Ln(){cr(St(le()))}var fn=!1;function cr(Re){if(fn)fn=!1,sn();else{var We="POP";jt.confirmTransitionTo(Re,We,It,function(gt){gt?sn({action:We,location:Re}):wr(Re)})}}function wr(Re){var We=xe.location,gt=nn.indexOf(We.key);gt===-1&&(gt=0);var Nt=nn.indexOf(Re.key);Nt===-1&&(Nt=0);var Ct=gt-Nt;Ct&&(fn=!0,Hn(Ct))}var Jn=St(le()),nn=[Jn.key];function or(Re){return Vt+z(Re)}function bn(Re,We){var gt="PUSH",Nt=W(Re,We,Xt(),xe.location);jt.confirmTransitionTo(Nt,gt,It,function(Ct){if(Ct){var tn=or(Nt),ge=Nt.key,At=Nt.state;if(_e)if(Se.pushState({key:ge,state:At},null,tn),bt)window.location.href=tn;else{var mn=nn.indexOf(xe.location.key),xn=nn.slice(0,mn+1);xn.push(Nt.key),nn=xn,sn({action:gt,location:Nt})}else window.location.href=tn}})}function Sn(Re,We){var gt="REPLACE",Nt=W(Re,We,Xt(),xe.location);jt.confirmTransitionTo(Nt,gt,It,function(Ct){if(Ct){var tn=or(Nt),ge=Nt.key,At=Nt.state;if(_e)if(Se.replaceState({key:ge,state:At},null,tn),bt)window.location.replace(tn);else{var mn=nn.indexOf(xe.location.key);mn!==-1&&(nn[mn]=Nt.key),sn({action:gt,location:Nt})}else window.location.replace(tn)}})}function Hn(Re){Se.go(Re)}function er(){Hn(-1)}function an(){Hn(1)}var Cn=0;function de(Re){Cn+=Re,Cn===1&&Re===1?(window.addEventListener(me,dt),Ne&&window.addEventListener(fe,Ln)):Cn===0&&(window.removeEventListener(me,dt),Ne&&window.removeEventListener(fe,Ln))}var oe=!1;function Ye(Re){Re===void 0&&(Re=!1);var We=jt.setPrompt(Re);return oe||(de(1),oe=!0),function(){return oe&&(oe=!1,de(-1)),We()}}function Et(Re){var We=jt.appendListener(Re);return de(1),function(){de(-1),We()}}var xe={length:Se.length,action:"POP",location:Jn,createHref:or,push:bn,replace:Sn,go:Hn,goBack:er,goForward:an,block:Ye,listen:Et};return xe}var Ze="hashchange",Ce={hashbang:{encodePath:function(Se){return Se.charAt(0)==="!"?Se:"!/"+M(Se)},decodePath:function(Se){return Se.charAt(0)==="!"?Se.substr(1):Se}},noslash:{encodePath:M,decodePath:P},slash:{encodePath:P,decodePath:P}};function ye(pe){var Se=pe.indexOf("#");return Se===-1?pe:pe.slice(0,Se)}function Ae(){var pe=window.location.href,Se=pe.indexOf("#");return Se===-1?"":pe.substring(Se+1)}function Fe(pe){window.location.hash=pe}function Qe(pe){window.location.replace(ye(window.location.href)+"#"+pe)}function ce(pe){pe===void 0&&(pe={}),K||(0,R.c)(!1);var Se=window.history,_e=ee(),Ne=pe,Le=Ne.getUserConfirmation,Ke=Le===void 0?Y:Le,bt=Ne.hashType,yt=bt===void 0?"slash":bt,It=pe.basename?B(P(pe.basename)):"",_t=Ce[yt],zt=_t.encodePath,Vt=_t.decodePath;function St(){var gt=Vt(Ae());return It&&(gt=N(gt,It)),W(gt)}var Xt=Q();function jt(gt){(0,i.c)(We,gt),We.length=Se.length,Xt.notifyListeners(We.location,We.action)}var sn=!1,dt=null;function Ln(gt,Nt){return gt.pathname===Nt.pathname&&gt.search===Nt.search&&gt.hash===Nt.hash}function fn(){var gt=Ae(),Nt=zt(gt);if(gt!==Nt)Qe(Nt);else{var Ct=St(),tn=We.location;if(!sn&&Ln(tn,Ct)||dt===z(Ct))return;dt=null,cr(Ct)}}function cr(gt){if(sn)sn=!1,jt();else{var Nt="POP";Xt.confirmTransitionTo(gt,Nt,Ke,function(Ct){Ct?jt({action:Nt,location:gt}):wr(gt)})}}function wr(gt){var Nt=We.location,Ct=bn.lastIndexOf(z(Nt));Ct===-1&&(Ct=0);var tn=bn.lastIndexOf(z(gt));tn===-1&&(tn=0);var ge=Ct-tn;ge&&(sn=!0,an(ge))}var Jn=Ae(),nn=zt(Jn);Jn!==nn&&Qe(nn);var or=St(),bn=[z(or)];function Sn(gt){var Nt=document.querySelector("base"),Ct="";return Nt&&Nt.getAttribute("href")&&(Ct=ye(window.location.href)),Ct+"#"+zt(It+z(gt))}function Hn(gt,Nt){var Ct="PUSH",tn=W(gt,void 0,void 0,We.location);Xt.confirmTransitionTo(tn,Ct,Ke,function(ge){if(ge){var At=z(tn),mn=zt(It+At),xn=Ae()!==mn;if(xn){dt=At,Fe(mn);var Un=bn.lastIndexOf(z(We.location)),gr=bn.slice(0,Un+1);gr.push(At),bn=gr,jt({action:Ct,location:tn})}else jt()}})}function er(gt,Nt){var Ct="REPLACE",tn=W(gt,void 0,void 0,We.location);Xt.confirmTransitionTo(tn,Ct,Ke,function(ge){if(ge){var At=z(tn),mn=zt(It+At),xn=Ae()!==mn;xn&&(dt=At,Qe(mn));var Un=bn.indexOf(z(We.location));Un!==-1&&(bn[Un]=At),jt({action:Ct,location:tn})}})}function an(gt){Se.go(gt)}function Cn(){an(-1)}function de(){an(1)}var oe=0;function Ye(gt){oe+=gt,oe===1&&gt===1?window.addEventListener(Ze,fn):oe===0&&window.removeEventListener(Ze,fn)}var Et=!1;function xe(gt){gt===void 0&&(gt=!1);var Nt=Xt.setPrompt(gt);return Et||(Ye(1),Et=!0),function(){return Et&&(Et=!1,Ye(-1)),Nt()}}function Re(gt){var Nt=Xt.appendListener(gt);return Ye(1),function(){Ye(-1),Nt()}}var We={length:Se.length,action:"POP",location:or,createHref:Sn,push:Hn,replace:er,go:an,goBack:Cn,goForward:de,block:xe,listen:Re};return We}function Ge(pe,Se,_e){return Math.min(Math.max(pe,Se),_e)}function Pe(pe){pe===void 0&&(pe={});var Se=pe,_e=Se.getUserConfirmation,Ne=Se.initialEntries,Le=Ne===void 0?["/"]:Ne,Ke=Se.initialIndex,bt=Ke===void 0?0:Ke,yt=Se.keyLength,It=yt===void 0?6:yt,_t=Q();function zt(bn){(0,i.c)(or,bn),or.length=or.entries.length,_t.notifyListeners(or.location,or.action)}function Vt(){return Math.random().toString(36).substr(2,It)}var St=Ge(bt,0,Le.length-1),Xt=Le.map(function(bn){return typeof bn=="string"?W(bn,void 0,Vt()):W(bn,void 0,bn.key||Vt())}),jt=z;function sn(bn,Sn){var Hn="PUSH",er=W(bn,Sn,Vt(),or.location);_t.confirmTransitionTo(er,Hn,_e,function(an){if(an){var Cn=or.index,de=Cn+1,oe=or.entries.slice(0);oe.length>de?oe.splice(de,oe.length-de,er):oe.push(er),zt({action:Hn,location:er,index:de,entries:oe})}})}function dt(bn,Sn){var Hn="REPLACE",er=W(bn,Sn,Vt(),or.location);_t.confirmTransitionTo(er,Hn,_e,function(an){an&&(or.entries[or.index]=er,zt({action:Hn,location:er}))})}function Ln(bn){var Sn=Ge(or.index+bn,0,or.entries.length-1),Hn="POP",er=or.entries[Sn];_t.confirmTransitionTo(er,Hn,_e,function(an){an?zt({action:Hn,location:er,index:Sn}):zt()})}function fn(){Ln(-1)}function cr(){Ln(1)}function wr(bn){var Sn=or.index+bn;return Sn>=0&&Sn<or.entries.length}function Jn(bn){return bn===void 0&&(bn=!1),_t.setPrompt(bn)}function nn(bn){return _t.appendListener(bn)}var or={length:Xt.length,action:"POP",location:Xt[St],index:St,entries:Xt,createHref:jt,push:sn,replace:dt,go:Ln,goBack:fn,goForward:cr,canGo:wr,block:Jn,listen:nn};return or}},35384:(U,C,e)=>{"use strict";var i=e(33112),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},l={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},v={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},_={};_[i.ForwardRef]=c,_[i.Memo]=v;function T(j){return i.isMemo(j)?v:_[j.$$typeof]||a}var A=Object.defineProperty,R=Object.getOwnPropertyNames,P=Object.getOwnPropertySymbols,M=Object.getOwnPropertyDescriptor,O=Object.getPrototypeOf,N=Object.prototype;function B(j,z,W){if(typeof z!="string"){if(N){var X=O(z);X&&X!==N&&B(j,X,W)}var Q=R(z);P&&(Q=Q.concat(P(z)));for(var K=T(j),Y=T(z),Z=0;Z<Q.length;++Z){var J=Q[Z];if(!l[J]&&!(W&&W[J])&&!(Y&&Y[J])&&!(K&&K[J])){var ee=M(z,J);try{A(j,J,ee)}catch{}}}}return j}U.exports=B},89072:function(U,C,e){"use strict";var i=this&&this.__createBinding||(Object.create?function(W,X,Q,K){K===void 0&&(K=Q);var Y=Object.getOwnPropertyDescriptor(X,Q);(!Y||("get"in Y?!X.__esModule:Y.writable||Y.configurable))&&(Y={enumerable:!0,get:function(){return X[Q]}}),Object.defineProperty(W,K,Y)}:function(W,X,Q,K){K===void 0&&(K=Q),W[K]=X[Q]}),a=this&&this.__setModuleDefault||(Object.create?function(W,X){Object.defineProperty(W,"default",{enumerable:!0,value:X})}:function(W,X){W.default=X}),l=this&&this.__importStar||function(W){if(W&&W.__esModule)return W;var X={};if(W!=null)for(var Q in W)Q!=="default"&&Object.prototype.hasOwnProperty.call(W,Q)&&i(X,W,Q);return a(X,W),X};Object.defineProperty(C,"__esModule",{value:!0}),C.Parser=void 0;var c=l(e(87128)),v=e(38736),_=new Set(["input","option","optgroup","select","button","datalist","textarea"]),T=new Set(["p"]),A=new Set(["thead","tbody"]),R=new Set(["dd","dt"]),P=new Set(["rt","rp"]),M=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",T],["h1",T],["h2",T],["h3",T],["h4",T],["h5",T],["h6",T],["select",_],["input",_],["output",_],["button",_],["datalist",_],["textarea",_],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",R],["dt",R],["address",T],["article",T],["aside",T],["blockquote",T],["details",T],["div",T],["dl",T],["fieldset",T],["figcaption",T],["figure",T],["footer",T],["form",T],["header",T],["hr",T],["main",T],["nav",T],["ol",T],["pre",T],["section",T],["table",T],["ul",T],["rt",P],["rp",P],["tbody",A],["tfoot",A]]),O=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),N=new Set(["math","svg"]),B=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),j=/\s|\//,z=function(){function W(X,Q){Q===void 0&&(Q={});var K,Y,Z,J,ee;this.options=Q,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=X??{},this.lowerCaseTagNames=(K=Q.lowerCaseTags)!==null&&K!==void 0?K:!Q.xmlMode,this.lowerCaseAttributeNames=(Y=Q.lowerCaseAttributeNames)!==null&&Y!==void 0?Y:!Q.xmlMode,this.tokenizer=new((Z=Q.Tokenizer)!==null&&Z!==void 0?Z:c.default)(this.options,this),(ee=(J=this.cbs).onparserinit)===null||ee===void 0||ee.call(J,this)}return W.prototype.ontext=function(X,Q){var K,Y,Z=this.getSlice(X,Q);this.endIndex=Q-1,(Y=(K=this.cbs).ontext)===null||Y===void 0||Y.call(K,Z),this.startIndex=Q},W.prototype.ontextentity=function(X){var Q,K,Y=this.tokenizer.getSectionStart();this.endIndex=Y-1,(K=(Q=this.cbs).ontext)===null||K===void 0||K.call(Q,(0,v.fromCodePoint)(X)),this.startIndex=Y},W.prototype.isVoidElement=function(X){return!this.options.xmlMode&&O.has(X)},W.prototype.onopentagname=function(X,Q){this.endIndex=Q;var K=this.getSlice(X,Q);this.lowerCaseTagNames&&(K=K.toLowerCase()),this.emitOpenTag(K)},W.prototype.emitOpenTag=function(X){var Q,K,Y,Z;this.openTagStart=this.startIndex,this.tagname=X;var J=!this.options.xmlMode&&M.get(X);if(J)for(;this.stack.length>0&&J.has(this.stack[this.stack.length-1]);){var ee=this.stack.pop();(K=(Q=this.cbs).onclosetag)===null||K===void 0||K.call(Q,ee,!0)}this.isVoidElement(X)||(this.stack.push(X),N.has(X)?this.foreignContext.push(!0):B.has(X)&&this.foreignContext.push(!1)),(Z=(Y=this.cbs).onopentagname)===null||Z===void 0||Z.call(Y,X),this.cbs.onopentag&&(this.attribs={})},W.prototype.endOpenTag=function(X){var Q,K;this.startIndex=this.openTagStart,this.attribs&&((K=(Q=this.cbs).onopentag)===null||K===void 0||K.call(Q,this.tagname,this.attribs,X),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},W.prototype.onopentagend=function(X){this.endIndex=X,this.endOpenTag(!1),this.startIndex=X+1},W.prototype.onclosetag=function(X,Q){var K,Y,Z,J,ee,re;this.endIndex=Q;var me=this.getSlice(X,Q);if(this.lowerCaseTagNames&&(me=me.toLowerCase()),(N.has(me)||B.has(me))&&this.foreignContext.pop(),this.isVoidElement(me))!this.options.xmlMode&&me==="br"&&((Y=(K=this.cbs).onopentagname)===null||Y===void 0||Y.call(K,"br"),(J=(Z=this.cbs).onopentag)===null||J===void 0||J.call(Z,"br",{},!0),(re=(ee=this.cbs).onclosetag)===null||re===void 0||re.call(ee,"br",!1));else{var fe=this.stack.lastIndexOf(me);if(fe!==-1)if(this.cbs.onclosetag)for(var le=this.stack.length-fe;le--;)this.cbs.onclosetag(this.stack.pop(),le!==0);else this.stack.length=fe;else!this.options.xmlMode&&me==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=Q+1},W.prototype.onselfclosingtag=function(X){this.endIndex=X,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=X+1):this.onopentagend(X)},W.prototype.closeCurrentTag=function(X){var Q,K,Y=this.tagname;this.endOpenTag(X),this.stack[this.stack.length-1]===Y&&((K=(Q=this.cbs).onclosetag)===null||K===void 0||K.call(Q,Y,!X),this.stack.pop())},W.prototype.onattribname=function(X,Q){this.startIndex=X;var K=this.getSlice(X,Q);this.attribname=this.lowerCaseAttributeNames?K.toLowerCase():K},W.prototype.onattribdata=function(X,Q){this.attribvalue+=this.getSlice(X,Q)},W.prototype.onattribentity=function(X){this.attribvalue+=(0,v.fromCodePoint)(X)},W.prototype.onattribend=function(X,Q){var K,Y;this.endIndex=Q,(Y=(K=this.cbs).onattribute)===null||Y===void 0||Y.call(K,this.attribname,this.attribvalue,X===c.QuoteType.Double?'"':X===c.QuoteType.Single?"'":X===c.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},W.prototype.getInstructionName=function(X){var Q=X.search(j),K=Q<0?X:X.substr(0,Q);return this.lowerCaseTagNames&&(K=K.toLowerCase()),K},W.prototype.ondeclaration=function(X,Q){this.endIndex=Q;var K=this.getSlice(X,Q);if(this.cbs.onprocessinginstruction){var Y=this.getInstructionName(K);this.cbs.onprocessinginstruction("!".concat(Y),"!".concat(K))}this.startIndex=Q+1},W.prototype.onprocessinginstruction=function(X,Q){this.endIndex=Q;var K=this.getSlice(X,Q);if(this.cbs.onprocessinginstruction){var Y=this.getInstructionName(K);this.cbs.onprocessinginstruction("?".concat(Y),"?".concat(K))}this.startIndex=Q+1},W.prototype.oncomment=function(X,Q,K){var Y,Z,J,ee;this.endIndex=Q,(Z=(Y=this.cbs).oncomment)===null||Z===void 0||Z.call(Y,this.getSlice(X,Q-K)),(ee=(J=this.cbs).oncommentend)===null||ee===void 0||ee.call(J),this.startIndex=Q+1},W.prototype.oncdata=function(X,Q,K){var Y,Z,J,ee,re,me,fe,le,Ve,Ze;this.endIndex=Q;var Ce=this.getSlice(X,Q-K);this.options.xmlMode||this.options.recognizeCDATA?((Z=(Y=this.cbs).oncdatastart)===null||Z===void 0||Z.call(Y),(ee=(J=this.cbs).ontext)===null||ee===void 0||ee.call(J,Ce),(me=(re=this.cbs).oncdataend)===null||me===void 0||me.call(re)):((le=(fe=this.cbs).oncomment)===null||le===void 0||le.call(fe,"[CDATA[".concat(Ce,"]]")),(Ze=(Ve=this.cbs).oncommentend)===null||Ze===void 0||Ze.call(Ve)),this.startIndex=Q+1},W.prototype.onend=function(){var X,Q;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var K=this.stack.length;K>0;this.cbs.onclosetag(this.stack[--K],!0));}(Q=(X=this.cbs).onend)===null||Q===void 0||Q.call(X)},W.prototype.reset=function(){var X,Q,K,Y;(Q=(X=this.cbs).onreset)===null||Q===void 0||Q.call(X),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(Y=(K=this.cbs).onparserinit)===null||Y===void 0||Y.call(K,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},W.prototype.parseComplete=function(X){this.reset(),this.end(X)},W.prototype.getSlice=function(X,Q){for(;X-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var K=this.buffers[0].slice(X-this.bufferOffset,Q-this.bufferOffset);Q-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),K+=this.buffers[0].slice(0,Q-this.bufferOffset);return K},W.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},W.prototype.write=function(X){var Q,K;if(this.ended){(K=(Q=this.cbs).onerror)===null||K===void 0||K.call(Q,new Error(".write() after done!"));return}this.buffers.push(X),this.tokenizer.running&&(this.tokenizer.write(X),this.writeIndex++)},W.prototype.end=function(X){var Q,K;if(this.ended){(K=(Q=this.cbs).onerror)===null||K===void 0||K.call(Q,new Error(".end() after done!"));return}X&&this.write(X),this.ended=!0,this.tokenizer.end()},W.prototype.pause=function(){this.tokenizer.pause()},W.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},W.prototype.parseChunk=function(X){this.write(X)},W.prototype.done=function(X){this.end(X)},W}();C.Parser=z},87128:(U,C,e)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0}),C.QuoteType=void 0;var i=e(38736),a;(function(O){O[O.Tab=9]="Tab",O[O.NewLine=10]="NewLine",O[O.FormFeed=12]="FormFeed",O[O.CarriageReturn=13]="CarriageReturn",O[O.Space=32]="Space",O[O.ExclamationMark=33]="ExclamationMark",O[O.Number=35]="Number",O[O.Amp=38]="Amp",O[O.SingleQuote=39]="SingleQuote",O[O.DoubleQuote=34]="DoubleQuote",O[O.Dash=45]="Dash",O[O.Slash=47]="Slash",O[O.Zero=48]="Zero",O[O.Nine=57]="Nine",O[O.Semi=59]="Semi",O[O.Lt=60]="Lt",O[O.Eq=61]="Eq",O[O.Gt=62]="Gt",O[O.Questionmark=63]="Questionmark",O[O.UpperA=65]="UpperA",O[O.LowerA=97]="LowerA",O[O.UpperF=70]="UpperF",O[O.LowerF=102]="LowerF",O[O.UpperZ=90]="UpperZ",O[O.LowerZ=122]="LowerZ",O[O.LowerX=120]="LowerX",O[O.OpeningSquareBracket=91]="OpeningSquareBracket"})(a||(a={}));var l;(function(O){O[O.Text=1]="Text",O[O.BeforeTagName=2]="BeforeTagName",O[O.InTagName=3]="InTagName",O[O.InSelfClosingTag=4]="InSelfClosingTag",O[O.BeforeClosingTagName=5]="BeforeClosingTagName",O[O.InClosingTagName=6]="InClosingTagName",O[O.AfterClosingTagName=7]="AfterClosingTagName",O[O.BeforeAttributeName=8]="BeforeAttributeName",O[O.InAttributeName=9]="InAttributeName",O[O.AfterAttributeName=10]="AfterAttributeName",O[O.BeforeAttributeValue=11]="BeforeAttributeValue",O[O.InAttributeValueDq=12]="InAttributeValueDq",O[O.InAttributeValueSq=13]="InAttributeValueSq",O[O.InAttributeValueNq=14]="InAttributeValueNq",O[O.BeforeDeclaration=15]="BeforeDeclaration",O[O.InDeclaration=16]="InDeclaration",O[O.InProcessingInstruction=17]="InProcessingInstruction",O[O.BeforeComment=18]="BeforeComment",O[O.CDATASequence=19]="CDATASequence",O[O.InSpecialComment=20]="InSpecialComment",O[O.InCommentLike=21]="InCommentLike",O[O.BeforeSpecialS=22]="BeforeSpecialS",O[O.SpecialStartSequence=23]="SpecialStartSequence",O[O.InSpecialTag=24]="InSpecialTag",O[O.BeforeEntity=25]="BeforeEntity",O[O.BeforeNumericEntity=26]="BeforeNumericEntity",O[O.InNamedEntity=27]="InNamedEntity",O[O.InNumericEntity=28]="InNumericEntity",O[O.InHexEntity=29]="InHexEntity"})(l||(l={}));function c(O){return O===a.Space||O===a.NewLine||O===a.Tab||O===a.FormFeed||O===a.CarriageReturn}function v(O){return O===a.Slash||O===a.Gt||c(O)}function _(O){return O>=a.Zero&&O<=a.Nine}function T(O){return O>=a.LowerA&&O<=a.LowerZ||O>=a.UpperA&&O<=a.UpperZ}function A(O){return O>=a.UpperA&&O<=a.UpperF||O>=a.LowerA&&O<=a.LowerF}var R;(function(O){O[O.NoValue=0]="NoValue",O[O.Unquoted=1]="Unquoted",O[O.Single=2]="Single",O[O.Double=3]="Double"})(R=C.QuoteType||(C.QuoteType={}));var P={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])},M=function(){function O(N,B){var j=N.xmlMode,z=j===void 0?!1:j,W=N.decodeEntities,X=W===void 0?!0:W;this.cbs=B,this.state=l.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=l.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=z,this.decodeEntities=X,this.entityTrie=z?i.xmlDecodeTree:i.htmlDecodeTree}return O.prototype.reset=function(){this.state=l.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=l.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},O.prototype.write=function(N){this.offset+=this.buffer.length,this.buffer=N,this.parse()},O.prototype.end=function(){this.running&&this.finish()},O.prototype.pause=function(){this.running=!1},O.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},O.prototype.getIndex=function(){return this.index},O.prototype.getSectionStart=function(){return this.sectionStart},O.prototype.stateText=function(N){N===a.Lt||!this.decodeEntities&&this.fastForwardTo(a.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=l.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&N===a.Amp&&(this.state=l.BeforeEntity)},O.prototype.stateSpecialStartSequence=function(N){var B=this.sequenceIndex===this.currentSequence.length,j=B?v(N):(N|32)===this.currentSequence[this.sequenceIndex];if(!j)this.isSpecial=!1;else if(!B){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=l.InTagName,this.stateInTagName(N)},O.prototype.stateInSpecialTag=function(N){if(this.sequenceIndex===this.currentSequence.length){if(N===a.Gt||c(N)){var B=this.index-this.currentSequence.length;if(this.sectionStart<B){var j=this.index;this.index=B,this.cbs.ontext(this.sectionStart,B),this.index=j}this.isSpecial=!1,this.sectionStart=B+2,this.stateInClosingTagName(N);return}this.sequenceIndex=0}(N|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===P.TitleEnd?this.decodeEntities&&N===a.Amp&&(this.state=l.BeforeEntity):this.fastForwardTo(a.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(N===a.Lt)},O.prototype.stateCDATASequence=function(N){N===P.Cdata[this.sequenceIndex]?++this.sequenceIndex===P.Cdata.length&&(this.state=l.InCommentLike,this.currentSequence=P.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=l.InDeclaration,this.stateInDeclaration(N))},O.prototype.fastForwardTo=function(N){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===N)return!0;return this.index=this.buffer.length+this.offset-1,!1},O.prototype.stateInCommentLike=function(N){N===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===P.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=l.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):N!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},O.prototype.isTagStartChar=function(N){return this.xmlMode?!v(N):T(N)},O.prototype.startSpecial=function(N,B){this.isSpecial=!0,this.currentSequence=N,this.sequenceIndex=B,this.state=l.SpecialStartSequence},O.prototype.stateBeforeTagName=function(N){if(N===a.ExclamationMark)this.state=l.BeforeDeclaration,this.sectionStart=this.index+1;else if(N===a.Questionmark)this.state=l.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(N)){var B=N|32;this.sectionStart=this.index,!this.xmlMode&&B===P.TitleEnd[2]?this.startSpecial(P.TitleEnd,3):this.state=!this.xmlMode&&B===P.ScriptEnd[2]?l.BeforeSpecialS:l.InTagName}else N===a.Slash?this.state=l.BeforeClosingTagName:(this.state=l.Text,this.stateText(N))},O.prototype.stateInTagName=function(N){v(N)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=l.BeforeAttributeName,this.stateBeforeAttributeName(N))},O.prototype.stateBeforeClosingTagName=function(N){c(N)||(N===a.Gt?this.state=l.Text:(this.state=this.isTagStartChar(N)?l.InClosingTagName:l.InSpecialComment,this.sectionStart=this.index))},O.prototype.stateInClosingTagName=function(N){(N===a.Gt||c(N))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=l.AfterClosingTagName,this.stateAfterClosingTagName(N))},O.prototype.stateAfterClosingTagName=function(N){(N===a.Gt||this.fastForwardTo(a.Gt))&&(this.state=l.Text,this.baseState=l.Text,this.sectionStart=this.index+1)},O.prototype.stateBeforeAttributeName=function(N){N===a.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=l.InSpecialTag,this.sequenceIndex=0):this.state=l.Text,this.baseState=this.state,this.sectionStart=this.index+1):N===a.Slash?this.state=l.InSelfClosingTag:c(N)||(this.state=l.InAttributeName,this.sectionStart=this.index)},O.prototype.stateInSelfClosingTag=function(N){N===a.Gt?(this.cbs.onselfclosingtag(this.index),this.state=l.Text,this.baseState=l.Text,this.sectionStart=this.index+1,this.isSpecial=!1):c(N)||(this.state=l.BeforeAttributeName,this.stateBeforeAttributeName(N))},O.prototype.stateInAttributeName=function(N){(N===a.Eq||v(N))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=l.AfterAttributeName,this.stateAfterAttributeName(N))},O.prototype.stateAfterAttributeName=function(N){N===a.Eq?this.state=l.BeforeAttributeValue:N===a.Slash||N===a.Gt?(this.cbs.onattribend(R.NoValue,this.index),this.state=l.BeforeAttributeName,this.stateBeforeAttributeName(N)):c(N)||(this.cbs.onattribend(R.NoValue,this.index),this.state=l.InAttributeName,this.sectionStart=this.index)},O.prototype.stateBeforeAttributeValue=function(N){N===a.DoubleQuote?(this.state=l.InAttributeValueDq,this.sectionStart=this.index+1):N===a.SingleQuote?(this.state=l.InAttributeValueSq,this.sectionStart=this.index+1):c(N)||(this.sectionStart=this.index,this.state=l.InAttributeValueNq,this.stateInAttributeValueNoQuotes(N))},O.prototype.handleInAttributeValue=function(N,B){N===B||!this.decodeEntities&&this.fastForwardTo(B)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(B===a.DoubleQuote?R.Double:R.Single,this.index),this.state=l.BeforeAttributeName):this.decodeEntities&&N===a.Amp&&(this.baseState=this.state,this.state=l.BeforeEntity)},O.prototype.stateInAttributeValueDoubleQuotes=function(N){this.handleInAttributeValue(N,a.DoubleQuote)},O.prototype.stateInAttributeValueSingleQuotes=function(N){this.handleInAttributeValue(N,a.SingleQuote)},O.prototype.stateInAttributeValueNoQuotes=function(N){c(N)||N===a.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(R.Unquoted,this.index),this.state=l.BeforeAttributeName,this.stateBeforeAttributeName(N)):this.decodeEntities&&N===a.Amp&&(this.baseState=this.state,this.state=l.BeforeEntity)},O.prototype.stateBeforeDeclaration=function(N){N===a.OpeningSquareBracket?(this.state=l.CDATASequence,this.sequenceIndex=0):this.state=N===a.Dash?l.BeforeComment:l.InDeclaration},O.prototype.stateInDeclaration=function(N){(N===a.Gt||this.fastForwardTo(a.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=l.Text,this.sectionStart=this.index+1)},O.prototype.stateInProcessingInstruction=function(N){(N===a.Gt||this.fastForwardTo(a.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=l.Text,this.sectionStart=this.index+1)},O.prototype.stateBeforeComment=function(N){N===a.Dash?(this.state=l.InCommentLike,this.currentSequence=P.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=l.InDeclaration},O.prototype.stateInSpecialComment=function(N){(N===a.Gt||this.fastForwardTo(a.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=l.Text,this.sectionStart=this.index+1)},O.prototype.stateBeforeSpecialS=function(N){var B=N|32;B===P.ScriptEnd[3]?this.startSpecial(P.ScriptEnd,4):B===P.StyleEnd[3]?this.startSpecial(P.StyleEnd,4):(this.state=l.InTagName,this.stateInTagName(N))},O.prototype.stateBeforeEntity=function(N){this.entityExcess=1,this.entityResult=0,N===a.Number?this.state=l.BeforeNumericEntity:N===a.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=l.InNamedEntity,this.stateInNamedEntity(N))},O.prototype.stateInNamedEntity=function(N){if(this.entityExcess+=1,this.trieIndex=(0,i.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,N),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var B=this.trieCurrent&i.BinTrieFlags.VALUE_LENGTH;if(B){var j=(B>>14)-1;if(!this.allowLegacyEntity()&&N!==a.Semi)this.trieIndex+=j;else{var z=this.index-this.entityExcess+1;z>this.sectionStart&&this.emitPartial(this.sectionStart,z),this.entityResult=this.trieIndex,this.trieIndex+=j,this.entityExcess=0,this.sectionStart=this.index+1,j===0&&this.emitNamedEntity()}}},O.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var N=(this.entityTrie[this.entityResult]&i.BinTrieFlags.VALUE_LENGTH)>>14;switch(N){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~i.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},O.prototype.stateBeforeNumericEntity=function(N){(N|32)===a.LowerX?(this.entityExcess++,this.state=l.InHexEntity):(this.state=l.InNumericEntity,this.stateInNumericEntity(N))},O.prototype.emitNumericEntity=function(N){var B=this.index-this.entityExcess-1,j=B+2+Number(this.state===l.InHexEntity);j!==this.index&&(B>this.sectionStart&&this.emitPartial(this.sectionStart,B),this.sectionStart=this.index+Number(N),this.emitCodePoint((0,i.replaceCodePoint)(this.entityResult))),this.state=this.baseState},O.prototype.stateInNumericEntity=function(N){N===a.Semi?this.emitNumericEntity(!0):_(N)?(this.entityResult=this.entityResult*10+(N-a.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},O.prototype.stateInHexEntity=function(N){N===a.Semi?this.emitNumericEntity(!0):_(N)?(this.entityResult=this.entityResult*16+(N-a.Zero),this.entityExcess++):A(N)?(this.entityResult=this.entityResult*16+((N|32)-a.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},O.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===l.Text||this.baseState===l.InSpecialTag)},O.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===l.Text||this.state===l.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===l.InAttributeValueDq||this.state===l.InAttributeValueSq||this.state===l.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},O.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},O.prototype.parse=function(){for(;this.shouldContinue();){var N=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case l.Text:{this.stateText(N);break}case l.SpecialStartSequence:{this.stateSpecialStartSequence(N);break}case l.InSpecialTag:{this.stateInSpecialTag(N);break}case l.CDATASequence:{this.stateCDATASequence(N);break}case l.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(N);break}case l.InAttributeName:{this.stateInAttributeName(N);break}case l.InCommentLike:{this.stateInCommentLike(N);break}case l.InSpecialComment:{this.stateInSpecialComment(N);break}case l.BeforeAttributeName:{this.stateBeforeAttributeName(N);break}case l.InTagName:{this.stateInTagName(N);break}case l.InClosingTagName:{this.stateInClosingTagName(N);break}case l.BeforeTagName:{this.stateBeforeTagName(N);break}case l.AfterAttributeName:{this.stateAfterAttributeName(N);break}case l.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(N);break}case l.BeforeAttributeValue:{this.stateBeforeAttributeValue(N);break}case l.BeforeClosingTagName:{this.stateBeforeClosingTagName(N);break}case l.AfterClosingTagName:{this.stateAfterClosingTagName(N);break}case l.BeforeSpecialS:{this.stateBeforeSpecialS(N);break}case l.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(N);break}case l.InSelfClosingTag:{this.stateInSelfClosingTag(N);break}case l.InDeclaration:{this.stateInDeclaration(N);break}case l.BeforeDeclaration:{this.stateBeforeDeclaration(N);break}case l.BeforeComment:{this.stateBeforeComment(N);break}case l.InProcessingInstruction:{this.stateInProcessingInstruction(N);break}case l.InNamedEntity:{this.stateInNamedEntity(N);break}case l.BeforeEntity:{this.stateBeforeEntity(N);break}case l.InHexEntity:{this.stateInHexEntity(N);break}case l.InNumericEntity:{this.stateInNumericEntity(N);break}default:this.stateBeforeNumericEntity(N)}this.index++}this.cleanup()},O.prototype.finish=function(){this.state===l.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},O.prototype.handleTrailingData=function(){var N=this.buffer.length+this.offset;this.state===l.InCommentLike?this.currentSequence===P.CdataEnd?this.cbs.oncdata(this.sectionStart,N,0):this.cbs.oncomment(this.sectionStart,N,0):this.state===l.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===l.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===l.InTagName||this.state===l.BeforeAttributeName||this.state===l.BeforeAttributeValue||this.state===l.AfterAttributeName||this.state===l.InAttributeName||this.state===l.InAttributeValueSq||this.state===l.InAttributeValueDq||this.state===l.InAttributeValueNq||this.state===l.InClosingTagName||this.cbs.ontext(this.sectionStart,N)},O.prototype.emitPartial=function(N,B){this.baseState!==l.Text&&this.baseState!==l.InSpecialTag?this.cbs.onattribdata(N,B):this.cbs.ontext(N,B)},O.prototype.emitCodePoint=function(N){this.baseState!==l.Text&&this.baseState!==l.InSpecialTag?this.cbs.onattribentity(N):this.cbs.ontextentity(N)},O}();C.default=M},43200:function(U,C,e){"use strict";var i=this&&this.__createBinding||(Object.create?function(W,X,Q,K){K===void 0&&(K=Q);var Y=Object.getOwnPropertyDescriptor(X,Q);(!Y||("get"in Y?!X.__esModule:Y.writable||Y.configurable))&&(Y={enumerable:!0,get:function(){return X[Q]}}),Object.defineProperty(W,K,Y)}:function(W,X,Q,K){K===void 0&&(K=Q),W[K]=X[Q]}),a=this&&this.__setModuleDefault||(Object.create?function(W,X){Object.defineProperty(W,"default",{enumerable:!0,value:X})}:function(W,X){W.default=X}),l=this&&this.__importStar||function(W){if(W&&W.__esModule)return W;var X={};if(W!=null)for(var Q in W)Q!=="default"&&Object.prototype.hasOwnProperty.call(W,Q)&&i(X,W,Q);return a(X,W),X},c=this&&this.__importDefault||function(W){return W&&W.__esModule?W:{default:W}};Object.defineProperty(C,"__esModule",{value:!0}),C.DomUtils=C.parseFeed=C.getFeed=C.ElementType=C.Tokenizer=C.createDomStream=C.parseDOM=C.parseDocument=C.DefaultHandler=C.DomHandler=C.Parser=void 0;var v=e(89072),_=e(89072);Object.defineProperty(C,"Parser",{enumerable:!0,get:function(){return _.Parser}});var T=e(64804),A=e(64804);Object.defineProperty(C,"DomHandler",{enumerable:!0,get:function(){return A.DomHandler}}),Object.defineProperty(C,"DefaultHandler",{enumerable:!0,get:function(){return A.DomHandler}});function R(W,X){var Q=new T.DomHandler(void 0,X);return new v.Parser(Q,X).end(W),Q.root}C.parseDocument=R;function P(W,X){return R(W,X).children}C.parseDOM=P;function M(W,X,Q){var K=new T.DomHandler(W,X,Q);return new v.Parser(K,X)}C.createDomStream=M;var O=e(87128);Object.defineProperty(C,"Tokenizer",{enumerable:!0,get:function(){return c(O).default}}),C.ElementType=l(e(90396));var N=e(26632),B=e(26632);Object.defineProperty(C,"getFeed",{enumerable:!0,get:function(){return B.getFeed}});var j={xmlMode:!0};function z(W,X){return X===void 0&&(X=j),(0,N.getFeed)(P(W,X))}C.parseFeed=z,C.DomUtils=l(e(26632))},29088:(U,C,e)=>{"use strict";e.d(C,{GU:()=>Pe,Ut:()=>or,WK:()=>c,Wl:()=>a,cp:()=>de,eQ:()=>an,eq:()=>bn,o7:()=>Cn,oz:()=>er,sx:()=>Qe,uG:()=>Ge,yi:()=>l});function i(oe){for(var Ye=arguments.length,Et=Array(Ye>1?Ye-1:0),xe=1;xe<Ye;xe++)Et[xe-1]=arguments[xe];if(!1)var Re,We;throw Error("[Immer] minified error nr: "+oe+(Et.length?" "+Et.map(function(gt){return"'"+gt+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function a(oe){return!!oe&&!!oe[St]}function l(oe){var Ye;return!!oe&&(function(Et){if(!Et||typeof Et!="object")return!1;var xe=Object.getPrototypeOf(Et);if(xe===null)return!0;var Re=Object.hasOwnProperty.call(xe,"constructor")&&xe.constructor;return Re===Object||typeof Re=="function"&&Function.toString.call(Re)===sn}(oe)||Array.isArray(oe)||!!oe[Vt]||!!(!((Ye=oe.constructor)===null||Ye===void 0)&&Ye[Vt])||M(oe)||O(oe))}function c(oe){return a(oe)||i(23,oe),oe[St].t}function v(oe,Ye,Et){Et===void 0&&(Et=!1),_(oe)===0?(Et?Object.keys:dt)(oe).forEach(function(xe){Et&&typeof xe=="symbol"||Ye(xe,oe[xe],oe)}):oe.forEach(function(xe,Re){return Ye(Re,xe,oe)})}function _(oe){var Ye=oe[St];return Ye?Ye.i>3?Ye.i-4:Ye.i:Array.isArray(oe)?1:M(oe)?2:O(oe)?3:0}function T(oe,Ye){return _(oe)===2?oe.has(Ye):Object.prototype.hasOwnProperty.call(oe,Ye)}function A(oe,Ye){return _(oe)===2?oe.get(Ye):oe[Ye]}function R(oe,Ye,Et){var xe=_(oe);xe===2?oe.set(Ye,Et):xe===3?oe.add(Et):oe[Ye]=Et}function P(oe,Ye){return oe===Ye?oe!==0||1/oe==1/Ye:oe!=oe&&Ye!=Ye}function M(oe){return yt&&oe instanceof Map}function O(oe){return It&&oe instanceof Set}function N(oe){return oe.o||oe.t}function B(oe){if(Array.isArray(oe))return Array.prototype.slice.call(oe);var Ye=Ln(oe);delete Ye[St];for(var Et=dt(Ye),xe=0;xe<Et.length;xe++){var Re=Et[xe],We=Ye[Re];We.writable===!1&&(We.writable=!0,We.configurable=!0),(We.get||We.set)&&(Ye[Re]={configurable:!0,writable:!0,enumerable:We.enumerable,value:oe[Re]})}return Object.create(Object.getPrototypeOf(oe),Ye)}function j(oe,Ye){return Ye===void 0&&(Ye=!1),W(oe)||a(oe)||!l(oe)||(_(oe)>1&&(oe.set=oe.add=oe.clear=oe.delete=z),Object.freeze(oe),Ye&&v(oe,function(Et,xe){return j(xe,!0)},!0)),oe}function z(){i(2)}function W(oe){return oe==null||typeof oe!="object"||Object.isFrozen(oe)}function X(oe){var Ye=fn[oe];return Ye||i(18,oe),Ye}function Q(oe,Ye){fn[oe]||(fn[oe]=Ye)}function K(){return Ke}function Y(oe,Ye){Ye&&(X("Patches"),oe.u=[],oe.s=[],oe.v=Ye)}function Z(oe){J(oe),oe.p.forEach(re),oe.p=null}function J(oe){oe===Ke&&(Ke=oe.l)}function ee(oe){return Ke={p:[],l:Ke,h:oe,m:!0,_:0}}function re(oe){var Ye=oe[St];Ye.i===0||Ye.i===1?Ye.j():Ye.O=!0}function me(oe,Ye){Ye._=Ye.p.length;var Et=Ye.p[0],xe=oe!==void 0&&oe!==Et;return Ye.h.g||X("ES5").S(Ye,oe,xe),xe?(Et[St].P&&(Z(Ye),i(4)),l(oe)&&(oe=fe(Ye,oe),Ye.l||Ve(Ye,oe)),Ye.u&&X("Patches").M(Et[St].t,oe,Ye.u,Ye.s)):oe=fe(Ye,Et,[]),Z(Ye),Ye.u&&Ye.v(Ye.u,Ye.s),oe!==zt?oe:void 0}function fe(oe,Ye,Et){if(W(Ye))return Ye;var xe=Ye[St];if(!xe)return v(Ye,function(Nt,Ct){return le(oe,xe,Ye,Nt,Ct,Et)},!0),Ye;if(xe.A!==oe)return Ye;if(!xe.P)return Ve(oe,xe.t,!0),xe.t;if(!xe.I){xe.I=!0,xe.A._--;var Re=xe.i===4||xe.i===5?xe.o=B(xe.k):xe.o,We=Re,gt=!1;xe.i===3&&(We=new Set(Re),Re.clear(),gt=!0),v(We,function(Nt,Ct){return le(oe,xe,Re,Nt,Ct,Et,gt)}),Ve(oe,Re,!1),Et&&oe.u&&X("Patches").N(xe,Et,oe.u,oe.s)}return xe.o}function le(oe,Ye,Et,xe,Re,We,gt){if(a(Re)){var Nt=fe(oe,Re,We&&Ye&&Ye.i!==3&&!T(Ye.R,xe)?We.concat(xe):void 0);if(R(Et,xe,Nt),!a(Nt))return;oe.m=!1}else gt&&Et.add(Re);if(l(Re)&&!W(Re)){if(!oe.h.D&&oe._<1)return;fe(oe,Re),Ye&&Ye.A.l||Ve(oe,Re)}}function Ve(oe,Ye,Et){Et===void 0&&(Et=!1),!oe.l&&oe.h.D&&oe.m&&j(Ye,Et)}function Ze(oe,Ye){var Et=oe[St];return(Et?N(Et):oe)[Ye]}function Ce(oe,Ye){if(Ye in oe)for(var Et=Object.getPrototypeOf(oe);Et;){var xe=Object.getOwnPropertyDescriptor(Et,Ye);if(xe)return xe;Et=Object.getPrototypeOf(Et)}}function ye(oe){oe.P||(oe.P=!0,oe.l&&ye(oe.l))}function Ae(oe){oe.o||(oe.o=B(oe.t))}function Fe(oe,Ye,Et){var xe=M(Ye)?X("MapSet").F(Ye,Et):O(Ye)?X("MapSet").T(Ye,Et):oe.g?function(Re,We){var gt=Array.isArray(Re),Nt={i:gt?1:0,A:We?We.A:K(),P:!1,I:!1,R:{},l:We,t:Re,k:null,o:null,j:null,C:!1},Ct=Nt,tn=cr;gt&&(Ct=[Nt],tn=wr);var ge=Proxy.revocable(Ct,tn),At=ge.revoke,mn=ge.proxy;return Nt.k=mn,Nt.j=At,mn}(Ye,Et):X("ES5").J(Ye,Et);return(Et?Et.A:K()).p.push(xe),xe}function Qe(oe){return a(oe)||i(22,oe),function Ye(Et){if(!l(Et))return Et;var xe,Re=Et[St],We=_(Et);if(Re){if(!Re.P&&(Re.i<4||!X("ES5").K(Re)))return Re.t;Re.I=!0,xe=ce(Et,We),Re.I=!1}else xe=ce(Et,We);return v(xe,function(gt,Nt){Re&&A(Re.t,gt)===Nt||R(xe,gt,Ye(Nt))}),We===3?new Set(xe):xe}(oe)}function ce(oe,Ye){switch(Ye){case 2:return new Map(oe);case 3:return Array.from(oe)}return B(oe)}function Ge(){function oe(gt,Nt){var Ct=We[gt];return Ct?Ct.enumerable=Nt:We[gt]=Ct={configurable:!0,enumerable:Nt,get:function(){var tn=this[St];return cr.get(tn,gt)},set:function(tn){var ge=this[St];cr.set(ge,gt,tn)}},Ct}function Ye(gt){for(var Nt=gt.length-1;Nt>=0;Nt--){var Ct=gt[Nt][St];if(!Ct.P)switch(Ct.i){case 5:xe(Ct)&&ye(Ct);break;case 4:Et(Ct)&&ye(Ct)}}}function Et(gt){for(var Nt=gt.t,Ct=gt.k,tn=dt(Ct),ge=tn.length-1;ge>=0;ge--){var At=tn[ge];if(At!==St){var mn=Nt[At];if(mn===void 0&&!T(Nt,At))return!0;var xn=Ct[At],Un=xn&&xn[St];if(Un?Un.t!==mn:!P(xn,mn))return!0}}var gr=!!Nt[St];return tn.length!==dt(Nt).length+(gr?0:1)}function xe(gt){var Nt=gt.k;if(Nt.length!==gt.t.length)return!0;var Ct=Object.getOwnPropertyDescriptor(Nt,Nt.length-1);if(Ct&&!Ct.get)return!0;for(var tn=0;tn<Nt.length;tn++)if(!Nt.hasOwnProperty(tn))return!0;return!1}function Re(gt){gt.O&&i(3,JSON.stringify(N(gt)))}var We={};Q("ES5",{J:function(gt,Nt){var Ct=Array.isArray(gt),tn=function(At,mn){if(At){for(var xn=Array(mn.length),Un=0;Un<mn.length;Un++)Object.defineProperty(xn,""+Un,oe(Un,!0));return xn}var gr=Ln(mn);delete gr[St];for(var Ur=dt(gr),Or=0;Or<Ur.length;Or++){var ii=Ur[Or];gr[ii]=oe(ii,At||!!gr[ii].enumerable)}return Object.create(Object.getPrototypeOf(mn),gr)}(Ct,gt),ge={i:Ct?5:4,A:Nt?Nt.A:K(),P:!1,I:!1,R:{},l:Nt,t:gt,k:tn,o:null,O:!1,C:!1};return Object.defineProperty(tn,St,{value:ge,writable:!0}),tn},S:function(gt,Nt,Ct){Ct?a(Nt)&&Nt[St].A===gt&&Ye(gt.p):(gt.u&&function tn(ge){if(ge&&typeof ge=="object"){var At=ge[St];if(At){var mn=At.t,xn=At.k,Un=At.R,gr=At.i;if(gr===4)v(xn,function(rn){rn!==St&&(mn[rn]!==void 0||T(mn,rn)?Un[rn]||tn(xn[rn]):(Un[rn]=!0,ye(At)))}),v(mn,function(rn){xn[rn]!==void 0||T(xn,rn)||(Un[rn]=!1,ye(At))});else if(gr===5){if(xe(At)&&(ye(At),Un.length=!0),xn.length<mn.length)for(var Ur=xn.length;Ur<mn.length;Ur++)Un[Ur]=!1;else for(var Or=mn.length;Or<xn.length;Or++)Un[Or]=!0;for(var ii=Math.min(xn.length,mn.length),Ui=0;Ui<ii;Ui++)xn.hasOwnProperty(Ui)||(Un[Ui]=!0),Un[Ui]===void 0&&tn(xn[Ui])}}}}(gt.p[0]),Ye(gt.p))},K:function(gt){return gt.i===4?Et(gt):xe(gt)}})}function Pe(){function oe(xe){if(!l(xe))return xe;if(Array.isArray(xe))return xe.map(oe);if(M(xe))return new Map(Array.from(xe.entries()).map(function(gt){return[gt[0],oe(gt[1])]}));if(O(xe))return new Set(Array.from(xe).map(oe));var Re=Object.create(Object.getPrototypeOf(xe));for(var We in xe)Re[We]=oe(xe[We]);return T(xe,Vt)&&(Re[Vt]=xe[Vt]),Re}function Ye(xe){return a(xe)?oe(xe):xe}var Et="add";Q("Patches",{$:function(xe,Re){return Re.forEach(function(We){for(var gt=We.path,Nt=We.op,Ct=xe,tn=0;tn<gt.length-1;tn++){var ge=_(Ct),At=""+gt[tn];ge!==0&&ge!==1||At!=="__proto__"&&At!=="constructor"||i(24),typeof Ct=="function"&&At==="prototype"&&i(24),typeof(Ct=A(Ct,At))!="object"&&i(15,gt.join("/"))}var mn=_(Ct),xn=oe(We.value),Un=gt[gt.length-1];switch(Nt){case"replace":switch(mn){case 2:return Ct.set(Un,xn);case 3:i(16);default:return Ct[Un]=xn}case Et:switch(mn){case 1:return Un==="-"?Ct.push(xn):Ct.splice(Un,0,xn);case 2:return Ct.set(Un,xn);case 3:return Ct.add(xn);default:return Ct[Un]=xn}case"remove":switch(mn){case 1:return Ct.splice(Un,1);case 2:return Ct.delete(Un);case 3:return Ct.delete(We.value);default:return delete Ct[Un]}default:i(17,Nt)}}),xe},N:function(xe,Re,We,gt){switch(xe.i){case 0:case 4:case 2:return function(Nt,Ct,tn,ge){var At=Nt.t,mn=Nt.o;v(Nt.R,function(xn,Un){var gr=A(At,xn),Ur=A(mn,xn),Or=Un?T(At,xn)?"replace":Et:"remove";if(gr!==Ur||Or!=="replace"){var ii=Ct.concat(xn);tn.push(Or==="remove"?{op:Or,path:ii}:{op:Or,path:ii,value:Ur}),ge.push(Or===Et?{op:"remove",path:ii}:Or==="remove"?{op:Et,path:ii,value:Ye(gr)}:{op:"replace",path:ii,value:Ye(gr)})}})}(xe,Re,We,gt);case 5:case 1:return function(Nt,Ct,tn,ge){var At=Nt.t,mn=Nt.R,xn=Nt.o;if(xn.length<At.length){var Un=[xn,At];At=Un[0],xn=Un[1];var gr=[ge,tn];tn=gr[0],ge=gr[1]}for(var Ur=0;Ur<At.length;Ur++)if(mn[Ur]&&xn[Ur]!==At[Ur]){var Or=Ct.concat([Ur]);tn.push({op:"replace",path:Or,value:Ye(xn[Ur])}),ge.push({op:"replace",path:Or,value:Ye(At[Ur])})}for(var ii=At.length;ii<xn.length;ii++){var Ui=Ct.concat([ii]);tn.push({op:Et,path:Ui,value:Ye(xn[ii])})}At.length<xn.length&&ge.push({op:"replace",path:Ct.concat(["length"]),value:At.length})}(xe,Re,We,gt);case 3:return function(Nt,Ct,tn,ge){var At=Nt.t,mn=Nt.o,xn=0;At.forEach(function(Un){if(!mn.has(Un)){var gr=Ct.concat([xn]);tn.push({op:"remove",path:gr,value:Un}),ge.unshift({op:Et,path:gr,value:Un})}xn++}),xn=0,mn.forEach(function(Un){if(!At.has(Un)){var gr=Ct.concat([xn]);tn.push({op:Et,path:gr,value:Un}),ge.unshift({op:"remove",path:gr,value:Un})}xn++})}(xe,Re,We,gt)}},M:function(xe,Re,We,gt){We.push({op:"replace",path:[],value:Re===zt?void 0:Re}),gt.push({op:"replace",path:[],value:xe})}})}function pe(){function oe(Nt,Ct){function tn(){this.constructor=Nt}Re(Nt,Ct),Nt.prototype=(tn.prototype=Ct.prototype,new tn)}function Ye(Nt){Nt.o||(Nt.R=new Map,Nt.o=new Map(Nt.t))}function Et(Nt){Nt.o||(Nt.o=new Set,Nt.t.forEach(function(Ct){if(l(Ct)){var tn=Fe(Nt.A.h,Ct,Nt);Nt.p.set(Ct,tn),Nt.o.add(tn)}else Nt.o.add(Ct)}))}function xe(Nt){Nt.O&&i(3,JSON.stringify(N(Nt)))}var Re=function(Nt,Ct){return(Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(tn,ge){tn.__proto__=ge}||function(tn,ge){for(var At in ge)ge.hasOwnProperty(At)&&(tn[At]=ge[At])})(Nt,Ct)},We=function(){function Nt(tn,ge){return this[St]={i:2,l:ge,A:ge?ge.A:K(),P:!1,I:!1,o:void 0,R:void 0,t:tn,k:this,C:!1,O:!1},this}oe(Nt,Map);var Ct=Nt.prototype;return Object.defineProperty(Ct,"size",{get:function(){return N(this[St]).size}}),Ct.has=function(tn){return N(this[St]).has(tn)},Ct.set=function(tn,ge){var At=this[St];return xe(At),N(At).has(tn)&&N(At).get(tn)===ge||(Ye(At),ye(At),At.R.set(tn,!0),At.o.set(tn,ge),At.R.set(tn,!0)),this},Ct.delete=function(tn){if(!this.has(tn))return!1;var ge=this[St];return xe(ge),Ye(ge),ye(ge),ge.t.has(tn)?ge.R.set(tn,!1):ge.R.delete(tn),ge.o.delete(tn),!0},Ct.clear=function(){var tn=this[St];xe(tn),N(tn).size&&(Ye(tn),ye(tn),tn.R=new Map,v(tn.t,function(ge){tn.R.set(ge,!1)}),tn.o.clear())},Ct.forEach=function(tn,ge){var At=this;N(this[St]).forEach(function(mn,xn){tn.call(ge,At.get(xn),xn,At)})},Ct.get=function(tn){var ge=this[St];xe(ge);var At=N(ge).get(tn);if(ge.I||!l(At)||At!==ge.t.get(tn))return At;var mn=Fe(ge.A.h,At,ge);return Ye(ge),ge.o.set(tn,mn),mn},Ct.keys=function(){return N(this[St]).keys()},Ct.values=function(){var tn,ge=this,At=this.keys();return(tn={})[Xt]=function(){return ge.values()},tn.next=function(){var mn=At.next();return mn.done?mn:{done:!1,value:ge.get(mn.value)}},tn},Ct.entries=function(){var tn,ge=this,At=this.keys();return(tn={})[Xt]=function(){return ge.entries()},tn.next=function(){var mn=At.next();if(mn.done)return mn;var xn=ge.get(mn.value);return{done:!1,value:[mn.value,xn]}},tn},Ct[Xt]=function(){return this.entries()},Nt}(),gt=function(){function Nt(tn,ge){return this[St]={i:3,l:ge,A:ge?ge.A:K(),P:!1,I:!1,o:void 0,t:tn,k:this,p:new Map,O:!1,C:!1},this}oe(Nt,Set);var Ct=Nt.prototype;return Object.defineProperty(Ct,"size",{get:function(){return N(this[St]).size}}),Ct.has=function(tn){var ge=this[St];return xe(ge),ge.o?!!ge.o.has(tn)||!(!ge.p.has(tn)||!ge.o.has(ge.p.get(tn))):ge.t.has(tn)},Ct.add=function(tn){var ge=this[St];return xe(ge),this.has(tn)||(Et(ge),ye(ge),ge.o.add(tn)),this},Ct.delete=function(tn){if(!this.has(tn))return!1;var ge=this[St];return xe(ge),Et(ge),ye(ge),ge.o.delete(tn)||!!ge.p.has(tn)&&ge.o.delete(ge.p.get(tn))},Ct.clear=function(){var tn=this[St];xe(tn),N(tn).size&&(Et(tn),ye(tn),tn.o.clear())},Ct.values=function(){var tn=this[St];return xe(tn),Et(tn),tn.o.values()},Ct.entries=function(){var tn=this[St];return xe(tn),Et(tn),tn.o.entries()},Ct.keys=function(){return this.values()},Ct[Xt]=function(){return this.values()},Ct.forEach=function(tn,ge){for(var At=this.values(),mn=At.next();!mn.done;)tn.call(ge,mn.value,mn.value,this),mn=At.next()},Nt}();Q("MapSet",{F:function(Nt,Ct){return new We(Nt,Ct)},T:function(Nt,Ct){return new gt(Nt,Ct)}})}function Se(){Ge(),pe(),Pe()}function _e(oe){return oe}function Ne(oe){return oe}var Le,Ke,bt=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",yt=typeof Map<"u",It=typeof Set<"u",_t=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",zt=bt?Symbol.for("immer-nothing"):((Le={})["immer-nothing"]=!0,Le),Vt=bt?Symbol.for("immer-draftable"):"__$immer_draftable",St=bt?Symbol.for("immer-state"):"__$immer_state",Xt=typeof Symbol<"u"&&Symbol.iterator||"@@iterator",jt={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(oe){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+oe},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(oe){return"Cannot apply patch, path doesn't resolve: "+oe},16:'Sets cannot have "replace" patches.',17:function(oe){return"Unsupported patch operation: "+oe},18:function(oe){return"The plugin for '"+oe+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+oe+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(oe){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+oe+"'"},22:function(oe){return"'current' expects a draft, got: "+oe},23:function(oe){return"'original' expects a draft, got: "+oe},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},sn=""+Object.prototype.constructor,dt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(oe){return Object.getOwnPropertyNames(oe).concat(Object.getOwnPropertySymbols(oe))}:Object.getOwnPropertyNames,Ln=Object.getOwnPropertyDescriptors||function(oe){var Ye={};return dt(oe).forEach(function(Et){Ye[Et]=Object.getOwnPropertyDescriptor(oe,Et)}),Ye},fn={},cr={get:function(oe,Ye){if(Ye===St)return oe;var Et=N(oe);if(!T(Et,Ye))return function(Re,We,gt){var Nt,Ct=Ce(We,gt);return Ct?"value"in Ct?Ct.value:(Nt=Ct.get)===null||Nt===void 0?void 0:Nt.call(Re.k):void 0}(oe,Et,Ye);var xe=Et[Ye];return oe.I||!l(xe)?xe:xe===Ze(oe.t,Ye)?(Ae(oe),oe.o[Ye]=Fe(oe.A.h,xe,oe)):xe},has:function(oe,Ye){return Ye in N(oe)},ownKeys:function(oe){return Reflect.ownKeys(N(oe))},set:function(oe,Ye,Et){var xe=Ce(N(oe),Ye);if(xe?.set)return xe.set.call(oe.k,Et),!0;if(!oe.P){var Re=Ze(N(oe),Ye),We=Re?.[St];if(We&&We.t===Et)return oe.o[Ye]=Et,oe.R[Ye]=!1,!0;if(P(Et,Re)&&(Et!==void 0||T(oe.t,Ye)))return!0;Ae(oe),ye(oe)}return oe.o[Ye]===Et&&(Et!==void 0||Ye in oe.o)||Number.isNaN(Et)&&Number.isNaN(oe.o[Ye])||(oe.o[Ye]=Et,oe.R[Ye]=!0),!0},deleteProperty:function(oe,Ye){return Ze(oe.t,Ye)!==void 0||Ye in oe.t?(oe.R[Ye]=!1,Ae(oe),ye(oe)):delete oe.R[Ye],oe.o&&delete oe.o[Ye],!0},getOwnPropertyDescriptor:function(oe,Ye){var Et=N(oe),xe=Reflect.getOwnPropertyDescriptor(Et,Ye);return xe&&{writable:!0,configurable:oe.i!==1||Ye!=="length",enumerable:xe.enumerable,value:Et[Ye]}},defineProperty:function(){i(11)},getPrototypeOf:function(oe){return Object.getPrototypeOf(oe.t)},setPrototypeOf:function(){i(12)}},wr={};v(cr,function(oe,Ye){wr[oe]=function(){return arguments[0]=arguments[0][0],Ye.apply(this,arguments)}}),wr.deleteProperty=function(oe,Ye){return wr.set.call(this,oe,Ye,void 0)},wr.set=function(oe,Ye,Et){return cr.set.call(this,oe[0],Ye,Et,oe[0])};var Jn=function(){function oe(Et){var xe=this;this.g=_t,this.D=!0,this.produce=function(Re,We,gt){if(typeof Re=="function"&&typeof We!="function"){var Nt=We;We=Re;var Ct=xe;return function(gr){var Ur=this;gr===void 0&&(gr=Nt);for(var Or=arguments.length,ii=Array(Or>1?Or-1:0),Ui=1;Ui<Or;Ui++)ii[Ui-1]=arguments[Ui];return Ct.produce(gr,function(rn){var $n;return($n=We).call.apply($n,[Ur,rn].concat(ii))})}}var tn;if(typeof We!="function"&&i(6),gt!==void 0&&typeof gt!="function"&&i(7),l(Re)){var ge=ee(xe),At=Fe(xe,Re,void 0),mn=!0;try{tn=We(At),mn=!1}finally{mn?Z(ge):J(ge)}return typeof Promise<"u"&&tn instanceof Promise?tn.then(function(gr){return Y(ge,gt),me(gr,ge)},function(gr){throw Z(ge),gr}):(Y(ge,gt),me(tn,ge))}if(!Re||typeof Re!="object"){if((tn=We(Re))===void 0&&(tn=Re),tn===zt&&(tn=void 0),xe.D&&j(tn,!0),gt){var xn=[],Un=[];X("Patches").M(Re,tn,xn,Un),gt(xn,Un)}return tn}i(21,Re)},this.produceWithPatches=function(Re,We){if(typeof Re=="function")return function(tn){for(var ge=arguments.length,At=Array(ge>1?ge-1:0),mn=1;mn<ge;mn++)At[mn-1]=arguments[mn];return xe.produceWithPatches(tn,function(xn){return Re.apply(void 0,[xn].concat(At))})};var gt,Nt,Ct=xe.produce(Re,We,function(tn,ge){gt=tn,Nt=ge});return typeof Promise<"u"&&Ct instanceof Promise?Ct.then(function(tn){return[tn,gt,Nt]}):[Ct,gt,Nt]},typeof Et?.useProxies=="boolean"&&this.setUseProxies(Et.useProxies),typeof Et?.autoFreeze=="boolean"&&this.setAutoFreeze(Et.autoFreeze)}var Ye=oe.prototype;return Ye.createDraft=function(Et){l(Et)||i(8),a(Et)&&(Et=Qe(Et));var xe=ee(this),Re=Fe(this,Et,void 0);return Re[St].C=!0,J(xe),Re},Ye.finishDraft=function(Et,xe){var Re=Et&&Et[St],We=Re.A;return Y(We,xe),me(void 0,We)},Ye.setAutoFreeze=function(Et){this.D=Et},Ye.setUseProxies=function(Et){Et&&!_t&&i(20),this.g=Et},Ye.applyPatches=function(Et,xe){var Re;for(Re=xe.length-1;Re>=0;Re--){var We=xe[Re];if(We.path.length===0&&We.op==="replace"){Et=We.value;break}}Re>-1&&(xe=xe.slice(Re+1));var gt=X("Patches").$;return a(Et)?gt(Et,xe):this.produce(Et,function(Nt){return gt(Nt,xe)})},oe}(),nn=new Jn,or=nn.produce,bn=nn.produceWithPatches.bind(nn),Sn=nn.setAutoFreeze.bind(nn),Hn=nn.setUseProxies.bind(nn),er=nn.applyPatches.bind(nn),an=nn.createDraft.bind(nn),Cn=nn.finishDraft.bind(nn);const de=or},77208:(U,C,e)=>{"use strict";e.d(C,{W:()=>R});var i=e(7353),a=e(66484),l=e(3453),c=e(89352);function v(P,M){return M?(0,i.C3)((0,i.C3)((0,i.C3)({},P||{}),M||{}),Object.keys(P).reduce(function(O,N){return O[N]=(0,i.C3)((0,i.C3)({},P[N]),M[N]||{}),O},{})):P}function _(P,M){return M?Object.keys(P).reduce(function(O,N){return O[N]=v(P[N],M[N]),O},(0,i.C3)({},P)):P}function T(P){return{create:function(){return{get:function(M){return P[M]},set:function(M,O){P[M]=O}}}}}function A(P){return P===void 0&&(P={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,l.s)(function(){for(var M,O=[],N=0;N<arguments.length;N++)O[N]=arguments[N];return new((M=Intl.NumberFormat).bind.apply(M,(0,i.Mt)([void 0],O,!1)))},{cache:T(P.number),strategy:l.A.variadic}),getDateTimeFormat:(0,l.s)(function(){for(var M,O=[],N=0;N<arguments.length;N++)O[N]=arguments[N];return new((M=Intl.DateTimeFormat).bind.apply(M,(0,i.Mt)([void 0],O,!1)))},{cache:T(P.dateTime),strategy:l.A.variadic}),getPluralRules:(0,l.s)(function(){for(var M,O=[],N=0;N<arguments.length;N++)O[N]=arguments[N];return new((M=Intl.PluralRules).bind.apply(M,(0,i.Mt)([void 0],O,!1)))},{cache:T(P.pluralRules),strategy:l.A.variadic})}}var R=function(){function P(M,O,N,B){O===void 0&&(O=P.defaultLocale);var j=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Q){var K=j.formatToParts(Q);if(K.length===1)return K[0].value;var Y=K.reduce(function(Z,J){return!Z.length||J.type!==c.eY.literal||typeof Z[Z.length-1]!="string"?Z.push(J.value):Z[Z.length-1]+=J.value,Z},[]);return Y.length<=1?Y[0]||"":Y},this.formatToParts=function(Q){return(0,c.qW)(j.ast,j.locales,j.formatters,j.formats,Q,void 0,j.message)},this.resolvedOptions=function(){var Q;return{locale:((Q=j.resolvedLocale)===null||Q===void 0?void 0:Q.toString())||Intl.NumberFormat.supportedLocalesOf(j.locales)[0]}},this.getAst=function(){return j.ast},this.locales=O,this.resolvedLocale=P.resolveLocale(O),typeof M=="string"){if(this.message=M,!P.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var z=B||{},W=z.formatters,X=(0,i.sX)(z,["formatters"]);this.ast=P.__parse(M,(0,i.C3)((0,i.C3)({},X),{locale:this.resolvedLocale}))}else this.ast=M;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=_(P.formats,N),this.formatters=B&&B.formatters||A(this.formatterCache)}return Object.defineProperty(P,"defaultLocale",{get:function(){return P.memoizedDefaultLocale||(P.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),P.memoizedDefaultLocale},enumerable:!1,configurable:!0}),P.memoizedDefaultLocale=null,P.resolveLocale=function(M){if(!(typeof Intl.Locale>"u")){var O=Intl.NumberFormat.supportedLocalesOf(M);return O.length>0?new Intl.Locale(O[0]):new Intl.Locale(typeof M=="string"?M:M[0])}},P.__parse=a.K0,P.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},P}()},56188:(U,C,e)=>{"use strict";e.d(C,{MZ:()=>_,c3:()=>v,cn:()=>l,uA:()=>c,uI:()=>a});var i=e(7353),a;(function(T){T.MISSING_VALUE="MISSING_VALUE",T.INVALID_VALUE="INVALID_VALUE",T.MISSING_INTL_API="MISSING_INTL_API"})(a||(a={}));var l=function(T){(0,i.ct)(A,T);function A(R,P,M){var O=T.call(this,R)||this;return O.code=P,O.originalMessage=M,O}return A.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},A}(Error),c=function(T){(0,i.ct)(A,T);function A(R,P,M,O){return T.call(this,'Invalid values for "'.concat(R,'": "').concat(P,'". Options are "').concat(Object.keys(M).join('", "'),'"'),a.INVALID_VALUE,O)||this}return A}(l),v=function(T){(0,i.ct)(A,T);function A(R,P,M){return T.call(this,'Value for "'.concat(R,'" must be of type ').concat(P),a.INVALID_VALUE,M)||this}return A}(l),_=function(T){(0,i.ct)(A,T);function A(R,P){return T.call(this,'The intl string context variable "'.concat(R,'" was not provided to the string "').concat(P,'"'),a.MISSING_VALUE,P)||this}return A}(l)},89352:(U,C,e)=>{"use strict";e.d(C,{eY:()=>l,qW:()=>_,sT:()=>v});var i=e(66484),a=e(56188),l;(function(T){T[T.literal=0]="literal",T[T.object=1]="object"})(l||(l={}));function c(T){return T.length<2?T:T.reduce(function(A,R){var P=A[A.length-1];return!P||P.type!==l.literal||R.type!==l.literal?A.push(R):P.value+=R.value,A},[])}function v(T){return typeof T=="function"}function _(T,A,R,P,M,O,N){if(T.length===1&&(0,i.kl)(T[0]))return[{type:l.literal,value:T[0].value}];for(var B=[],j=0,z=T;j<z.length;j++){var W=z[j];if((0,i.kl)(W)){B.push({type:l.literal,value:W.value});continue}if((0,i.EZ)(W)){typeof O=="number"&&B.push({type:l.literal,value:R.getNumberFormat(A).format(O)});continue}var X=W.value;if(!(M&&X in M))throw new a.MZ(X,N);var Q=M[X];if((0,i.kd)(W)){(!Q||typeof Q=="string"||typeof Q=="number")&&(Q=typeof Q=="string"||typeof Q=="number"?String(Q):""),B.push({type:typeof Q=="string"?l.literal:l.object,value:Q});continue}if((0,i.Ml)(W)){var K=typeof W.style=="string"?P.date[W.style]:(0,i.iO)(W.style)?W.style.parsedOptions:void 0;B.push({type:l.literal,value:R.getDateTimeFormat(A,K).format(Q)});continue}if((0,i.ue)(W)){var K=typeof W.style=="string"?P.time[W.style]:(0,i.iO)(W.style)?W.style.parsedOptions:P.time.medium;B.push({type:l.literal,value:R.getDateTimeFormat(A,K).format(Q)});continue}if((0,i.Mp)(W)){var K=typeof W.style=="string"?P.number[W.style]:(0,i.fX)(W.style)?W.style.parsedOptions:void 0;K&&K.scale&&(Q=Q*(K.scale||1)),B.push({type:l.literal,value:R.getNumberFormat(A,K).format(Q)});continue}if((0,i.AX)(W)){var Y=W.children,Z=W.value,J=M[Z];if(!v(J))throw new a.c3(Z,"function",N);var ee=_(Y,A,R,P,M,O),re=J(ee.map(function(le){return le.value}));Array.isArray(re)||(re=[re]),B.push.apply(B,re.map(function(le){return{type:typeof le=="string"?l.literal:l.object,value:le}}))}if((0,i.uU)(W)){var me=W.options[Q]||W.options.other;if(!me)throw new a.uA(W.value,Q,Object.keys(W.options),N);B.push.apply(B,_(me.value,A,R,P,M));continue}if((0,i.WC)(W)){var me=W.options["=".concat(Q)];if(!me){if(!Intl.PluralRules)throw new a.cn(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`,a.uI.MISSING_INTL_API,N);var fe=R.getPluralRules(A,{type:W.pluralType}).select(Q-(W.offset||0));me=W.options[fe]||W.options.other}if(!me)throw new a.uA(W.value,Q,Object.keys(W.options),N);B.push.apply(B,_(me.value,A,R,P,M,Q-(W.offset||0)));continue}}return c(B)}},5240:U=>{"use strict";var C=function(e,i,a,l,c,v,_,T){if(!e){var A;if(i===void 0)A=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var R=[a,l,c,v,_,T],P=0;A=new Error(i.replace(/%s/g,function(){return R[P++]})),A.name="Invariant Violation"}throw A.framesToPop=1,A}};U.exports=C},94376:(U,C)=>{"use strict";var e;e={value:!0};for(var i=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),a={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},l={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:i?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},c={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},v=1;v<20;v++)c["f"+v]=111+v;function _(N,B,j){B&&!("byKey"in B)&&(j=B,B=null),Array.isArray(N)||(N=[N]);var z=N.map(function(Q){return R(Q,B)}),W=function(K){return z.some(function(Y){return P(Y,K)})},X=j==null?W:W(j);return X}function T(N,B){return _(N,B)}function A(N,B){return _(N,{byKey:!0},B)}function R(N,B){var j=B&&B.byKey,z={};N=N.replace("++","+add");var W=N.split("+"),X=W.length;for(var Q in a)z[a[Q]]=!1;var K=!0,Y=!1,Z=void 0;try{for(var J=W[Symbol.iterator](),ee;!(K=(ee=J.next()).done);K=!0){var re=ee.value,me=re.endsWith("?")&&re.length>1;me&&(re=re.slice(0,-1));var fe=O(re),le=a[fe];(X===1||!le)&&(j?z.key=fe:z.which=M(re)),le&&(z[le]=me?null:!0)}}catch(Ve){Y=!0,Z=Ve}finally{try{!K&&J.return&&J.return()}finally{if(Y)throw Z}}return z}function P(N,B){for(var j in N){var z=N[j],W=void 0;if(z!=null&&(j==="key"&&B.key!=null?W=B.key.toLowerCase():j==="which"?W=z===91&&B.which===93?91:B.which:W=B[j],!(W==null&&z===!1)&&W!==z))return!1}return!0}function M(N){N=O(N);var B=c[N]||N.toUpperCase().charCodeAt(0);return B}function O(N){return N=N.toLowerCase(),N=l[N]||N,N}e=_,C.g5=_,e=T,e=A,e=R,e=P,e=M,e=O},21532:(U,C)=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});/*!
 * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
 *
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */function e(a){return Object.prototype.toString.call(a)==="[object Object]"}function i(a){var l,c;return e(a)===!1?!1:(l=a.constructor,l===void 0?!0:(c=l.prototype,!(e(c)===!1||c.hasOwnProperty("isPrototypeOf")===!1)))}C.isPlainObject=i},61852:U=>{U.exports=Array.isArray||function(C){return Object.prototype.toString.call(C)=="[object Array]"}},36484:(U,C,e)=>{"use strict";function i(K){var Y=Array.prototype.slice.call(arguments,1);return Y.forEach(function(Z){Z&&Object.keys(Z).forEach(function(J){K[J]=Z[J]})}),K}function a(K){return Object.prototype.toString.call(K)}function l(K){return a(K)==="[object String]"}function c(K){return a(K)==="[object Object]"}function v(K){return a(K)==="[object RegExp]"}function _(K){return a(K)==="[object Function]"}function T(K){return K.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var A={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function R(K){return Object.keys(K||{}).reduce(function(Y,Z){return Y||A.hasOwnProperty(Z)},!1)}var P={"http:":{validate:function(K,Y,Z){var J=K.slice(Y);return Z.re.http||(Z.re.http=new RegExp("^\\/\\/"+Z.re.src_auth+Z.re.src_host_port_strict+Z.re.src_path,"i")),Z.re.http.test(J)?J.match(Z.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(K,Y,Z){var J=K.slice(Y);return Z.re.no_http||(Z.re.no_http=new RegExp("^"+Z.re.src_auth+"(?:localhost|(?:(?:"+Z.re.src_domain+")\\.)+"+Z.re.src_domain_root+")"+Z.re.src_port+Z.re.src_host_terminator+Z.re.src_path,"i")),Z.re.no_http.test(J)?Y>=3&&K[Y-3]===":"||Y>=3&&K[Y-3]==="/"?0:J.match(Z.re.no_http)[0].length:0}},"mailto:":{validate:function(K,Y,Z){var J=K.slice(Y);return Z.re.mailto||(Z.re.mailto=new RegExp("^"+Z.re.src_email_name+"@"+Z.re.src_host_strict,"i")),Z.re.mailto.test(J)?J.match(Z.re.mailto)[0].length:0}}},M="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",O="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function N(K){K.__index__=-1,K.__text_cache__=""}function B(K){return function(Y,Z){var J=Y.slice(Z);return K.test(J)?J.match(K)[0].length:0}}function j(){return function(K,Y){Y.normalize(K)}}function z(K){var Y=K.re=e(23008)(K.__opts__),Z=K.__tlds__.slice();K.onCompile(),K.__tlds_replaced__||Z.push(M),Z.push(Y.src_xn),Y.src_tlds=Z.join("|");function J(fe){return fe.replace("%TLDS%",Y.src_tlds)}Y.email_fuzzy=RegExp(J(Y.tpl_email_fuzzy),"i"),Y.link_fuzzy=RegExp(J(Y.tpl_link_fuzzy),"i"),Y.link_no_ip_fuzzy=RegExp(J(Y.tpl_link_no_ip_fuzzy),"i"),Y.host_fuzzy_test=RegExp(J(Y.tpl_host_fuzzy_test),"i");var ee=[];K.__compiled__={};function re(fe,le){throw new Error('(LinkifyIt) Invalid schema "'+fe+'": '+le)}Object.keys(K.__schemas__).forEach(function(fe){var le=K.__schemas__[fe];if(le!==null){var Ve={validate:null,link:null};if(K.__compiled__[fe]=Ve,c(le)){v(le.validate)?Ve.validate=B(le.validate):_(le.validate)?Ve.validate=le.validate:re(fe,le),_(le.normalize)?Ve.normalize=le.normalize:le.normalize?re(fe,le):Ve.normalize=j();return}if(l(le)){ee.push(fe);return}re(fe,le)}}),ee.forEach(function(fe){K.__compiled__[K.__schemas__[fe]]&&(K.__compiled__[fe].validate=K.__compiled__[K.__schemas__[fe]].validate,K.__compiled__[fe].normalize=K.__compiled__[K.__schemas__[fe]].normalize)}),K.__compiled__[""]={validate:null,normalize:j()};var me=Object.keys(K.__compiled__).filter(function(fe){return fe.length>0&&K.__compiled__[fe]}).map(T).join("|");K.re.schema_test=RegExp("(^|(?!_)(?:[><\uFF5C]|"+Y.src_ZPCc+"))("+me+")","i"),K.re.schema_search=RegExp("(^|(?!_)(?:[><\uFF5C]|"+Y.src_ZPCc+"))("+me+")","ig"),K.re.pretest=RegExp("("+K.re.schema_test.source+")|("+K.re.host_fuzzy_test.source+")|@","i"),N(K)}function W(K,Y){var Z=K.__index__,J=K.__last_index__,ee=K.__text_cache__.slice(Z,J);this.schema=K.__schema__.toLowerCase(),this.index=Z+Y,this.lastIndex=J+Y,this.raw=ee,this.text=ee,this.url=ee}function X(K,Y){var Z=new W(K,Y);return K.__compiled__[Z.schema].normalize(Z,K),Z}function Q(K,Y){if(!(this instanceof Q))return new Q(K,Y);Y||R(K)&&(Y=K,K={}),this.__opts__=i({},A,Y),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=i({},P,K),this.__compiled__={},this.__tlds__=O,this.__tlds_replaced__=!1,this.re={},z(this)}Q.prototype.add=function(Y,Z){return this.__schemas__[Y]=Z,z(this),this},Q.prototype.set=function(Y){return this.__opts__=i(this.__opts__,Y),this},Q.prototype.test=function(Y){if(this.__text_cache__=Y,this.__index__=-1,!Y.length)return!1;var Z,J,ee,re,me,fe,le,Ve,Ze;if(this.re.schema_test.test(Y)){for(le=this.re.schema_search,le.lastIndex=0;(Z=le.exec(Y))!==null;)if(re=this.testSchemaAt(Y,Z[2],le.lastIndex),re){this.__schema__=Z[2],this.__index__=Z.index+Z[1].length,this.__last_index__=Z.index+Z[0].length+re;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(Ve=Y.search(this.re.host_fuzzy_test),Ve>=0&&(this.__index__<0||Ve<this.__index__)&&(J=Y.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(me=J.index+J[1].length,(this.__index__<0||me<this.__index__)&&(this.__schema__="",this.__index__=me,this.__last_index__=J.index+J[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(Ze=Y.indexOf("@"),Ze>=0&&(ee=Y.match(this.re.email_fuzzy))!==null&&(me=ee.index+ee[1].length,fe=ee.index+ee[0].length,(this.__index__<0||me<this.__index__||me===this.__index__&&fe>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=me,this.__last_index__=fe))),this.__index__>=0},Q.prototype.pretest=function(Y){return this.re.pretest.test(Y)},Q.prototype.testSchemaAt=function(Y,Z,J){return this.__compiled__[Z.toLowerCase()]?this.__compiled__[Z.toLowerCase()].validate(Y,J,this):0},Q.prototype.match=function(Y){var Z=0,J=[];this.__index__>=0&&this.__text_cache__===Y&&(J.push(X(this,Z)),Z=this.__last_index__);for(var ee=Z?Y.slice(Z):Y;this.test(ee);)J.push(X(this,Z)),ee=ee.slice(this.__last_index__),Z+=this.__last_index__;return J.length?J:null},Q.prototype.tlds=function(Y,Z){return Y=Array.isArray(Y)?Y:[Y],Z?(this.__tlds__=this.__tlds__.concat(Y).sort().filter(function(J,ee,re){return J!==re[ee-1]}).reverse(),z(this),this):(this.__tlds__=Y.slice(),this.__tlds_replaced__=!0,z(this),this)},Q.prototype.normalize=function(Y){Y.schema||(Y.url="http://"+Y.url),Y.schema==="mailto:"&&!/^mailto:/i.test(Y.url)&&(Y.url="mailto:"+Y.url)},Q.prototype.onCompile=function(){},U.exports=Q},23008:(U,C,e)=>{"use strict";U.exports=function(i){var a={};a.src_Any=e(59688).source,a.src_Cc=e(83016).source,a.src_Z=e(68444).source,a.src_P=e(47328).source,a.src_ZPCc=[a.src_Z,a.src_P,a.src_Cc].join("|"),a.src_ZCc=[a.src_Z,a.src_Cc].join("|");var l="[><\uFF5C]";return a.src_pseudo_letter="(?:(?!"+l+"|"+a.src_ZPCc+")"+a.src_Any+")",a.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",a.src_auth="(?:(?:(?!"+a.src_ZCc+"|[@/\\[\\]()]).)+@)?",a.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",a.src_host_terminator="(?=$|"+l+"|"+a.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+a.src_ZPCc+"))",a.src_path="(?:[/?#](?:(?!"+a.src_ZCc+"|"+l+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+a.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+a.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+a.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+a.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+a.src_ZCc+"|[']).)+\\'|\\'(?="+a.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+a.src_ZCc+"|[.]).|"+(i&&i["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+a.src_ZCc+").|;(?!"+a.src_ZCc+").|\\!+(?!"+a.src_ZCc+"|[!]).|\\?(?!"+a.src_ZCc+"|[?]).)+|\\/)?",a.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',a.src_xn="xn--[a-z0-9\\-]{1,59}",a.src_domain_root="(?:"+a.src_xn+"|"+a.src_pseudo_letter+"{1,63})",a.src_domain="(?:"+a.src_xn+"|(?:"+a.src_pseudo_letter+")|(?:"+a.src_pseudo_letter+"(?:-|"+a.src_pseudo_letter+"){0,61}"+a.src_pseudo_letter+"))",a.src_host="(?:(?:(?:(?:"+a.src_domain+")\\.)*"+a.src_domain+"))",a.tpl_host_fuzzy="(?:"+a.src_ip4+"|(?:(?:(?:"+a.src_domain+")\\.)+(?:%TLDS%)))",a.tpl_host_no_ip_fuzzy="(?:(?:(?:"+a.src_domain+")\\.)+(?:%TLDS%))",a.src_host_strict=a.src_host+a.src_host_terminator,a.tpl_host_fuzzy_strict=a.tpl_host_fuzzy+a.src_host_terminator,a.src_host_port_strict=a.src_host+a.src_port+a.src_host_terminator,a.tpl_host_port_fuzzy_strict=a.tpl_host_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_port_no_ip_fuzzy_strict=a.tpl_host_no_ip_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+a.src_ZPCc+"|>|$))",a.tpl_email_fuzzy="(^|"+l+'|"|\\(|'+a.src_ZCc+")("+a.src_email_name+"@"+a.tpl_host_fuzzy_strict+")",a.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+a.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+a.tpl_host_port_fuzzy_strict+a.src_path+")",a.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uFF5C]|"+a.src_ZPCc+"))((?![$+<=>^`|\uFF5C])"+a.tpl_host_port_no_ip_fuzzy_strict+a.src_path+")",a}},97863:(U,C,e)=>{var i=1/0,a="[object Symbol]",l=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,c="\\u0300-\\u036f\\ufe20-\\ufe23",v="\\u20d0-\\u20f0",_="["+c+v+"]",T=RegExp(_,"g"),A={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},R=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,P=typeof self=="object"&&self&&self.Object===Object&&self,M=R||P||Function("return this")();function O(ee){return function(re){return ee?.[re]}}var N=O(A),B=Object.prototype,j=B.toString,z=M.Symbol,W=z?z.prototype:void 0,X=W?W.toString:void 0;function Q(ee){if(typeof ee=="string")return ee;if(Y(ee))return X?X.call(ee):"";var re=ee+"";return re=="0"&&1/ee==-i?"-0":re}function K(ee){return!!ee&&typeof ee=="object"}function Y(ee){return typeof ee=="symbol"||K(ee)&&j.call(ee)==a}function Z(ee){return ee==null?"":Q(ee)}function J(ee){return ee=Z(ee),ee&&ee.replace(l,N).replace(T,"")}U.exports=J},64168:(U,C,e)=>{var i=e(9723),a=e(87964),l=i(a,"DataView");U.exports=l},96104:(U,C,e)=>{var i=e(99772),a=e(86448),l=e(4584),c=e(83544),v=e(85584);function _(T){var A=-1,R=T==null?0:T.length;for(this.clear();++A<R;){var P=T[A];this.set(P[0],P[1])}}_.prototype.clear=i,_.prototype.delete=a,_.prototype.get=l,_.prototype.has=c,_.prototype.set=v,U.exports=_},97760:(U,C,e)=>{var i=e(84936),a=e(44164),l=e(30668),c=e(54540),v=e(73888);function _(T){var A=-1,R=T==null?0:T.length;for(this.clear();++A<R;){var P=T[A];this.set(P[0],P[1])}}_.prototype.clear=i,_.prototype.delete=a,_.prototype.get=l,_.prototype.has=c,_.prototype.set=v,U.exports=_},34848:(U,C,e)=>{var i=e(9723),a=e(87964),l=i(a,"Map");U.exports=l},21900:(U,C,e)=>{var i=e(16752),a=e(53352),l=e(7204),c=e(22880),v=e(10819);function _(T){var A=-1,R=T==null?0:T.length;for(this.clear();++A<R;){var P=T[A];this.set(P[0],P[1])}}_.prototype.clear=i,_.prototype.delete=a,_.prototype.get=l,_.prototype.has=c,_.prototype.set=v,U.exports=_},98152:(U,C,e)=>{var i=e(9723),a=e(87964),l=i(a,"Promise");U.exports=l},25804:(U,C,e)=>{var i=e(9723),a=e(87964),l=i(a,"Set");U.exports=l},83504:(U,C,e)=>{var i=e(21900),a=e(15e3),l=e(48920);function c(v){var _=-1,T=v==null?0:v.length;for(this.__data__=new i;++_<T;)this.add(v[_])}c.prototype.add=c.prototype.push=a,c.prototype.has=l,U.exports=c},55120:(U,C,e)=>{var i=e(97760),a=e(38272),l=e(64688),c=e(42064),v=e(31368),_=e(16e3);function T(A){var R=this.__data__=new i(A);this.size=R.size}T.prototype.clear=a,T.prototype.delete=l,T.prototype.get=c,T.prototype.has=v,T.prototype.set=_,U.exports=T},11648:(U,C,e)=>{var i=e(87964),a=i.Symbol;U.exports=a},27119:(U,C,e)=>{var i=e(87964),a=i.Uint8Array;U.exports=a},17044:(U,C,e)=>{var i=e(9723),a=e(87964),l=i(a,"WeakMap");U.exports=l},88216:U=>{function C(e,i,a){switch(a.length){case 0:return e.call(i);case 1:return e.call(i,a[0]);case 2:return e.call(i,a[0],a[1]);case 3:return e.call(i,a[0],a[1],a[2])}return e.apply(i,a)}U.exports=C},76196:U=>{function C(e,i){for(var a=-1,l=e==null?0:e.length;++a<l&&i(e[a],a,e)!==!1;);return e}U.exports=C},45972:U=>{function C(e,i){for(var a=-1,l=e==null?0:e.length,c=0,v=[];++a<l;){var _=e[a];i(_,a,e)&&(v[c++]=_)}return v}U.exports=C},87184:(U,C,e)=>{var i=e(39024);function a(l,c){var v=l==null?0:l.length;return!!v&&i(l,c,0)>-1}U.exports=a},10320:U=>{function C(e,i,a){for(var l=-1,c=e==null?0:e.length;++l<c;)if(a(i,e[l]))return!0;return!1}U.exports=C},5616:(U,C,e)=>{var i=e(14240),a=e(78595),l=e(75516),c=e(42668),v=e(90020),_=e(14704),T=Object.prototype,A=T.hasOwnProperty;function R(P,M){var O=l(P),N=!O&&a(P),B=!O&&!N&&c(P),j=!O&&!N&&!B&&_(P),z=O||N||B||j,W=z?i(P.length,String):[],X=W.length;for(var Q in P)(M||A.call(P,Q))&&!(z&&(Q=="length"||B&&(Q=="offset"||Q=="parent")||j&&(Q=="buffer"||Q=="byteLength"||Q=="byteOffset")||v(Q,X)))&&W.push(Q);return W}U.exports=R},12480:U=>{function C(e,i){for(var a=-1,l=e==null?0:e.length,c=Array(l);++a<l;)c[a]=i(e[a],a,e);return c}U.exports=C},13428:U=>{function C(e,i){for(var a=-1,l=i.length,c=e.length;++a<l;)e[c+a]=i[a];return e}U.exports=C},55912:U=>{function C(e,i,a,l){var c=-1,v=e==null?0:e.length;for(l&&v&&(a=e[++c]);++c<v;)a=i(a,e[c],c,e);return a}U.exports=C},63368:U=>{function C(e,i){for(var a=-1,l=e==null?0:e.length;++a<l;)if(i(e[a],a,e))return!0;return!1}U.exports=C},42184:U=>{function C(e){return e.split("")}U.exports=C},32656:U=>{var C=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function e(i){return i.match(C)||[]}U.exports=e},10256:(U,C,e)=>{var i=e(92188),a=e(72460);function l(c,v,_){(_!==void 0&&!a(c[v],_)||_===void 0&&!(v in c))&&i(c,v,_)}U.exports=l},7208:(U,C,e)=>{var i=e(92188),a=e(72460),l=Object.prototype,c=l.hasOwnProperty;function v(_,T,A){var R=_[T];(!(c.call(_,T)&&a(R,A))||A===void 0&&!(T in _))&&i(_,T,A)}U.exports=v},74952:(U,C,e)=>{var i=e(72460);function a(l,c){for(var v=l.length;v--;)if(i(l[v][0],c))return v;return-1}U.exports=a},38384:(U,C,e)=>{var i=e(69864),a=e(90259);function l(c,v){return c&&i(v,a(v),c)}U.exports=l},63348:(U,C,e)=>{var i=e(69864),a=e(14956);function l(c,v){return c&&i(v,a(v),c)}U.exports=l},92188:(U,C,e)=>{var i=e(71040);function a(l,c,v){c=="__proto__"&&i?i(l,c,{configurable:!0,enumerable:!0,value:v,writable:!0}):l[c]=v}U.exports=a},36088:U=>{function C(e,i,a){return e===e&&(a!==void 0&&(e=e<=a?e:a),i!==void 0&&(e=e>=i?e:i)),e}U.exports=C},32808:(U,C,e)=>{var i=e(55120),a=e(76196),l=e(7208),c=e(38384),v=e(63348),_=e(85208),T=e(4288),A=e(61435),R=e(94260),P=e(86840),M=e(62904),O=e(29564),N=e(80828),B=e(1820),j=e(99616),z=e(75516),W=e(42668),X=e(65208),Q=e(38955),K=e(43276),Y=e(90259),Z=e(14956),J=1,ee=2,re=4,me="[object Arguments]",fe="[object Array]",le="[object Boolean]",Ve="[object Date]",Ze="[object Error]",Ce="[object Function]",ye="[object GeneratorFunction]",Ae="[object Map]",Fe="[object Number]",Qe="[object Object]",ce="[object RegExp]",Ge="[object Set]",Pe="[object String]",pe="[object Symbol]",Se="[object WeakMap]",_e="[object ArrayBuffer]",Ne="[object DataView]",Le="[object Float32Array]",Ke="[object Float64Array]",bt="[object Int8Array]",yt="[object Int16Array]",It="[object Int32Array]",_t="[object Uint8Array]",zt="[object Uint8ClampedArray]",Vt="[object Uint16Array]",St="[object Uint32Array]",Xt={};Xt[me]=Xt[fe]=Xt[_e]=Xt[Ne]=Xt[le]=Xt[Ve]=Xt[Le]=Xt[Ke]=Xt[bt]=Xt[yt]=Xt[It]=Xt[Ae]=Xt[Fe]=Xt[Qe]=Xt[ce]=Xt[Ge]=Xt[Pe]=Xt[pe]=Xt[_t]=Xt[zt]=Xt[Vt]=Xt[St]=!0,Xt[Ze]=Xt[Ce]=Xt[Se]=!1;function jt(sn,dt,Ln,fn,cr,wr){var Jn,nn=dt&J,or=dt&ee,bn=dt&re;if(Ln&&(Jn=cr?Ln(sn,fn,cr,wr):Ln(sn)),Jn!==void 0)return Jn;if(!Q(sn))return sn;var Sn=z(sn);if(Sn){if(Jn=N(sn),!nn)return T(sn,Jn)}else{var Hn=O(sn),er=Hn==Ce||Hn==ye;if(W(sn))return _(sn,nn);if(Hn==Qe||Hn==me||er&&!cr){if(Jn=or||er?{}:j(sn),!nn)return or?R(sn,v(Jn,sn)):A(sn,c(Jn,sn))}else{if(!Xt[Hn])return cr?sn:{};Jn=B(sn,Hn,nn)}}wr||(wr=new i);var an=wr.get(sn);if(an)return an;wr.set(sn,Jn),K(sn)?sn.forEach(function(oe){Jn.add(jt(oe,dt,Ln,oe,sn,wr))}):X(sn)&&sn.forEach(function(oe,Ye){Jn.set(Ye,jt(oe,dt,Ln,Ye,sn,wr))});var Cn=bn?or?M:P:or?Z:Y,de=Sn?void 0:Cn(sn);return a(de||sn,function(oe,Ye){de&&(Ye=oe,oe=sn[Ye]),l(Jn,Ye,jt(oe,dt,Ln,Ye,sn,wr))}),Jn}U.exports=jt},63196:(U,C,e)=>{var i=e(38955),a=Object.create,l=function(){function c(){}return function(v){if(!i(v))return{};if(a)return a(v);c.prototype=v;var _=new c;return c.prototype=void 0,_}}();U.exports=l},58616:U=>{function C(e,i,a,l){for(var c=e.length,v=a+(l?1:-1);l?v--:++v<c;)if(i(e[v],v,e))return v;return-1}U.exports=C},78456:(U,C,e)=>{var i=e(13428),a=e(18332);function l(c,v,_,T,A){var R=-1,P=c.length;for(_||(_=a),A||(A=[]);++R<P;){var M=c[R];v>0&&_(M)?v>1?l(M,v-1,_,T,A):i(A,M):T||(A[A.length]=M)}return A}U.exports=l},63088:(U,C,e)=>{var i=e(25056),a=i();U.exports=a},48208:(U,C,e)=>{var i=e(63088),a=e(90259);function l(c,v){return c&&i(c,v,a)}U.exports=l},64316:(U,C,e)=>{var i=e(70164),a=e(6316);function l(c,v){v=i(v,c);for(var _=0,T=v.length;c!=null&&_<T;)c=c[a(v[_++])];return _&&_==T?c:void 0}U.exports=l},70048:(U,C,e)=>{var i=e(13428),a=e(75516);function l(c,v,_){var T=v(c);return a(c)?T:i(T,_(c))}U.exports=l},23236:(U,C,e)=>{var i=e(11648),a=e(65876),l=e(69252),c="[object Null]",v="[object Undefined]",_=i?i.toStringTag:void 0;function T(A){return A==null?A===void 0?v:c:_&&_ in Object(A)?a(A):l(A)}U.exports=T},39452:U=>{var C=Object.prototype,e=C.hasOwnProperty;function i(a,l){return a!=null&&e.call(a,l)}U.exports=i},76948:U=>{function C(e,i){return e!=null&&i in Object(e)}U.exports=C},39024:(U,C,e)=>{var i=e(58616),a=e(88124),l=e(22120);function c(v,_,T){return _===_?l(v,_,T):i(v,a,T)}U.exports=c},73296:(U,C,e)=>{var i=e(23236),a=e(58720),l="[object Arguments]";function c(v){return a(v)&&i(v)==l}U.exports=c},74192:(U,C,e)=>{var i=e(9432),a=e(58720);function l(c,v,_,T,A){return c===v?!0:c==null||v==null||!a(c)&&!a(v)?c!==c&&v!==v:i(c,v,_,T,l,A)}U.exports=l},9432:(U,C,e)=>{var i=e(55120),a=e(65912),l=e(32340),c=e(64392),v=e(29564),_=e(75516),T=e(42668),A=e(14704),R=1,P="[object Arguments]",M="[object Array]",O="[object Object]",N=Object.prototype,B=N.hasOwnProperty;function j(z,W,X,Q,K,Y){var Z=_(z),J=_(W),ee=Z?M:v(z),re=J?M:v(W);ee=ee==P?O:ee,re=re==P?O:re;var me=ee==O,fe=re==O,le=ee==re;if(le&&T(z)){if(!T(W))return!1;Z=!0,me=!1}if(le&&!me)return Y||(Y=new i),Z||A(z)?a(z,W,X,Q,K,Y):l(z,W,ee,X,Q,K,Y);if(!(X&R)){var Ve=me&&B.call(z,"__wrapped__"),Ze=fe&&B.call(W,"__wrapped__");if(Ve||Ze){var Ce=Ve?z.value():z,ye=Ze?W.value():W;return Y||(Y=new i),K(Ce,ye,X,Q,Y)}}return le?(Y||(Y=new i),c(z,W,X,Q,K,Y)):!1}U.exports=j},62244:(U,C,e)=>{var i=e(29564),a=e(58720),l="[object Map]";function c(v){return a(v)&&i(v)==l}U.exports=c},88200:(U,C,e)=>{var i=e(55120),a=e(74192),l=1,c=2;function v(_,T,A,R){var P=A.length,M=P,O=!R;if(_==null)return!M;for(_=Object(_);P--;){var N=A[P];if(O&&N[2]?N[1]!==_[N[0]]:!(N[0]in _))return!1}for(;++P<M;){N=A[P];var B=N[0],j=_[B],z=N[1];if(O&&N[2]){if(j===void 0&&!(B in _))return!1}else{var W=new i;if(R)var X=R(j,z,B,_,T,W);if(!(X===void 0?a(z,j,l|c,R,W):X))return!1}}return!0}U.exports=v},88124:U=>{function C(e){return e!==e}U.exports=C},80576:(U,C,e)=>{var i=e(91892),a=e(25960),l=e(38955),c=e(75408),v=/[\\^$.*+?()[\]{}|]/g,_=/^\[object .+?Constructor\]$/,T=Function.prototype,A=Object.prototype,R=T.toString,P=A.hasOwnProperty,M=RegExp("^"+R.call(P).replace(v,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function O(N){if(!l(N)||a(N))return!1;var B=i(N)?M:_;return B.test(c(N))}U.exports=O},57748:(U,C,e)=>{var i=e(29564),a=e(58720),l="[object Set]";function c(v){return a(v)&&i(v)==l}U.exports=c},42412:(U,C,e)=>{var i=e(23236),a=e(97528),l=e(58720),c="[object Arguments]",v="[object Array]",_="[object Boolean]",T="[object Date]",A="[object Error]",R="[object Function]",P="[object Map]",M="[object Number]",O="[object Object]",N="[object RegExp]",B="[object Set]",j="[object String]",z="[object WeakMap]",W="[object ArrayBuffer]",X="[object DataView]",Q="[object Float32Array]",K="[object Float64Array]",Y="[object Int8Array]",Z="[object Int16Array]",J="[object Int32Array]",ee="[object Uint8Array]",re="[object Uint8ClampedArray]",me="[object Uint16Array]",fe="[object Uint32Array]",le={};le[Q]=le[K]=le[Y]=le[Z]=le[J]=le[ee]=le[re]=le[me]=le[fe]=!0,le[c]=le[v]=le[W]=le[_]=le[X]=le[T]=le[A]=le[R]=le[P]=le[M]=le[O]=le[N]=le[B]=le[j]=le[z]=!1;function Ve(Ze){return l(Ze)&&a(Ze.length)&&!!le[i(Ze)]}U.exports=Ve},24020:(U,C,e)=>{var i=e(64412),a=e(70652),l=e(45504),c=e(75516),v=e(98536);function _(T){return typeof T=="function"?T:T==null?l:typeof T=="object"?c(T)?a(T[0],T[1]):i(T):v(T)}U.exports=_},16411:(U,C,e)=>{var i=e(9028),a=e(54576),l=Object.prototype,c=l.hasOwnProperty;function v(_){if(!i(_))return a(_);var T=[];for(var A in Object(_))c.call(_,A)&&A!="constructor"&&T.push(A);return T}U.exports=v},3880:(U,C,e)=>{var i=e(38955),a=e(9028),l=e(51856),c=Object.prototype,v=c.hasOwnProperty;function _(T){if(!i(T))return l(T);var A=a(T),R=[];for(var P in T)P=="constructor"&&(A||!v.call(T,P))||R.push(P);return R}U.exports=_},64412:(U,C,e)=>{var i=e(88200),a=e(38800),l=e(2616);function c(v){var _=a(v);return _.length==1&&_[0][2]?l(_[0][0],_[0][1]):function(T){return T===v||i(T,v,_)}}U.exports=c},70652:(U,C,e)=>{var i=e(74192),a=e(85676),l=e(87161),c=e(76676),v=e(59736),_=e(2616),T=e(6316),A=1,R=2;function P(M,O){return c(M)&&v(O)?_(T(M),O):function(N){var B=a(N,M);return B===void 0&&B===O?l(N,M):i(O,B,A|R)}}U.exports=P},4692:(U,C,e)=>{var i=e(55120),a=e(10256),l=e(63088),c=e(59640),v=e(38955),_=e(14956),T=e(49600);function A(R,P,M,O,N){R!==P&&l(P,function(B,j){if(N||(N=new i),v(B))c(R,P,j,M,A,O,N);else{var z=O?O(T(R,j),B,j+"",R,P,N):void 0;z===void 0&&(z=B),a(R,j,z)}},_)}U.exports=A},59640:(U,C,e)=>{var i=e(10256),a=e(85208),l=e(46164),c=e(4288),v=e(99616),_=e(78595),T=e(75516),A=e(90427),R=e(42668),P=e(91892),M=e(38955),O=e(35556),N=e(14704),B=e(49600),j=e(39180);function z(W,X,Q,K,Y,Z,J){var ee=B(W,Q),re=B(X,Q),me=J.get(re);if(me){i(W,Q,me);return}var fe=Z?Z(ee,re,Q+"",W,X,J):void 0,le=fe===void 0;if(le){var Ve=T(re),Ze=!Ve&&R(re),Ce=!Ve&&!Ze&&N(re);fe=re,Ve||Ze||Ce?T(ee)?fe=ee:A(ee)?fe=c(ee):Ze?(le=!1,fe=a(re,!0)):Ce?(le=!1,fe=l(re,!0)):fe=[]:O(re)||_(re)?(fe=ee,_(ee)?fe=j(ee):(!M(ee)||P(ee))&&(fe=v(re))):le=!1}le&&(J.set(re,fe),Y(fe,re,K,Z,J),J.delete(re)),i(W,Q,fe)}U.exports=z},79708:(U,C,e)=>{var i=e(40712),a=e(87161);function l(c,v){return i(c,v,function(_,T){return a(c,T)})}U.exports=l},40712:(U,C,e)=>{var i=e(64316),a=e(89924),l=e(70164);function c(v,_,T){for(var A=-1,R=_.length,P={};++A<R;){var M=_[A],O=i(v,M);T(O,M)&&a(P,l(M,v),O)}return P}U.exports=c},66256:U=>{function C(e){return function(i){return i?.[e]}}U.exports=C},30392:(U,C,e)=>{var i=e(64316);function a(l){return function(c){return i(c,l)}}U.exports=a},69992:U=>{function C(e){return function(i){return e?.[i]}}U.exports=C},41912:(U,C,e)=>{var i=e(45504),a=e(27772),l=e(95908);function c(v,_){return l(a(v,_,i),v+"")}U.exports=c},89924:(U,C,e)=>{var i=e(7208),a=e(70164),l=e(90020),c=e(38955),v=e(6316);function _(T,A,R,P){if(!c(T))return T;A=a(A,T);for(var M=-1,O=A.length,N=O-1,B=T;B!=null&&++M<O;){var j=v(A[M]),z=R;if(j==="__proto__"||j==="constructor"||j==="prototype")return T;if(M!=N){var W=B[j];z=P?P(W,j,B):void 0,z===void 0&&(z=c(W)?W:l(A[M+1])?[]:{})}i(B,j,z),B=B[j]}return T}U.exports=_},5732:(U,C,e)=>{var i=e(87244),a=e(71040),l=e(45504),c=a?function(v,_){return a(v,"toString",{configurable:!0,enumerable:!1,value:i(_),writable:!0})}:l;U.exports=c},35904:U=>{function C(e,i,a){var l=-1,c=e.length;i<0&&(i=-i>c?0:c+i),a=a>c?c:a,a<0&&(a+=c),c=i>a?0:a-i>>>0,i>>>=0;for(var v=Array(c);++l<c;)v[l]=e[l+i];return v}U.exports=C},14240:U=>{function C(e,i){for(var a=-1,l=Array(e);++a<e;)l[a]=i(a);return l}U.exports=C},14184:(U,C,e)=>{var i=e(11648),a=e(12480),l=e(75516),c=e(36792),v=1/0,_=i?i.prototype:void 0,T=_?_.toString:void 0;function A(R){if(typeof R=="string")return R;if(l(R))return a(R,A)+"";if(c(R))return T?T.call(R):"";var P=R+"";return P=="0"&&1/R==-v?"-0":P}U.exports=A},91464:(U,C,e)=>{var i=e(83221),a=/^\s+/;function l(c){return c&&c.slice(0,i(c)+1).replace(a,"")}U.exports=l},85968:U=>{function C(e){return function(i){return e(i)}}U.exports=C},89664:(U,C,e)=>{var i=e(83504),a=e(87184),l=e(10320),c=e(49264),v=e(40304),_=e(31056),T=200;function A(R,P,M){var O=-1,N=a,B=R.length,j=!0,z=[],W=z;if(M)j=!1,N=l;else if(B>=T){var X=P?null:v(R);if(X)return _(X);j=!1,N=c,W=new i}else W=P?[]:z;e:for(;++O<B;){var Q=R[O],K=P?P(Q):Q;if(Q=M||Q!==0?Q:0,j&&K===K){for(var Y=W.length;Y--;)if(W[Y]===K)continue e;P&&W.push(K),z.push(Q)}else N(W,K,M)||(W!==z&&W.push(K),z.push(Q))}return z}U.exports=A},34200:(U,C,e)=>{var i=e(70164),a=e(33084),l=e(24916),c=e(6316);function v(_,T){return T=i(T,_),_=l(_,T),_==null||delete _[c(a(T))]}U.exports=v},49264:U=>{function C(e,i){return e.has(i)}U.exports=C},70164:(U,C,e)=>{var i=e(75516),a=e(76676),l=e(6632),c=e(43280);function v(_,T){return i(_)?_:a(_,T)?[_]:l(c(_))}U.exports=v},74324:(U,C,e)=>{var i=e(35904);function a(l,c,v){var _=l.length;return v=v===void 0?_:v,!c&&v>=_?l:i(l,c,v)}U.exports=a},42320:(U,C,e)=>{var i=e(27119);function a(l){var c=new l.constructor(l.byteLength);return new i(c).set(new i(l)),c}U.exports=a},85208:(U,C,e)=>{U=e.nmd(U);var i=e(87964),a=C&&!C.nodeType&&C,l=a&&!0&&U&&!U.nodeType&&U,c=l&&l.exports===a,v=c?i.Buffer:void 0,_=v?v.allocUnsafe:void 0;function T(A,R){if(R)return A.slice();var P=A.length,M=_?_(P):new A.constructor(P);return A.copy(M),M}U.exports=T},57380:(U,C,e)=>{var i=e(42320);function a(l,c){var v=c?i(l.buffer):l.buffer;return new l.constructor(v,l.byteOffset,l.byteLength)}U.exports=a},24192:U=>{var C=/\w*$/;function e(i){var a=new i.constructor(i.source,C.exec(i));return a.lastIndex=i.lastIndex,a}U.exports=e},96952:(U,C,e)=>{var i=e(11648),a=i?i.prototype:void 0,l=a?a.valueOf:void 0;function c(v){return l?Object(l.call(v)):{}}U.exports=c},46164:(U,C,e)=>{var i=e(42320);function a(l,c){var v=c?i(l.buffer):l.buffer;return new l.constructor(v,l.byteOffset,l.length)}U.exports=a},4288:U=>{function C(e,i){var a=-1,l=e.length;for(i||(i=Array(l));++a<l;)i[a]=e[a];return i}U.exports=C},69864:(U,C,e)=>{var i=e(7208),a=e(92188);function l(c,v,_,T){var A=!_;_||(_={});for(var R=-1,P=v.length;++R<P;){var M=v[R],O=T?T(_[M],c[M],M,_,c):void 0;O===void 0&&(O=c[M]),A?a(_,M,O):i(_,M,O)}return _}U.exports=l},61435:(U,C,e)=>{var i=e(69864),a=e(29208);function l(c,v){return i(c,a(c),v)}U.exports=l},94260:(U,C,e)=>{var i=e(69864),a=e(20288);function l(c,v){return i(c,a(c),v)}U.exports=l},23816:(U,C,e)=>{var i=e(87964),a=i["__core-js_shared__"];U.exports=a},83536:(U,C,e)=>{var i=e(41912),a=e(53492);function l(c){return i(function(v,_){var T=-1,A=_.length,R=A>1?_[A-1]:void 0,P=A>2?_[2]:void 0;for(R=c.length>3&&typeof R=="function"?(A--,R):void 0,P&&a(_[0],_[1],P)&&(R=A<3?void 0:R,A=1),v=Object(v);++T<A;){var M=_[T];M&&c(v,M,T,R)}return v})}U.exports=l},25056:U=>{function C(e){return function(i,a,l){for(var c=-1,v=Object(i),_=l(i),T=_.length;T--;){var A=_[e?T:++c];if(a(v[A],A,v)===!1)break}return i}}U.exports=C},20788:(U,C,e)=>{var i=e(74324),a=e(26872),l=e(33796),c=e(43280);function v(_){return function(T){T=c(T);var A=a(T)?l(T):void 0,R=A?A[0]:T.charAt(0),P=A?i(A,1).join(""):T.slice(1);return R[_]()+P}}U.exports=v},91548:(U,C,e)=>{var i=e(55912),a=e(58520),l=e(40617),c="['\u2019]",v=RegExp(c,"g");function _(T){return function(A){return i(l(a(A).replace(v,"")),T,"")}}U.exports=_},40304:(U,C,e)=>{var i=e(25804),a=e(14480),l=e(31056),c=1/0,v=i&&1/l(new i([,-0]))[1]==c?function(_){return new i(_)}:a;U.exports=v},66412:(U,C,e)=>{var i=e(4692),a=e(38955);function l(c,v,_,T,A,R){return a(c)&&a(v)&&(R.set(v,c),i(c,v,void 0,l,R),R.delete(v)),c}U.exports=l},65480:(U,C,e)=>{var i=e(35556);function a(l){return i(l)?void 0:l}U.exports=a},45425:(U,C,e)=>{var i=e(69992),a={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},l=i(a);U.exports=l},71040:(U,C,e)=>{var i=e(9723),a=function(){try{var l=i(Object,"defineProperty");return l({},"",{}),l}catch{}}();U.exports=a},65912:(U,C,e)=>{var i=e(83504),a=e(63368),l=e(49264),c=1,v=2;function _(T,A,R,P,M,O){var N=R&c,B=T.length,j=A.length;if(B!=j&&!(N&&j>B))return!1;var z=O.get(T),W=O.get(A);if(z&&W)return z==A&&W==T;var X=-1,Q=!0,K=R&v?new i:void 0;for(O.set(T,A),O.set(A,T);++X<B;){var Y=T[X],Z=A[X];if(P)var J=N?P(Z,Y,X,A,T,O):P(Y,Z,X,T,A,O);if(J!==void 0){if(J)continue;Q=!1;break}if(K){if(!a(A,function(ee,re){if(!l(K,re)&&(Y===ee||M(Y,ee,R,P,O)))return K.push(re)})){Q=!1;break}}else if(!(Y===Z||M(Y,Z,R,P,O))){Q=!1;break}}return O.delete(T),O.delete(A),Q}U.exports=_},32340:(U,C,e)=>{var i=e(11648),a=e(27119),l=e(72460),c=e(65912),v=e(73052),_=e(31056),T=1,A=2,R="[object Boolean]",P="[object Date]",M="[object Error]",O="[object Map]",N="[object Number]",B="[object RegExp]",j="[object Set]",z="[object String]",W="[object Symbol]",X="[object ArrayBuffer]",Q="[object DataView]",K=i?i.prototype:void 0,Y=K?K.valueOf:void 0;function Z(J,ee,re,me,fe,le,Ve){switch(re){case Q:if(J.byteLength!=ee.byteLength||J.byteOffset!=ee.byteOffset)return!1;J=J.buffer,ee=ee.buffer;case X:return!(J.byteLength!=ee.byteLength||!le(new a(J),new a(ee)));case R:case P:case N:return l(+J,+ee);case M:return J.name==ee.name&&J.message==ee.message;case B:case z:return J==ee+"";case O:var Ze=v;case j:var Ce=me&T;if(Ze||(Ze=_),J.size!=ee.size&&!Ce)return!1;var ye=Ve.get(J);if(ye)return ye==ee;me|=A,Ve.set(J,ee);var Ae=c(Ze(J),Ze(ee),me,fe,le,Ve);return Ve.delete(J),Ae;case W:if(Y)return Y.call(J)==Y.call(ee)}return!1}U.exports=Z},64392:(U,C,e)=>{var i=e(86840),a=1,l=Object.prototype,c=l.hasOwnProperty;function v(_,T,A,R,P,M){var O=A&a,N=i(_),B=N.length,j=i(T),z=j.length;if(B!=z&&!O)return!1;for(var W=B;W--;){var X=N[W];if(!(O?X in T:c.call(T,X)))return!1}var Q=M.get(_),K=M.get(T);if(Q&&K)return Q==T&&K==_;var Y=!0;M.set(_,T),M.set(T,_);for(var Z=O;++W<B;){X=N[W];var J=_[X],ee=T[X];if(R)var re=O?R(ee,J,X,T,_,M):R(J,ee,X,_,T,M);if(!(re===void 0?J===ee||P(J,ee,A,R,M):re)){Y=!1;break}Z||(Z=X=="constructor")}if(Y&&!Z){var me=_.constructor,fe=T.constructor;me!=fe&&"constructor"in _&&"constructor"in T&&!(typeof me=="function"&&me instanceof me&&typeof fe=="function"&&fe instanceof fe)&&(Y=!1)}return M.delete(_),M.delete(T),Y}U.exports=v},79104:(U,C,e)=>{var i=e(68128),a=e(27772),l=e(95908);function c(v){return l(a(v,void 0,i),v+"")}U.exports=c},13400:(U,C,e)=>{var i=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;U.exports=i},86840:(U,C,e)=>{var i=e(70048),a=e(29208),l=e(90259);function c(v){return i(v,l,a)}U.exports=c},62904:(U,C,e)=>{var i=e(70048),a=e(20288),l=e(14956);function c(v){return i(v,l,a)}U.exports=c},80516:(U,C,e)=>{var i=e(63056);function a(l,c){var v=l.__data__;return i(c)?v[typeof c=="string"?"string":"hash"]:v.map}U.exports=a},38800:(U,C,e)=>{var i=e(59736),a=e(90259);function l(c){for(var v=a(c),_=v.length;_--;){var T=v[_],A=c[T];v[_]=[T,A,i(A)]}return v}U.exports=l},9723:(U,C,e)=>{var i=e(80576),a=e(91376);function l(c,v){var _=a(c,v);return i(_)?_:void 0}U.exports=l},52360:(U,C,e)=>{var i=e(46248),a=i(Object.getPrototypeOf,Object);U.exports=a},65876:(U,C,e)=>{var i=e(11648),a=Object.prototype,l=a.hasOwnProperty,c=a.toString,v=i?i.toStringTag:void 0;function _(T){var A=l.call(T,v),R=T[v];try{T[v]=void 0;var P=!0}catch{}var M=c.call(T);return P&&(A?T[v]=R:delete T[v]),M}U.exports=_},29208:(U,C,e)=>{var i=e(45972),a=e(44184),l=Object.prototype,c=l.propertyIsEnumerable,v=Object.getOwnPropertySymbols,_=v?function(T){return T==null?[]:(T=Object(T),i(v(T),function(A){return c.call(T,A)}))}:a;U.exports=_},20288:(U,C,e)=>{var i=e(13428),a=e(52360),l=e(29208),c=e(44184),v=Object.getOwnPropertySymbols,_=v?function(T){for(var A=[];T;)i(A,l(T)),T=a(T);return A}:c;U.exports=_},29564:(U,C,e)=>{var i=e(64168),a=e(34848),l=e(98152),c=e(25804),v=e(17044),_=e(23236),T=e(75408),A="[object Map]",R="[object Object]",P="[object Promise]",M="[object Set]",O="[object WeakMap]",N="[object DataView]",B=T(i),j=T(a),z=T(l),W=T(c),X=T(v),Q=_;(i&&Q(new i(new ArrayBuffer(1)))!=N||a&&Q(new a)!=A||l&&Q(l.resolve())!=P||c&&Q(new c)!=M||v&&Q(new v)!=O)&&(Q=function(K){var Y=_(K),Z=Y==R?K.constructor:void 0,J=Z?T(Z):"";if(J)switch(J){case B:return N;case j:return A;case z:return P;case W:return M;case X:return O}return Y}),U.exports=Q},91376:U=>{function C(e,i){return e?.[i]}U.exports=C},59960:(U,C,e)=>{var i=e(70164),a=e(78595),l=e(75516),c=e(90020),v=e(97528),_=e(6316);function T(A,R,P){R=i(R,A);for(var M=-1,O=R.length,N=!1;++M<O;){var B=_(R[M]);if(!(N=A!=null&&P(A,B)))break;A=A[B]}return N||++M!=O?N:(O=A==null?0:A.length,!!O&&v(O)&&c(B,O)&&(l(A)||a(A)))}U.exports=T},26872:U=>{var C="\\ud800-\\udfff",e="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",a="\\u20d0-\\u20ff",l=e+i+a,c="\\ufe0e\\ufe0f",v="\\u200d",_=RegExp("["+v+C+l+c+"]");function T(A){return _.test(A)}U.exports=T},35e3:U=>{var C=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function e(i){return C.test(i)}U.exports=e},99772:(U,C,e)=>{var i=e(7352);function a(){this.__data__=i?i(null):{},this.size=0}U.exports=a},86448:U=>{function C(e){var i=this.has(e)&&delete this.__data__[e];return this.size-=i?1:0,i}U.exports=C},4584:(U,C,e)=>{var i=e(7352),a="__lodash_hash_undefined__",l=Object.prototype,c=l.hasOwnProperty;function v(_){var T=this.__data__;if(i){var A=T[_];return A===a?void 0:A}return c.call(T,_)?T[_]:void 0}U.exports=v},83544:(U,C,e)=>{var i=e(7352),a=Object.prototype,l=a.hasOwnProperty;function c(v){var _=this.__data__;return i?_[v]!==void 0:l.call(_,v)}U.exports=c},85584:(U,C,e)=>{var i=e(7352),a="__lodash_hash_undefined__";function l(c,v){var _=this.__data__;return this.size+=this.has(c)?0:1,_[c]=i&&v===void 0?a:v,this}U.exports=l},80828:U=>{var C=Object.prototype,e=C.hasOwnProperty;function i(a){var l=a.length,c=new a.constructor(l);return l&&typeof a[0]=="string"&&e.call(a,"index")&&(c.index=a.index,c.input=a.input),c}U.exports=i},1820:(U,C,e)=>{var i=e(42320),a=e(57380),l=e(24192),c=e(96952),v=e(46164),_="[object Boolean]",T="[object Date]",A="[object Map]",R="[object Number]",P="[object RegExp]",M="[object Set]",O="[object String]",N="[object Symbol]",B="[object ArrayBuffer]",j="[object DataView]",z="[object Float32Array]",W="[object Float64Array]",X="[object Int8Array]",Q="[object Int16Array]",K="[object Int32Array]",Y="[object Uint8Array]",Z="[object Uint8ClampedArray]",J="[object Uint16Array]",ee="[object Uint32Array]";function re(me,fe,le){var Ve=me.constructor;switch(fe){case B:return i(me);case _:case T:return new Ve(+me);case j:return a(me,le);case z:case W:case X:case Q:case K:case Y:case Z:case J:case ee:return v(me,le);case A:return new Ve;case R:case O:return new Ve(me);case P:return l(me);case M:return new Ve;case N:return c(me)}}U.exports=re},99616:(U,C,e)=>{var i=e(63196),a=e(52360),l=e(9028);function c(v){return typeof v.constructor=="function"&&!l(v)?i(a(v)):{}}U.exports=c},18332:(U,C,e)=>{var i=e(11648),a=e(78595),l=e(75516),c=i?i.isConcatSpreadable:void 0;function v(_){return l(_)||a(_)||!!(c&&_&&_[c])}U.exports=v},90020:U=>{var C=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function i(a,l){var c=typeof a;return l=l??C,!!l&&(c=="number"||c!="symbol"&&e.test(a))&&a>-1&&a%1==0&&a<l}U.exports=i},53492:(U,C,e)=>{var i=e(72460),a=e(16005),l=e(90020),c=e(38955);function v(_,T,A){if(!c(A))return!1;var R=typeof T;return(R=="number"?a(A)&&l(T,A.length):R=="string"&&T in A)?i(A[T],_):!1}U.exports=v},76676:(U,C,e)=>{var i=e(75516),a=e(36792),l=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;function v(_,T){if(i(_))return!1;var A=typeof _;return A=="number"||A=="symbol"||A=="boolean"||_==null||a(_)?!0:c.test(_)||!l.test(_)||T!=null&&_ in Object(T)}U.exports=v},63056:U=>{function C(e){var i=typeof e;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?e!=="__proto__":e===null}U.exports=C},25960:(U,C,e)=>{var i=e(23816),a=function(){var c=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function l(c){return!!a&&a in c}U.exports=l},9028:U=>{var C=Object.prototype;function e(i){var a=i&&i.constructor,l=typeof a=="function"&&a.prototype||C;return i===l}U.exports=e},59736:(U,C,e)=>{var i=e(38955);function a(l){return l===l&&!i(l)}U.exports=a},84936:U=>{function C(){this.__data__=[],this.size=0}U.exports=C},44164:(U,C,e)=>{var i=e(74952),a=Array.prototype,l=a.splice;function c(v){var _=this.__data__,T=i(_,v);if(T<0)return!1;var A=_.length-1;return T==A?_.pop():l.call(_,T,1),--this.size,!0}U.exports=c},30668:(U,C,e)=>{var i=e(74952);function a(l){var c=this.__data__,v=i(c,l);return v<0?void 0:c[v][1]}U.exports=a},54540:(U,C,e)=>{var i=e(74952);function a(l){return i(this.__data__,l)>-1}U.exports=a},73888:(U,C,e)=>{var i=e(74952);function a(l,c){var v=this.__data__,_=i(v,l);return _<0?(++this.size,v.push([l,c])):v[_][1]=c,this}U.exports=a},16752:(U,C,e)=>{var i=e(96104),a=e(97760),l=e(34848);function c(){this.size=0,this.__data__={hash:new i,map:new(l||a),string:new i}}U.exports=c},53352:(U,C,e)=>{var i=e(80516);function a(l){var c=i(this,l).delete(l);return this.size-=c?1:0,c}U.exports=a},7204:(U,C,e)=>{var i=e(80516);function a(l){return i(this,l).get(l)}U.exports=a},22880:(U,C,e)=>{var i=e(80516);function a(l){return i(this,l).has(l)}U.exports=a},10819:(U,C,e)=>{var i=e(80516);function a(l,c){var v=i(this,l),_=v.size;return v.set(l,c),this.size+=v.size==_?0:1,this}U.exports=a},73052:U=>{function C(e){var i=-1,a=Array(e.size);return e.forEach(function(l,c){a[++i]=[c,l]}),a}U.exports=C},2616:U=>{function C(e,i){return function(a){return a==null?!1:a[e]===i&&(i!==void 0||e in Object(a))}}U.exports=C},14232:(U,C,e)=>{var i=e(15480),a=500;function l(c){var v=i(c,function(T){return _.size===a&&_.clear(),T}),_=v.cache;return v}U.exports=l},7352:(U,C,e)=>{var i=e(9723),a=i(Object,"create");U.exports=a},54576:(U,C,e)=>{var i=e(46248),a=i(Object.keys,Object);U.exports=a},51856:U=>{function C(e){var i=[];if(e!=null)for(var a in Object(e))i.push(a);return i}U.exports=C},53980:(U,C,e)=>{U=e.nmd(U);var i=e(13400),a=C&&!C.nodeType&&C,l=a&&!0&&U&&!U.nodeType&&U,c=l&&l.exports===a,v=c&&i.process,_=function(){try{var T=l&&l.require&&l.require("util").types;return T||v&&v.binding&&v.binding("util")}catch{}}();U.exports=_},69252:U=>{var C=Object.prototype,e=C.toString;function i(a){return e.call(a)}U.exports=i},46248:U=>{function C(e,i){return function(a){return e(i(a))}}U.exports=C},27772:(U,C,e)=>{var i=e(88216),a=Math.max;function l(c,v,_){return v=a(v===void 0?c.length-1:v,0),function(){for(var T=arguments,A=-1,R=a(T.length-v,0),P=Array(R);++A<R;)P[A]=T[v+A];A=-1;for(var M=Array(v+1);++A<v;)M[A]=T[A];return M[v]=_(P),i(c,this,M)}}U.exports=l},24916:(U,C,e)=>{var i=e(64316),a=e(35904);function l(c,v){return v.length<2?c:i(c,a(v,0,-1))}U.exports=l},87964:(U,C,e)=>{var i=e(13400),a=typeof self=="object"&&self&&self.Object===Object&&self,l=i||a||Function("return this")();U.exports=l},49600:U=>{function C(e,i){if(!(i==="constructor"&&typeof e[i]=="function")&&i!="__proto__")return e[i]}U.exports=C},15e3:U=>{var C="__lodash_hash_undefined__";function e(i){return this.__data__.set(i,C),this}U.exports=e},48920:U=>{function C(e){return this.__data__.has(e)}U.exports=C},31056:U=>{function C(e){var i=-1,a=Array(e.size);return e.forEach(function(l){a[++i]=l}),a}U.exports=C},95908:(U,C,e)=>{var i=e(5732),a=e(27824),l=a(i);U.exports=l},27824:U=>{var C=800,e=16,i=Date.now;function a(l){var c=0,v=0;return function(){var _=i(),T=e-(_-v);if(v=_,T>0){if(++c>=C)return arguments[0]}else c=0;return l.apply(void 0,arguments)}}U.exports=a},38272:(U,C,e)=>{var i=e(97760);function a(){this.__data__=new i,this.size=0}U.exports=a},64688:U=>{function C(e){var i=this.__data__,a=i.delete(e);return this.size=i.size,a}U.exports=C},42064:U=>{function C(e){return this.__data__.get(e)}U.exports=C},31368:U=>{function C(e){return this.__data__.has(e)}U.exports=C},16e3:(U,C,e)=>{var i=e(97760),a=e(34848),l=e(21900),c=200;function v(_,T){var A=this.__data__;if(A instanceof i){var R=A.__data__;if(!a||R.length<c-1)return R.push([_,T]),this.size=++A.size,this;A=this.__data__=new l(R)}return A.set(_,T),this.size=A.size,this}U.exports=v},22120:U=>{function C(e,i,a){for(var l=a-1,c=e.length;++l<c;)if(e[l]===i)return l;return-1}U.exports=C},33796:(U,C,e)=>{var i=e(42184),a=e(26872),l=e(42780);function c(v){return a(v)?l(v):i(v)}U.exports=c},6632:(U,C,e)=>{var i=e(14232),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l=/\\(\\)?/g,c=i(function(v){var _=[];return v.charCodeAt(0)===46&&_.push(""),v.replace(a,function(T,A,R,P){_.push(R?P.replace(l,"$1"):A||T)}),_});U.exports=c},6316:(U,C,e)=>{var i=e(36792),a=1/0;function l(c){if(typeof c=="string"||i(c))return c;var v=c+"";return v=="0"&&1/c==-a?"-0":v}U.exports=l},75408:U=>{var C=Function.prototype,e=C.toString;function i(a){if(a!=null){try{return e.call(a)}catch{}try{return a+""}catch{}}return""}U.exports=i},83221:U=>{var C=/\s/;function e(i){for(var a=i.length;a--&&C.test(i.charAt(a)););return a}U.exports=e},42780:U=>{var C="\\ud800-\\udfff",e="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",a="\\u20d0-\\u20ff",l=e+i+a,c="\\ufe0e\\ufe0f",v="["+C+"]",_="["+l+"]",T="\\ud83c[\\udffb-\\udfff]",A="(?:"+_+"|"+T+")",R="[^"+C+"]",P="(?:\\ud83c[\\udde6-\\uddff]){2}",M="[\\ud800-\\udbff][\\udc00-\\udfff]",O="\\u200d",N=A+"?",B="["+c+"]?",j="(?:"+O+"(?:"+[R,P,M].join("|")+")"+B+N+")*",z=B+N+j,W="(?:"+[R+_+"?",_,P,M,v].join("|")+")",X=RegExp(T+"(?="+T+")|"+W+z,"g");function Q(K){return K.match(X)||[]}U.exports=Q},36932:U=>{var C="\\ud800-\\udfff",e="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",a="\\u20d0-\\u20ff",l=e+i+a,c="\\u2700-\\u27bf",v="a-z\\xdf-\\xf6\\xf8-\\xff",_="\\xac\\xb1\\xd7\\xf7",T="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",A="\\u2000-\\u206f",R=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",P="A-Z\\xc0-\\xd6\\xd8-\\xde",M="\\ufe0e\\ufe0f",O=_+T+A+R,N="['\u2019]",B="["+O+"]",j="["+l+"]",z="\\d+",W="["+c+"]",X="["+v+"]",Q="[^"+C+O+z+c+v+P+"]",K="\\ud83c[\\udffb-\\udfff]",Y="(?:"+j+"|"+K+")",Z="[^"+C+"]",J="(?:\\ud83c[\\udde6-\\uddff]){2}",ee="[\\ud800-\\udbff][\\udc00-\\udfff]",re="["+P+"]",me="\\u200d",fe="(?:"+X+"|"+Q+")",le="(?:"+re+"|"+Q+")",Ve="(?:"+N+"(?:d|ll|m|re|s|t|ve))?",Ze="(?:"+N+"(?:D|LL|M|RE|S|T|VE))?",Ce=Y+"?",ye="["+M+"]?",Ae="(?:"+me+"(?:"+[Z,J,ee].join("|")+")"+ye+Ce+")*",Fe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Qe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ce=ye+Ce+Ae,Ge="(?:"+[W,J,ee].join("|")+")"+ce,Pe=RegExp([re+"?"+X+"+"+Ve+"(?="+[B,re,"$"].join("|")+")",le+"+"+Ze+"(?="+[B,re+fe,"$"].join("|")+")",re+"?"+fe+"+"+Ve,re+"+"+Ze,Qe,Fe,z,Ge].join("|"),"g");function pe(Se){return Se.match(Pe)||[]}U.exports=pe},18424:(U,C,e)=>{var i=e(76683),a=e(91548),l=a(function(c,v,_){return v=v.toLowerCase(),c+(_?i(v):v)});U.exports=l},76683:(U,C,e)=>{var i=e(43280),a=e(30840);function l(c){return a(i(c).toLowerCase())}U.exports=l},96556:(U,C,e)=>{var i=e(32808),a=1,l=4;function c(v){return i(v,a|l)}U.exports=c},87244:U=>{function C(e){return function(){return e}}U.exports=C},18488:(U,C,e)=>{var i=e(38955),a=e(13140),l=e(61152),c="Expected a function",v=Math.max,_=Math.min;function T(A,R,P){var M,O,N,B,j,z,W=0,X=!1,Q=!1,K=!0;if(typeof A!="function")throw new TypeError(c);R=l(R)||0,i(P)&&(X=!!P.leading,Q="maxWait"in P,N=Q?v(l(P.maxWait)||0,R):N,K="trailing"in P?!!P.trailing:K);function Y(Ze){var Ce=M,ye=O;return M=O=void 0,W=Ze,B=A.apply(ye,Ce),B}function Z(Ze){return W=Ze,j=setTimeout(re,R),X?Y(Ze):B}function J(Ze){var Ce=Ze-z,ye=Ze-W,Ae=R-Ce;return Q?_(Ae,N-ye):Ae}function ee(Ze){var Ce=Ze-z,ye=Ze-W;return z===void 0||Ce>=R||Ce<0||Q&&ye>=N}function re(){var Ze=a();if(ee(Ze))return me(Ze);j=setTimeout(re,J(Ze))}function me(Ze){return j=void 0,K&&M?Y(Ze):(M=O=void 0,B)}function fe(){j!==void 0&&clearTimeout(j),W=0,M=z=O=j=void 0}function le(){return j===void 0?B:me(a())}function Ve(){var Ze=a(),Ce=ee(Ze);if(M=arguments,O=this,z=Ze,Ce){if(j===void 0)return Z(z);if(Q)return clearTimeout(j),j=setTimeout(re,R),Y(z)}return j===void 0&&(j=setTimeout(re,R)),B}return Ve.cancel=fe,Ve.flush=le,Ve}U.exports=T},58520:(U,C,e)=>{var i=e(45425),a=e(43280),l=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,c="\\u0300-\\u036f",v="\\ufe20-\\ufe2f",_="\\u20d0-\\u20ff",T=c+v+_,A="["+T+"]",R=RegExp(A,"g");function P(M){return M=a(M),M&&M.replace(l,i).replace(R,"")}U.exports=P},99568:(U,C,e)=>{var i=e(88216),a=e(41912),l=e(66412),c=e(76672),v=a(function(_){return _.push(void 0,l),i(c,void 0,_)});U.exports=v},72460:U=>{function C(e,i){return e===i||e!==e&&i!==i}U.exports=C},68128:(U,C,e)=>{var i=e(78456);function a(l){var c=l==null?0:l.length;return c?i(l,1):[]}U.exports=a},77784:(U,C,e)=>{var i=e(77760).runInContext();U.exports=e(2104)(i,i)},2104:(U,C,e)=>{var i=e(39788),a=e(7220),l=Array.prototype.push;function c(M,O){return O==2?function(N,B){return M.apply(void 0,arguments)}:function(N){return M.apply(void 0,arguments)}}function v(M,O){return O==2?function(N,B){return M(N,B)}:function(N){return M(N)}}function _(M){for(var O=M?M.length:0,N=Array(O);O--;)N[O]=M[O];return N}function T(M){return function(O){return M({},O)}}function A(M,O){return function(){for(var N=arguments.length,B=N-1,j=Array(N);N--;)j[N]=arguments[N];var z=j[O],W=j.slice(0,O);return z&&l.apply(W,z),O!=B&&l.apply(W,j.slice(O+1)),M.apply(this,W)}}function R(M,O){return function(){var N=arguments.length;if(N){for(var B=Array(N);N--;)B[N]=arguments[N];var j=B[0]=O.apply(void 0,B);return M.apply(void 0,B),j}}}function P(M,O,N,B){var j=typeof O=="function",z=O===Object(O);if(z&&(B=N,N=O,O=void 0),N==null)throw new TypeError;B||(B={});var W={cap:"cap"in B?B.cap:!0,curry:"curry"in B?B.curry:!0,fixed:"fixed"in B?B.fixed:!0,immutable:"immutable"in B?B.immutable:!0,rearg:"rearg"in B?B.rearg:!0},X=j?N:a,Q="curry"in B&&B.curry,K="fixed"in B&&B.fixed,Y="rearg"in B&&B.rearg,Z=j?N.runInContext():void 0,J=j?N:{ary:M.ary,assign:M.assign,clone:M.clone,curry:M.curry,forEach:M.forEach,isArray:M.isArray,isError:M.isError,isFunction:M.isFunction,isWeakMap:M.isWeakMap,iteratee:M.iteratee,keys:M.keys,rearg:M.rearg,toInteger:M.toInteger,toPath:M.toPath},ee=J.ary,re=J.assign,me=J.clone,fe=J.curry,le=J.forEach,Ve=J.isArray,Ze=J.isError,Ce=J.isFunction,ye=J.isWeakMap,Ae=J.keys,Fe=J.rearg,Qe=J.toInteger,ce=J.toPath,Ge=Ae(i.aryMethod),Pe={castArray:function(Xt){return function(){var jt=arguments[0];return Ve(jt)?Xt(_(jt)):Xt.apply(void 0,arguments)}},iteratee:function(Xt){return function(){var jt=arguments[0],sn=arguments[1],dt=Xt(jt,sn),Ln=dt.length;return W.cap&&typeof sn=="number"?(sn=sn>2?sn-2:1,Ln&&Ln<=sn?dt:v(dt,sn)):dt}},mixin:function(Xt){return function(jt){var sn=this;if(!Ce(sn))return Xt(sn,Object(jt));var dt=[];return le(Ae(jt),function(Ln){Ce(jt[Ln])&&dt.push([Ln,sn.prototype[Ln]])}),Xt(sn,Object(jt)),le(dt,function(Ln){var fn=Ln[1];Ce(fn)?sn.prototype[Ln[0]]=fn:delete sn.prototype[Ln[0]]}),sn}},nthArg:function(Xt){return function(jt){var sn=jt<0?1:Qe(jt)+1;return fe(Xt(jt),sn)}},rearg:function(Xt){return function(jt,sn){var dt=sn?sn.length:0;return fe(Xt(jt,sn),dt)}},runInContext:function(Xt){return function(jt){return P(M,Xt(jt),B)}}};function pe(Xt,jt){if(W.cap){var sn=i.iterateeRearg[Xt];if(sn)return It(jt,sn);var dt=!j&&i.iterateeAry[Xt];if(dt)return yt(jt,dt)}return jt}function Se(Xt,jt,sn){return Q||W.curry&&sn>1?fe(jt,sn):jt}function _e(Xt,jt,sn){if(W.fixed&&(K||!i.skipFixed[Xt])){var dt=i.methodSpread[Xt],Ln=dt&&dt.start;return Ln===void 0?ee(jt,sn):A(jt,Ln)}return jt}function Ne(Xt,jt,sn){return W.rearg&&sn>1&&(Y||!i.skipRearg[Xt])?Fe(jt,i.methodRearg[Xt]||i.aryRearg[sn]):jt}function Le(Xt,jt){jt=ce(jt);for(var sn=-1,dt=jt.length,Ln=dt-1,fn=me(Object(Xt)),cr=fn;cr!=null&&++sn<dt;){var wr=jt[sn],Jn=cr[wr];Jn!=null&&!(Ce(Jn)||Ze(Jn)||ye(Jn))&&(cr[wr]=me(sn==Ln?Jn:Object(Jn))),cr=cr[wr]}return fn}function Ke(Xt){return Vt.runInContext.convert(Xt)(void 0)}function bt(Xt,jt){var sn=i.aliasToReal[Xt]||Xt,dt=i.remap[sn]||sn,Ln=B;return function(fn){var cr=j?Z:J,wr=j?Z[dt]:jt,Jn=re(re({},Ln),fn);return P(cr,sn,wr,Jn)}}function yt(Xt,jt){return _t(Xt,function(sn){return typeof sn=="function"?v(sn,jt):sn})}function It(Xt,jt){return _t(Xt,function(sn){var dt=jt.length;return c(Fe(v(sn,dt),jt),dt)})}function _t(Xt,jt){return function(){var sn=arguments.length;if(!sn)return Xt();for(var dt=Array(sn);sn--;)dt[sn]=arguments[sn];var Ln=W.rearg?0:sn-1;return dt[Ln]=jt(dt[Ln]),Xt.apply(void 0,dt)}}function zt(Xt,jt,sn){var dt,Ln=i.aliasToReal[Xt]||Xt,fn=jt,cr=Pe[Ln];return cr?fn=cr(jt):W.immutable&&(i.mutate.array[Ln]?fn=R(jt,_):i.mutate.object[Ln]?fn=R(jt,T(jt)):i.mutate.set[Ln]&&(fn=R(jt,Le))),le(Ge,function(wr){return le(i.aryMethod[wr],function(Jn){if(Ln==Jn){var nn=i.methodSpread[Ln],or=nn&&nn.afterRearg;return dt=or?_e(Ln,Ne(Ln,fn,wr),wr):Ne(Ln,_e(Ln,fn,wr),wr),dt=pe(Ln,dt),dt=Se(Ln,dt,wr),!1}}),!dt}),dt||(dt=fn),dt==jt&&(dt=Q?fe(dt,1):function(){return jt.apply(this,arguments)}),dt.convert=bt(Ln,jt),dt.placeholder=jt.placeholder=sn,dt}if(!z)return zt(O,N,X);var Vt=N,St=[];return le(Ge,function(Xt){le(i.aryMethod[Xt],function(jt){var sn=Vt[i.remap[jt]||jt];sn&&St.push([jt,zt(jt,sn,Vt)])})}),le(Ae(Vt),function(Xt){var jt=Vt[Xt];if(typeof jt=="function"){for(var sn=St.length;sn--;)if(St[sn][0]==Xt)return;jt.convert=bt(Xt,jt),St.push([Xt,jt])}}),le(St,function(Xt){Vt[Xt[0]]=Xt[1]}),Vt.convert=Ke,Vt.placeholder=Vt,le(Ae(Vt),function(Xt){le(i.realToAlias[Xt]||[],function(jt){Vt[jt]=Vt[Xt]})}),Vt}U.exports=P},39788:(U,C)=>{C.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},C.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},C.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},C.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},C.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},C.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},C.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},C.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},C.realToAlias=function(){var e=Object.prototype.hasOwnProperty,i=C.aliasToReal,a={};for(var l in i){var c=i[l];e.call(a,c)?a[c].push(l):a[c]=[l]}return a}(),C.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},C.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},C.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},7220:U=>{U.exports={}},85676:(U,C,e)=>{var i=e(64316);function a(l,c,v){var _=l==null?void 0:i(l,c);return _===void 0?v:_}U.exports=a},56781:(U,C,e)=>{var i=e(39452),a=e(59960);function l(c,v){return c!=null&&a(c,v,i)}U.exports=l},87161:(U,C,e)=>{var i=e(76948),a=e(59960);function l(c,v){return c!=null&&a(c,v,i)}U.exports=l},45504:U=>{function C(e){return e}U.exports=C},78595:(U,C,e)=>{var i=e(73296),a=e(58720),l=Object.prototype,c=l.hasOwnProperty,v=l.propertyIsEnumerable,_=i(function(){return arguments}())?i:function(T){return a(T)&&c.call(T,"callee")&&!v.call(T,"callee")};U.exports=_},75516:U=>{var C=Array.isArray;U.exports=C},16005:(U,C,e)=>{var i=e(91892),a=e(97528);function l(c){return c!=null&&a(c.length)&&!i(c)}U.exports=l},90427:(U,C,e)=>{var i=e(16005),a=e(58720);function l(c){return a(c)&&i(c)}U.exports=l},29576:(U,C,e)=>{var i=e(23236),a=e(58720),l="[object Boolean]";function c(v){return v===!0||v===!1||a(v)&&i(v)==l}U.exports=c},42668:(U,C,e)=>{U=e.nmd(U);var i=e(87964),a=e(6848),l=C&&!C.nodeType&&C,c=l&&!0&&U&&!U.nodeType&&U,v=c&&c.exports===l,_=v?i.Buffer:void 0,T=_?_.isBuffer:void 0,A=T||a;U.exports=A},79804:(U,C,e)=>{var i=e(16411),a=e(29564),l=e(78595),c=e(75516),v=e(16005),_=e(42668),T=e(9028),A=e(14704),R="[object Map]",P="[object Set]",M=Object.prototype,O=M.hasOwnProperty;function N(B){if(B==null)return!0;if(v(B)&&(c(B)||typeof B=="string"||typeof B.splice=="function"||_(B)||A(B)||l(B)))return!B.length;var j=a(B);if(j==R||j==P)return!B.size;if(T(B))return!i(B).length;for(var z in B)if(O.call(B,z))return!1;return!0}U.exports=N},13192:(U,C,e)=>{var i=e(74192);function a(l,c){return i(l,c)}U.exports=a},91892:(U,C,e)=>{var i=e(23236),a=e(38955),l="[object AsyncFunction]",c="[object Function]",v="[object GeneratorFunction]",_="[object Proxy]";function T(A){if(!a(A))return!1;var R=i(A);return R==c||R==v||R==l||R==_}U.exports=T},97528:U=>{var C=9007199254740991;function e(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=C}U.exports=e},65208:(U,C,e)=>{var i=e(62244),a=e(85968),l=e(53980),c=l&&l.isMap,v=c?a(c):i;U.exports=v},79371:(U,C,e)=>{var i=e(26220);function a(l){return i(l)&&l!=+l}U.exports=a},81136:U=>{function C(e){return e==null}U.exports=C},26220:(U,C,e)=>{var i=e(23236),a=e(58720),l="[object Number]";function c(v){return typeof v=="number"||a(v)&&i(v)==l}U.exports=c},38955:U=>{function C(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}U.exports=C},58720:U=>{function C(e){return e!=null&&typeof e=="object"}U.exports=C},35556:(U,C,e)=>{var i=e(23236),a=e(52360),l=e(58720),c="[object Object]",v=Function.prototype,_=Object.prototype,T=v.toString,A=_.hasOwnProperty,R=T.call(Object);function P(M){if(!l(M)||i(M)!=c)return!1;var O=a(M);if(O===null)return!0;var N=A.call(O,"constructor")&&O.constructor;return typeof N=="function"&&N instanceof N&&T.call(N)==R}U.exports=P},43276:(U,C,e)=>{var i=e(57748),a=e(85968),l=e(53980),c=l&&l.isSet,v=c?a(c):i;U.exports=v},36792:(U,C,e)=>{var i=e(23236),a=e(58720),l="[object Symbol]";function c(v){return typeof v=="symbol"||a(v)&&i(v)==l}U.exports=c},14704:(U,C,e)=>{var i=e(42412),a=e(85968),l=e(53980),c=l&&l.isTypedArray,v=c?a(c):i;U.exports=v},90259:(U,C,e)=>{var i=e(5616),a=e(16411),l=e(16005);function c(v){return l(v)?i(v):a(v)}U.exports=c},14956:(U,C,e)=>{var i=e(5616),a=e(3880),l=e(16005);function c(v){return l(v)?i(v,!0):a(v)}U.exports=c},33084:U=>{function C(e){var i=e==null?0:e.length;return i?e[i-1]:void 0}U.exports=C},77760:function(U,C,e){U=e.nmd(U);var i;/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){function a(gn,tr,st){switch(st.length){case 0:return gn.call(tr);case 1:return gn.call(tr,st[0]);case 2:return gn.call(tr,st[0],st[1]);case 3:return gn.call(tr,st[0],st[1],st[2])}return gn.apply(tr,st)}function l(gn,tr,st,si){for(var Yi=-1,Ri=gn==null?0:gn.length;++Yi<Ri;){var ta=gn[Yi];tr(si,ta,st(ta),gn)}return si}function c(gn,tr){for(var st=-1,si=gn==null?0:gn.length;++st<si&&tr(gn[st],st,gn)!==!1;);return gn}function v(gn,tr){for(var st=gn==null?0:gn.length;st--&&tr(gn[st],st,gn)!==!1;);return gn}function _(gn,tr){for(var st=-1,si=gn==null?0:gn.length;++st<si;)if(!tr(gn[st],st,gn))return!1;return!0}function T(gn,tr){for(var st=-1,si=gn==null?0:gn.length,Yi=0,Ri=[];++st<si;){var ta=gn[st];tr(ta,st,gn)&&(Ri[Yi++]=ta)}return Ri}function A(gn,tr){return!!(gn!=null&&gn.length)&&Q(gn,tr,0)>-1}function R(gn,tr,st){for(var si=-1,Yi=gn==null?0:gn.length;++si<Yi;)if(st(tr,gn[si]))return!0;return!1}function P(gn,tr){for(var st=-1,si=gn==null?0:gn.length,Yi=Array(si);++st<si;)Yi[st]=tr(gn[st],st,gn);return Yi}function M(gn,tr){for(var st=-1,si=tr.length,Yi=gn.length;++st<si;)gn[Yi+st]=tr[st];return gn}function O(gn,tr,st,si){var Yi=-1,Ri=gn==null?0:gn.length;for(si&&Ri&&(st=gn[++Yi]);++Yi<Ri;)st=tr(st,gn[Yi],Yi,gn);return st}function N(gn,tr,st,si){var Yi=gn==null?0:gn.length;for(si&&Yi&&(st=gn[--Yi]);Yi--;)st=tr(st,gn[Yi],Yi,gn);return st}function B(gn,tr){for(var st=-1,si=gn==null?0:gn.length;++st<si;)if(tr(gn[st],st,gn))return!0;return!1}function j(gn){return gn.split("")}function z(gn){return gn.match(Ue)||[]}function W(gn,tr,st){var si;return st(gn,function(Yi,Ri,ta){if(tr(Yi,Ri,ta))return si=Ri,!1}),si}function X(gn,tr,st,si){for(var Yi=gn.length,Ri=st+(si?1:-1);si?Ri--:++Ri<Yi;)if(tr(gn[Ri],Ri,gn))return Ri;return-1}function Q(gn,tr,st){return tr===tr?It(gn,tr,st):X(gn,Y,st)}function K(gn,tr,st,si){for(var Yi=st-1,Ri=gn.length;++Yi<Ri;)if(si(gn[Yi],tr))return Yi;return-1}function Y(gn){return gn!==gn}function Z(gn,tr){var st=gn==null?0:gn.length;return st?fe(gn,tr)/st:Ui}function J(gn){return function(tr){return tr==null?dt:tr[gn]}}function ee(gn){return function(tr){return gn==null?dt:gn[tr]}}function re(gn,tr,st,si,Yi){return Yi(gn,function(Ri,ta,fa){st=si?(si=!1,Ri):tr(st,Ri,ta,fa)}),st}function me(gn,tr){var st=gn.length;for(gn.sort(tr);st--;)gn[st]=gn[st].value;return gn}function fe(gn,tr){for(var st,si=-1,Yi=gn.length;++si<Yi;){var Ri=tr(gn[si]);Ri!==dt&&(st=st===dt?Ri:st+Ri)}return st}function le(gn,tr){for(var st=-1,si=Array(gn);++st<gn;)si[st]=tr(st);return si}function Ve(gn,tr){return P(tr,function(st){return[st,gn[st]]})}function Ze(gn){return gn&&gn.slice(0,St(gn)+1).replace(jr,"")}function Ce(gn){return function(tr){return gn(tr)}}function ye(gn,tr){return P(tr,function(st){return gn[st]})}function Ae(gn,tr){return gn.has(tr)}function Fe(gn,tr){for(var st=-1,si=gn.length;++st<si&&Q(tr,gn[st],0)>-1;);return st}function Qe(gn,tr){for(var st=gn.length;st--&&Q(tr,gn[st],0)>-1;);return st}function ce(gn,tr){for(var st=gn.length,si=0;st--;)gn[st]===tr&&++si;return si}function Ge(gn){return"\\"+ya[gn]}function Pe(gn,tr){return gn==null?dt:gn[tr]}function pe(gn){return bi.test(gn)}function Se(gn){return Cs.test(gn)}function _e(gn){for(var tr,st=[];!(tr=gn.next()).done;)st.push(tr.value);return st}function Ne(gn){var tr=-1,st=Array(gn.size);return gn.forEach(function(si,Yi){st[++tr]=[Yi,si]}),st}function Le(gn,tr){return function(st){return gn(tr(st))}}function Ke(gn,tr){for(var st=-1,si=gn.length,Yi=0,Ri=[];++st<si;){var ta=gn[st];ta!==tr&&ta!==bn||(gn[st]=bn,Ri[Yi++]=st)}return Ri}function bt(gn){var tr=-1,st=Array(gn.size);return gn.forEach(function(si){st[++tr]=si}),st}function yt(gn){var tr=-1,st=Array(gn.size);return gn.forEach(function(si){st[++tr]=[si,si]}),st}function It(gn,tr,st){for(var si=st-1,Yi=gn.length;++si<Yi;)if(gn[si]===tr)return si;return-1}function _t(gn,tr,st){for(var si=st+1;si--;)if(gn[si]===tr)return si;return si}function zt(gn){return pe(gn)?Xt(gn):N0(gn)}function Vt(gn){return pe(gn)?jt(gn):j(gn)}function St(gn){for(var tr=gn.length;tr--&&vr.test(gn.charAt(tr)););return tr}function Xt(gn){for(var tr=Nn.lastIndex=0;Nn.test(gn);)++tr;return tr}function jt(gn){return gn.match(Nn)||[]}function sn(gn){return gn.match(ei)||[]}var dt,Ln="4.17.21",fn=200,cr="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",wr="Expected a function",Jn="Invalid `variable` option passed into `_.template`",nn="__lodash_hash_undefined__",or=500,bn="__lodash_placeholder__",Sn=1,Hn=2,er=4,an=1,Cn=2,de=1,oe=2,Ye=4,Et=8,xe=16,Re=32,We=64,gt=128,Nt=256,Ct=512,tn=30,ge="...",At=800,mn=16,xn=1,Un=2,gr=3,Ur=1/0,Or=9007199254740991,ii=17976931348623157e292,Ui=NaN,rn=4294967295,$n=rn-1,yi=rn>>>1,Jr=[["ary",gt],["bind",de],["bindKey",oe],["curry",Et],["curryRight",xe],["flip",Ct],["partial",Re],["partialRight",We],["rearg",Nt]],cn="[object Arguments]",mt="[object Array]",we="[object AsyncFunction]",je="[object Boolean]",pt="[object Date]",at="[object DOMException]",kt="[object Error]",vn="[object Function]",Wn="[object GeneratorFunction]",nr="[object Map]",rr="[object Number]",Ot="[object Null]",Gt="[object Object]",Pt="[object Promise]",Tt="[object Proxy]",An="[object RegExp]",on="[object Set]",dn="[object String]",$e="[object Symbol]",Yt="[object Undefined]",$t="[object WeakMap]",Jt="[object WeakSet]",Lt="[object ArrayBuffer]",yn="[object DataView]",In="[object Float32Array]",yr="[object Float64Array]",Rr="[object Int8Array]",Xr="[object Int16Array]",ci="[object Int32Array]",Hr="[object Uint8Array]",un="[object Uint8ClampedArray]",ct="[object Uint16Array]",Ut="[object Uint32Array]",wt=/\b__p \+= '';/g,kn=/\b(__p \+=) '' \+/g,wn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Qn=/&(?:amp|lt|gt|quot|#39);/g,ur=/[&<>"']/g,fi=RegExp(Qn.source),ot=RegExp(ur.source),ft=/<%-([\s\S]+?)%>/g,Mt=/<%([\s\S]+?)%>/g,qt=/<%=([\s\S]+?)%>/g,sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lr=/^\w*$/,Cr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xr=/[\\^$.*+?()[\]{}|]/g,qr=RegExp(xr.source),jr=/^\s+/,vr=/\s/,$r=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Wr=/\{\n\/\* \[wrapped with (.+)\] \*/,be=/,? & /,Ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ut=/[()=,{}\[\]\/\s]/,Ht=/\\(\\)?/g,Fn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ln=/\w*$/,jn=/^[-+]0x[0-9a-f]+$/i,Nr=/^0b[01]+$/i,Mi=/^\[object .+?Constructor\]$/,Oi=/^0o[0-7]+$/i,ni=/^(?:0|[1-9]\d*)$/,rs=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qi=/($^)/,la=/['\n\r\u2028\u2029\\]/g,as="\\ud800-\\udfff",bs="\\u0300-\\u036f",Za="\\ufe20-\\ufe2f",za="\\u20d0-\\u20ff",wo=bs+Za+za,ca="\\u2700-\\u27bf",Uo="a-z\\xdf-\\xf6\\xf8-\\xff",ru="\\xac\\xb1\\xd7\\xf7",di="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",wi="\\u2000-\\u206f",dr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",hi="A-Z\\xc0-\\xd6\\xd8-\\xde",Si="\\ufe0e\\ufe0f",Di=ru+di+wi+dr,Xi="['\u2019]",zi="["+as+"]",os="["+Di+"]",js="["+wo+"]",hs="\\d+",Vi="["+ca+"]",ns="["+Uo+"]",fs="[^"+as+Di+hs+ca+Uo+hi+"]",Ks="\\ud83c[\\udffb-\\udfff]",ma="(?:"+js+"|"+Ks+")",da="[^"+as+"]",Da="(?:\\ud83c[\\udde6-\\uddff]){2}",Ys="[\\ud800-\\udbff][\\udc00-\\udfff]",Xa="["+hi+"]",Po="\\u200d",co="(?:"+ns+"|"+fs+")",el="(?:"+Xa+"|"+fs+")",Yo="(?:"+Xi+"(?:d|ll|m|re|s|t|ve))?",Ou="(?:"+Xi+"(?:D|LL|M|RE|S|T|VE))?",Qo=ma+"?",Ha="["+Si+"]?",Jo="(?:"+Po+"(?:"+[da,Da,Ys].join("|")+")"+Ha+Qo+")*",qo="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tl="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Nu=Ha+Qo+Jo,Kl="(?:"+[Vi,Da,Ys].join("|")+")"+Nu,ke="(?:"+[da+js+"?",js,Da,Ys,zi].join("|")+")",Ie=RegExp(Xi,"g"),Wt=RegExp(js,"g"),Nn=RegExp(Ks+"(?="+Ks+")|"+ke+Nu,"g"),ei=RegExp([Xa+"?"+ns+"+"+Yo+"(?="+[os,Xa,"$"].join("|")+")",el+"+"+Ou+"(?="+[os,Xa+co,"$"].join("|")+")",Xa+"?"+co+"+"+Yo,Xa+"+"+Ou,tl,qo,hs,Kl].join("|"),"g"),bi=RegExp("["+Po+as+wo+Si+"]"),Cs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Bs=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xs=-1,_a={};_a[In]=_a[yr]=_a[Rr]=_a[Xr]=_a[ci]=_a[Hr]=_a[un]=_a[ct]=_a[Ut]=!0,_a[cn]=_a[mt]=_a[Lt]=_a[je]=_a[yn]=_a[pt]=_a[kt]=_a[vn]=_a[nr]=_a[rr]=_a[Gt]=_a[An]=_a[on]=_a[dn]=_a[$t]=!1;var ga={};ga[cn]=ga[mt]=ga[Lt]=ga[yn]=ga[je]=ga[pt]=ga[In]=ga[yr]=ga[Rr]=ga[Xr]=ga[ci]=ga[nr]=ga[rr]=ga[Gt]=ga[An]=ga[on]=ga[dn]=ga[$e]=ga[Hr]=ga[un]=ga[ct]=ga[Ut]=!0,ga[kt]=ga[vn]=ga[$t]=!1;var Vs={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Va={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},io={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},ya={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},oo=parseFloat,ka=parseInt,Su=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Ru=typeof self=="object"&&self&&self.Object===Object&&self,Ko=Su||Ru||Function("return this")(),Yl=C&&!C.nodeType&&C,gu=Yl&&!0&&U&&!U.nodeType&&U,Ul=gu&&gu.exports===Yl,Vc=Ul&&Su.process,ll=function(){try{var gn=gu&&gu.require&&gu.require("util").types;return gn||Vc&&Vc.binding&&Vc.binding("util")}catch{}}(),Kc=ll&&ll.isArrayBuffer,wu=ll&&ll.isDate,Yc=ll&&ll.isMap,S0=ll&&ll.isRegExp,bc=ll&&ll.isSet,T0=ll&&ll.isTypedArray,N0=J("length"),P0=ee(Vs),Ql=ee(Va),Qc=ee(io),zn=function gn(tr){function st(I){if(Mu(I)&&!bo(I)&&!(I instanceof Ri)){if(I instanceof Yi)return I;if(Fl.call(I,"__wrapped__"))return Bl(I)}return new Yi(I)}function si(){}function Yi(I,H){this.__wrapped__=I,this.__actions__=[],this.__chain__=!!H,this.__index__=0,this.__values__=dt}function Ri(I){this.__wrapped__=I,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=rn,this.__views__=[]}function ta(){var I=new Ri(this.__wrapped__);return I.__actions__=xt(this.__actions__),I.__dir__=this.__dir__,I.__filtered__=this.__filtered__,I.__iteratees__=xt(this.__iteratees__),I.__takeCount__=this.__takeCount__,I.__views__=xt(this.__views__),I}function fa(){if(this.__filtered__){var I=new Ri(this);I.__dir__=-1,I.__filtered__=!0}else I=this.clone(),I.__dir__*=-1;return I}function Aa(){var I=this.__wrapped__.value(),H=this.__dir__,ue=bo(I),rt=H<0,Kt=ue?I.length:0,Mn=x0(0,Kt,this.__views__),Dr=Mn.start,Gr=Mn.end,gi=Gr-Dr,us=rt?Gr:Dr-1,es=this.__iteratees__,ws=es.length,Sa=0,Qa=o0(gi,this.__takeCount__);if(!ue||!rt&&Kt==gi&&Qa==gi)return Ni(I,this.__actions__);var mo=[];e:for(;gi--&&Sa<Qa;){us+=H;for(var nu=-1,go=I[us];++nu<ws;){var au=es[nu],mu=au.iteratee,W0=au.type,Rd=mu(go);if(W0==Un)go=Rd;else if(!Rd){if(W0==xn)continue e;break e}}mo[Sa++]=go}return mo}function Es(I){var H=-1,ue=I==null?0:I.length;for(this.clear();++H<ue;){var rt=I[H];this.set(rt[0],rt[1])}}function ha(){this.__data__=op?op(null):{},this.size=0}function qa(I){var H=this.has(I)&&delete this.__data__[I];return this.size-=H?1:0,H}function fo(I){var H=this.__data__;if(op){var ue=H[I];return ue===nn?dt:ue}return Fl.call(H,I)?H[I]:dt}function Wa(I){var H=this.__data__;return op?H[I]!==dt:Fl.call(H,I)}function Wo(I,H){var ue=this.__data__;return this.size+=this.has(I)?0:1,ue[I]=op&&H===dt?nn:H,this}function ou(I){var H=-1,ue=I==null?0:I.length;for(this.clear();++H<ue;){var rt=I[H];this.set(rt[0],rt[1])}}function Io(){this.__data__=[],this.size=0}function uu(I){var H=this.__data__,ue=ic(H,I);return!(ue<0)&&(ue==H.length-1?H.pop():pf.call(H,ue,1),--this.size,!0)}function Ta(I){var H=this.__data__,ue=ic(H,I);return ue<0?dt:H[ue][1]}function fu(I){return ic(this.__data__,I)>-1}function Zl(I,H){var ue=this.__data__,rt=ic(ue,I);return rt<0?(++this.size,ue.push([I,H])):ue[rt][1]=H,this}function Pu(I){var H=-1,ue=I==null?0:I.length;for(this.clear();++H<ue;){var rt=I[H];this.set(rt[0],rt[1])}}function Zc(){this.size=0,this.__data__={hash:new Es,map:new(Gd||ou),string:new Es}}function Yu(I){var H=Ju(this,I).delete(I);return this.size-=H?1:0,H}function Cc(I){return Ju(this,I).get(I)}function L0(I){return Ju(this,I).has(I)}function Xc(I,H){var ue=Ju(this,I),rt=ue.size;return ue.set(I,H),this.size+=ue.size==rt?0:1,this}function rc(I){var H=-1,ue=I==null?0:I.length;for(this.__data__=new Pu;++H<ue;)this.add(I[H])}function Sl(I){return this.__data__.set(I,nn),this}function B0(I){return this.__data__.has(I)}function Tl(I){this.size=(this.__data__=new ou(I)).size}function z0(){this.__data__=new ou,this.size=0}function Jc(I){var H=this.__data__,ue=H.delete(I);return this.size=H.size,ue}function Ra(I){return this.__data__.get(I)}function xs(I){return this.__data__.has(I)}function hu(I,H){var ue=this.__data__;if(ue instanceof ou){var rt=ue.__data__;if(!Gd||rt.length<fn-1)return rt.push([I,H]),this.size=++ue.size,this;ue=this.__data__=new Pu(rt)}return ue.set(I,H),this.size=ue.size,this}function cl(I,H){var ue=bo(I),rt=!ue&&Uh(I),Kt=!ue&&!rt&&Qf(I),Mn=!ue&&!rt&&!Kt&&pd(I),Dr=ue||rt||Kt||Mn,Gr=Dr?le(I.length,oh):[],gi=Gr.length;for(var us in I)!H&&!Fl.call(I,us)||Dr&&(us=="length"||Kt&&(us=="offset"||us=="parent")||Mn&&(us=="buffer"||us=="byteLength"||us=="byteOffset")||ac(us,gi))||Gr.push(us);return Gr}function Do(I){var H=I.length;return H?I[Is(0,H-1)]:dt}function D0(I,H){return Dt(xt(I),fc(H,0,I.length))}function jl(I){return Dt(xt(I))}function nl(I,H,ue){(ue===dt||uc(I[H],ue))&&(ue!==dt||H in I)||dc(I,H,ue)}function Ml(I,H,ue){var rt=I[H];Fl.call(I,H)&&uc(rt,ue)&&(ue!==dt||H in I)||dc(I,H,ue)}function ic(I,H){for(var ue=I.length;ue--;)if(uc(I[ue][0],H))return ue;return-1}function Qu(I,H,ue,rt){return wf(I,function(Kt,Mn,Dr){H(rt,Kt,ue(Kt),Dr)}),rt}function l0(I,H){return I&&Zt(H,ec(H),I)}function qc(I,H){return I&&Zt(H,s0(H),I)}function dc(I,H,ue){H=="__proto__"&&ip?ip(I,H,{configurable:!0,enumerable:!0,value:ue,writable:!0}):I[H]=ue}function c0(I,H){for(var ue=-1,rt=H.length,Kt=tc(rt),Mn=I==null;++ue<rt;)Kt[ue]=Mn?dt:Yh(I,H[ue]);return Kt}function fc(I,H,ue){return I===I&&(ue!==dt&&(I=I<=ue?I:ue),H!==dt&&(I=I>=H?I:H)),I}function Zu(I,H,ue,rt,Kt,Mn){var Dr,Gr=H&Sn,gi=H&Hn,us=H&er;if(ue&&(Dr=Kt?ue(I,rt,Kt,Mn):ue(I)),Dr!==dt)return Dr;if(!po(I))return I;var es=bo(I);if(es){if(Dr=Zd(I),!Gr)return xt(I,Dr)}else{var ws=_0(I),Sa=ws==vn||ws==Wn;if(Qf(I))return to(I,Gr);if(ws==Gt||ws==cn||Sa&&!Kt){if(Dr=gi||Sa?{}:Rl(I),!Gr)return gi?Pn(I,qc(Dr,I)):He(I,l0(Dr,I))}else{if(!ga[ws])return Kt?I:{};Dr=F0(I,ws,Gr)}}Mn||(Mn=new Tl);var Qa=Mn.get(I);if(Qa)return Qa;Mn.set(I,Dr),Oc(I)?I.forEach(function(go){Dr.add(Zu(go,H,ue,go,I,Mn))}):d4(I)&&I.forEach(function(go,au){Dr.set(au,Zu(go,H,ue,au,I,Mn))});var mo=us?gi?Hc:mc:gi?s0:ec,nu=es?dt:mo(I);return c(nu||I,function(go,au){nu&&(au=go,go=I[au]),Ml(Dr,au,Zu(go,H,ue,au,I,Mn))}),Dr}function vu(I){var H=ec(I);return function(ue){return Tu(ue,I,H)}}function Tu(I,H,ue){var rt=ue.length;if(I==null)return!rt;for(I=Il(I);rt--;){var Kt=ue[rt],Mn=H[Kt],Dr=I[Kt];if(Dr===dt&&!(Kt in I)||!Mn(Dr))return!1}return!0}function vl(I,H,ue){if(typeof I!="function")throw new $d(wr);return wp(function(){I.apply(dt,ue)},H)}function Zo(I,H,ue,rt){var Kt=-1,Mn=A,Dr=!0,Gr=I.length,gi=[],us=H.length;if(!Gr)return gi;ue&&(H=P(H,Ce(ue))),rt?(Mn=R,Dr=!1):H.length>=fn&&(Mn=Ae,Dr=!1,H=new rc(H));e:for(;++Kt<Gr;){var es=I[Kt],ws=ue==null?es:ue(es);if(es=rt||es!==0?es:0,Dr&&ws===ws){for(var Sa=us;Sa--;)if(H[Sa]===ws)continue e;gi.push(es)}else Mn(H,ws,rt)||gi.push(es)}return gi}function aa(I,H){var ue=!0;return wf(I,function(rt,Kt,Mn){return ue=!!H(rt,Kt,Mn)}),ue}function e0(I,H,ue){for(var rt=-1,Kt=I.length;++rt<Kt;){var Mn=I[rt],Dr=H(Mn);if(Dr!=null&&(Gr===dt?Dr===Dr&&!sd(Dr):ue(Dr,Gr)))var Gr=Dr,gi=Mn}return gi}function Ic(I,H,ue,rt){var Kt=I.length;for(ue=jo(ue),ue<0&&(ue=-ue>Kt?0:Kt+ue),rt=rt===dt||rt>Kt?Kt:jo(rt),rt<0&&(rt+=Kt),rt=ue>rt?0:lf(rt);ue<rt;)I[ue++]=H;return I}function kc(I,H){var ue=[];return wf(I,function(rt,Kt,Mn){H(rt,Kt,Mn)&&ue.push(rt)}),ue}function eu(I,H,ue,rt,Kt){var Mn=-1,Dr=I.length;for(ue||(ue=yf),Kt||(Kt=[]);++Mn<Dr;){var Gr=I[Mn];H>0&&ue(Gr)?H>1?eu(Gr,H-1,ue,rt,Kt):M(Kt,Gr):rt||(Kt[Kt.length]=Gr)}return Kt}function Dl(I,H){return I&&H4(I,H,ec)}function d0(I,H){return I&&Rp(I,H,ec)}function Al(I,H){return T(H,function(ue){return Fa(I[ue])})}function Sc(I,H){H=$s(H,I);for(var ue=0,rt=H.length;I!=null&&ue<rt;)I=I[gc(H[ue++])];return ue&&ue==rt?I:dt}function Uc(I,H,ue){var rt=H(I);return bo(I)?rt:M(rt,ue(I))}function eo(I){return I==null?I===dt?Yt:Ot:Rf&&Rf in Il(I)?ku(I):Pf(I)}function sc(I,H){return I>H}function Eu(I,H){return I!=null&&Fl.call(I,H)}function Lu(I,H){return I!=null&&H in Il(I)}function dl(I,H,ue){return I>=o0(H,ue)&&I<E0(H,ue)}function rl(I,H,ue){for(var rt=ue?R:A,Kt=I[0].length,Mn=I.length,Dr=Mn,Gr=tc(Mn),gi=1/0,us=[];Dr--;){var es=I[Dr];Dr&&H&&(es=P(es,Ce(H))),gi=o0(es.length,gi),Gr[Dr]=!ue&&(H||Kt>=120&&es.length>=120)?new rc(Dr&&es):dt}es=I[0];var ws=-1,Sa=Gr[0];e:for(;++ws<Kt&&us.length<gi;){var Qa=es[ws],mo=H?H(Qa):Qa;if(Qa=ue||Qa!==0?Qa:0,!(Sa?Ae(Sa,mo):rt(us,mo,ue))){for(Dr=Mn;--Dr;){var nu=Gr[Dr];if(!(nu?Ae(nu,mo):rt(I[Dr],mo,ue)))continue e}Sa&&Sa.push(mo),us.push(Qa)}}return us}function Mc(I,H,ue,rt){return Dl(I,function(Kt,Mn,Dr){H(rt,ue(Kt),Mn,Dr)}),rt}function El(I,H,ue){H=$s(H,I),I=bd(I,H);var rt=I==null?I:I[gc(r0(H))];return rt==null?dt:a(rt,I,ue)}function jc(I){return Mu(I)&&eo(I)==cn}function td(I){return Mu(I)&&eo(I)==Lt}function Xl(I){return Mu(I)&&eo(I)==pt}function Nc(I,H,ue,rt,Kt){return I===H||(I==null||H==null||!Mu(I)&&!Mu(H)?I!==I&&H!==H:Ho(I,H,ue,rt,Nc,Kt))}function Ho(I,H,ue,rt,Kt,Mn){var Dr=bo(I),Gr=bo(H),gi=Dr?mt:_0(I),us=Gr?mt:_0(H);gi=gi==cn?Gt:gi,us=us==cn?Gt:us;var es=gi==Gt,ws=us==Gt,Sa=gi==us;if(Sa&&Qf(I)){if(!Qf(H))return!1;Dr=!0,es=!1}if(Sa&&!es)return Mn||(Mn=new Tl),Dr||pd(I)?Ua(I,H,ue,rt,Kt,Mn):fl(I,H,gi,ue,rt,Kt,Mn);if(!(ue&an)){var Qa=es&&Fl.call(I,"__wrapped__"),mo=ws&&Fl.call(H,"__wrapped__");if(Qa||mo){var nu=Qa?I.value():I,go=mo?H.value():H;return Mn||(Mn=new Tl),Kt(nu,go,ue,rt,Mn)}}return!!Sa&&(Mn||(Mn=new Tl),Ol(I,H,ue,rt,Kt,Mn))}function Bu(I){return Mu(I)&&_0(I)==nr}function iu(I,H,ue,rt){var Kt=ue.length,Mn=Kt,Dr=!rt;if(I==null)return!Mn;for(I=Il(I);Kt--;){var Gr=ue[Kt];if(Dr&&Gr[2]?Gr[1]!==I[Gr[0]]:!(Gr[0]in I))return!1}for(;++Kt<Mn;){Gr=ue[Kt];var gi=Gr[0],us=I[gi],es=Gr[1];if(Dr&&Gr[2]){if(us===dt&&!(gi in I))return!1}else{var ws=new Tl;if(rt)var Sa=rt(us,es,gi,I,H,ws);if(!(Sa===dt?Nc(es,us,an|Cn,rt,ws):Sa))return!1}}return!0}function f0(I){return!(!po(I)||_d(I))&&(Fa(I)?wg:Mi).test(O0(I))}function _l(I){return Mu(I)&&eo(I)==An}function Nl(I){return Mu(I)&&_0(I)==on}function $c(I){return Mu(I)&&bu(I.length)&&!!_a[eo(I)]}function hc(I){return typeof I=="function"?I:I==null?Ei:typeof I=="object"?bo(I)?Pl(I[0],I[1]):t0(I):mi(I)}function il(I){if(!Jl(I))return lh(I);var H=[];for(var ue in Il(I))Fl.call(I,ue)&&ue!="constructor"&&H.push(ue);return H}function V0(I){if(!po(I))return yd(I);var H=Jl(I),ue=[];for(var rt in I)(rt!="constructor"||!H&&Fl.call(I,rt))&&ue.push(rt);return ue}function Wc(I,H){return I<H}function A0(I,H){var ue=-1,rt=Hl(I)?tc(I.length):[];return wf(I,function(Kt,Mn,Dr){rt[++ue]=H(Kt,Mn,Dr)}),rt}function t0(I){var H=Vo(I);return H.length==1&&H[0][2]?Tc(H[0][0],H[0][1]):function(ue){return ue===I||iu(ue,I,H)}}function Pl(I,H){return h0(I)&&xi(H)?Tc(gc(I),H):function(ue){var rt=Yh(ue,I);return rt===dt&&rt===H?Jp(ue,I):Nc(H,rt,an|Cn)}}function xl(I,H,ue,rt,Kt){I!==H&&H4(H,function(Mn,Dr){if(Kt||(Kt=new Tl),po(Mn))Pc(I,H,Dr,ue,xl,rt,Kt);else{var Gr=rt?rt(p0(I,Dr),Mn,Dr+"",I,H,Kt):dt;Gr===dt&&(Gr=Mn),nl(I,Dr,Gr)}},s0)}function Pc(I,H,ue,rt,Kt,Mn,Dr){var Gr=p0(I,ue),gi=p0(H,ue),us=Dr.get(gi);if(us)return nl(I,ue,us),dt;var es=Mn?Mn(Gr,gi,ue+"",I,H,Dr):dt,ws=es===dt;if(ws){var Sa=bo(gi),Qa=!Sa&&Qf(gi),mo=!Sa&&!Qa&&pd(gi);es=gi,Sa||Qa||mo?bo(Gr)?es=Gr:Gl(Gr)?es=xt(Gr):Qa?(ws=!1,es=to(gi,!0)):mo?(ws=!1,es=uo(gi,!0)):es=[]:i0(gi)||Uh(gi)?(es=Gr,Uh(Gr)?es=fd(Gr):po(Gr)&&!Fa(Gr)||(es=Rl(gi))):ws=!1}ws&&(Dr.set(gi,es),Kt(es,gi,rt,Mn,Dr),Dr.delete(gi)),nl(I,ue,es)}function Lc(I,H){var ue=I.length;if(ue)return H+=H<0?ue:0,ac(H,ue)?I[H]:dt}function $l(I,H,ue){H=H.length?P(H,function(Kt){return bo(Kt)?function(Mn){return Sc(Mn,Kt.length===1?Kt[0]:Kt)}:Kt}):[Ei];var rt=-1;return H=P(H,Ce(zs())),me(A0(I,function(Kt,Mn,Dr){return{criteria:P(H,function(Gr){return Gr(Kt)}),index:++rt,value:Kt}}),function(Kt,Mn){return lu(Kt,Mn,ue)})}function Ts(I,H){return Xu(I,H,function(ue,rt){return Jp(I,rt)})}function Xu(I,H,ue){for(var rt=-1,Kt=H.length,Mn={};++rt<Kt;){var Dr=H[rt],Gr=Sc(I,Dr);ue(Gr,Dr)&&Wl(Mn,$s(Dr,I),Gr)}return Mn}function Iu(I){return function(H){return Sc(H,I)}}function Go(I,H,ue,rt){var Kt=rt?K:Q,Mn=-1,Dr=H.length,Gr=I;for(I===H&&(H=xt(H)),ue&&(Gr=P(I,Ce(ue)));++Mn<Dr;)for(var gi=0,us=H[Mn],es=ue?ue(us):us;(gi=Kt(Gr,es,gi,rt))>-1;)Gr!==I&&pf.call(Gr,gi,1),pf.call(I,gi,1);return I}function zo(I,H){for(var ue=I?H.length:0,rt=ue-1;ue--;){var Kt=H[ue];if(ue==rt||Kt!==Mn){var Mn=Kt;ac(Kt)?pf.call(I,Kt,1):Bi(I,Kt)}}return I}function Is(I,H){return I+Ph(Hd()*(H-I+1))}function xa(I,H,ue,rt){for(var Kt=-1,Mn=E0(Nh((H-I)/(ue||1)),0),Dr=tc(Mn);Mn--;)Dr[rt?Mn:++Kt]=I,I+=ue;return Dr}function Fu(I,H){var ue="";if(!I||H<1||H>Or)return ue;do H%2&&(ue+=I),H=Ph(H/2),H&&(I+=I);while(H);return ue}function na(I,H){return K4(gs(I,H,Ei),I+"")}function pc(I){return Do(ih(I))}function n0(I,H){var ue=ih(I);return Dt(ue,fc(H,0,ue.length))}function Wl(I,H,ue,rt){if(!po(I))return I;H=$s(H,I);for(var Kt=-1,Mn=H.length,Dr=Mn-1,Gr=I;Gr!=null&&++Kt<Mn;){var gi=gc(H[Kt]),us=ue;if(gi==="__proto__"||gi==="constructor"||gi==="prototype")return I;if(Kt!=Dr){var es=Gr[gi];us=rt?rt(es,gi,Gr):dt,us===dt&&(us=po(es)?es:ac(H[Kt+1])?[]:{})}Ml(Gr,gi,us),Gr=Gr[gi]}return I}function et(I){return Dt(ih(I))}function pn(I,H,ue){var rt=-1,Kt=I.length;H<0&&(H=-H>Kt?0:Kt+H),ue=ue>Kt?Kt:ue,ue<0&&(ue+=Kt),Kt=H>ue?0:ue-H>>>0,H>>>=0;for(var Mn=tc(Kt);++rt<Kt;)Mn[rt]=I[rt+H];return Mn}function Tn(I,H){var ue;return wf(I,function(rt,Kt,Mn){return ue=H(rt,Kt,Mn),!ue}),!!ue}function Kn(I,H,ue){var rt=0,Kt=I==null?rt:I.length;if(typeof H=="number"&&H===H&&Kt<=yi){for(;rt<Kt;){var Mn=rt+Kt>>>1,Dr=I[Mn];Dr!==null&&!sd(Dr)&&(ue?Dr<=H:Dr<H)?rt=Mn+1:Kt=Mn}return Kt}return fr(I,H,Ei,ue)}function fr(I,H,ue,rt){var Kt=0,Mn=I==null?0:I.length;if(Mn===0)return 0;H=ue(H);for(var Dr=H!==H,Gr=H===null,gi=sd(H),us=H===dt;Kt<Mn;){var es=Ph((Kt+Mn)/2),ws=ue(I[es]),Sa=ws!==dt,Qa=ws===null,mo=ws===ws,nu=sd(ws);if(Dr)var go=rt||mo;else go=us?mo&&(rt||Sa):Gr?mo&&Sa&&(rt||!Qa):gi?mo&&Sa&&!Qa&&(rt||!nu):!Qa&&!nu&&(rt?ws<=H:ws<H);go?Kt=es+1:Mn=es}return o0(Mn,$n)}function Sr(I,H){for(var ue=-1,rt=I.length,Kt=0,Mn=[];++ue<rt;){var Dr=I[ue],Gr=H?H(Dr):Dr;if(!ue||!uc(Gr,gi)){var gi=Gr;Mn[Kt++]=Dr===0?0:Dr}}return Mn}function br(I){return typeof I=="number"?I:sd(I)?Ui:+I}function li(I){if(typeof I=="string")return I;if(bo(I))return P(I,li)+"";if(sd(I))return Ji?Ji.call(I):"";var H=I+"";return H=="0"&&1/I==-Ur?"-0":H}function pi(I,H,ue){var rt=-1,Kt=A,Mn=I.length,Dr=!0,Gr=[],gi=Gr;if(ue)Dr=!1,Kt=R;else if(Mn>=fn){var us=H?null:z4(I);if(us)return bt(us);Dr=!1,Kt=Ae,gi=new rc}else gi=H?[]:Gr;e:for(;++rt<Mn;){var es=I[rt],ws=H?H(es):es;if(es=ue||es!==0?es:0,Dr&&ws===ws){for(var Sa=gi.length;Sa--;)if(gi[Sa]===ws)continue e;H&&gi.push(ws),Gr.push(es)}else Kt(gi,ws,ue)||(gi!==Gr&&gi.push(ws),Gr.push(es))}return Gr}function Bi(I,H){return H=$s(H,I),I=bd(I,H),I==null||delete I[gc(r0(H))]}function Fi(I,H,ue,rt){return Wl(I,H,ue(Sc(I,H)),rt)}function Ii(I,H,ue,rt){for(var Kt=I.length,Mn=rt?Kt:-1;(rt?Mn--:++Mn<Kt)&&H(I[Mn],Mn,I););return ue?pn(I,rt?0:Mn,rt?Mn+1:Kt):pn(I,rt?Mn+1:0,rt?Kt:Mn)}function Ni(I,H){var ue=I;return ue instanceof Ri&&(ue=ue.value()),O(H,function(rt,Kt){return Kt.func.apply(Kt.thisArg,M([rt],Kt.args))},ue)}function Ds(I,H,ue){var rt=I.length;if(rt<2)return rt?pi(I[0]):[];for(var Kt=-1,Mn=tc(rt);++Kt<rt;)for(var Dr=I[Kt],Gr=-1;++Gr<rt;)Gr!=Kt&&(Mn[Kt]=Zo(Mn[Kt]||Dr,I[Gr],H,ue));return pi(eu(Mn,1),H,ue)}function ds(I,H,ue){for(var rt=-1,Kt=I.length,Mn=H.length,Dr={};++rt<Kt;)ue(Dr,I[rt],rt<Mn?H[rt]:dt);return Dr}function Gs(I){return Gl(I)?I:[]}function Fs(I){return typeof I=="function"?I:Ei}function $s(I,H){return bo(I)?I:h0(I,H)?[I]:Um(zu(I))}function oa(I,H,ue){var rt=I.length;return ue=ue===dt?rt:ue,!H&&ue>=rt?I:pn(I,H,ue)}function to(I,H){if(H)return I.slice();var ue=I.length,rt=i4?i4(ue):new I.constructor(ue);return I.copy(rt),rt}function ba(I){var H=new I.constructor(I.byteLength);return new np(H).set(new np(I)),H}function pa(I,H){return new I.constructor(H?ba(I.buffer):I.buffer,I.byteOffset,I.byteLength)}function Lo(I){var H=new I.constructor(I.source,ln.exec(I));return H.lastIndex=I.lastIndex,H}function su(I){return Op?Il(Op.call(I)):{}}function uo(I,H){return new I.constructor(H?ba(I.buffer):I.buffer,I.byteOffset,I.length)}function yo(I,H){if(I!==H){var ue=I!==dt,rt=I===null,Kt=I===I,Mn=sd(I),Dr=H!==dt,Gr=H===null,gi=H===H,us=sd(H);if(!Gr&&!us&&!Mn&&I>H||Mn&&Dr&&gi&&!Gr&&!us||rt&&Dr&&gi||!ue&&gi||!Kt)return 1;if(!rt&&!Mn&&!us&&I<H||us&&ue&&Kt&&!rt&&!Mn||Gr&&ue&&Kt||!Dr&&Kt||!gi)return-1}return 0}function lu(I,H,ue){for(var rt=-1,Kt=I.criteria,Mn=H.criteria,Dr=Kt.length,Gr=ue.length;++rt<Dr;){var gi=yo(Kt[rt],Mn[rt]);if(gi)return rt>=Gr?gi:gi*(ue[rt]=="desc"?-1:1)}return I.index-H.index}function Be(I,H,ue,rt){for(var Kt=-1,Mn=I.length,Dr=ue.length,Gr=-1,gi=H.length,us=E0(Mn-Dr,0),es=tc(gi+us),ws=!rt;++Gr<gi;)es[Gr]=H[Gr];for(;++Kt<Dr;)(ws||Kt<Mn)&&(es[ue[Kt]]=I[Kt]);for(;us--;)es[Gr++]=I[Kt++];return es}function vt(I,H,ue,rt){for(var Kt=-1,Mn=I.length,Dr=-1,Gr=ue.length,gi=-1,us=H.length,es=E0(Mn-Gr,0),ws=tc(es+us),Sa=!rt;++Kt<es;)ws[Kt]=I[Kt];for(var Qa=Kt;++gi<us;)ws[Qa+gi]=H[gi];for(;++Dr<Gr;)(Sa||Kt<Mn)&&(ws[Qa+ue[Dr]]=I[Kt++]);return ws}function xt(I,H){var ue=-1,rt=I.length;for(H||(H=tc(rt));++ue<rt;)H[ue]=I[ue];return H}function Zt(I,H,ue,rt){var Kt=!ue;ue||(ue={});for(var Mn=-1,Dr=H.length;++Mn<Dr;){var Gr=H[Mn],gi=rt?rt(ue[Gr],I[Gr],Gr,ue,I):dt;gi===dt&&(gi=I[Gr]),Kt?dc(ue,Gr,gi):Ml(ue,Gr,gi)}return ue}function He(I,H){return Zt(I,Fm(I),H)}function Pn(I,H){return Zt(I,V4(I),H)}function Xn(I,H){return function(ue,rt){var Kt=bo(ue)?l:Qu,Mn=H?H():{};return Kt(ue,I,zs(rt,2),Mn)}}function Qt(I){return na(function(H,ue){var rt=-1,Kt=ue.length,Mn=Kt>1?ue[Kt-1]:dt,Dr=Kt>2?ue[2]:dt;for(Mn=I.length>3&&typeof Mn=="function"?(Kt--,Mn):dt,Dr&&Du(ue[0],ue[1],Dr)&&(Mn=Kt<3?dt:Mn,Kt=1),H=Il(H);++rt<Kt;){var Gr=ue[rt];Gr&&I(H,Gr,rt,Mn)}return H})}function Bn(I,H){return function(ue,rt){if(ue==null)return ue;if(!Hl(ue))return I(ue,rt);for(var Kt=ue.length,Mn=H?Kt:-1,Dr=Il(ue);(H?Mn--:++Mn<Kt)&&rt(Dr[Mn],Mn,Dr)!==!1;);return ue}}function ir(I){return function(H,ue,rt){for(var Kt=-1,Mn=Il(H),Dr=rt(H),Gr=Dr.length;Gr--;){var gi=Dr[I?Gr:++Kt];if(ue(Mn[gi],gi,Mn)===!1)break}return H}}function Pr(I,H,ue){function rt(){return(this&&this!==Ko&&this instanceof rt?Mn:I).apply(Kt?ue:this,arguments)}var Kt=H&de,Mn=ji(I);return rt}function Er(I){return function(H){H=zu(H);var ue=pe(H)?Vt(H):dt,rt=ue?ue[0]:H.charAt(0),Kt=ue?oa(ue,1).join(""):H.slice(1);return rt[I]()+Kt}}function Ti(I){return function(H){return O(Oe(sh(H).replace(Ie,"")),I,"")}}function ji(I){return function(){var H=arguments;switch(H.length){case 0:return new I;case 1:return new I(H[0]);case 2:return new I(H[0],H[1]);case 3:return new I(H[0],H[1],H[2]);case 4:return new I(H[0],H[1],H[2],H[3]);case 5:return new I(H[0],H[1],H[2],H[3],H[4]);case 6:return new I(H[0],H[1],H[2],H[3],H[4],H[5]);case 7:return new I(H[0],H[1],H[2],H[3],H[4],H[5],H[6])}var ue=Fh(I.prototype),rt=I.apply(ue,H);return po(rt)?rt:ue}}function Wi(I,H,ue){function rt(){for(var Mn=arguments.length,Dr=tc(Mn),Gr=Mn,gi=_u(rt);Gr--;)Dr[Gr]=arguments[Gr];var us=Mn<3&&Dr[0]!==gi&&Dr[Mn-1]!==gi?[]:Ke(Dr,gi);return Mn-=us.length,Mn<ue?Bo(I,H,Qs,rt.placeholder,dt,Dr,us,dt,dt,ue-Mn):a(this&&this!==Ko&&this instanceof rt?Kt:I,this,Dr)}var Kt=ji(I);return rt}function ls(I){return function(H,ue,rt){var Kt=Il(H);if(!Hl(H)){var Mn=zs(ue,3);H=ec(H),ue=function(Gr){return Mn(Kt[Gr],Gr,Kt)}}var Dr=I(H,ue,rt);return Dr>-1?Kt[Mn?H[Dr]:Dr]:dt}}function Zi(I){return Ba(function(H){var ue=H.length,rt=ue,Kt=Yi.prototype.thru;for(I&&H.reverse();rt--;){var Mn=H[rt];if(typeof Mn!="function")throw new $d(wr);if(Kt&&!Dr&&sl(Mn)=="wrapper")var Dr=new Yi([],!0)}for(rt=Dr?rt:ue;++rt<ue;){Mn=H[rt];var Gr=sl(Mn),gi=Gr=="wrapper"?up(Mn):dt;Dr=gi&&Au(gi[0])&&gi[1]==(gt|Et|Re|Nt)&&!gi[4].length&&gi[9]==1?Dr[sl(gi[0])].apply(Dr,gi[3]):Mn.length==1&&Au(Mn)?Dr[Gr]():Dr.thru(Mn)}return function(){var us=arguments,es=us[0];if(Dr&&us.length==1&&bo(es))return Dr.plant(es).value();for(var ws=0,Sa=ue?H[ws].apply(this,us):es;++ws<ue;)Sa=H[ws].call(this,Sa);return Sa}})}function Qs(I,H,ue,rt,Kt,Mn,Dr,Gr,gi,us){function es(){for(var au=arguments.length,mu=tc(au),W0=au;W0--;)mu[W0]=arguments[W0];if(mo)var Rd=_u(es),hh=ce(mu,Rd);if(rt&&(mu=Be(mu,rt,Kt,mo)),Mn&&(mu=vt(mu,Mn,Dr,mo)),au-=hh,mo&&au<us)return Bo(I,H,Qs,es.placeholder,ue,mu,Ke(mu,Rd),Gr,gi,us-au);var Rc=Sa?ue:this,nf=Qa?Rc[I]:I;return au=mu.length,Gr?mu=qu(mu,Gr):nu&&au>1&&mu.reverse(),ws&&gi<au&&(mu.length=gi),this&&this!==Ko&&this instanceof es&&(nf=go||ji(nf)),nf.apply(Rc,mu)}var ws=H&gt,Sa=H&de,Qa=H&oe,mo=H&(Et|xe),nu=H&Ct,go=Qa?dt:ji(I);return es}function Js(I,H){return function(ue,rt){return Mc(ue,I,H(rt),{})}}function ks(I,H){return function(ue,rt){var Kt;if(ue===dt&&rt===dt)return H;if(ue!==dt&&(Kt=ue),rt!==dt){if(Kt===dt)return rt;typeof ue=="string"||typeof rt=="string"?(ue=li(ue),rt=li(rt)):(ue=br(ue),rt=br(rt)),Kt=I(ue,rt)}return Kt}}function Hs(I){return Ba(function(H){return H=P(H,Ce(zs())),na(function(ue){var rt=this;return I(H,function(Kt){return a(Kt,rt,ue)})})})}function Ka(I,H){H=H===dt?" ":li(H);var ue=H.length;if(ue<2)return ue?Fu(H,I):H;var rt=Fu(H,Nh(I/zt(H)));return pe(H)?oa(Vt(rt),0,I).join(""):rt.slice(0,I)}function Ma(I,H,ue,rt){function Kt(){for(var Gr=-1,gi=arguments.length,us=-1,es=rt.length,ws=tc(es+gi),Sa=this&&this!==Ko&&this instanceof Kt?Dr:I;++us<es;)ws[us]=rt[us];for(;gi--;)ws[us++]=arguments[++Gr];return a(Sa,Mn?ue:this,ws)}var Mn=H&de,Dr=ji(I);return Kt}function no(I){return function(H,ue,rt){return rt&&typeof rt!="number"&&Du(H,ue,rt)&&(ue=rt=dt),H=j0(H),ue===dt?(ue=H,H=0):ue=j0(ue),rt=rt===dt?H<ue?1:-1:j0(rt),xa(H,ue,rt,I)}}function ho(I){return function(H,ue){return typeof H=="string"&&typeof ue=="string"||(H=I0(H),ue=I0(ue)),I(H,ue)}}function Bo(I,H,ue,rt,Kt,Mn,Dr,Gr,gi,us){var es=H&Et,ws=es?Dr:dt,Sa=es?dt:Dr,Qa=es?Mn:dt,mo=es?dt:Mn;H|=es?Re:We,H&=~(es?We:Re),H&Ye||(H&=~(de|oe));var nu=[I,H,Kt,Qa,ws,mo,Sa,Gr,gi,us],go=ue.apply(dt,nu);return Au(I)&&km(go,nu),go.placeholder=rt,bf(go,I,H)}function Hu(I){var H=Of[I];return function(ue,rt){if(ue=I0(ue),rt=rt==null?0:o0(jo(rt),292),rt&&hd(ue)){var Kt=(zu(ue)+"e").split("e");return Kt=(zu(H(Kt[0]+"e"+(+Kt[1]+rt)))+"e").split("e"),+(Kt[0]+"e"+(+Kt[1]-rt))}return H(ue)}}function Fo(I){return function(H){var ue=_0(H);return ue==nr?Ne(H):ue==on?yt(H):Ve(H,I(H))}}function Ya(I,H,ue,rt,Kt,Mn,Dr,Gr){var gi=H&oe;if(!gi&&typeof I!="function")throw new $d(wr);var us=rt?rt.length:0;if(us||(H&=~(Re|We),rt=Kt=dt),Dr=Dr===dt?Dr:E0(jo(Dr),0),Gr=Gr===dt?Gr:jo(Gr),us-=Kt?Kt.length:0,H&We){var es=rt,ws=Kt;rt=Kt=dt}var Sa=gi?dt:up(I),Qa=[I,H,ue,rt,Kt,es,ws,Mn,Dr,Gr];if(Sa&&Nf(Qa,Sa),I=Qa[0],H=Qa[1],ue=Qa[2],rt=Qa[3],Kt=Qa[4],Gr=Qa[9]=Qa[9]===dt?gi?0:I.length:E0(Qa[9]-us,0),!Gr&&H&(Et|xe)&&(H&=~(Et|xe)),H&&H!=de)mo=H==Et||H==xe?Wi(I,H,Gr):H!=Re&&H!=(de|Re)||Kt.length?Qs.apply(dt,Qa):Ma(I,H,ue,rt);else var mo=Pr(I,H,ue);return bf((Sa?G4:km)(mo,Qa),I,H)}function Na(I,H,ue,rt){return I===dt||uc(I,M0[ue])&&!Fl.call(rt,ue)?H:I}function ti(I,H,ue,rt,Kt,Mn){return po(I)&&po(H)&&(Mn.set(H,I),xl(I,H,dt,ti,Mn),Mn.delete(H)),I}function ra(I){return i0(I)?dt:I}function Ua(I,H,ue,rt,Kt,Mn){var Dr=ue&an,Gr=I.length,gi=H.length;if(Gr!=gi&&!(Dr&&gi>Gr))return!1;var us=Mn.get(I),es=Mn.get(H);if(us&&es)return us==H&&es==I;var ws=-1,Sa=!0,Qa=ue&Cn?new rc:dt;for(Mn.set(I,H),Mn.set(H,I);++ws<Gr;){var mo=I[ws],nu=H[ws];if(rt)var go=Dr?rt(nu,mo,ws,H,I,Mn):rt(mo,nu,ws,I,H,Mn);if(go!==dt){if(go)continue;Sa=!1;break}if(Qa){if(!B(H,function(au,mu){if(!Ae(Qa,mu)&&(mo===au||Kt(mo,au,ue,rt,Mn)))return Qa.push(mu)})){Sa=!1;break}}else if(mo!==nu&&!Kt(mo,nu,ue,rt,Mn)){Sa=!1;break}}return Mn.delete(I),Mn.delete(H),Sa}function fl(I,H,ue,rt,Kt,Mn,Dr){switch(ue){case yn:if(I.byteLength!=H.byteLength||I.byteOffset!=H.byteOffset)return!1;I=I.buffer,H=H.buffer;case Lt:return!(I.byteLength!=H.byteLength||!Mn(new np(I),new np(H)));case je:case pt:case rr:return uc(+I,+H);case kt:return I.name==H.name&&I.message==H.message;case An:case dn:return I==H+"";case nr:var Gr=Ne;case on:var gi=rt&an;if(Gr||(Gr=bt),I.size!=H.size&&!gi)return!1;var us=Dr.get(I);if(us)return us==H;rt|=Cn,Dr.set(I,H);var es=Ua(Gr(I),Gr(H),rt,Kt,Mn,Dr);return Dr.delete(I),es;case $e:if(Op)return Op.call(I)==Op.call(H)}return!1}function Ol(I,H,ue,rt,Kt,Mn){var Dr=ue&an,Gr=mc(I),gi=Gr.length;if(gi!=mc(H).length&&!Dr)return!1;for(var us=gi;us--;){var es=Gr[us];if(!(Dr?es in H:Fl.call(H,es)))return!1}var ws=Mn.get(I),Sa=Mn.get(H);if(ws&&Sa)return ws==H&&Sa==I;var Qa=!0;Mn.set(I,H),Mn.set(H,I);for(var mo=Dr;++us<gi;){es=Gr[us];var nu=I[es],go=H[es];if(rt)var au=Dr?rt(go,nu,es,H,I,Mn):rt(nu,go,es,I,H,Mn);if(!(au===dt?nu===go||Kt(nu,go,ue,rt,Mn):au)){Qa=!1;break}mo||(mo=es=="constructor")}if(Qa&&!mo){var mu=I.constructor,W0=H.constructor;mu!=W0&&"constructor"in I&&"constructor"in H&&!(typeof mu=="function"&&mu instanceof mu&&typeof W0=="function"&&W0 instanceof W0)&&(Qa=!1)}return Mn.delete(I),Mn.delete(H),Qa}function Ba(I){return K4(gs(I,dt,ud),I+"")}function mc(I){return Uc(I,ec,Fm)}function Hc(I){return Uc(I,s0,V4)}function sl(I){for(var H=I.name+"",ue=Yf[H],rt=Fl.call(Yf,H)?ue.length:0;rt--;){var Kt=ue[rt],Mn=Kt.func;if(Mn==null||Mn==I)return Kt.name}return H}function _u(I){return(Fl.call(st,"placeholder")?st:I).placeholder}function zs(){var I=st.iteratee||ms;return I=I===ms?hc:I,arguments.length?I(arguments[0],arguments[1]):I}function Ju(I,H){var ue=I.__data__;return Ll(H)?ue[typeof H=="string"?"string":"hash"]:ue.map}function Vo(I){for(var H=ec(I),ue=H.length;ue--;){var rt=H[ue],Kt=I[rt];H[ue]=[rt,Kt,xi(Kt)]}return H}function Ao(I,H){var ue=Pe(I,H);return f0(ue)?ue:dt}function ku(I){var H=Fl.call(I,Rf),ue=I[Rf];try{I[Rf]=dt;var rt=!0}catch{}var Kt=Sp.call(I);return rt&&(H?I[Rf]=ue:delete I[Rf]),Kt}function x0(I,H,ue){for(var rt=-1,Kt=ue.length;++rt<Kt;){var Mn=ue[rt],Dr=Mn.size;switch(Mn.type){case"drop":I+=Dr;break;case"dropRight":H-=Dr;break;case"take":H=o0(H,I+Dr);break;case"takeRight":I=E0(I,H-Dr)}}return{start:I,end:H}}function Ar(I){var H=I.match(Wr);return H?H[1].split(be):[]}function yu(I,H,ue){H=$s(H,I);for(var rt=-1,Kt=H.length,Mn=!1;++rt<Kt;){var Dr=gc(H[rt]);if(!(Mn=I!=null&&ue(I,Dr)))break;I=I[Dr]}return Mn||++rt!=Kt?Mn:(Kt=I==null?0:I.length,!!Kt&&bu(Kt)&&ac(Dr,Kt)&&(bo(I)||Uh(I)))}function Zd(I){var H=I.length,ue=new I.constructor(H);return H&&typeof I[0]=="string"&&Fl.call(I,"index")&&(ue.index=I.index,ue.input=I.input),ue}function Rl(I){return typeof I.constructor!="function"||Jl(I)?{}:Fh(zf(I))}function F0(I,H,ue){var rt=I.constructor;switch(H){case Lt:return ba(I);case je:case pt:return new rt(+I);case yn:return pa(I,ue);case In:case yr:case Rr:case Xr:case ci:case Hr:case un:case ct:case Ut:return uo(I,ue);case nr:return new rt;case rr:case dn:return new rt(I);case An:return Lo(I);case on:return new rt;case $e:return su(I)}}function Md(I,H){var ue=H.length;if(!ue)return I;var rt=ue-1;return H[rt]=(ue>1?"& ":"")+H[rt],H=H.join(ue>2?", ":" "),I.replace($r,`{
/* [wrapped with `+H+`] */
`)}function yf(I){return bo(I)||Uh(I)||!!(Vf&&I&&I[Vf])}function ac(I,H){var ue=typeof I;return H=H??Or,!!H&&(ue=="number"||ue!="symbol"&&ni.test(I))&&I>-1&&I%1==0&&I<H}function Du(I,H,ue){if(!po(ue))return!1;var rt=typeof H;return!!(rt=="number"?Hl(ue)&&ac(H,ue.length):rt=="string"&&H in ue)&&uc(ue[H],I)}function h0(I,H){if(bo(I))return!1;var ue=typeof I;return!(ue!="number"&&ue!="symbol"&&ue!="boolean"&&I!=null&&!sd(I))||lr.test(I)||!sr.test(I)||H!=null&&I in Il(H)}function Ll(I){var H=typeof I;return H=="string"||H=="number"||H=="symbol"||H=="boolean"?I!=="__proto__":I===null}function Au(I){var H=sl(I),ue=st[H];if(typeof ue!="function"||!(H in Ri.prototype))return!1;if(I===ue)return!0;var rt=up(ue);return!!rt&&I===rt[0]}function _d(I){return!!r4&&r4 in I}function Jl(I){var H=I&&I.constructor;return I===(typeof H=="function"&&H.prototype||M0)}function xi(I){return I===I&&!po(I)}function Tc(I,H){return function(ue){return ue!=null&&ue[I]===H&&(H!==dt||I in Il(ue))}}function Us(I){var H=al(I,function(rt){return ue.size===or&&ue.clear(),rt}),ue=H.cache;return H}function Nf(I,H){var ue=I[1],rt=H[1],Kt=ue|rt,Mn=Kt<(de|oe|gt),Dr=rt==gt&&ue==Et||rt==gt&&ue==Nt&&I[7].length<=H[8]||rt==(gt|Nt)&&H[7].length<=H[8]&&ue==Et;if(!Mn&&!Dr)return I;rt&de&&(I[2]=H[2],Kt|=ue&de?0:Ye);var Gr=H[3];if(Gr){var gi=I[3];I[3]=gi?Be(gi,Gr,H[4]):Gr,I[4]=gi?Ke(I[3],bn):H[4]}return Gr=H[5],Gr&&(gi=I[5],I[5]=gi?vt(gi,Gr,H[6]):Gr,I[6]=gi?Ke(I[5],bn):H[6]),Gr=H[7],Gr&&(I[7]=Gr),rt&gt&&(I[8]=I[8]==null?H[8]:o0(I[8],H[8])),I[9]==null&&(I[9]=H[9]),I[0]=H[0],I[1]=Kt,I}function yd(I){var H=[];if(I!=null)for(var ue in Il(I))H.push(ue);return H}function Pf(I){return Sp.call(I)}function gs(I,H,ue){return H=E0(H===dt?I.length-1:H,0),function(){for(var rt=arguments,Kt=-1,Mn=E0(rt.length-H,0),Dr=tc(Mn);++Kt<Mn;)Dr[Kt]=rt[H+Kt];Kt=-1;for(var Gr=tc(H+1);++Kt<H;)Gr[Kt]=rt[Kt];return Gr[H]=ue(Dr),a(I,this,Gr)}}function bd(I,H){return H.length<2?I:Sc(I,pn(H,0,-1))}function qu(I,H){for(var ue=I.length,rt=o0(H.length,ue),Kt=xt(I);rt--;){var Mn=H[rt];I[rt]=ac(Mn,ue)?Kt[Mn]:dt}return I}function p0(I,H){if((H!=="constructor"||typeof I[H]!="function")&&H!="__proto__")return I[H]}function bf(I,H,ue){var rt=H+"";return K4(I,Md(rt,sf(Ar(rt),ue)))}function cu(I){var H=0,ue=0;return function(){var rt=s4(),Kt=mn-(rt-ue);if(ue=rt,Kt>0){if(++H>=At)return arguments[0]}else H=0;return I.apply(dt,arguments)}}function Dt(I,H){var ue=-1,rt=I.length,Kt=rt-1;for(H=H===dt?rt:H;++ue<H;){var Mn=Is(ue,Kt),Dr=I[Mn];I[Mn]=I[ue],I[ue]=Dr}return I.length=H,I}function gc(I){if(typeof I=="string"||sd(I))return I;var H=I+"";return H=="0"&&1/I==-Ur?"-0":H}function O0(I){if(I!=null){try{return Oh.call(I)}catch{}try{return I+""}catch{}}return""}function sf(I,H){return c(Jr,function(ue){var rt="_."+ue[0];H&ue[1]&&!A(I,rt)&&I.push(rt)}),I.sort()}function Bl(I){if(I instanceof Ri)return I.clone();var H=new Yi(I.__wrapped__,I.__chain__);return H.__actions__=xt(I.__actions__),H.__index__=I.__index__,H.__values__=I.__values__,H}function ro(I,H,ue){H=(ue?Du(I,H,ue):H===dt)?1:E0(jo(H),0);var rt=I==null?0:I.length;if(!rt||H<1)return[];for(var Kt=0,Mn=0,Dr=tc(Nh(rt/H));Kt<rt;)Dr[Mn++]=pn(I,Kt,Kt+=H);return Dr}function Nd(I){for(var H=-1,ue=I==null?0:I.length,rt=0,Kt=[];++H<ue;){var Mn=I[H];Mn&&(Kt[rt++]=Mn)}return Kt}function hl(){var I=arguments.length;if(!I)return[];for(var H=tc(I-1),ue=arguments[0],rt=I;rt--;)H[rt-1]=arguments[rt];return M(bo(ue)?xt(ue):[ue],eu(H,1))}function zh(I,H,ue){var rt=I==null?0:I.length;return rt?(H=ue||H===dt?1:jo(H),pn(I,H<0?0:H,rt)):[]}function Cd(I,H,ue){var rt=I==null?0:I.length;return rt?(H=ue||H===dt?1:jo(H),H=rt-H,pn(I,0,H<0?0:H)):[]}function Pd(I,H){return I&&I.length?Ii(I,zs(H,3),!0,!0):[]}function nd(I,H){return I&&I.length?Ii(I,zs(H,3),!0):[]}function Ca(I,H,ue,rt){var Kt=I==null?0:I.length;return Kt?(ue&&typeof ue!="number"&&Du(I,H,ue)&&(ue=0,rt=Kt),Ic(I,H,ue,rt)):[]}function Gu(I,H,ue){var rt=I==null?0:I.length;if(!rt)return-1;var Kt=ue==null?0:jo(ue);return Kt<0&&(Kt=E0(rt+Kt,0)),X(I,zs(H,3),Kt)}function vc(I,H,ue){var rt=I==null?0:I.length;if(!rt)return-1;var Kt=rt-1;return ue!==dt&&(Kt=jo(ue),Kt=ue<0?E0(rt+Kt,0):o0(Kt,rt-1)),X(I,zs(H,3),Kt,!0)}function ud(I){return I!=null&&I.length?eu(I,1):[]}function Xd(I){return I!=null&&I.length?eu(I,Ur):[]}function Lf(I,H){return I!=null&&I.length?(H=H===dt?1:jo(H),eu(I,H)):[]}function Ld(I){for(var H=-1,ue=I==null?0:I.length,rt={};++H<ue;){var Kt=I[H];rt[Kt[0]]=Kt[1]}return rt}function K0(I){return I&&I.length?I[0]:dt}function af(I,H,ue){var rt=I==null?0:I.length;if(!rt)return-1;var Kt=ue==null?0:jo(ue);return Kt<0&&(Kt=E0(rt+Kt,0)),Q(I,H,Kt)}function Y0(I){return I!=null&&I.length?pn(I,0,-1):[]}function rd(I,H){return I==null?"":Lh.call(I,H)}function r0(I){var H=I==null?0:I.length;return H?I[H-1]:dt}function Bd(I,H,ue){var rt=I==null?0:I.length;if(!rt)return-1;var Kt=rt;return ue!==dt&&(Kt=jo(ue),Kt=Kt<0?E0(rt+Kt,0):o0(Kt,rt-1)),H===H?_t(I,H,Kt):X(I,Y,Kt,!0)}function Co(I,H){return I&&I.length?Lc(I,jo(H)):dt}function Jf(I,H){return I&&I.length&&H&&H.length?Go(I,H):I}function qf(I,H,ue){return I&&I.length&&H&&H.length?Go(I,H,zs(ue,2)):I}function yl(I,H,ue){return I&&I.length&&H&&H.length?Go(I,H,dt,ue):I}function Gc(I,H){var ue=[];if(!I||!I.length)return ue;var rt=-1,Kt=[],Mn=I.length;for(H=zs(H,3);++rt<Mn;){var Dr=I[rt];H(Dr,rt,I)&&(ue.push(Dr),Kt.push(rt))}return zo(I,Kt),ue}function ql(I){return I==null?I:Ig.call(I)}function Jd(I,H,ue){var rt=I==null?0:I.length;return rt?(ue&&typeof ue!="number"&&Du(I,H,ue)?(H=0,ue=rt):(H=H==null?0:jo(H),ue=ue===dt?rt:jo(ue)),pn(I,H,ue)):[]}function R0(I,H){return Kn(I,H)}function of(I,H,ue){return fr(I,H,zs(ue,2))}function Rs(I,H){var ue=I==null?0:I.length;if(ue){var rt=Kn(I,H);if(rt<ue&&uc(I[rt],H))return rt}return-1}function Bf(I,H){return Kn(I,H,!0)}function id(I,H,ue){return fr(I,H,zs(ue,2),!0)}function Fd(I,H){if(I!=null&&I.length){var ue=Kn(I,H,!0)-1;if(uc(I[ue],H))return ue}return-1}function uf(I){return I&&I.length?Sr(I):[]}function Ff(I,H){return I&&I.length?Sr(I,zs(H,2)):[]}function kf(I){var H=I==null?0:I.length;return H?pn(I,1,H):[]}function Sd(I,H,ue){return I&&I.length?(H=ue||H===dt?1:jo(H),pn(I,0,H<0?0:H)):[]}function qd(I,H,ue){var rt=I==null?0:I.length;return rt?(H=ue||H===dt?1:jo(H),H=rt-H,pn(I,H<0?0:H,rt)):[]}function du(I,H){return I&&I.length?Ii(I,zs(H,3),!1,!0):[]}function k0(I,H){return I&&I.length?Ii(I,zs(H,3)):[]}function ld(I){return I&&I.length?pi(I):[]}function vi(I,H){return I&&I.length?pi(I,zs(H,2)):[]}function cd(I,H){return H=typeof H=="function"?H:dt,I&&I.length?pi(I,dt,H):[]}function kd(I){if(!I||!I.length)return[];var H=0;return I=T(I,function(ue){if(Gl(ue))return H=E0(ue.length,H),!0}),le(H,function(ue){return P(I,J(ue))})}function eh(I,H){if(!I||!I.length)return[];var ue=kd(I);return H==null?ue:P(ue,function(rt){return a(H,dt,rt)})}function bl(I,H){return ds(I||[],H||[],Ml)}function U0(I,H){return ds(I||[],H||[],Wl)}function tt(I){var H=st(I);return H.__chain__=!0,H}function hn(I,H){return H(I),I}function Yn(I,H){return H(I)}function h(){return tt(this)}function b(){return new Yi(this.value(),this.__chain__)}function F(){this.__values__===dt&&(this.__values__=Sf(this.value()));var I=this.__index__>=this.__values__.length;return{done:I,value:I?dt:this.__values__[this.__index__++]}}function k(){return this}function G(I){for(var H,ue=this;ue instanceof si;){var rt=Bl(ue);rt.__index__=0,rt.__values__=dt,H?Kt.__wrapped__=rt:H=rt;var Kt=rt;ue=ue.__wrapped__}return Kt.__wrapped__=I,H}function ae(){var I=this.__wrapped__;if(I instanceof Ri){var H=I;return this.__actions__.length&&(H=new Ri(this)),H=H.reverse(),H.__actions__.push({func:Yn,args:[ql],thisArg:dt}),new Yi(H,this.__chain__)}return this.thru(ql)}function De(){return Ni(this.__wrapped__,this.__actions__)}function Xe(I,H,ue){var rt=bo(I)?_:aa;return ue&&Du(I,H,ue)&&(H=dt),rt(I,zs(H,3))}function lt(I,H){return(bo(I)?T:kc)(I,zs(H,3))}function it(I,H){return eu(ki(I,H),1)}function Rn(I,H){return eu(ki(I,H),Ur)}function Zn(I,H,ue){return ue=ue===dt?1:jo(ue),eu(ki(I,H),ue)}function Fr(I,H){return(bo(I)?c:wf)(I,zs(H,3))}function Tr(I,H){return(bo(I)?v:W4)(I,zs(H,3))}function ui(I,H,ue,rt){I=Hl(I)?I:ih(I),ue=ue&&!rt?jo(ue):0;var Kt=I.length;return ue<0&&(ue=E0(Kt+ue,0)),nh(I)?ue<=Kt&&I.indexOf(H,ue)>-1:!!Kt&&Q(I,H,ue)>-1}function ki(I,H){return(bo(I)?P:A0)(I,zs(H,3))}function cs(I,H,ue,rt){return I==null?[]:(bo(H)||(H=H==null?[]:[H]),ue=rt?dt:ue,bo(ue)||(ue=ue==null?[]:[ue]),$l(I,H,ue))}function qi(I,H,ue){var rt=bo(I)?O:re,Kt=arguments.length<3;return rt(I,zs(H,4),ue,Kt,wf)}function is(I,H,ue){var rt=bo(I)?N:re,Kt=arguments.length<3;return rt(I,zs(H,4),ue,Kt,W4)}function Ns(I,H){return(bo(I)?T:kc)(I,ju(zs(H,3)))}function Zs(I){return(bo(I)?Do:pc)(I)}function wa(I,H,ue){return H=(ue?Du(I,H,ue):H===dt)?1:jo(H),(bo(I)?D0:n0)(I,H)}function qs(I){return(bo(I)?jl:et)(I)}function ao(I){if(I==null)return 0;if(Hl(I))return nh(I)?zt(I):I.length;var H=_0(I);return H==nr||H==on?I.size:il(I).length}function So(I,H,ue){var rt=bo(I)?B:Tn;return ue&&Du(I,H,ue)&&(H=dt),rt(I,zs(H,3))}function wl(I,H){if(typeof H!="function")throw new $d(wr);return I=jo(I),function(){if(--I<1)return H.apply(this,arguments)}}function Uu(I,H,ue){return H=ue?dt:H,H=I&&H==null?I.length:H,Ya(I,gt,dt,dt,dt,dt,H)}function pl(I,H){var ue;if(typeof H!="function")throw new $d(wr);return I=jo(I),function(){return--I>0&&(ue=H.apply(this,arguments)),I<=1&&(H=dt),ue}}function Dc(I,H,ue){H=ue?dt:H;var rt=Ya(I,Et,dt,dt,dt,dt,dt,H);return rt.placeholder=Dc.placeholder,rt}function xu(I,H,ue){H=ue?dt:H;var rt=Ya(I,xe,dt,dt,dt,dt,dt,H);return rt.placeholder=xu.placeholder,rt}function Bc(I,H,ue){function rt(Rc){var nf=Sa,v4=Qa;return Sa=Qa=dt,mu=Rc,nu=I.apply(v4,nf)}function Kt(Rc){return mu=Rc,go=wp(Gr,H),W0?rt(Rc):nu}function Mn(Rc){var nf=Rc-au,v4=Rc-mu,E4=H-nf;return Rd?o0(E4,mo-v4):E4}function Dr(Rc){var nf=Rc-au,v4=Rc-mu;return au===dt||nf>=H||nf<0||Rd&&v4>=mo}function Gr(){var Rc=Mp();return Dr(Rc)?gi(Rc):(go=wp(Gr,Mn(Rc)),dt)}function gi(Rc){return go=dt,hh&&Sa?rt(Rc):(Sa=Qa=dt,nu)}function us(){go!==dt&&o4(go),mu=0,Sa=au=Qa=go=dt}function es(){return go===dt?nu:gi(Mp())}function ws(){var Rc=Mp(),nf=Dr(Rc);if(Sa=arguments,Qa=this,au=Rc,nf){if(go===dt)return Kt(au);if(Rd)return o4(go),go=wp(Gr,H),rt(au)}return go===dt&&(go=wp(Gr,H)),nu}var Sa,Qa,mo,nu,go,au,mu=0,W0=!1,Rd=!1,hh=!0;if(typeof I!="function")throw new $d(wr);return H=I0(H)||0,po(ue)&&(W0=!!ue.leading,Rd="maxWait"in ue,mo=Rd?E0(I0(ue.maxWait)||0,H):mo,hh="trailing"in ue?!!ue.trailing:hh),ws.cancel=us,ws.flush=es,ws}function oc(I){return Ya(I,Ct)}function al(I,H){if(typeof I!="function"||H!=null&&typeof H!="function")throw new $d(wr);var ue=function(){var rt=arguments,Kt=H?H.apply(this,rt):rt[0],Mn=ue.cache;if(Mn.has(Kt))return Mn.get(Kt);var Dr=I.apply(this,rt);return ue.cache=Mn.set(Kt,Dr)||Mn,Dr};return ue.cache=new(al.Cache||Pu),ue}function ju(I){if(typeof I!="function")throw new $d(wr);return function(){var H=arguments;switch(H.length){case 0:return!I.call(this);case 1:return!I.call(this,H[0]);case 2:return!I.call(this,H[0],H[1]);case 3:return!I.call(this,H[0],H[1],H[2])}return!I.apply(this,H)}}function ml(I){return pl(2,I)}function zc(I,H){if(typeof I!="function")throw new $d(wr);return H=H===dt?H:jo(H),na(I,H)}function m0(I,H){if(typeof I!="function")throw new $d(wr);return H=H==null?0:E0(jo(H),0),na(function(ue){var rt=ue[H],Kt=oa(ue,0,H);return rt&&M(Kt,rt),a(I,this,Kt)})}function Q0(I,H,ue){var rt=!0,Kt=!0;if(typeof I!="function")throw new $d(wr);return po(ue)&&(rt="leading"in ue?!!ue.leading:rt,Kt="trailing"in ue?!!ue.trailing:Kt),Bc(I,H,{leading:rt,maxWait:H,trailing:Kt})}function $u(I){return Uu(I,1)}function ko(I,H){return q4(Fs(H),I)}function tu(){if(!arguments.length)return[];var I=arguments[0];return bo(I)?I:[I]}function Cl(I){return Zu(I,er)}function ol(I,H){return H=typeof H=="function"?H:dt,Zu(I,er,H)}function Ec(I){return Zu(I,Sn|er)}function g0(I,H){return H=typeof H=="function"?H:dt,Zu(I,Sn|er,H)}function pu(I,H){return H==null||Tu(I,H,ec(H))}function uc(I,H){return I===H||I!==I&&H!==H}function Hl(I){return I!=null&&bu(I.length)&&!Fa(I)}function Gl(I){return Mu(I)&&Hl(I)}function _h(I){return I===!0||I===!1||Mu(I)&&eo(I)==je}function dd(I){return Mu(I)&&I.nodeType===1&&!i0(I)}function w0(I){if(I==null)return!0;if(Hl(I)&&(bo(I)||typeof I=="string"||typeof I.splice=="function"||Qf(I)||pd(I)||Uh(I)))return!I.length;var H=_0(I);if(H==nr||H==on)return!I.size;if(Jl(I))return!il(I).length;for(var ue in I)if(Fl.call(I,ue))return!1;return!0}function Vh(I,H){return Nc(I,H)}function Pi(I,H,ue){ue=typeof ue=="function"?ue:dt;var rt=ue?ue(I,H):dt;return rt===dt?Nc(I,H,dt,ue):!!rt}function ia(I){if(!Mu(I))return!1;var H=eo(I);return H==kt||H==at||typeof I.message=="string"&&typeof I.name=="string"&&!i0(I)}function ja(I){return typeof I=="number"&&hd(I)}function Fa(I){if(!po(I))return!1;var H=eo(I);return H==vn||H==Wn||H==we||H==Tt}function xo(I){return typeof I=="number"&&I==jo(I)}function bu(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=Or}function po(I){var H=typeof I;return I!=null&&(H=="object"||H=="function")}function Mu(I){return I!=null&&typeof I=="object"}function Td(I,H){return I===H||iu(I,H,Vo(H))}function Uf(I,H,ue){return ue=typeof ue=="function"?ue:dt,iu(I,H,Vo(H),ue)}function th(I){return Dd(I)&&I!=+I}function Cf(I){if(Pg(I))throw new tf(cr);return f0(I)}function v0(I){return I===null}function ef(I){return I==null}function Dd(I){return typeof I=="number"||Mu(I)&&eo(I)==rr}function i0(I){if(!Mu(I)||eo(I)!=Gt)return!1;var H=zf(I);if(H===null)return!0;var ue=Fl.call(H,"constructor")&&H.constructor;return typeof ue=="function"&&ue instanceof ue&&Oh.call(ue)==Mm}function L4(I){return xo(I)&&I>=-Or&&I<=Or}function nh(I){return typeof I=="string"||!bo(I)&&Mu(I)&&eo(I)==dn}function sd(I){return typeof I=="symbol"||Mu(I)&&eo(I)==$e}function B4(I){return I===dt}function Ud(I){return Mu(I)&&_0(I)==$t}function F4(I){return Mu(I)&&eo(I)==Jt}function Sf(I){if(!I)return[];if(Hl(I))return nh(I)?Vt(I):xt(I);if(rp&&I[rp])return _e(I[rp]());var H=_0(I);return(H==nr?Ne:H==on?bt:ih)(I)}function j0(I){return I?(I=I0(I),I===Ur||I===-Ur?(I<0?-1:1)*ii:I===I?I:0):I===0?I:0}function jo(I){var H=j0(I),ue=H%1;return H===H?ue?H-ue:H:0}function lf(I){return I?fc(jo(I),0,rn):0}function I0(I){if(typeof I=="number")return I;if(sd(I))return Ui;if(po(I)){var H=typeof I.valueOf=="function"?I.valueOf():I;I=po(H)?H+"":H}if(typeof I!="string")return I===0?I:+I;I=Ze(I);var ue=Nr.test(I);return ue||Oi.test(I)?ka(I.slice(2),ue?2:8):jn.test(I)?Ui:+I}function fd(I){return Zt(I,s0(I))}function rh(I){return I?fc(jo(I),-Or,Or):I===0?I:0}function zu(I){return I==null?"":li(I)}function yh(I,H){var ue=Fh(I);return H==null?ue:l0(ue,H)}function Qp(I,H){return W(I,zs(H,3),Dl)}function Kh(I,H){return W(I,zs(H,3),d0)}function Ep(I,H){return I==null?I:H4(I,zs(H,3),s0)}function jf(I,H){return I==null?I:Rp(I,zs(H,3),s0)}function Zp(I,H){return I&&Dl(I,zs(H,3))}function cf(I,H){return I&&d0(I,zs(H,3))}function _p(I){return I==null?[]:Al(I,ec(I))}function _c(I){return I==null?[]:Al(I,s0(I))}function Yh(I,H,ue){var rt=I==null?dt:Sc(I,H);return rt===dt?ue:rt}function Xp(I,H){return I!=null&&yu(I,H,Eu)}function Jp(I,H){return I!=null&&yu(I,H,Lu)}function ec(I){return Hl(I)?cl(I):il(I)}function s0(I){return Hl(I)?cl(I,!0):V0(I)}function df(I,H){var ue={};return H=zs(H,3),Dl(I,function(rt,Kt,Mn){dc(ue,H(rt,Kt,Mn),rt)}),ue}function k4(I,H){var ue={};return H=zs(H,3),Dl(I,function(rt,Kt,Mn){dc(ue,Kt,H(rt,Kt,Mn))}),ue}function Ad(I,H){return bh(I,ju(zs(H)))}function bh(I,H){if(I==null)return{};var ue=P(Hc(I),function(rt){return[rt]});return H=zs(H),Xu(I,ue,function(rt,Kt){return H(rt,Kt[0])})}function U4(I,H,ue){H=$s(H,I);var rt=-1,Kt=H.length;for(Kt||(Kt=1,I=dt);++rt<Kt;){var Mn=I==null?dt:I[gc(H[rt])];Mn===dt&&(rt=Kt,Mn=ue),I=Fa(Mn)?Mn.call(I):Mn}return I}function ff(I,H,ue){return I==null?I:Wl(I,H,ue)}function Qh(I,H,ue,rt){return rt=typeof rt=="function"?rt:dt,I==null?I:Wl(I,H,ue,rt)}function Tf(I,H,ue){var rt=bo(I),Kt=rt||Qf(I)||pd(I);if(H=zs(H,4),ue==null){var Mn=I&&I.constructor;ue=Kt?rt?new Mn:[]:po(I)&&Fa(Mn)?Fh(zf(I)):{}}return(Kt?c:Dl)(I,function(Dr,Gr,gi){return H(ue,Dr,Gr,gi)}),ue}function Zh(I,H){return I==null||Bi(I,H)}function Xh(I,H,ue){return I==null?I:Fi(I,H,Fs(ue))}function Jh(I,H,ue,rt){return rt=typeof rt=="function"?rt:dt,I==null?I:Fi(I,H,Fs(ue),rt)}function ih(I){return I==null?[]:ye(I,ec(I))}function Ch(I){return I==null?[]:ye(I,s0(I))}function yp(I,H,ue){return ue===dt&&(ue=H,H=dt),ue!==dt&&(ue=I0(ue),ue=ue===ue?ue:0),H!==dt&&(H=I0(H),H=H===H?H:0),fc(I0(I),H,ue)}function qp(I,H,ue){return H=j0(H),ue===dt?(ue=H,H=0):ue=j0(ue),I=I0(I),dl(I,H,ue)}function Sh(I,H,ue){if(ue&&typeof ue!="boolean"&&Du(I,H,ue)&&(H=ue=dt),ue===dt&&(typeof H=="boolean"?(ue=H,H=dt):typeof I=="boolean"&&(ue=I,I=dt)),I===dt&&H===dt?(I=0,H=1):(I=j0(I),H===dt?(H=I,I=0):H=j0(H)),I>H){var rt=I;I=H,H=rt}if(ue||I%1||H%1){var Kt=Hd();return o0(I+Kt*(H-I+oo("1e-"+((Kt+"").length-1))),H)}return Is(I,H)}function jd(I){return sm(zu(I).toLowerCase())}function sh(I){return I=zu(I),I&&I.replace(rs,P0).replace(Wt,"")}function e4(I,H,ue){I=zu(I),H=li(H);var rt=I.length;ue=ue===dt?rt:fc(jo(ue),0,rt);var Kt=ue;return ue-=H.length,ue>=0&&I.slice(ue,Kt)==H}function $0(I){return I=zu(I),I&&ot.test(I)?I.replace(ur,Ql):I}function Df(I){return I=zu(I),I&&qr.test(I)?I.replace(xr,"\\$&"):I}function Th(I,H,ue){I=zu(I),H=jo(H);var rt=H?zt(I):0;if(!H||rt>=H)return I;var Kt=(H-rt)/2;return Ka(Ph(Kt),ue)+I+Ka(Nh(Kt),ue)}function Ac(I,H,ue){I=zu(I),H=jo(H);var rt=H?zt(I):0;return H&&rt<H?I+Ka(H-rt,ue):I}function Dh(I,H,ue){I=zu(I),H=jo(H);var rt=H?zt(I):0;return H&&rt<H?Ka(H-rt,ue)+I:I}function t4(I,H,ue){return ue||H==null?H=0:H&&(H=+H),$4(zu(I).replace(jr,""),H||0)}function $f(I,H,ue){return H=(ue?Du(I,H,ue):H===dt)?1:jo(H),Fu(zu(I),H)}function Wf(){var I=arguments,H=zu(I[0]);return I.length<3?H:H.replace(I[1],I[2])}function j4(I,H,ue){return ue&&typeof ue!="number"&&Du(I,H,ue)&&(H=ue=dt),(ue=ue===dt?rn:ue>>>0)?(I=zu(I),I&&(typeof H=="string"||H!=null&&!lc(H))&&(H=li(H),!H&&pe(I))?oa(Vt(I),0,ue):I.split(H,ue)):[]}function hf(I,H,ue){return I=zu(I),ue=ue==null?0:fc(jo(ue),0,I.length),H=li(H),I.slice(ue,ue+H.length)==H}function Af(I,H,ue){var rt=st.templateSettings;ue&&Du(I,H,ue)&&(H=dt),I=zu(I),H=dh({},H,rt,Na);var Kt,Mn,Dr=dh({},H.imports,rt.imports,Na),Gr=ec(Dr),gi=ye(Dr,Gr),us=0,es=H.interpolate||Qi,ws="__p += '",Sa=ah((H.escape||Qi).source+"|"+es.source+"|"+(es===qt?Fn:Qi).source+"|"+(H.evaluate||Qi).source+"|$","g"),Qa="//# sourceURL="+(Fl.call(H,"sourceURL")?(H.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Xs+"]")+`
`;I.replace(Sa,function(go,au,mu,W0,Rd,hh){return mu||(mu=W0),ws+=I.slice(us,hh).replace(la,Ge),au&&(Kt=!0,ws+=`' +
__e(`+au+`) +
'`),Rd&&(Mn=!0,ws+=`';
`+Rd+`;
__p += '`),mu&&(ws+=`' +
((__t = (`+mu+`)) == null ? '' : __t) +
'`),us=hh+go.length,go}),ws+=`';
`;var mo=Fl.call(H,"variable")&&H.variable;if(mo){if(ut.test(mo))throw new tf(Jn)}else ws=`with (obj) {
`+ws+`
}
`;ws=(Mn?ws.replace(wt,""):ws).replace(kn,"$1").replace(wn,"$1;"),ws="function("+(mo||"obj")+`) {
`+(mo?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Kt?", __e = _.escape":"")+(Mn?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+ws+`return __p
}`;var nu=am(function(){return n4(Gr,Qa+"return "+ws).apply(dt,gi)});if(nu.source=ws,ia(nu))throw nu;return nu}function Hf(I){return zu(I).toLowerCase()}function Gf(I){return zu(I).toUpperCase()}function Ah(I,H,ue){if(I=zu(I),I&&(ue||H===dt))return Ze(I);if(!I||!(H=li(H)))return I;var rt=Vt(I),Kt=Vt(H);return oa(rt,Fe(rt,Kt),Qe(rt,Kt)+1).join("")}function y(I,H,ue){if(I=zu(I),I&&(ue||H===dt))return I.slice(0,St(I)+1);if(!I||!(H=li(H)))return I;var rt=Vt(I);return oa(rt,0,Qe(rt,Vt(H))+1).join("")}function x(I,H,ue){if(I=zu(I),I&&(ue||H===dt))return I.replace(jr,"");if(!I||!(H=li(H)))return I;var rt=Vt(I);return oa(rt,Fe(rt,Vt(H))).join("")}function V(I,H){var ue=tn,rt=ge;if(po(H)){var Kt="separator"in H?H.separator:Kt;ue="length"in H?jo(H.length):ue,rt="omission"in H?li(H.omission):rt}I=zu(I);var Mn=I.length;if(pe(I)){var Dr=Vt(I);Mn=Dr.length}if(ue>=Mn)return I;var Gr=ue-zt(rt);if(Gr<1)return rt;var gi=Dr?oa(Dr,0,Gr).join(""):I.slice(0,Gr);if(Kt===dt)return gi+rt;if(Dr&&(Gr+=gi.length-Gr),lc(Kt)){if(I.slice(Gr).search(Kt)){var us,es=gi;for(Kt.global||(Kt=ah(Kt.source,zu(ln.exec(Kt))+"g")),Kt.lastIndex=0;us=Kt.exec(es);)var ws=us.index;gi=gi.slice(0,ws===dt?Gr:ws)}}else if(I.indexOf(li(Kt),Gr)!=Gr){var Sa=gi.lastIndexOf(Kt);Sa>-1&&(gi=gi.slice(0,Sa))}return gi+rt}function ie(I){return I=zu(I),I&&fi.test(I)?I.replace(Qn,Qc):I}function Oe(I,H,ue){return I=zu(I),H=ue?dt:H,H===dt?Se(I)?sn(I):z(I):I.match(H)||[]}function Je(I){var H=I==null?0:I.length,ue=zs();return I=H?P(I,function(rt){if(typeof rt[1]!="function")throw new $d(wr);return[ue(rt[0]),rt[1]]}):[],na(function(rt){for(var Kt=-1;++Kt<H;){var Mn=I[Kt];if(a(Mn[0],this,rt))return a(Mn[1],this,rt)}})}function en(I){return vu(Zu(I,Sn))}function ar(I){return function(){return I}}function Lr(I,H){return I==null||I!==I?H:I}function Ei(I){return I}function ms(I){return hc(typeof I=="function"?I:Zu(I,Sn))}function vs(I){return t0(Zu(I,Sn))}function ps(I,H){return Pl(I,Zu(H,Sn))}function va(I,H,ue){var rt=ec(H),Kt=Al(H,rt);ue!=null||po(H)&&(Kt.length||!rt.length)||(ue=H,H=I,I=this,Kt=Al(H,ec(H)));var Mn=!(po(ue)&&"chain"in ue&&!ue.chain),Dr=Fa(I);return c(Kt,function(Gr){var gi=H[Gr];I[Gr]=gi,Dr&&(I.prototype[Gr]=function(){var us=this.__chain__;if(Mn||us){var es=I(this.__wrapped__);return(es.__actions__=xt(this.__actions__)).push({func:gi,args:arguments,thisArg:I}),es.__chain__=us,es}return gi.apply(I,M([this.value()],arguments))})}),I}function Pa(){return Ko._===this&&(Ko._=Nm),this}function Ia(){}function xc(I){return I=jo(I),na(function(H){return Lc(H,I)})}function mi(I){return h0(I)?J(gc(I)):Iu(I)}function Yr(I){return function(H){return I==null?dt:Sc(I,H)}}function Ci(){return[]}function Ms(){return!1}function Ja(){return{}}function Eo(){return""}function To(){return!0}function Oo(I,H){if(I=jo(I),I<1||I>Or)return[];var ue=rn,rt=o0(I,rn);H=zs(H),I-=rn;for(var Kt=le(rt,H);++ue<I;)H(ue);return Kt}function a0(I){return bo(I)?P(I,gc):sd(I)?[I]:xt(Um(zu(I)))}function Wu(I){var H=++Im;return zu(I)+H}function xf(I){return I&&I.length?e0(I,Ei,sc):dt}function qh(I,H){return I&&I.length?e0(I,zs(H,2),sc):dt}function Rm(I){return Z(I,Ei)}function Og(I,H){return Z(I,zs(H,2))}function Rg(I){return I&&I.length?e0(I,Ei,Wc):dt}function bp(I,H){return I&&I.length?e0(I,zs(H,2),Wc):dt}function Cp(I){return I&&I.length?fe(I,Ei):0}function ep(I,H){return I&&I.length?fe(I,zs(H,2)):0}tr=tr==null?Ko:Kr.defaults(Ko.Object(),tr,Kr.pick(Ko,Bs));var tc=tr.Array,tp=tr.Date,tf=tr.Error,n4=tr.Function,Of=tr.Math,Il=tr.Object,ah=tr.RegExp,oh=tr.String,$d=tr.TypeError,xh=tc.prototype,wm=n4.prototype,M0=Il.prototype,uh=tr["__core-js_shared__"],Oh=wm.toString,Fl=M0.hasOwnProperty,Im=0,r4=function(){var I=/[^.]+$/.exec(uh&&uh.keys&&uh.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}(),Sp=M0.toString,Mm=Oh.call(Il),Nm=Ko._,wg=ah("^"+Oh.call(Fl).replace(xr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rh=Ul?tr.Buffer:dt,Z0=tr.Symbol,np=tr.Uint8Array,i4=Rh?Rh.allocUnsafe:dt,zf=Le(Il.getPrototypeOf,Il),wh=Il.create,Tp=M0.propertyIsEnumerable,pf=xh.splice,Vf=Z0?Z0.isConcatSpreadable:dt,rp=Z0?Z0.iterator:dt,Rf=Z0?Z0.toStringTag:dt,ip=function(){try{var I=Ao(Il,"defineProperty");return I({},"",{}),I}catch{}}(),Ih=tr.clearTimeout!==Ko.clearTimeout&&tr.clearTimeout,Mh=tp&&tp.now!==Ko.Date.now&&tp.now,sp=tr.setTimeout!==Ko.setTimeout&&tr.setTimeout,Nh=Of.ceil,Ph=Of.floor,Wd=Il.getOwnPropertySymbols,Kf=Rh?Rh.isBuffer:dt,hd=tr.isFinite,Lh=xh.join,lh=Le(Il.keys,Il),E0=Of.max,o0=Of.min,s4=tp.now,$4=tr.parseInt,Hd=Of.random,Ig=xh.reverse,xd=Ao(tr,"DataView"),Gd=Ao(tr,"Map"),ap=Ao(tr,"Promise"),Bh=Ao(tr,"Set"),Dp=Ao(tr,"WeakMap"),op=Ao(Il,"create"),Ap=Dp&&new Dp,Yf={},Pm=O0(xd),Lm=O0(Gd),Mg=O0(ap),Bm=O0(Bh),xp=O0(Dp),ch=Z0?Z0.prototype:dt,Op=ch?ch.valueOf:dt,Ji=ch?ch.toString:dt,Fh=function(){function I(){}return function(H){if(!po(H))return{};if(wh)return wh(H);I.prototype=H;var ue=new I;return I.prototype=dt,ue}}();st.templateSettings={escape:ft,evaluate:Mt,interpolate:qt,variable:"",imports:{_:st}},st.prototype=si.prototype,st.prototype.constructor=st,Yi.prototype=Fh(si.prototype),Yi.prototype.constructor=Yi,Ri.prototype=Fh(si.prototype),Ri.prototype.constructor=Ri,Es.prototype.clear=ha,Es.prototype.delete=qa,Es.prototype.get=fo,Es.prototype.has=Wa,Es.prototype.set=Wo,ou.prototype.clear=Io,ou.prototype.delete=uu,ou.prototype.get=Ta,ou.prototype.has=fu,ou.prototype.set=Zl,Pu.prototype.clear=Zc,Pu.prototype.delete=Yu,Pu.prototype.get=Cc,Pu.prototype.has=L0,Pu.prototype.set=Xc,rc.prototype.add=rc.prototype.push=Sl,rc.prototype.has=B0,Tl.prototype.clear=z0,Tl.prototype.delete=Jc,Tl.prototype.get=Ra,Tl.prototype.has=xs,Tl.prototype.set=hu;var wf=Bn(Dl),W4=Bn(d0,!0),H4=ir(),Rp=ir(!0),G4=Ap?function(I,H){return Ap.set(I,H),I}:Ei,Ng=ip?function(I,H){return ip(I,"toString",{configurable:!0,enumerable:!1,value:ar(H),writable:!0})}:Ei,a4=na,o4=Ih||function(I){return Ko.clearTimeout(I)},z4=Bh&&1/bt(new Bh([,-0]))[1]==Ur?function(I){return new Bh(I)}:Ia,up=Ap?function(I){return Ap.get(I)}:Ia,Fm=Wd?function(I){return I==null?[]:(I=Il(I),T(Wd(I),function(H){return Tp.call(I,H)}))}:Ci,V4=Wd?function(I){for(var H=[];I;)M(H,Fm(I)),I=zf(I);return H}:Ci,_0=eo;(xd&&_0(new xd(new ArrayBuffer(1)))!=yn||Gd&&_0(new Gd)!=nr||ap&&_0(ap.resolve())!=Pt||Bh&&_0(new Bh)!=on||Dp&&_0(new Dp)!=$t)&&(_0=function(I){var H=eo(I),ue=H==Gt?I.constructor:dt,rt=ue?O0(ue):"";if(rt)switch(rt){case Pm:return yn;case Lm:return nr;case Mg:return Pt;case Bm:return on;case xp:return $t}return H});var Pg=uh?Fa:Ms,km=cu(G4),wp=sp||function(I,H){return Ko.setTimeout(I,H)},K4=cu(Ng),Um=Us(function(I){var H=[];return I.charCodeAt(0)===46&&H.push(""),I.replace(Cr,function(ue,rt,Kt,Mn){H.push(Kt?Mn.replace(Ht,"$1"):rt||ue)}),H}),Lg=na(function(I,H){return Gl(I)?Zo(I,eu(H,1,Gl,!0)):[]}),kh=na(function(I,H){var ue=r0(H);return Gl(ue)&&(ue=dt),Gl(I)?Zo(I,eu(H,1,Gl,!0),zs(ue,2)):[]}),Bg=na(function(I,H){var ue=r0(H);return Gl(ue)&&(ue=dt),Gl(I)?Zo(I,eu(H,1,Gl,!0),dt,ue):[]}),Fg=na(function(I){var H=P(I,Gs);return H.length&&H[0]===I[0]?rl(H):[]}),u4=na(function(I){var H=r0(I),ue=P(I,Gs);return H===r0(ue)?H=dt:ue.pop(),ue.length&&ue[0]===I[0]?rl(ue,zs(H,2)):[]}),kg=na(function(I){var H=r0(I),ue=P(I,Gs);return H=typeof H=="function"?H:dt,H&&ue.pop(),ue.length&&ue[0]===I[0]?rl(ue,dt,H):[]}),H3=na(Jf),G3=Ba(function(I,H){var ue=I==null?0:I.length,rt=c0(I,H);return zo(I,P(H,function(Kt){return ac(Kt,ue)?+Kt:Kt}).sort(yo)),rt}),Ug=na(function(I){return pi(eu(I,1,Gl,!0))}),z3=na(function(I){var H=r0(I);return Gl(H)&&(H=dt),pi(eu(I,1,Gl,!0),zs(H,2))}),V3=na(function(I){var H=r0(I);return H=typeof H=="function"?H:dt,pi(eu(I,1,Gl,!0),dt,H)}),jm=na(function(I,H){return Gl(I)?Zo(I,H):[]}),Y4=na(function(I){return Ds(T(I,Gl))}),Ip=na(function(I){var H=r0(I);return Gl(H)&&(H=dt),Ds(T(I,Gl),zs(H,2))}),jg=na(function(I){var H=r0(I);return H=typeof H=="function"?H:dt,Ds(T(I,Gl),dt,H)}),$m=na(kd),Wm=na(function(I){var H=I.length,ue=H>1?I[H-1]:dt;return ue=typeof ue=="function"?(I.pop(),ue):dt,eh(I,ue)}),Q4=Ba(function(I){var H=I.length,ue=H?I[0]:0,rt=this.__wrapped__,Kt=function(Mn){return c0(Mn,I)};return!(H>1||this.__actions__.length)&&rt instanceof Ri&&ac(ue)?(rt=rt.slice(ue,+ue+(H?1:0)),rt.__actions__.push({func:Yn,args:[Kt],thisArg:dt}),new Yi(rt,this.__chain__).thru(function(Mn){return H&&!Mn.length&&Mn.push(dt),Mn})):this.thru(Kt)}),Z4=Xn(function(I,H,ue){Fl.call(I,ue)?++I[ue]:dc(I,ue,1)}),Hm=ls(Gu),$g=ls(vc),Gm=Xn(function(I,H,ue){Fl.call(I,ue)?I[ue].push(H):dc(I,ue,[H])}),X4=na(function(I,H,ue){var rt=-1,Kt=typeof H=="function",Mn=Hl(I)?tc(I.length):[];return wf(I,function(Dr){Mn[++rt]=Kt?a(H,Dr,ue):El(Dr,H,ue)}),Mn}),Wg=Xn(function(I,H,ue){dc(I,ue,H)}),Hg=Xn(function(I,H,ue){I[ue?0:1].push(H)},function(){return[[],[]]}),l4=na(function(I,H){if(I==null)return[];var ue=H.length;return ue>1&&Du(I,H[0],H[1])?H=[]:ue>2&&Du(H[0],H[1],H[2])&&(H=[H[0]]),$l(I,eu(H,1),[])}),Mp=Mh||function(){return Ko.Date.now()},Np=na(function(I,H,ue){var rt=de;if(ue.length){var Kt=Ke(ue,_u(Np));rt|=Re}return Ya(I,rt,H,ue,Kt)}),J4=na(function(I,H,ue){var rt=de|oe;if(ue.length){var Kt=Ke(ue,_u(J4));rt|=Re}return Ya(H,rt,I,ue,Kt)}),Gg=na(function(I,H){return vl(I,1,H)}),zg=na(function(I,H,ue){return vl(I,I0(H)||0,ue)});al.Cache=Pu;var K3=a4(function(I,H){H=H.length==1&&bo(H[0])?P(H[0],Ce(zs())):P(eu(H,1),Ce(zs()));var ue=H.length;return na(function(rt){for(var Kt=-1,Mn=o0(rt.length,ue);++Kt<Mn;)rt[Kt]=H[Kt].call(this,rt[Kt]);return a(I,this,rt)})}),q4=na(function(I,H){return Ya(I,Re,dt,H,Ke(H,_u(q4)))}),ad=na(function(I,H){return Ya(I,We,dt,H,Ke(H,_u(ad)))}),c4=Ba(function(I,H){return Ya(I,Nt,dt,dt,dt,H)}),em=ho(sc),zm=ho(function(I,H){return I>=H}),Uh=jc(function(){return arguments}())?jc:function(I){return Mu(I)&&Fl.call(I,"callee")&&!Tp.call(I,"callee")},bo=tc.isArray,Vg=Kc?Ce(Kc):td,Qf=Kf||Ms,Kg=wu?Ce(wu):Xl,d4=Yc?Ce(Yc):Bu,lc=S0?Ce(S0):_l,Oc=bc?Ce(bc):Nl,pd=T0?Ce(T0):$c,Yg=ho(Wc),jh=ho(function(I,H){return I<=H}),If=Qt(function(I,H){if(Jl(H)||Hl(H))return Zt(H,ec(H),I),dt;for(var ue in H)Fl.call(H,ue)&&Ml(I,ue,H[ue])}),zd=Qt(function(I,H){Zt(H,s0(H),I)}),dh=Qt(function(I,H,ue,rt){Zt(H,s0(H),I,rt)}),Pp=Qt(function(I,H,ue,rt){Zt(H,ec(H),I,rt)}),u0=Ba(c0),Vm=na(function(I,H){I=Il(I);var ue=-1,rt=H.length,Kt=rt>2?H[2]:dt;for(Kt&&Du(H[0],H[1],Kt)&&(rt=1);++ue<rt;)for(var Mn=H[ue],Dr=s0(Mn),Gr=-1,gi=Dr.length;++Gr<gi;){var us=Dr[Gr],es=I[us];(es===dt||uc(es,M0[us])&&!Fl.call(I,us))&&(I[us]=Mn[us])}return I}),Km=na(function(I){return I.push(dt,ti),a(tm,dt,I)}),Y3=Js(function(I,H,ue){H!=null&&typeof H.toString!="function"&&(H=Sp.call(H)),I[H]=ue},ar(Ei)),Q3=Js(function(I,H,ue){H!=null&&typeof H.toString!="function"&&(H=Sp.call(H)),Fl.call(I,H)?I[H].push(ue):I[H]=[ue]},zs),f4=na(El),md=Qt(function(I,H,ue){xl(I,H,ue)}),tm=Qt(function(I,H,ue,rt){xl(I,H,ue,rt)}),Z3=Ba(function(I,H){var ue={};if(I==null)return ue;var rt=!1;H=P(H,function(Mn){return Mn=$s(Mn,I),rt||(rt=Mn.length>1),Mn}),Zt(I,Hc(I),ue),rt&&(ue=Zu(ue,Sn|Hn|er,ra));for(var Kt=H.length;Kt--;)Bi(ue,H[Kt]);return ue}),Qg=Ba(function(I,H){return I==null?{}:Ts(I,H)}),nm=Fo(ec),rm=Fo(s0),im=Ti(function(I,H,ue){return H=H.toLowerCase(),I+(ue?jd(H):H)}),X3=Ti(function(I,H,ue){return I+(ue?"-":"")+H.toLowerCase()}),J3=Ti(function(I,H,ue){return I+(ue?" ":"")+H.toLowerCase()}),Zg=Er("toLowerCase"),h4=Ti(function(I,H,ue){return I+(ue?"_":"")+H.toLowerCase()}),Xg=Ti(function(I,H,ue){return I+(ue?" ":"")+sm(H)}),q3=Ti(function(I,H,ue){return I+(ue?" ":"")+H.toUpperCase()}),sm=Er("toUpperCase"),am=na(function(I,H){try{return a(I,dt,H)}catch(ue){return ia(ue)?ue:new tf(ue)}}),om=Ba(function(I,H){return c(H,function(ue){ue=gc(ue),dc(I,ue,Np(I[ue],I))}),I}),um=Zi(),Ym=Zi(!0),lm=na(function(I,H){return function(ue){return El(ue,I,H)}}),p4=na(function(I,H){return function(ue){return El(I,ue,H)}}),fh=Hs(P),m4=Hs(_),Qm=Hs(B),Zf=no(),$h=no(!0),Jg=ks(function(I,H){return I+H},0),cm=Hu("ceil"),Zm=ks(function(I,H){return I/H},1),dm=Hu("floor"),ev=ks(function(I,H){return I*H},1),Od=Hu("round"),g4=ks(function(I,H){return I-H},0);return st.after=wl,st.ary=Uu,st.assign=If,st.assignIn=zd,st.assignInWith=dh,st.assignWith=Pp,st.at=u0,st.before=pl,st.bind=Np,st.bindAll=om,st.bindKey=J4,st.castArray=tu,st.chain=tt,st.chunk=ro,st.compact=Nd,st.concat=hl,st.cond=Je,st.conforms=en,st.constant=ar,st.countBy=Z4,st.create=yh,st.curry=Dc,st.curryRight=xu,st.debounce=Bc,st.defaults=Vm,st.defaultsDeep=Km,st.defer=Gg,st.delay=zg,st.difference=Lg,st.differenceBy=kh,st.differenceWith=Bg,st.drop=zh,st.dropRight=Cd,st.dropRightWhile=Pd,st.dropWhile=nd,st.fill=Ca,st.filter=lt,st.flatMap=it,st.flatMapDeep=Rn,st.flatMapDepth=Zn,st.flatten=ud,st.flattenDeep=Xd,st.flattenDepth=Lf,st.flip=oc,st.flow=um,st.flowRight=Ym,st.fromPairs=Ld,st.functions=_p,st.functionsIn=_c,st.groupBy=Gm,st.initial=Y0,st.intersection=Fg,st.intersectionBy=u4,st.intersectionWith=kg,st.invert=Y3,st.invertBy=Q3,st.invokeMap=X4,st.iteratee=ms,st.keyBy=Wg,st.keys=ec,st.keysIn=s0,st.map=ki,st.mapKeys=df,st.mapValues=k4,st.matches=vs,st.matchesProperty=ps,st.memoize=al,st.merge=md,st.mergeWith=tm,st.method=lm,st.methodOf=p4,st.mixin=va,st.negate=ju,st.nthArg=xc,st.omit=Z3,st.omitBy=Ad,st.once=ml,st.orderBy=cs,st.over=fh,st.overArgs=K3,st.overEvery=m4,st.overSome=Qm,st.partial=q4,st.partialRight=ad,st.partition=Hg,st.pick=Qg,st.pickBy=bh,st.property=mi,st.propertyOf=Yr,st.pull=H3,st.pullAll=Jf,st.pullAllBy=qf,st.pullAllWith=yl,st.pullAt=G3,st.range=Zf,st.rangeRight=$h,st.rearg=c4,st.reject=Ns,st.remove=Gc,st.rest=zc,st.reverse=ql,st.sampleSize=wa,st.set=ff,st.setWith=Qh,st.shuffle=qs,st.slice=Jd,st.sortBy=l4,st.sortedUniq=uf,st.sortedUniqBy=Ff,st.split=j4,st.spread=m0,st.tail=kf,st.take=Sd,st.takeRight=qd,st.takeRightWhile=du,st.takeWhile=k0,st.tap=hn,st.throttle=Q0,st.thru=Yn,st.toArray=Sf,st.toPairs=nm,st.toPairsIn=rm,st.toPath=a0,st.toPlainObject=fd,st.transform=Tf,st.unary=$u,st.union=Ug,st.unionBy=z3,st.unionWith=V3,st.uniq=ld,st.uniqBy=vi,st.uniqWith=cd,st.unset=Zh,st.unzip=kd,st.unzipWith=eh,st.update=Xh,st.updateWith=Jh,st.values=ih,st.valuesIn=Ch,st.without=jm,st.words=Oe,st.wrap=ko,st.xor=Y4,st.xorBy=Ip,st.xorWith=jg,st.zip=$m,st.zipObject=bl,st.zipObjectDeep=U0,st.zipWith=Wm,st.entries=nm,st.entriesIn=rm,st.extend=zd,st.extendWith=dh,va(st,st),st.add=Jg,st.attempt=am,st.camelCase=im,st.capitalize=jd,st.ceil=cm,st.clamp=yp,st.clone=Cl,st.cloneDeep=Ec,st.cloneDeepWith=g0,st.cloneWith=ol,st.conformsTo=pu,st.deburr=sh,st.defaultTo=Lr,st.divide=Zm,st.endsWith=e4,st.eq=uc,st.escape=$0,st.escapeRegExp=Df,st.every=Xe,st.find=Hm,st.findIndex=Gu,st.findKey=Qp,st.findLast=$g,st.findLastIndex=vc,st.findLastKey=Kh,st.floor=dm,st.forEach=Fr,st.forEachRight=Tr,st.forIn=Ep,st.forInRight=jf,st.forOwn=Zp,st.forOwnRight=cf,st.get=Yh,st.gt=em,st.gte=zm,st.has=Xp,st.hasIn=Jp,st.head=K0,st.identity=Ei,st.includes=ui,st.indexOf=af,st.inRange=qp,st.invoke=f4,st.isArguments=Uh,st.isArray=bo,st.isArrayBuffer=Vg,st.isArrayLike=Hl,st.isArrayLikeObject=Gl,st.isBoolean=_h,st.isBuffer=Qf,st.isDate=Kg,st.isElement=dd,st.isEmpty=w0,st.isEqual=Vh,st.isEqualWith=Pi,st.isError=ia,st.isFinite=ja,st.isFunction=Fa,st.isInteger=xo,st.isLength=bu,st.isMap=d4,st.isMatch=Td,st.isMatchWith=Uf,st.isNaN=th,st.isNative=Cf,st.isNil=ef,st.isNull=v0,st.isNumber=Dd,st.isObject=po,st.isObjectLike=Mu,st.isPlainObject=i0,st.isRegExp=lc,st.isSafeInteger=L4,st.isSet=Oc,st.isString=nh,st.isSymbol=sd,st.isTypedArray=pd,st.isUndefined=B4,st.isWeakMap=Ud,st.isWeakSet=F4,st.join=rd,st.kebabCase=X3,st.last=r0,st.lastIndexOf=Bd,st.lowerCase=J3,st.lowerFirst=Zg,st.lt=Yg,st.lte=jh,st.max=xf,st.maxBy=qh,st.mean=Rm,st.meanBy=Og,st.min=Rg,st.minBy=bp,st.stubArray=Ci,st.stubFalse=Ms,st.stubObject=Ja,st.stubString=Eo,st.stubTrue=To,st.multiply=ev,st.nth=Co,st.noConflict=Pa,st.noop=Ia,st.now=Mp,st.pad=Th,st.padEnd=Ac,st.padStart=Dh,st.parseInt=t4,st.random=Sh,st.reduce=qi,st.reduceRight=is,st.repeat=$f,st.replace=Wf,st.result=U4,st.round=Od,st.runInContext=gn,st.sample=Zs,st.size=ao,st.snakeCase=h4,st.some=So,st.sortedIndex=R0,st.sortedIndexBy=of,st.sortedIndexOf=Rs,st.sortedLastIndex=Bf,st.sortedLastIndexBy=id,st.sortedLastIndexOf=Fd,st.startCase=Xg,st.startsWith=hf,st.subtract=g4,st.sum=Cp,st.sumBy=ep,st.template=Af,st.times=Oo,st.toFinite=j0,st.toInteger=jo,st.toLength=lf,st.toLower=Hf,st.toNumber=I0,st.toSafeInteger=rh,st.toString=zu,st.toUpper=Gf,st.trim=Ah,st.trimEnd=y,st.trimStart=x,st.truncate=V,st.unescape=ie,st.uniqueId=Wu,st.upperCase=q3,st.upperFirst=sm,st.each=Fr,st.eachRight=Tr,st.first=K0,va(st,function(){var I={};return Dl(st,function(H,ue){Fl.call(st.prototype,ue)||(I[ue]=H)}),I}(),{chain:!1}),st.VERSION=Ln,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(I){st[I].placeholder=st}),c(["drop","take"],function(I,H){Ri.prototype[I]=function(ue){ue=ue===dt?1:E0(jo(ue),0);var rt=this.__filtered__&&!H?new Ri(this):this.clone();return rt.__filtered__?rt.__takeCount__=o0(ue,rt.__takeCount__):rt.__views__.push({size:o0(ue,rn),type:I+(rt.__dir__<0?"Right":"")}),rt},Ri.prototype[I+"Right"]=function(ue){return this.reverse()[I](ue).reverse()}}),c(["filter","map","takeWhile"],function(I,H){var ue=H+1,rt=ue==xn||ue==gr;Ri.prototype[I]=function(Kt){var Mn=this.clone();return Mn.__iteratees__.push({iteratee:zs(Kt,3),type:ue}),Mn.__filtered__=Mn.__filtered__||rt,Mn}}),c(["head","last"],function(I,H){var ue="take"+(H?"Right":"");Ri.prototype[I]=function(){return this[ue](1).value()[0]}}),c(["initial","tail"],function(I,H){var ue="drop"+(H?"":"Right");Ri.prototype[I]=function(){return this.__filtered__?new Ri(this):this[ue](1)}}),Ri.prototype.compact=function(){return this.filter(Ei)},Ri.prototype.find=function(I){return this.filter(I).head()},Ri.prototype.findLast=function(I){return this.reverse().find(I)},Ri.prototype.invokeMap=na(function(I,H){return typeof I=="function"?new Ri(this):this.map(function(ue){return El(ue,I,H)})}),Ri.prototype.reject=function(I){return this.filter(ju(zs(I)))},Ri.prototype.slice=function(I,H){I=jo(I);var ue=this;return ue.__filtered__&&(I>0||H<0)?new Ri(ue):(I<0?ue=ue.takeRight(-I):I&&(ue=ue.drop(I)),H!==dt&&(H=jo(H),ue=H<0?ue.dropRight(-H):ue.take(H-I)),ue)},Ri.prototype.takeRightWhile=function(I){return this.reverse().takeWhile(I).reverse()},Ri.prototype.toArray=function(){return this.take(rn)},Dl(Ri.prototype,function(I,H){var ue=/^(?:filter|find|map|reject)|While$/.test(H),rt=/^(?:head|last)$/.test(H),Kt=st[rt?"take"+(H=="last"?"Right":""):H],Mn=rt||/^find/.test(H);Kt&&(st.prototype[H]=function(){var Dr=this.__wrapped__,Gr=rt?[1]:arguments,gi=Dr instanceof Ri,us=Gr[0],es=gi||bo(Dr),ws=function(au){var mu=Kt.apply(st,M([au],Gr));return rt&&Sa?mu[0]:mu};es&&ue&&typeof us=="function"&&us.length!=1&&(gi=es=!1);var Sa=this.__chain__,Qa=!!this.__actions__.length,mo=Mn&&!Sa,nu=gi&&!Qa;if(!Mn&&es){Dr=nu?Dr:new Ri(this);var go=I.apply(Dr,Gr);return go.__actions__.push({func:Yn,args:[ws],thisArg:dt}),new Yi(go,Sa)}return mo&&nu?I.apply(this,Gr):(go=this.thru(ws),mo?rt?go.value()[0]:go.value():go)})}),c(["pop","push","shift","sort","splice","unshift"],function(I){var H=xh[I],ue=/^(?:push|sort|unshift)$/.test(I)?"tap":"thru",rt=/^(?:pop|shift)$/.test(I);st.prototype[I]=function(){var Kt=arguments;if(rt&&!this.__chain__){var Mn=this.value();return H.apply(bo(Mn)?Mn:[],Kt)}return this[ue](function(Dr){return H.apply(bo(Dr)?Dr:[],Kt)})}}),Dl(Ri.prototype,function(I,H){var ue=st[H];if(ue){var rt=ue.name+"";Fl.call(Yf,rt)||(Yf[rt]=[]),Yf[rt].push({name:H,func:ue})}}),Yf[Qs(dt,oe).name]=[{name:"wrapper",func:dt}],Ri.prototype.clone=ta,Ri.prototype.reverse=fa,Ri.prototype.value=Aa,st.prototype.at=Q4,st.prototype.chain=h,st.prototype.commit=b,st.prototype.next=F,st.prototype.plant=G,st.prototype.reverse=ae,st.prototype.toJSON=st.prototype.valueOf=st.prototype.value=De,st.prototype.first=st.prototype.head,rp&&(st.prototype[rp]=k),st},Kr=zn();Ko._=Kr,i=function(){return Kr}.call(C,e,C,U),i!==void 0&&(U.exports=i)}).call(this)},26368:(U,C,e)=>{var i=e(92188),a=e(48208),l=e(24020);function c(v,_){var T={};return _=l(_,3),a(v,function(A,R,P){i(T,_(A,R,P),A)}),T}U.exports=c},32123:(U,C,e)=>{var i=e(92188),a=e(48208),l=e(24020);function c(v,_){var T={};return _=l(_,3),a(v,function(A,R,P){i(T,R,_(A,R,P))}),T}U.exports=c},15480:(U,C,e)=>{var i=e(21900),a="Expected a function";function l(c,v){if(typeof c!="function"||v!=null&&typeof v!="function")throw new TypeError(a);var _=function(){var T=arguments,A=v?v.apply(this,T):T[0],R=_.cache;if(R.has(A))return R.get(A);var P=c.apply(this,T);return _.cache=R.set(A,P)||R,P};return _.cache=new(l.Cache||i),_}l.Cache=i,U.exports=l},36196:(U,C,e)=>{var i=e(4692),a=e(83536),l=a(function(c,v,_){i(c,v,_)});U.exports=l},76672:(U,C,e)=>{var i=e(4692),a=e(83536),l=a(function(c,v,_,T){i(c,v,_,T)});U.exports=l},14480:U=>{function C(){}U.exports=C},13140:(U,C,e)=>{var i=e(87964),a=function(){return i.Date.now()};U.exports=a},21968:(U,C,e)=>{var i=e(12480),a=e(32808),l=e(34200),c=e(70164),v=e(69864),_=e(65480),T=e(79104),A=e(62904),R=1,P=2,M=4,O=T(function(N,B){var j={};if(N==null)return j;var z=!1;B=i(B,function(X){return X=c(X,N),z||(z=X.length>1),X}),v(N,A(N),j),z&&(j=a(j,R|P|M,_));for(var W=B.length;W--;)l(j,B[W]);return j});U.exports=O},20880:(U,C,e)=>{var i=e(79708),a=e(79104),l=a(function(c,v){return c==null?{}:i(c,v)});U.exports=l},98536:(U,C,e)=>{var i=e(66256),a=e(30392),l=e(76676),c=e(6316);function v(_){return l(_)?i(c(_)):a(_)}U.exports=v},35184:(U,C,e)=>{var i=e(89924);function a(l,c,v){return l==null?l:i(l,c,v)}U.exports=a},57520:(U,C,e)=>{var i=e(91548),a=i(function(l,c,v){return l+(v?"_":"")+c.toLowerCase()});U.exports=a},936:(U,C,e)=>{var i=e(36088),a=e(14184),l=e(57628),c=e(43280);function v(_,T,A){return _=c(_),A=A==null?0:i(l(A),0,_.length),T=a(T),_.slice(A,A+T.length)==T}U.exports=v},44184:U=>{function C(){return[]}U.exports=C},6848:U=>{function C(){return!1}U.exports=C},67888:(U,C,e)=>{var i=e(35904),a=e(57628);function l(c,v,_){return c&&c.length?(v=_||v===void 0?1:a(v),i(c,0,v<0?0:v)):[]}U.exports=l},59176:(U,C,e)=>{var i=e(18488),a=e(38955),l="Expected a function";function c(v,_,T){var A=!0,R=!0;if(typeof v!="function")throw new TypeError(l);return a(T)&&(A="leading"in T?!!T.leading:A,R="trailing"in T?!!T.trailing:R),i(v,_,{leading:A,maxWait:_,trailing:R})}U.exports=c},15840:(U,C,e)=>{var i=e(61152),a=1/0,l=17976931348623157e292;function c(v){if(!v)return v===0?v:0;if(v=i(v),v===a||v===-a){var _=v<0?-1:1;return _*l}return v===v?v:0}U.exports=c},57628:(U,C,e)=>{var i=e(15840);function a(l){var c=i(l),v=c%1;return c===c?v?c-v:c:0}U.exports=a},61152:(U,C,e)=>{var i=e(91464),a=e(38955),l=e(36792),c=0/0,v=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,T=/^0o[0-7]+$/i,A=parseInt;function R(P){if(typeof P=="number")return P;if(l(P))return c;if(a(P)){var M=typeof P.valueOf=="function"?P.valueOf():P;P=a(M)?M+"":M}if(typeof P!="string")return P===0?P:+P;P=i(P);var O=_.test(P);return O||T.test(P)?A(P.slice(2),O?2:8):v.test(P)?c:+P}U.exports=R},39180:(U,C,e)=>{var i=e(69864),a=e(14956);function l(c){return i(c,a(c))}U.exports=l},43280:(U,C,e)=>{var i=e(14184);function a(l){return l==null?"":i(l)}U.exports=a},68619:(U,C,e)=>{var i=e(76196),a=e(63196),l=e(48208),c=e(24020),v=e(52360),_=e(75516),T=e(42668),A=e(91892),R=e(38955),P=e(14704);function M(O,N,B){var j=_(O),z=j||T(O)||P(O);if(N=c(N,4),B==null){var W=O&&O.constructor;z?B=j?new W:[]:R(O)?B=A(W)?a(v(O)):{}:B={}}return(z?i:l)(O,function(X,Q,K){return N(B,X,Q,K)}),B}U.exports=M},9589:(U,C,e)=>{var i=e(24020),a=e(89664);function l(c,v){return c&&c.length?a(c,i(v,2)):[]}U.exports=l},45488:(U,C,e)=>{var i=e(34200);function a(l,c){return l==null?!0:i(l,c)}U.exports=a},30840:(U,C,e)=>{var i=e(20788),a=i("toUpperCase");U.exports=a},40617:(U,C,e)=>{var i=e(32656),a=e(35e3),l=e(43280),c=e(36932);function v(_,T,A){return _=l(_),T=A?void 0:T,T===void 0?a(_)?c(_):i(_):_.match(T)||[]}U.exports=v},61840:U=>{"use strict";U.exports=function(e){var i=e.utils.escapeRE,a=e.utils.arrayReplaceAt,l=" \r\n$+<=>^`|~",c=e.utils.lib.ucmicro.P.source,v=e.utils.lib.ucmicro.Z.source;function _(A,R,P,M){var O,N,B,j,z,W=A.bMarks[R]+A.tShift[R],X=A.eMarks[R];if(W+2>=X||A.src.charCodeAt(W++)!==42||A.src.charCodeAt(W++)!==91)return!1;for(j=W;W<X;W++){if(B=A.src.charCodeAt(W),B===91)return!1;if(B===93){z=W;break}else B===92&&W++}return z<0||A.src.charCodeAt(z+1)!==58?!1:M?!0:(O=A.src.slice(j,z).replace(/\\(.)/g,"$1"),N=A.src.slice(z+2,X).trim(),O.length===0||N.length===0?!1:(A.env.abbreviations||(A.env.abbreviations={}),typeof A.env.abbreviations[":"+O]>"u"&&(A.env.abbreviations[":"+O]=N),A.line=R+1,!0))}function T(A){var R,P,M,O,N,B,j,z,W,X,Q,K,Y,Z=A.tokens;if(A.env.abbreviations){for(K=new RegExp("(?:"+Object.keys(A.env.abbreviations).map(function(J){return J.substr(1)}).sort(function(J,ee){return ee.length-J.length}).map(i).join("|")+")"),Q="(^|"+c+"|"+v+"|["+l.split("").map(i).join("")+"])("+Object.keys(A.env.abbreviations).map(function(J){return J.substr(1)}).sort(function(J,ee){return ee.length-J.length}).map(i).join("|")+")($|"+c+"|"+v+"|["+l.split("").map(i).join("")+"])",W=new RegExp(Q,"g"),P=0,M=Z.length;P<M;P++)if(Z[P].type==="inline"){for(O=Z[P].children,R=O.length-1;R>=0;R--)if(Y=O[R],Y.type==="text"&&(z=0,B=Y.content,W.lastIndex=0,j=[],!!K.test(B))){for(;X=W.exec(B);)(X.index>0||X[1].length>0)&&(N=new A.Token("text","",0),N.content=B.slice(z,X.index+X[1].length),j.push(N)),N=new A.Token("abbr_open","abbr",1),N.attrs=[["title",A.env.abbreviations[":"+X[2]]]],j.push(N),N=new A.Token("text","",0),N.content=X[2],j.push(N),N=new A.Token("abbr_close","abbr",-1),j.push(N),W.lastIndex-=X[3].length,z=W.lastIndex;j.length&&(z<B.length&&(N=new A.Token("text","",0),N.content=B.slice(z),j.push(N)),Z[P].children=O=a(O,R,j))}}}}e.block.ruler.before("reference","abbr_def",_,{alt:["paragraph","reference"]}),e.core.ruler.after("linkify","abbr_replace",T)}},49108:U=>{"use strict";U.exports=function(e,i,a){function l(O){return O.trim().split(" ",2)[0]===i}function c(O,N,B,j,z){return O[N].nesting===1&&O[N].attrJoin("class",i),z.renderToken(O,N,B,j,z)}a=a||{};var v=3,_=a.marker||":",T=_.charCodeAt(0),A=_.length,R=a.validate||l,P=a.render||c;function M(O,N,B,j){var z,W,X,Q,K,Y,Z,J,ee=!1,re=O.bMarks[N]+O.tShift[N],me=O.eMarks[N];if(T!==O.src.charCodeAt(re))return!1;for(z=re+1;z<=me&&_[(z-re)%A]===O.src[z];z++);if(X=Math.floor((z-re)/A),X<v||(z-=(z-re)%A,Q=O.src.slice(re,z),K=O.src.slice(z,me),!R(K,Q)))return!1;if(j)return!0;for(W=N;W++,!(W>=B||(re=O.bMarks[W]+O.tShift[W],me=O.eMarks[W],re<me&&O.sCount[W]<O.blkIndent));)if(T===O.src.charCodeAt(re)&&!(O.sCount[W]-O.blkIndent>=4)){for(z=re+1;z<=me&&_[(z-re)%A]===O.src[z];z++);if(!(Math.floor((z-re)/A)<X)&&(z-=(z-re)%A,z=O.skipSpaces(z),!(z<me))){ee=!0;break}}return Z=O.parentType,J=O.lineMax,O.parentType="container",O.lineMax=W,Y=O.push("container_"+i+"_open","div",1),Y.markup=Q,Y.block=!0,Y.info=K,Y.map=[N,W],O.md.block.tokenize(O,N+1,W),Y=O.push("container_"+i+"_close","div",-1),Y.markup=O.src.slice(re,z),Y.block=!0,O.parentType=Z,O.lineMax=J,O.line=W+(ee?1:0),!0}e.block.ruler.before("fence","container_"+i,M,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules["container_"+i+"_open"]=P,e.renderer.rules["container_"+i+"_close"]=P}},44632:U=>{"use strict";U.exports=function(e){var i=e.utils.isSpace;function a(v,_){var T,A,R=v.bMarks[_]+v.tShift[_],P=v.eMarks[_];return R>=P||(A=v.src.charCodeAt(R++),A!==126&&A!==58)||(T=v.skipSpaces(R),R===T)||T>=P?-1:R}function l(v,_){var T,A,R=v.level+2;for(T=_+2,A=v.tokens.length-2;T<A;T++)v.tokens[T].level===R&&v.tokens[T].type==="paragraph_open"&&(v.tokens[T+2].hidden=!0,v.tokens[T].hidden=!0,T+=2)}function c(v,_,T,A){var R,P,M,O,N,B,j,z,W,X,Q,K,Y,Z,J,ee,re,me,fe,le;if(A)return v.ddIndent<0?!1:a(v,_)>=0;if(W=_+1,W>=T||v.isEmpty(W)&&(W++,W>=T)||v.sCount[W]<v.blkIndent||(P=a(v,W),P<0))return!1;j=v.tokens.length,fe=!0,le=v.push("dl_open","dl",1),le.map=B=[_,0],O=_,M=W;e:for(;;){for(me=!1,le=v.push("dt_open","dt",1),le.map=[O,O],le=v.push("inline","",0),le.map=[O,O],le.content=v.getLines(O,O+1,v.blkIndent,!1).trim(),le.children=[],le=v.push("dt_close","dt",-1);;){for(le=v.push("dd_open","dd",1),le.map=N=[W,0],re=P,z=v.eMarks[M],X=v.sCount[M]+P-(v.bMarks[M]+v.tShift[M]);re<z&&(R=v.src.charCodeAt(re),i(R));){R===9?X+=4-X%4:X++;re++}if(P=re,ee=v.tight,Q=v.ddIndent,K=v.blkIndent,J=v.tShift[M],Z=v.sCount[M],Y=v.parentType,v.blkIndent=v.ddIndent=v.sCount[M]+2,v.tShift[M]=P-v.bMarks[M],v.sCount[M]=X,v.tight=!0,v.parentType="deflist",v.md.block.tokenize(v,M,T,!0),(!v.tight||me)&&(fe=!1),me=v.line-M>1&&v.isEmpty(v.line-1),v.tShift[M]=J,v.sCount[M]=Z,v.tight=ee,v.parentType=Y,v.blkIndent=K,v.ddIndent=Q,le=v.push("dd_close","dd",-1),N[1]=W=v.line,W>=T||v.sCount[W]<v.blkIndent)break e;if(P=a(v,W),P<0)break;M=W}if(W>=T||(O=W,v.isEmpty(O))||v.sCount[O]<v.blkIndent||(M=O+1,M>=T)||(v.isEmpty(M)&&M++,M>=T)||v.sCount[M]<v.blkIndent||(P=a(v,M),P<0))break}return le=v.push("dl_close","dl",-1),B[1]=W,v.line=W,fe&&l(v,j),!0}e.block.ruler.before("paragraph","deflist",c,{alt:["paragraph","reference","blockquote"]})}},35740:(U,C,e)=>{"use strict";var i=e(92592),a=e(27464),l=e(37776);U.exports=function(v,_){var T={defs:{},shortcuts:{},enabled:[]},A=l(v.utils.assign({},T,_||{}));v.renderer.rules.emoji=i,v.core.ruler.after("linkify","emoji",a(v,A.defs,A.shortcuts,A.scanRE,A.replaceRE))}},50840:(U,C,e)=>{"use strict";var i=e(42827),a=e(77368),l=e(35740);U.exports=function(v,_){var T={defs:i,shortcuts:a,enabled:[]},A=v.utils.assign({},T,_||{});l(v,A)}},77368:U=>{"use strict";U.exports={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]}},37776:U=>{"use strict";function C(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}U.exports=function(i){var a=i.defs,l;i.enabled.length&&(a=Object.keys(a).reduce(function(A,R){return i.enabled.indexOf(R)>=0&&(A[R]=a[R]),A},{})),l=Object.keys(i.shortcuts).reduce(function(A,R){return a[R]?Array.isArray(i.shortcuts[R])?(i.shortcuts[R].forEach(function(P){A[P]=R}),A):(A[i.shortcuts[R]]=R,A):A},{});var c=Object.keys(a),v;c.length===0?v="^$":v=c.map(function(A){return":"+A+":"}).concat(Object.keys(l)).sort().reverse().map(function(A){return C(A)}).join("|");var _=RegExp(v),T=RegExp(v,"g");return{defs:a,shortcuts:l,scanRE:_,replaceRE:T}}},92592:U=>{"use strict";U.exports=function(e,i){return e[i].content}},27464:U=>{"use strict";U.exports=function(e,i,a,l,c){var v=e.utils.arrayReplaceAt,_=e.utils.lib.ucmicro,T=new RegExp([_.Z.source,_.P.source,_.Cc.source].join("|"));function A(R,P,M){var O,N=0,B=[];return R.replace(c,function(j,z,W){var X;if(a.hasOwnProperty(j)){if(X=a[j],z>0&&!T.test(W[z-1])||z+j.length<W.length&&!T.test(W[z+j.length]))return}else X=j.slice(1,-1);z>N&&(O=new M("text","",0),O.content=R.slice(N,z),B.push(O)),O=new M("emoji","",0),O.markup=X,O.content=i[X],B.push(O),N=z+j.length}),N<R.length&&(O=new M("text","",0),O.content=R.slice(N),B.push(O)),B}return function(P){var M,O,N,B,j,z=P.tokens,W=0;for(O=0,N=z.length;O<N;O++)if(z[O].type==="inline")for(B=z[O].children,M=B.length-1;M>=0;M--)j=B[M],(j.type==="link_open"||j.type==="link_close")&&j.info==="auto"&&(W-=j.nesting),j.type==="text"&&W===0&&l.test(j.content)&&(z[O].children=B=v(B,M,A(j.content,j.level,P.Token)))}}},20252:U=>{"use strict";function C(T,A,R,P){var M=Number(T[A].meta.id+1).toString(),O="";return typeof P.docId=="string"&&(O="-"+P.docId+"-"),O+M}function e(T,A){var R=Number(T[A].meta.id+1).toString();return T[A].meta.subId>0&&(R+=":"+T[A].meta.subId),"["+R+"]"}function i(T,A,R,P,M){var O=M.rules.footnote_anchor_name(T,A,R,P,M),N=M.rules.footnote_caption(T,A,R,P,M),B=O;return T[A].meta.subId>0&&(B+=":"+T[A].meta.subId),'<sup class="footnote-ref"><a href="#fn'+O+'" id="fnref'+B+'">'+N+"</a></sup>"}function a(T,A,R){return(R.xhtmlOut?`<hr class="footnotes-sep" />
`:`<hr class="footnotes-sep">
`)+`<section class="footnotes">
<ol class="footnotes-list">
`}function l(){return`</ol>
</section>
`}function c(T,A,R,P,M){var O=M.rules.footnote_anchor_name(T,A,R,P,M);return T[A].meta.subId>0&&(O+=":"+T[A].meta.subId),'<li id="fn'+O+'" class="footnote-item">'}function v(){return`</li>
`}function _(T,A,R,P,M){var O=M.rules.footnote_anchor_name(T,A,R,P,M);return T[A].meta.subId>0&&(O+=":"+T[A].meta.subId),' <a href="#fnref'+O+'" class="footnote-backref">\u21A9\uFE0E</a>'}U.exports=function(A){var R=A.helpers.parseLinkLabel,P=A.utils.isSpace;A.renderer.rules.footnote_ref=i,A.renderer.rules.footnote_block_open=a,A.renderer.rules.footnote_block_close=l,A.renderer.rules.footnote_open=c,A.renderer.rules.footnote_close=v,A.renderer.rules.footnote_anchor=_,A.renderer.rules.footnote_caption=e,A.renderer.rules.footnote_anchor_name=C;function M(j,z,W,X){var Q,K,Y,Z,J,ee,re,me,fe,le,Ve,Ze=j.bMarks[z]+j.tShift[z],Ce=j.eMarks[z];if(Ze+4>Ce||j.src.charCodeAt(Ze)!==91||j.src.charCodeAt(Ze+1)!==94)return!1;for(J=Ze+2;J<Ce;J++){if(j.src.charCodeAt(J)===32)return!1;if(j.src.charCodeAt(J)===93)break}if(J===Ze+2||J+1>=Ce||j.src.charCodeAt(++J)!==58)return!1;if(X)return!0;for(J++,j.env.footnotes||(j.env.footnotes={}),j.env.footnotes.refs||(j.env.footnotes.refs={}),ee=j.src.slice(Ze+2,J-2),j.env.footnotes.refs[":"+ee]=-1,re=new j.Token("footnote_reference_open","",1),re.meta={label:ee},re.level=j.level++,j.tokens.push(re),Q=j.bMarks[z],K=j.tShift[z],Y=j.sCount[z],Z=j.parentType,Ve=J,me=fe=j.sCount[z]+J-(j.bMarks[z]+j.tShift[z]);J<Ce&&(le=j.src.charCodeAt(J),P(le));){le===9?fe+=4-fe%4:fe++;J++}return j.tShift[z]=J-Ve,j.sCount[z]=fe-me,j.bMarks[z]=Ve,j.blkIndent+=4,j.parentType="footnote",j.sCount[z]<j.blkIndent&&(j.sCount[z]+=j.blkIndent),j.md.block.tokenize(j,z,W,!0),j.parentType=Z,j.blkIndent-=4,j.tShift[z]=K,j.sCount[z]=Y,j.bMarks[z]=Q,re=new j.Token("footnote_reference_close","",-1),re.level=--j.level,j.tokens.push(re),!0}function O(j,z){var W,X,Q,K,Y,Z=j.posMax,J=j.pos;return J+2>=Z||j.src.charCodeAt(J)!==94||j.src.charCodeAt(J+1)!==91||(W=J+2,X=R(j,J+1),X<0)?!1:(z||(j.env.footnotes||(j.env.footnotes={}),j.env.footnotes.list||(j.env.footnotes.list=[]),Q=j.env.footnotes.list.length,j.md.inline.parse(j.src.slice(W,X),j.md,j.env,Y=[]),K=j.push("footnote_ref","",0),K.meta={id:Q},j.env.footnotes.list[Q]={content:j.src.slice(W,X),tokens:Y}),j.pos=X+1,j.posMax=Z,!0)}function N(j,z){var W,X,Q,K,Y,Z=j.posMax,J=j.pos;if(J+3>Z||!j.env.footnotes||!j.env.footnotes.refs||j.src.charCodeAt(J)!==91||j.src.charCodeAt(J+1)!==94)return!1;for(X=J+2;X<Z;X++){if(j.src.charCodeAt(X)===32||j.src.charCodeAt(X)===10)return!1;if(j.src.charCodeAt(X)===93)break}return X===J+2||X>=Z||(X++,W=j.src.slice(J+2,X-1),typeof j.env.footnotes.refs[":"+W]>"u")?!1:(z||(j.env.footnotes.list||(j.env.footnotes.list=[]),j.env.footnotes.refs[":"+W]<0?(Q=j.env.footnotes.list.length,j.env.footnotes.list[Q]={label:W,count:0},j.env.footnotes.refs[":"+W]=Q):Q=j.env.footnotes.refs[":"+W],K=j.env.footnotes.list[Q].count,j.env.footnotes.list[Q].count++,Y=j.push("footnote_ref","",0),Y.meta={id:Q,subId:K,label:W}),j.pos=X,j.posMax=Z,!0)}function B(j){var z,W,X,Q,K,Y,Z,J,ee,re,me=!1,fe={};if(j.env.footnotes&&(j.tokens=j.tokens.filter(function(le){return le.type==="footnote_reference_open"?(me=!0,ee=[],re=le.meta.label,!1):le.type==="footnote_reference_close"?(me=!1,fe[":"+re]=ee,!1):(me&&ee.push(le),!me)}),!!j.env.footnotes.list)){for(Y=j.env.footnotes.list,Z=new j.Token("footnote_block_open","",1),j.tokens.push(Z),z=0,W=Y.length;z<W;z++){for(Z=new j.Token("footnote_open","",1),Z.meta={id:z,label:Y[z].label},j.tokens.push(Z),Y[z].tokens?(J=[],Z=new j.Token("paragraph_open","p",1),Z.block=!0,J.push(Z),Z=new j.Token("inline","",0),Z.children=Y[z].tokens,Z.content=Y[z].content,J.push(Z),Z=new j.Token("paragraph_close","p",-1),Z.block=!0,J.push(Z)):Y[z].label&&(J=fe[":"+Y[z].label]),J&&(j.tokens=j.tokens.concat(J)),j.tokens[j.tokens.length-1].type==="paragraph_close"?K=j.tokens.pop():K=null,Q=Y[z].count>0?Y[z].count:1,X=0;X<Q;X++)Z=new j.Token("footnote_anchor","",0),Z.meta={id:z,subId:X,label:Y[z].label},j.tokens.push(Z);K&&j.tokens.push(K),Z=new j.Token("footnote_close","",-1),j.tokens.push(Z)}Z=new j.Token("footnote_block_close","",-1),j.tokens.push(Z)}}A.block.ruler.before("reference","footnote_def",M,{alt:["paragraph","reference"]}),A.inline.ruler.after("image","footnote_inline",O),A.inline.ruler.after("footnote_inline","footnote_ref",N),A.core.ruler.after("inline","footnote_tail",B)}},86432:U=>{"use strict";U.exports=function(e){function i(l,c){var v,_,T,A,R,P=l.pos,M=l.src.charCodeAt(P);if(c||M!==43||(_=l.scanDelims(l.pos,!0),A=_.length,R=String.fromCharCode(M),A<2))return!1;for(A%2&&(T=l.push("text","",0),T.content=R,A--),v=0;v<A;v+=2)T=l.push("text","",0),T.content=R+R,!(!_.can_open&&!_.can_close)&&l.delimiters.push({marker:M,length:0,jump:v/2,token:l.tokens.length-1,end:-1,open:_.can_open,close:_.can_close});return l.pos+=_.length,!0}function a(l,c){var v,_,T,A,R,P=[],M=c.length;for(v=0;v<M;v++)T=c[v],T.marker===43&&T.end!==-1&&(A=c[T.end],R=l.tokens[T.token],R.type="ins_open",R.tag="ins",R.nesting=1,R.markup="++",R.content="",R=l.tokens[A.token],R.type="ins_close",R.tag="ins",R.nesting=-1,R.markup="++",R.content="",l.tokens[A.token-1].type==="text"&&l.tokens[A.token-1].content==="+"&&P.push(A.token-1));for(;P.length;){for(v=P.pop(),_=v+1;_<l.tokens.length&&l.tokens[_].type==="ins_close";)_++;_--,v!==_&&(R=l.tokens[_],l.tokens[_]=l.tokens[v],l.tokens[v]=R)}}e.inline.ruler.before("emphasis","ins",i),e.inline.ruler2.before("emphasis","ins",function(l){var c,v=l.tokens_meta,_=(l.tokens_meta||[]).length;for(a(l,l.delimiters),c=0;c<_;c++)v[c]&&v[c].delimiters&&a(l,v[c].delimiters)})}},22612:U=>{"use strict";U.exports=function(e){function i(l,c){var v,_,T,A,R,P=l.pos,M=l.src.charCodeAt(P);if(c||M!==61||(_=l.scanDelims(l.pos,!0),A=_.length,R=String.fromCharCode(M),A<2))return!1;for(A%2&&(T=l.push("text","",0),T.content=R,A--),v=0;v<A;v+=2)T=l.push("text","",0),T.content=R+R,!(!_.can_open&&!_.can_close)&&l.delimiters.push({marker:M,length:0,jump:v/2,token:l.tokens.length-1,end:-1,open:_.can_open,close:_.can_close});return l.pos+=_.length,!0}function a(l,c){var v,_,T,A,R,P=[],M=c.length;for(v=0;v<M;v++)T=c[v],T.marker===61&&T.end!==-1&&(A=c[T.end],R=l.tokens[T.token],R.type="mark_open",R.tag="mark",R.nesting=1,R.markup="==",R.content="",R=l.tokens[A.token],R.type="mark_close",R.tag="mark",R.nesting=-1,R.markup="==",R.content="",l.tokens[A.token-1].type==="text"&&l.tokens[A.token-1].content==="="&&P.push(A.token-1));for(;P.length;){for(v=P.pop(),_=v+1;_<l.tokens.length&&l.tokens[_].type==="mark_close";)_++;_--,v!==_&&(R=l.tokens[_],l.tokens[_]=l.tokens[v],l.tokens[v]=R)}}e.inline.ruler.before("emphasis","mark",i),e.inline.ruler2.before("emphasis","mark",function(l){var c,v=l.tokens_meta,_=(l.tokens_meta||[]).length;for(a(l,l.delimiters),c=0;c<_;c++)v[c]&&v[c].delimiters&&a(l,v[c].delimiters)})}},24808:U=>{"use strict";var C=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function e(i,a){var l,c,v,_=i.posMax,T=i.pos;if(i.src.charCodeAt(T)!==126||a||T+2>=_)return!1;for(i.pos=T+1;i.pos<_;){if(i.src.charCodeAt(i.pos)===126){l=!0;break}i.md.inline.skipToken(i)}return!l||T+1===i.pos||(c=i.src.slice(T+1,i.pos),c.match(/(^|[^\\])(\\\\)*\s/))?(i.pos=T,!1):(i.posMax=i.pos,i.pos=T+1,v=i.push("sub_open","sub",1),v.markup="~",v=i.push("text","",0),v.content=c.replace(C,"$1"),v=i.push("sub_close","sub",-1),v.markup="~",i.pos=i.posMax+1,i.posMax=_,!0)}U.exports=function(a){a.inline.ruler.after("emphasis","sub",e)}},24024:U=>{"use strict";var C=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function e(i,a){var l,c,v,_=i.posMax,T=i.pos;if(i.src.charCodeAt(T)!==94||a||T+2>=_)return!1;for(i.pos=T+1;i.pos<_;){if(i.src.charCodeAt(i.pos)===94){l=!0;break}i.md.inline.skipToken(i)}return!l||T+1===i.pos||(c=i.src.slice(T+1,i.pos),c.match(/(^|[^\\])(\\\\)*\s/))?(i.pos=T,!1):(i.posMax=i.pos,i.pos=T+1,v=i.push("sup_open","sup",1),v.markup="^",v=i.push("text","",0),v.content=c.replace(C,"$1"),v=i.push("sup_close","sup",-1),v.markup="^",i.pos=i.posMax+1,i.posMax=_,!0)}U.exports=function(a){a.inline.ruler.after("emphasis","sup",e)}},37388:(U,C,e)=>{"use strict";U.exports=e(56160)},78648:(U,C,e)=>{"use strict";U.exports=e(68984)},29300:U=>{"use strict";U.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},53451:U=>{"use strict";var C="[a-zA-Z_:][a-zA-Z0-9:._-]*",e="[^\"'=<>`\\x00-\\x20]+",i="'[^']*'",a='"[^"]*"',l="(?:"+e+"|"+i+"|"+a+")",c="(?:\\s+"+C+"(?:\\s*=\\s*"+l+")?)",v="<[A-Za-z][A-Za-z0-9\\-]*"+c+"*\\s*\\/?>",_="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",T="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",A="<[?][\\s\\S]*?[?]>",R="<![A-Z]+\\s+[^>]*>",P="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",M=new RegExp("^(?:"+v+"|"+_+"|"+T+"|"+A+"|"+R+"|"+P+")"),O=new RegExp("^(?:"+v+"|"+_+")");U.exports.M=M,U.exports.A=O},97423:(U,C,e)=>{"use strict";function i(Ze){return Object.prototype.toString.call(Ze)}function a(Ze){return i(Ze)==="[object String]"}var l=Object.prototype.hasOwnProperty;function c(Ze,Ce){return l.call(Ze,Ce)}function v(Ze){var Ce=Array.prototype.slice.call(arguments,1);return Ce.forEach(function(ye){if(ye){if(typeof ye!="object")throw new TypeError(ye+"must be object");Object.keys(ye).forEach(function(Ae){Ze[Ae]=ye[Ae]})}}),Ze}function _(Ze,Ce,ye){return[].concat(Ze.slice(0,Ce),ye,Ze.slice(Ce+1))}function T(Ze){return!(Ze>=55296&&Ze<=57343||Ze>=64976&&Ze<=65007||(Ze&65535)===65535||(Ze&65535)===65534||Ze>=0&&Ze<=8||Ze===11||Ze>=14&&Ze<=31||Ze>=127&&Ze<=159||Ze>1114111)}function A(Ze){if(Ze>65535){Ze-=65536;var Ce=55296+(Ze>>10),ye=56320+(Ze&1023);return String.fromCharCode(Ce,ye)}return String.fromCharCode(Ze)}var R=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,P=/&([a-z#][a-z0-9]{1,31});/gi,M=new RegExp(R.source+"|"+P.source,"gi"),O=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,N=e(78648);function B(Ze,Ce){var ye=0;return c(N,Ce)?N[Ce]:Ce.charCodeAt(0)===35&&O.test(Ce)&&(ye=Ce[1].toLowerCase()==="x"?parseInt(Ce.slice(2),16):parseInt(Ce.slice(1),10),T(ye))?A(ye):Ze}function j(Ze){return Ze.indexOf("\\")<0?Ze:Ze.replace(R,"$1")}function z(Ze){return Ze.indexOf("\\")<0&&Ze.indexOf("&")<0?Ze:Ze.replace(M,function(Ce,ye,Ae){return ye||B(Ce,Ae)})}var W=/[&<>"]/,X=/[&<>"]/g,Q={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function K(Ze){return Q[Ze]}function Y(Ze){return W.test(Ze)?Ze.replace(X,K):Ze}var Z=/[.?*+^$[\]\\(){}|-]/g;function J(Ze){return Ze.replace(Z,"\\$&")}function ee(Ze){switch(Ze){case 9:case 32:return!0}return!1}function re(Ze){if(Ze>=8192&&Ze<=8202)return!0;switch(Ze){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var me=e(47328);function fe(Ze){return me.test(Ze)}function le(Ze){switch(Ze){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Ve(Ze){return Ze=Ze.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(Ze=Ze.replace(/ẞ/g,"\xDF")),Ze.toLowerCase().toUpperCase()}C.lib={},C.lib.mdurl=e(66148),C.lib.ucmicro=e(34788),C.assign=v,C.isString=a,C.has=c,C.unescapeMd=j,C.unescapeAll=z,C.isValidEntityCode=T,C.fromCodePoint=A,C.escapeHtml=Y,C.arrayReplaceAt=_,C.isSpace=ee,C.isWhiteSpace=re,C.isMdAsciiPunct=le,C.isPunctChar=fe,C.escapeRE=J,C.normalizeReference=Ve},23451:(U,C,e)=>{"use strict";C.parseLinkLabel=e(6436),C.parseLinkDestination=e(86136),C.parseLinkTitle=e(34976)},86136:(U,C,e)=>{"use strict";var i=e(97423).unescapeAll;U.exports=function(l,c,v){var _,T,A=0,R=c,P={ok:!1,pos:0,lines:0,str:""};if(l.charCodeAt(c)===60){for(c++;c<v;){if(_=l.charCodeAt(c),_===10||_===60)return P;if(_===62)return P.pos=c+1,P.str=i(l.slice(R+1,c)),P.ok=!0,P;if(_===92&&c+1<v){c+=2;continue}c++}return P}for(T=0;c<v&&(_=l.charCodeAt(c),!(_===32||_<32||_===127));){if(_===92&&c+1<v){if(l.charCodeAt(c+1)===32)break;c+=2;continue}if(_===40&&(T++,T>32))return P;if(_===41){if(T===0)break;T--}c++}return R===c||T!==0||(P.str=i(l.slice(R,c)),P.lines=A,P.pos=c,P.ok=!0),P}},6436:U=>{"use strict";U.exports=function(e,i,a){var l,c,v,_,T=-1,A=e.posMax,R=e.pos;for(e.pos=i+1,l=1;e.pos<A;){if(v=e.src.charCodeAt(e.pos),v===93&&(l--,l===0)){c=!0;break}if(_=e.pos,e.md.inline.skipToken(e),v===91){if(_===e.pos-1)l++;else if(a)return e.pos=R,-1}}return c&&(T=e.pos),e.pos=R,T}},34976:(U,C,e)=>{"use strict";var i=e(97423).unescapeAll;U.exports=function(l,c,v){var _,T,A=0,R=c,P={ok:!1,pos:0,lines:0,str:""};if(c>=v||(T=l.charCodeAt(c),T!==34&&T!==39&&T!==40))return P;for(c++,T===40&&(T=41);c<v;){if(_=l.charCodeAt(c),_===T)return P.pos=c+1,P.lines=A,P.str=i(l.slice(R+1,c)),P.ok=!0,P;if(_===40&&T===41)return P;_===10?A++:_===92&&c+1<v&&(c++,l.charCodeAt(c)===10&&A++),c++}return P}},56160:(U,C,e)=>{"use strict";var i=e(97423),a=e(23451),l=e(27028),c=e(32968),v=e(49036),_=e(53128),T=e(36484),A=e(66148),R=e(8920),P={default:e(1584),zero:e(56616),commonmark:e(62172)},M=/^(vbscript|javascript|file|data):/,O=/^data:image\/(gif|png|jpeg|webp);/;function N(X){var Q=X.trim().toLowerCase();return M.test(Q)?!!O.test(Q):!0}var B=["http:","https:","mailto:"];function j(X){var Q=A.parse(X,!0);if(Q.hostname&&(!Q.protocol||B.indexOf(Q.protocol)>=0))try{Q.hostname=R.toASCII(Q.hostname)}catch{}return A.encode(A.format(Q))}function z(X){var Q=A.parse(X,!0);if(Q.hostname&&(!Q.protocol||B.indexOf(Q.protocol)>=0))try{Q.hostname=R.toUnicode(Q.hostname)}catch{}return A.decode(A.format(Q),A.decode.defaultChars+"%")}function W(X,Q){if(!(this instanceof W))return new W(X,Q);Q||i.isString(X)||(Q=X||{},X="default"),this.inline=new _,this.block=new v,this.core=new c,this.renderer=new l,this.linkify=new T,this.validateLink=N,this.normalizeLink=j,this.normalizeLinkText=z,this.utils=i,this.helpers=i.assign({},a),this.options={},this.configure(X),Q&&this.set(Q)}W.prototype.set=function(X){return i.assign(this.options,X),this},W.prototype.configure=function(X){var Q=this,K;if(i.isString(X)&&(K=X,X=P[K],!X))throw new Error('Wrong `markdown-it` preset "'+K+'", check name');if(!X)throw new Error("Wrong `markdown-it` preset, can't be empty");return X.options&&Q.set(X.options),X.components&&Object.keys(X.components).forEach(function(Y){X.components[Y].rules&&Q[Y].ruler.enableOnly(X.components[Y].rules),X.components[Y].rules2&&Q[Y].ruler2.enableOnly(X.components[Y].rules2)}),this},W.prototype.enable=function(X,Q){var K=[];Array.isArray(X)||(X=[X]),["core","block","inline"].forEach(function(Z){K=K.concat(this[Z].ruler.enable(X,!0))},this),K=K.concat(this.inline.ruler2.enable(X,!0));var Y=X.filter(function(Z){return K.indexOf(Z)<0});if(Y.length&&!Q)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+Y);return this},W.prototype.disable=function(X,Q){var K=[];Array.isArray(X)||(X=[X]),["core","block","inline"].forEach(function(Z){K=K.concat(this[Z].ruler.disable(X,!0))},this),K=K.concat(this.inline.ruler2.disable(X,!0));var Y=X.filter(function(Z){return K.indexOf(Z)<0});if(Y.length&&!Q)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+Y);return this},W.prototype.use=function(X){var Q=[this].concat(Array.prototype.slice.call(arguments,1));return X.apply(X,Q),this},W.prototype.parse=function(X,Q){if(typeof X!="string")throw new Error("Input data should be a String");var K=new this.core.State(X,this,Q);return this.core.process(K),K.tokens},W.prototype.render=function(X,Q){return Q=Q||{},this.renderer.render(this.parse(X,Q),this.options,Q)},W.prototype.parseInline=function(X,Q){var K=new this.core.State(X,this,Q);return K.inlineMode=!0,this.core.process(K),K.tokens},W.prototype.renderInline=function(X,Q){return Q=Q||{},this.renderer.render(this.parseInline(X,Q),this.options,Q)},U.exports=W},49036:(U,C,e)=>{"use strict";var i=e(88460),a=[["table",e(64248),["paragraph","reference"]],["code",e(81333)],["fence",e(424),["paragraph","reference","blockquote","list"]],["blockquote",e(12552),["paragraph","reference","blockquote","list"]],["hr",e(41136),["paragraph","reference","blockquote","list"]],["list",e(11256),["paragraph","reference","blockquote"]],["reference",e(5456)],["html_block",e(79252),["paragraph","reference","blockquote"]],["heading",e(34092),["paragraph","reference","blockquote"]],["lheading",e(22128)],["paragraph",e(41600)]];function l(){this.ruler=new i;for(var c=0;c<a.length;c++)this.ruler.push(a[c][0],a[c][1],{alt:(a[c][2]||[]).slice()})}l.prototype.tokenize=function(c,v,_){for(var T,A,R=this.ruler.getRules(""),P=R.length,M=v,O=!1,N=c.md.options.maxNesting;M<_&&(c.line=M=c.skipEmptyLines(M),!(M>=_||c.sCount[M]<c.blkIndent));){if(c.level>=N){c.line=_;break}for(A=0;A<P&&(T=R[A](c,M,_,!1),!T);A++);c.tight=!O,c.isEmpty(c.line-1)&&(O=!0),M=c.line,M<_&&c.isEmpty(M)&&(O=!0,M++,c.line=M)}},l.prototype.parse=function(c,v,_,T){var A;c&&(A=new this.State(c,v,_,T),this.tokenize(A,A.line,A.lineMax))},l.prototype.State=e(59504),U.exports=l},32968:(U,C,e)=>{"use strict";var i=e(88460),a=[["normalize",e(21832)],["block",e(34982)],["inline",e(62240)],["linkify",e(25856)],["replacements",e(86680)],["smartquotes",e(15932)]];function l(){this.ruler=new i;for(var c=0;c<a.length;c++)this.ruler.push(a[c][0],a[c][1])}l.prototype.process=function(c){var v,_,T;for(T=this.ruler.getRules(""),v=0,_=T.length;v<_;v++)T[v](c)},l.prototype.State=e(48648),U.exports=l},53128:(U,C,e)=>{"use strict";var i=e(88460),a=[["text",e(14576)],["newline",e(69720)],["escape",e(70352)],["backticks",e(92472)],["strikethrough",e(67036).A],["emphasis",e(16776).A],["link",e(74212)],["image",e(95364)],["autolink",e(21823)],["html_inline",e(19915)],["entity",e(99832)]],l=[["balance_pairs",e(18384)],["strikethrough",e(67036).S],["emphasis",e(16776).S],["text_collapse",e(9584)]];function c(){var v;for(this.ruler=new i,v=0;v<a.length;v++)this.ruler.push(a[v][0],a[v][1]);for(this.ruler2=new i,v=0;v<l.length;v++)this.ruler2.push(l[v][0],l[v][1])}c.prototype.skipToken=function(v){var _,T,A=v.pos,R=this.ruler.getRules(""),P=R.length,M=v.md.options.maxNesting,O=v.cache;if(typeof O[A]<"u"){v.pos=O[A];return}if(v.level<M)for(T=0;T<P&&(v.level++,_=R[T](v,!0),v.level--,!_);T++);else v.pos=v.posMax;_||v.pos++,O[A]=v.pos},c.prototype.tokenize=function(v){for(var _,T,A=this.ruler.getRules(""),R=A.length,P=v.posMax,M=v.md.options.maxNesting;v.pos<P;){if(v.level<M)for(T=0;T<R&&(_=A[T](v,!1),!_);T++);if(_){if(v.pos>=P)break;continue}v.pending+=v.src[v.pos++]}v.pending&&v.pushPending()},c.prototype.parse=function(v,_,T,A){var R,P,M,O=new this.State(v,_,T,A);for(this.tokenize(O),P=this.ruler2.getRules(""),M=P.length,R=0;R<M;R++)P[R](O)},c.prototype.State=e(72792),U.exports=c},62172:U=>{"use strict";U.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},1584:U=>{"use strict";U.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},56616:U=>{"use strict";U.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},27028:(U,C,e)=>{"use strict";var i=e(97423).assign,a=e(97423).unescapeAll,l=e(97423).escapeHtml,c={};c.code_inline=function(_,T,A,R,P){var M=_[T];return"<code"+P.renderAttrs(M)+">"+l(_[T].content)+"</code>"},c.code_block=function(_,T,A,R,P){var M=_[T];return"<pre"+P.renderAttrs(M)+"><code>"+l(_[T].content)+`</code></pre>
`},c.fence=function(_,T,A,R,P){var M=_[T],O=M.info?a(M.info).trim():"",N="",B="",j,z,W,X,Q;return O&&(W=O.split(/(\s+)/g),N=W[0],B=W.slice(2).join("")),A.highlight?j=A.highlight(M.content,N,B)||l(M.content):j=l(M.content),j.indexOf("<pre")===0?j+`
`:O?(z=M.attrIndex("class"),X=M.attrs?M.attrs.slice():[],z<0?X.push(["class",A.langPrefix+N]):(X[z]=X[z].slice(),X[z][1]+=" "+A.langPrefix+N),Q={attrs:X},"<pre><code"+P.renderAttrs(Q)+">"+j+`</code></pre>
`):"<pre><code"+P.renderAttrs(M)+">"+j+`</code></pre>
`},c.image=function(_,T,A,R,P){var M=_[T];return M.attrs[M.attrIndex("alt")][1]=P.renderInlineAsText(M.children,A,R),P.renderToken(_,T,A)},c.hardbreak=function(_,T,A){return A.xhtmlOut?`<br />
`:`<br>
`},c.softbreak=function(_,T,A){return A.breaks?A.xhtmlOut?`<br />
`:`<br>
`:`
`},c.text=function(_,T){return l(_[T].content)},c.html_block=function(_,T){return _[T].content},c.html_inline=function(_,T){return _[T].content};function v(){this.rules=i({},c)}v.prototype.renderAttrs=function(T){var A,R,P;if(!T.attrs)return"";for(P="",A=0,R=T.attrs.length;A<R;A++)P+=" "+l(T.attrs[A][0])+'="'+l(T.attrs[A][1])+'"';return P},v.prototype.renderToken=function(T,A,R){var P,M="",O=!1,N=T[A];return N.hidden?"":(N.block&&N.nesting!==-1&&A&&T[A-1].hidden&&(M+=`
`),M+=(N.nesting===-1?"</":"<")+N.tag,M+=this.renderAttrs(N),N.nesting===0&&R.xhtmlOut&&(M+=" /"),N.block&&(O=!0,N.nesting===1&&A+1<T.length&&(P=T[A+1],(P.type==="inline"||P.hidden||P.nesting===-1&&P.tag===N.tag)&&(O=!1))),M+=O?`>
`:">",M)},v.prototype.renderInline=function(_,T,A){for(var R,P="",M=this.rules,O=0,N=_.length;O<N;O++)R=_[O].type,typeof M[R]<"u"?P+=M[R](_,O,T,A,this):P+=this.renderToken(_,O,T);return P},v.prototype.renderInlineAsText=function(_,T,A){for(var R="",P=0,M=_.length;P<M;P++)_[P].type==="text"?R+=_[P].content:_[P].type==="image"?R+=this.renderInlineAsText(_[P].children,T,A):_[P].type==="softbreak"&&(R+=`
`);return R},v.prototype.render=function(_,T,A){var R,P,M,O="",N=this.rules;for(R=0,P=_.length;R<P;R++)M=_[R].type,M==="inline"?O+=this.renderInline(_[R].children,T,A):typeof N[M]<"u"?O+=N[_[R].type](_,R,T,A,this):O+=this.renderToken(_,R,T,A);return O},U.exports=v},88460:U=>{"use strict";function C(){this.__rules__=[],this.__cache__=null}C.prototype.__find__=function(e){for(var i=0;i<this.__rules__.length;i++)if(this.__rules__[i].name===e)return i;return-1},C.prototype.__compile__=function(){var e=this,i=[""];e.__rules__.forEach(function(a){a.enabled&&a.alt.forEach(function(l){i.indexOf(l)<0&&i.push(l)})}),e.__cache__={},i.forEach(function(a){e.__cache__[a]=[],e.__rules__.forEach(function(l){l.enabled&&(a&&l.alt.indexOf(a)<0||e.__cache__[a].push(l.fn))})})},C.prototype.at=function(e,i,a){var l=this.__find__(e),c=a||{};if(l===-1)throw new Error("Parser rule not found: "+e);this.__rules__[l].fn=i,this.__rules__[l].alt=c.alt||[],this.__cache__=null},C.prototype.before=function(e,i,a,l){var c=this.__find__(e),v=l||{};if(c===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(c,0,{name:i,enabled:!0,fn:a,alt:v.alt||[]}),this.__cache__=null},C.prototype.after=function(e,i,a,l){var c=this.__find__(e),v=l||{};if(c===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(c+1,0,{name:i,enabled:!0,fn:a,alt:v.alt||[]}),this.__cache__=null},C.prototype.push=function(e,i,a){var l=a||{};this.__rules__.push({name:e,enabled:!0,fn:i,alt:l.alt||[]}),this.__cache__=null},C.prototype.enable=function(e,i){Array.isArray(e)||(e=[e]);var a=[];return e.forEach(function(l){var c=this.__find__(l);if(c<0){if(i)return;throw new Error("Rules manager: invalid rule name "+l)}this.__rules__[c].enabled=!0,a.push(l)},this),this.__cache__=null,a},C.prototype.enableOnly=function(e,i){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(a){a.enabled=!1}),this.enable(e,i)},C.prototype.disable=function(e,i){Array.isArray(e)||(e=[e]);var a=[];return e.forEach(function(l){var c=this.__find__(l);if(c<0){if(i)return;throw new Error("Rules manager: invalid rule name "+l)}this.__rules__[c].enabled=!1,a.push(l)},this),this.__cache__=null,a},C.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]},U.exports=C},12552:(U,C,e)=>{"use strict";var i=e(97423).isSpace;U.exports=function(l,c,v,_){var T,A,R,P,M,O,N,B,j,z,W,X,Q,K,Y,Z,J,ee,re,me,fe=l.lineMax,le=l.bMarks[c]+l.tShift[c],Ve=l.eMarks[c];if(l.sCount[c]-l.blkIndent>=4||l.src.charCodeAt(le++)!==62)return!1;if(_)return!0;for(P=j=l.sCount[c]+1,l.src.charCodeAt(le)===32?(le++,P++,j++,T=!1,Z=!0):l.src.charCodeAt(le)===9?(Z=!0,(l.bsCount[c]+j)%4===3?(le++,P++,j++,T=!1):T=!0):Z=!1,z=[l.bMarks[c]],l.bMarks[c]=le;le<Ve&&(A=l.src.charCodeAt(le),i(A));){A===9?j+=4-(j+l.bsCount[c]+(T?1:0))%4:j++;le++}for(W=[l.bsCount[c]],l.bsCount[c]=l.sCount[c]+1+(Z?1:0),O=le>=Ve,K=[l.sCount[c]],l.sCount[c]=j-P,Y=[l.tShift[c]],l.tShift[c]=le-l.bMarks[c],ee=l.md.block.ruler.getRules("blockquote"),Q=l.parentType,l.parentType="blockquote",B=c+1;B<v&&(me=l.sCount[B]<l.blkIndent,le=l.bMarks[B]+l.tShift[B],Ve=l.eMarks[B],!(le>=Ve));B++){if(l.src.charCodeAt(le++)===62&&!me){for(P=j=l.sCount[B]+1,l.src.charCodeAt(le)===32?(le++,P++,j++,T=!1,Z=!0):l.src.charCodeAt(le)===9?(Z=!0,(l.bsCount[B]+j)%4===3?(le++,P++,j++,T=!1):T=!0):Z=!1,z.push(l.bMarks[B]),l.bMarks[B]=le;le<Ve&&(A=l.src.charCodeAt(le),i(A));){A===9?j+=4-(j+l.bsCount[B]+(T?1:0))%4:j++;le++}O=le>=Ve,W.push(l.bsCount[B]),l.bsCount[B]=l.sCount[B]+1+(Z?1:0),K.push(l.sCount[B]),l.sCount[B]=j-P,Y.push(l.tShift[B]),l.tShift[B]=le-l.bMarks[B];continue}if(O)break;for(J=!1,R=0,M=ee.length;R<M;R++)if(ee[R](l,B,v,!0)){J=!0;break}if(J){l.lineMax=B,l.blkIndent!==0&&(z.push(l.bMarks[B]),W.push(l.bsCount[B]),Y.push(l.tShift[B]),K.push(l.sCount[B]),l.sCount[B]-=l.blkIndent);break}z.push(l.bMarks[B]),W.push(l.bsCount[B]),Y.push(l.tShift[B]),K.push(l.sCount[B]),l.sCount[B]=-1}for(X=l.blkIndent,l.blkIndent=0,re=l.push("blockquote_open","blockquote",1),re.markup=">",re.map=N=[c,0],l.md.block.tokenize(l,c,B),re=l.push("blockquote_close","blockquote",-1),re.markup=">",l.lineMax=fe,l.parentType=Q,N[1]=l.line,R=0;R<Y.length;R++)l.bMarks[R+c]=z[R],l.tShift[R+c]=Y[R],l.sCount[R+c]=K[R],l.bsCount[R+c]=W[R];return l.blkIndent=X,!0}},81333:U=>{"use strict";U.exports=function(e,i,a){var l,c,v;if(e.sCount[i]-e.blkIndent<4)return!1;for(c=l=i+1;l<a;){if(e.isEmpty(l)){l++;continue}if(e.sCount[l]-e.blkIndent>=4){l++,c=l;continue}break}return e.line=c,v=e.push("code_block","code",0),v.content=e.getLines(i,c,4+e.blkIndent,!1)+`
`,v.map=[i,e.line],!0}},424:U=>{"use strict";U.exports=function(e,i,a,l){var c,v,_,T,A,R,P,M=!1,O=e.bMarks[i]+e.tShift[i],N=e.eMarks[i];if(e.sCount[i]-e.blkIndent>=4||O+3>N||(c=e.src.charCodeAt(O),c!==126&&c!==96)||(A=O,O=e.skipChars(O,c),v=O-A,v<3)||(P=e.src.slice(A,O),_=e.src.slice(O,N),c===96&&_.indexOf(String.fromCharCode(c))>=0))return!1;if(l)return!0;for(T=i;T++,!(T>=a||(O=A=e.bMarks[T]+e.tShift[T],N=e.eMarks[T],O<N&&e.sCount[T]<e.blkIndent));)if(e.src.charCodeAt(O)===c&&!(e.sCount[T]-e.blkIndent>=4)&&(O=e.skipChars(O,c),!(O-A<v)&&(O=e.skipSpaces(O),!(O<N)))){M=!0;break}return v=e.sCount[i],e.line=T+(M?1:0),R=e.push("fence","code",0),R.info=_,R.content=e.getLines(i+1,T,v,!0),R.markup=P,R.map=[i,e.line],!0}},34092:(U,C,e)=>{"use strict";var i=e(97423).isSpace;U.exports=function(l,c,v,_){var T,A,R,P,M=l.bMarks[c]+l.tShift[c],O=l.eMarks[c];if(l.sCount[c]-l.blkIndent>=4||(T=l.src.charCodeAt(M),T!==35||M>=O))return!1;for(A=1,T=l.src.charCodeAt(++M);T===35&&M<O&&A<=6;)A++,T=l.src.charCodeAt(++M);return A>6||M<O&&!i(T)?!1:(_||(O=l.skipSpacesBack(O,M),R=l.skipCharsBack(O,35,M),R>M&&i(l.src.charCodeAt(R-1))&&(O=R),l.line=c+1,P=l.push("heading_open","h"+String(A),1),P.markup="########".slice(0,A),P.map=[c,l.line],P=l.push("inline","",0),P.content=l.src.slice(M,O).trim(),P.map=[c,l.line],P.children=[],P=l.push("heading_close","h"+String(A),-1),P.markup="########".slice(0,A)),!0)}},41136:(U,C,e)=>{"use strict";var i=e(97423).isSpace;U.exports=function(l,c,v,_){var T,A,R,P,M=l.bMarks[c]+l.tShift[c],O=l.eMarks[c];if(l.sCount[c]-l.blkIndent>=4||(T=l.src.charCodeAt(M++),T!==42&&T!==45&&T!==95))return!1;for(A=1;M<O;){if(R=l.src.charCodeAt(M++),R!==T&&!i(R))return!1;R===T&&A++}return A<3?!1:(_||(l.line=c+1,P=l.push("hr","hr",0),P.map=[c,l.line],P.markup=Array(A+1).join(String.fromCharCode(T))),!0)}},79252:(U,C,e)=>{"use strict";var i=e(29300),a=e(53451).A,l=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+i.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];U.exports=function(v,_,T,A){var R,P,M,O,N=v.bMarks[_]+v.tShift[_],B=v.eMarks[_];if(v.sCount[_]-v.blkIndent>=4||!v.md.options.html||v.src.charCodeAt(N)!==60)return!1;for(O=v.src.slice(N,B),R=0;R<l.length&&!l[R][0].test(O);R++);if(R===l.length)return!1;if(A)return l[R][2];if(P=_+1,!l[R][1].test(O)){for(;P<T&&!(v.sCount[P]<v.blkIndent);P++)if(N=v.bMarks[P]+v.tShift[P],B=v.eMarks[P],O=v.src.slice(N,B),l[R][1].test(O)){O.length!==0&&P++;break}}return v.line=P,M=v.push("html_block","",0),M.map=[_,P],M.content=v.getLines(_,P,v.blkIndent,!0),!0}},22128:U=>{"use strict";U.exports=function(e,i,a){var l,c,v,_,T,A,R,P,M,O=i+1,N,B=e.md.block.ruler.getRules("paragraph");if(e.sCount[i]-e.blkIndent>=4)return!1;for(N=e.parentType,e.parentType="paragraph";O<a&&!e.isEmpty(O);O++)if(!(e.sCount[O]-e.blkIndent>3)){if(e.sCount[O]>=e.blkIndent&&(A=e.bMarks[O]+e.tShift[O],R=e.eMarks[O],A<R&&(M=e.src.charCodeAt(A),(M===45||M===61)&&(A=e.skipChars(A,M),A=e.skipSpaces(A),A>=R)))){P=M===61?1:2;break}if(!(e.sCount[O]<0)){for(c=!1,v=0,_=B.length;v<_;v++)if(B[v](e,O,a,!0)){c=!0;break}if(c)break}}return P?(l=e.getLines(i,O,e.blkIndent,!1).trim(),e.line=O+1,T=e.push("heading_open","h"+String(P),1),T.markup=String.fromCharCode(M),T.map=[i,e.line],T=e.push("inline","",0),T.content=l,T.map=[i,e.line-1],T.children=[],T=e.push("heading_close","h"+String(P),-1),T.markup=String.fromCharCode(M),e.parentType=N,!0):!1}},11256:(U,C,e)=>{"use strict";var i=e(97423).isSpace;function a(v,_){var T,A,R,P;return A=v.bMarks[_]+v.tShift[_],R=v.eMarks[_],T=v.src.charCodeAt(A++),T!==42&&T!==45&&T!==43||A<R&&(P=v.src.charCodeAt(A),!i(P))?-1:A}function l(v,_){var T,A=v.bMarks[_]+v.tShift[_],R=A,P=v.eMarks[_];if(R+1>=P||(T=v.src.charCodeAt(R++),T<48||T>57))return-1;for(;;){if(R>=P)return-1;if(T=v.src.charCodeAt(R++),T>=48&&T<=57){if(R-A>=10)return-1;continue}if(T===41||T===46)break;return-1}return R<P&&(T=v.src.charCodeAt(R),!i(T))?-1:R}function c(v,_){var T,A,R=v.level+2;for(T=_+2,A=v.tokens.length-2;T<A;T++)v.tokens[T].level===R&&v.tokens[T].type==="paragraph_open"&&(v.tokens[T+2].hidden=!0,v.tokens[T].hidden=!0,T+=2)}U.exports=function(_,T,A,R){var P,M,O,N,B,j,z,W,X,Q,K,Y,Z,J,ee,re,me,fe,le,Ve,Ze,Ce,ye,Ae,Fe,Qe,ce,Ge,Pe=!1,pe=!0;if(_.sCount[T]-_.blkIndent>=4||_.listIndent>=0&&_.sCount[T]-_.listIndent>=4&&_.sCount[T]<_.blkIndent)return!1;if(R&&_.parentType==="paragraph"&&_.sCount[T]>=_.blkIndent&&(Pe=!0),(ye=l(_,T))>=0){if(z=!0,Fe=_.bMarks[T]+_.tShift[T],Z=Number(_.src.slice(Fe,ye-1)),Pe&&Z!==1)return!1}else if((ye=a(_,T))>=0)z=!1;else return!1;if(Pe&&_.skipSpaces(ye)>=_.eMarks[T])return!1;if(Y=_.src.charCodeAt(ye-1),R)return!0;for(K=_.tokens.length,z?(Ge=_.push("ordered_list_open","ol",1),Z!==1&&(Ge.attrs=[["start",Z]])):Ge=_.push("bullet_list_open","ul",1),Ge.map=Q=[T,0],Ge.markup=String.fromCharCode(Y),ee=T,Ae=!1,ce=_.md.block.ruler.getRules("list"),fe=_.parentType,_.parentType="list";ee<A;){for(Ce=ye,J=_.eMarks[ee],j=re=_.sCount[ee]+ye-(_.bMarks[T]+_.tShift[T]);Ce<J;){if(P=_.src.charCodeAt(Ce),P===9)re+=4-(re+_.bsCount[ee])%4;else if(P===32)re++;else break;Ce++}if(M=Ce,M>=J?B=1:B=re-j,B>4&&(B=1),N=j+B,Ge=_.push("list_item_open","li",1),Ge.markup=String.fromCharCode(Y),Ge.map=W=[T,0],z&&(Ge.info=_.src.slice(Fe,ye-1)),Ze=_.tight,Ve=_.tShift[T],le=_.sCount[T],me=_.listIndent,_.listIndent=_.blkIndent,_.blkIndent=N,_.tight=!0,_.tShift[T]=M-_.bMarks[T],_.sCount[T]=re,M>=J&&_.isEmpty(T+1)?_.line=Math.min(_.line+2,A):_.md.block.tokenize(_,T,A,!0),(!_.tight||Ae)&&(pe=!1),Ae=_.line-T>1&&_.isEmpty(_.line-1),_.blkIndent=_.listIndent,_.listIndent=me,_.tShift[T]=Ve,_.sCount[T]=le,_.tight=Ze,Ge=_.push("list_item_close","li",-1),Ge.markup=String.fromCharCode(Y),ee=T=_.line,W[1]=ee,M=_.bMarks[T],ee>=A||_.sCount[ee]<_.blkIndent||_.sCount[T]-_.blkIndent>=4)break;for(Qe=!1,O=0,X=ce.length;O<X;O++)if(ce[O](_,ee,A,!0)){Qe=!0;break}if(Qe)break;if(z){if(ye=l(_,ee),ye<0)break;Fe=_.bMarks[ee]+_.tShift[ee]}else if(ye=a(_,ee),ye<0)break;if(Y!==_.src.charCodeAt(ye-1))break}return z?Ge=_.push("ordered_list_close","ol",-1):Ge=_.push("bullet_list_close","ul",-1),Ge.markup=String.fromCharCode(Y),Q[1]=ee,_.line=ee,_.parentType=fe,pe&&c(_,K),!0}},41600:U=>{"use strict";U.exports=function(e,i){var a,l,c,v,_,T,A=i+1,R=e.md.block.ruler.getRules("paragraph"),P=e.lineMax;for(T=e.parentType,e.parentType="paragraph";A<P&&!e.isEmpty(A);A++)if(!(e.sCount[A]-e.blkIndent>3)&&!(e.sCount[A]<0)){for(l=!1,c=0,v=R.length;c<v;c++)if(R[c](e,A,P,!0)){l=!0;break}if(l)break}return a=e.getLines(i,A,e.blkIndent,!1).trim(),e.line=A,_=e.push("paragraph_open","p",1),_.map=[i,e.line],_=e.push("inline","",0),_.content=a,_.map=[i,e.line],_.children=[],_=e.push("paragraph_close","p",-1),e.parentType=T,!0}},5456:(U,C,e)=>{"use strict";var i=e(97423).normalizeReference,a=e(97423).isSpace;U.exports=function(c,v,_,T){var A,R,P,M,O,N,B,j,z,W,X,Q,K,Y,Z,J,ee=0,re=c.bMarks[v]+c.tShift[v],me=c.eMarks[v],fe=v+1;if(c.sCount[v]-c.blkIndent>=4||c.src.charCodeAt(re)!==91)return!1;for(;++re<me;)if(c.src.charCodeAt(re)===93&&c.src.charCodeAt(re-1)!==92){if(re+1===me||c.src.charCodeAt(re+1)!==58)return!1;break}for(M=c.lineMax,Z=c.md.block.ruler.getRules("reference"),W=c.parentType,c.parentType="reference";fe<M&&!c.isEmpty(fe);fe++)if(!(c.sCount[fe]-c.blkIndent>3)&&!(c.sCount[fe]<0)){for(Y=!1,N=0,B=Z.length;N<B;N++)if(Z[N](c,fe,M,!0)){Y=!0;break}if(Y)break}for(K=c.getLines(v,fe,c.blkIndent,!1).trim(),me=K.length,re=1;re<me;re++){if(A=K.charCodeAt(re),A===91)return!1;if(A===93){z=re;break}else A===10?ee++:A===92&&(re++,re<me&&K.charCodeAt(re)===10&&ee++)}if(z<0||K.charCodeAt(z+1)!==58)return!1;for(re=z+2;re<me;re++)if(A=K.charCodeAt(re),A===10)ee++;else if(!a(A))break;if(X=c.md.helpers.parseLinkDestination(K,re,me),!X.ok||(O=c.md.normalizeLink(X.str),!c.md.validateLink(O)))return!1;for(re=X.pos,ee+=X.lines,R=re,P=ee,Q=re;re<me;re++)if(A=K.charCodeAt(re),A===10)ee++;else if(!a(A))break;for(X=c.md.helpers.parseLinkTitle(K,re,me),re<me&&Q!==re&&X.ok?(J=X.str,re=X.pos,ee+=X.lines):(J="",re=R,ee=P);re<me&&(A=K.charCodeAt(re),!!a(A));)re++;if(re<me&&K.charCodeAt(re)!==10&&J)for(J="",re=R,ee=P;re<me&&(A=K.charCodeAt(re),!!a(A));)re++;return re<me&&K.charCodeAt(re)!==10||(j=i(K.slice(1,z)),!j)?!1:(T||(typeof c.env.references>"u"&&(c.env.references={}),typeof c.env.references[j]>"u"&&(c.env.references[j]={title:J,href:O}),c.parentType=W,c.line=v+ee+1),!0)}},59504:(U,C,e)=>{"use strict";var i=e(80288),a=e(97423).isSpace;function l(c,v,_,T){var A,R,P,M,O,N,B,j;for(this.src=c,this.md=v,this.env=_,this.tokens=T,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",R=this.src,j=!1,P=M=N=B=0,O=R.length;M<O;M++){if(A=R.charCodeAt(M),!j)if(a(A)){N++,A===9?B+=4-B%4:B++;continue}else j=!0;(A===10||M===O-1)&&(A!==10&&M++,this.bMarks.push(P),this.eMarks.push(M),this.tShift.push(N),this.sCount.push(B),this.bsCount.push(0),j=!1,N=0,B=0,P=M+1)}this.bMarks.push(R.length),this.eMarks.push(R.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}l.prototype.push=function(c,v,_){var T=new i(c,v,_);return T.block=!0,_<0&&this.level--,T.level=this.level,_>0&&this.level++,this.tokens.push(T),T},l.prototype.isEmpty=function(v){return this.bMarks[v]+this.tShift[v]>=this.eMarks[v]},l.prototype.skipEmptyLines=function(v){for(var _=this.lineMax;v<_&&!(this.bMarks[v]+this.tShift[v]<this.eMarks[v]);v++);return v},l.prototype.skipSpaces=function(v){for(var _,T=this.src.length;v<T&&(_=this.src.charCodeAt(v),!!a(_));v++);return v},l.prototype.skipSpacesBack=function(v,_){if(v<=_)return v;for(;v>_;)if(!a(this.src.charCodeAt(--v)))return v+1;return v},l.prototype.skipChars=function(v,_){for(var T=this.src.length;v<T&&this.src.charCodeAt(v)===_;v++);return v},l.prototype.skipCharsBack=function(v,_,T){if(v<=T)return v;for(;v>T;)if(_!==this.src.charCodeAt(--v))return v+1;return v},l.prototype.getLines=function(v,_,T,A){var R,P,M,O,N,B,j,z=v;if(v>=_)return"";for(B=new Array(_-v),R=0;z<_;z++,R++){for(P=0,j=O=this.bMarks[z],z+1<_||A?N=this.eMarks[z]+1:N=this.eMarks[z];O<N&&P<T;){if(M=this.src.charCodeAt(O),a(M))M===9?P+=4-(P+this.bsCount[z])%4:P++;else if(O-j<this.tShift[z])P++;else break;O++}P>T?B[R]=new Array(P-T+1).join(" ")+this.src.slice(O,N):B[R]=this.src.slice(O,N)}return B.join("")},l.prototype.Token=i,U.exports=l},64248:(U,C,e)=>{"use strict";var i=e(97423).isSpace;function a(c,v){var _=c.bMarks[v]+c.tShift[v],T=c.eMarks[v];return c.src.substr(_,T-_)}function l(c){var v=[],_=0,T=c.length,A,R=!1,P=0,M="";for(A=c.charCodeAt(_);_<T;)A===124&&(R?(M+=c.substring(P,_-1),P=_):(v.push(M+c.substring(P,_)),M="",P=_+1)),R=A===92,_++,A=c.charCodeAt(_);return v.push(M+c.substring(P)),v}U.exports=function(v,_,T,A){var R,P,M,O,N,B,j,z,W,X,Q,K,Y,Z,J,ee,re,me;if(_+2>T||(B=_+1,v.sCount[B]<v.blkIndent)||v.sCount[B]-v.blkIndent>=4||(M=v.bMarks[B]+v.tShift[B],M>=v.eMarks[B])||(re=v.src.charCodeAt(M++),re!==124&&re!==45&&re!==58)||M>=v.eMarks[B]||(me=v.src.charCodeAt(M++),me!==124&&me!==45&&me!==58&&!i(me))||re===45&&i(me))return!1;for(;M<v.eMarks[B];){if(R=v.src.charCodeAt(M),R!==124&&R!==45&&R!==58&&!i(R))return!1;M++}for(P=a(v,_+1),j=P.split("|"),X=[],O=0;O<j.length;O++){if(Q=j[O].trim(),!Q){if(O===0||O===j.length-1)continue;return!1}if(!/^:?-+:?$/.test(Q))return!1;Q.charCodeAt(Q.length-1)===58?X.push(Q.charCodeAt(0)===58?"center":"right"):Q.charCodeAt(0)===58?X.push("left"):X.push("")}if(P=a(v,_).trim(),P.indexOf("|")===-1||v.sCount[_]-v.blkIndent>=4||(j=l(P),j.length&&j[0]===""&&j.shift(),j.length&&j[j.length-1]===""&&j.pop(),z=j.length,z===0||z!==X.length))return!1;if(A)return!0;for(Z=v.parentType,v.parentType="table",ee=v.md.block.ruler.getRules("blockquote"),W=v.push("table_open","table",1),W.map=K=[_,0],W=v.push("thead_open","thead",1),W.map=[_,_+1],W=v.push("tr_open","tr",1),W.map=[_,_+1],O=0;O<j.length;O++)W=v.push("th_open","th",1),X[O]&&(W.attrs=[["style","text-align:"+X[O]]]),W=v.push("inline","",0),W.content=j[O].trim(),W.children=[],W=v.push("th_close","th",-1);for(W=v.push("tr_close","tr",-1),W=v.push("thead_close","thead",-1),B=_+2;B<T&&!(v.sCount[B]<v.blkIndent);B++){for(J=!1,O=0,N=ee.length;O<N;O++)if(ee[O](v,B,T,!0)){J=!0;break}if(J||(P=a(v,B).trim(),!P)||v.sCount[B]-v.blkIndent>=4)break;for(j=l(P),j.length&&j[0]===""&&j.shift(),j.length&&j[j.length-1]===""&&j.pop(),B===_+2&&(W=v.push("tbody_open","tbody",1),W.map=Y=[_+2,0]),W=v.push("tr_open","tr",1),W.map=[B,B+1],O=0;O<z;O++)W=v.push("td_open","td",1),X[O]&&(W.attrs=[["style","text-align:"+X[O]]]),W=v.push("inline","",0),W.content=j[O]?j[O].trim():"",W.children=[],W=v.push("td_close","td",-1);W=v.push("tr_close","tr",-1)}return Y&&(W=v.push("tbody_close","tbody",-1),Y[1]=B),W=v.push("table_close","table",-1),K[1]=B,v.parentType=Z,v.line=B,!0}},34982:U=>{"use strict";U.exports=function(e){var i;e.inlineMode?(i=new e.Token("inline","",0),i.content=e.src,i.map=[0,1],i.children=[],e.tokens.push(i)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},62240:U=>{"use strict";U.exports=function(e){var i=e.tokens,a,l,c;for(l=0,c=i.length;l<c;l++)a=i[l],a.type==="inline"&&e.md.inline.parse(a.content,e.md,e.env,a.children)}},25856:(U,C,e)=>{"use strict";var i=e(97423).arrayReplaceAt;function a(c){return/^<a[>\s]/i.test(c)}function l(c){return/^<\/a\s*>/i.test(c)}U.exports=function(v){var _,T,A,R,P,M,O,N,B,j,z,W,X,Q,K,Y,Z=v.tokens,J;if(v.md.options.linkify){for(T=0,A=Z.length;T<A;T++)if(!(Z[T].type!=="inline"||!v.md.linkify.pretest(Z[T].content)))for(R=Z[T].children,X=0,_=R.length-1;_>=0;_--){if(M=R[_],M.type==="link_close"){for(_--;R[_].level!==M.level&&R[_].type!=="link_open";)_--;continue}if(M.type==="html_inline"&&(a(M.content)&&X>0&&X--,l(M.content)&&X++),!(X>0)&&M.type==="text"&&v.md.linkify.test(M.content)){for(B=M.content,J=v.md.linkify.match(B),O=[],W=M.level,z=0,N=0;N<J.length;N++)Q=J[N].url,K=v.md.normalizeLink(Q),v.md.validateLink(K)&&(Y=J[N].text,J[N].schema?J[N].schema==="mailto:"&&!/^mailto:/i.test(Y)?Y=v.md.normalizeLinkText("mailto:"+Y).replace(/^mailto:/,""):Y=v.md.normalizeLinkText(Y):Y=v.md.normalizeLinkText("http://"+Y).replace(/^http:\/\//,""),j=J[N].index,j>z&&(P=new v.Token("text","",0),P.content=B.slice(z,j),P.level=W,O.push(P)),P=new v.Token("link_open","a",1),P.attrs=[["href",K]],P.level=W++,P.markup="linkify",P.info="auto",O.push(P),P=new v.Token("text","",0),P.content=Y,P.level=W,O.push(P),P=new v.Token("link_close","a",-1),P.level=--W,P.markup="linkify",P.info="auto",O.push(P),z=J[N].lastIndex);z<B.length&&(P=new v.Token("text","",0),P.content=B.slice(z),P.level=W,O.push(P)),Z[T].children=R=i(R,_,O)}}}}},21832:U=>{"use strict";var C=/\r\n?|\n/g,e=/\0/g;U.exports=function(a){var l;l=a.src.replace(C,`
`),l=l.replace(e,"\uFFFD"),a.src=l}},86680:U=>{"use strict";var C=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,e=/\((c|tm|r|p)\)/i,i=/\((c|tm|r|p)\)/ig,a={c:"\xA9",r:"\xAE",p:"\xA7",tm:"\u2122"};function l(_,T){return a[T.toLowerCase()]}function c(_){var T,A,R=0;for(T=_.length-1;T>=0;T--)A=_[T],A.type==="text"&&!R&&(A.content=A.content.replace(i,l)),A.type==="link_open"&&A.info==="auto"&&R--,A.type==="link_close"&&A.info==="auto"&&R++}function v(_){var T,A,R=0;for(T=_.length-1;T>=0;T--)A=_[T],A.type==="text"&&!R&&C.test(A.content)&&(A.content=A.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1\u2014").replace(/(^|\s)--(?=\s|$)/mg,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1\u2013")),A.type==="link_open"&&A.info==="auto"&&R--,A.type==="link_close"&&A.info==="auto"&&R++}U.exports=function(T){var A;if(T.md.options.typographer)for(A=T.tokens.length-1;A>=0;A--)T.tokens[A].type==="inline"&&(e.test(T.tokens[A].content)&&c(T.tokens[A].children),C.test(T.tokens[A].content)&&v(T.tokens[A].children))}},15932:(U,C,e)=>{"use strict";var i=e(97423).isWhiteSpace,a=e(97423).isPunctChar,l=e(97423).isMdAsciiPunct,c=/['"]/,v=/['"]/g,_="\u2019";function T(R,P,M){return R.substr(0,P)+M+R.substr(P+1)}function A(R,P){var M,O,N,B,j,z,W,X,Q,K,Y,Z,J,ee,re,me,fe,le,Ve,Ze,Ce;for(Ve=[],M=0;M<R.length;M++){for(O=R[M],W=R[M].level,fe=Ve.length-1;fe>=0&&!(Ve[fe].level<=W);fe--);if(Ve.length=fe+1,O.type!=="text")continue;N=O.content,j=0,z=N.length;e:for(;j<z&&(v.lastIndex=j,B=v.exec(N),!!B);){if(re=me=!0,j=B.index+1,le=B[0]==="'",Q=32,B.index-1>=0)Q=N.charCodeAt(B.index-1);else for(fe=M-1;fe>=0&&!(R[fe].type==="softbreak"||R[fe].type==="hardbreak");fe--)if(R[fe].content){Q=R[fe].content.charCodeAt(R[fe].content.length-1);break}if(K=32,j<z)K=N.charCodeAt(j);else for(fe=M+1;fe<R.length&&!(R[fe].type==="softbreak"||R[fe].type==="hardbreak");fe++)if(R[fe].content){K=R[fe].content.charCodeAt(0);break}if(Y=l(Q)||a(String.fromCharCode(Q)),Z=l(K)||a(String.fromCharCode(K)),J=i(Q),ee=i(K),ee?re=!1:Z&&(J||Y||(re=!1)),J?me=!1:Y&&(ee||Z||(me=!1)),K===34&&B[0]==='"'&&Q>=48&&Q<=57&&(me=re=!1),re&&me&&(re=Y,me=Z),!re&&!me){le&&(O.content=T(O.content,B.index,_));continue}if(me){for(fe=Ve.length-1;fe>=0&&(X=Ve[fe],!(Ve[fe].level<W));fe--)if(X.single===le&&Ve[fe].level===W){X=Ve[fe],le?(Ze=P.md.options.quotes[2],Ce=P.md.options.quotes[3]):(Ze=P.md.options.quotes[0],Ce=P.md.options.quotes[1]),O.content=T(O.content,B.index,Ce),R[X.token].content=T(R[X.token].content,X.pos,Ze),j+=Ce.length-1,X.token===M&&(j+=Ze.length-1),N=O.content,z=N.length,Ve.length=fe;continue e}}re?Ve.push({token:M,pos:B.index,single:le,level:W}):me&&le&&(O.content=T(O.content,B.index,_))}}}U.exports=function(P){var M;if(P.md.options.typographer)for(M=P.tokens.length-1;M>=0;M--)P.tokens[M].type!=="inline"||!c.test(P.tokens[M].content)||A(P.tokens[M].children,P)}},48648:(U,C,e)=>{"use strict";var i=e(80288);function a(l,c,v){this.src=l,this.env=v,this.tokens=[],this.inlineMode=!1,this.md=c}a.prototype.Token=i,U.exports=a},21823:U=>{"use strict";var C=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,e=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;U.exports=function(a,l){var c,v,_,T,A,R,P=a.pos;if(a.src.charCodeAt(P)!==60)return!1;for(A=a.pos,R=a.posMax;;){if(++P>=R||(T=a.src.charCodeAt(P),T===60))return!1;if(T===62)break}return c=a.src.slice(A+1,P),e.test(c)?(v=a.md.normalizeLink(c),a.md.validateLink(v)?(l||(_=a.push("link_open","a",1),_.attrs=[["href",v]],_.markup="autolink",_.info="auto",_=a.push("text","",0),_.content=a.md.normalizeLinkText(c),_=a.push("link_close","a",-1),_.markup="autolink",_.info="auto"),a.pos+=c.length+2,!0):!1):C.test(c)?(v=a.md.normalizeLink("mailto:"+c),a.md.validateLink(v)?(l||(_=a.push("link_open","a",1),_.attrs=[["href",v]],_.markup="autolink",_.info="auto",_=a.push("text","",0),_.content=a.md.normalizeLinkText(c),_=a.push("link_close","a",-1),_.markup="autolink",_.info="auto"),a.pos+=c.length+2,!0):!1):!1}},92472:U=>{"use strict";U.exports=function(e,i){var a,l,c,v,_,T,A,R,P=e.pos,M=e.src.charCodeAt(P);if(M!==96)return!1;for(a=P,P++,l=e.posMax;P<l&&e.src.charCodeAt(P)===96;)P++;if(c=e.src.slice(a,P),A=c.length,e.backticksScanned&&(e.backticks[A]||0)<=a)return i||(e.pending+=c),e.pos+=A,!0;for(_=T=P;(_=e.src.indexOf("`",T))!==-1;){for(T=_+1;T<l&&e.src.charCodeAt(T)===96;)T++;if(R=T-_,R===A)return i||(v=e.push("code_inline","code",0),v.markup=c,v.content=e.src.slice(P,_).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=T,!0;e.backticks[R]=_}return e.backticksScanned=!0,i||(e.pending+=c),e.pos+=A,!0}},18384:U=>{"use strict";function C(e,i){var a,l,c,v,_,T,A,R,P={},M=i.length;if(M){var O=0,N=-2,B=[];for(a=0;a<M;a++)if(c=i[a],B.push(0),(i[O].marker!==c.marker||N!==c.token-1)&&(O=a),N=c.token,c.length=c.length||0,!!c.close){for(P.hasOwnProperty(c.marker)||(P[c.marker]=[-1,-1,-1,-1,-1,-1]),_=P[c.marker][(c.open?3:0)+c.length%3],l=O-B[O]-1,T=l;l>_;l-=B[l]+1)if(v=i[l],v.marker===c.marker&&v.open&&v.end<0&&(A=!1,(v.close||c.open)&&(v.length+c.length)%3===0&&(v.length%3!==0||c.length%3!==0)&&(A=!0),!A)){R=l>0&&!i[l-1].open?B[l-1]+1:0,B[a]=a-l+R,B[l]=R,c.open=!1,v.end=a,v.close=!1,T=-1,N=-2;break}T!==-1&&(P[c.marker][(c.open?3:0)+(c.length||0)%3]=T)}}}U.exports=function(i){var a,l=i.tokens_meta,c=i.tokens_meta.length;for(C(i,i.delimiters),a=0;a<c;a++)l[a]&&l[a].delimiters&&C(i,l[a].delimiters)}},16776:U=>{"use strict";U.exports.A=function(i,a){var l,c,v,_=i.pos,T=i.src.charCodeAt(_);if(a||T!==95&&T!==42)return!1;for(c=i.scanDelims(i.pos,T===42),l=0;l<c.length;l++)v=i.push("text","",0),v.content=String.fromCharCode(T),i.delimiters.push({marker:T,length:c.length,token:i.tokens.length-1,end:-1,open:c.can_open,close:c.can_close});return i.pos+=c.length,!0};function C(e,i){var a,l,c,v,_,T,A=i.length;for(a=A-1;a>=0;a--)l=i[a],!(l.marker!==95&&l.marker!==42)&&l.end!==-1&&(c=i[l.end],T=a>0&&i[a-1].end===l.end+1&&i[a-1].marker===l.marker&&i[a-1].token===l.token-1&&i[l.end+1].token===c.token+1,_=String.fromCharCode(l.marker),v=e.tokens[l.token],v.type=T?"strong_open":"em_open",v.tag=T?"strong":"em",v.nesting=1,v.markup=T?_+_:_,v.content="",v=e.tokens[c.token],v.type=T?"strong_close":"em_close",v.tag=T?"strong":"em",v.nesting=-1,v.markup=T?_+_:_,v.content="",T&&(e.tokens[i[a-1].token].content="",e.tokens[i[l.end+1].token].content="",a--))}U.exports.S=function(i){var a,l=i.tokens_meta,c=i.tokens_meta.length;for(C(i,i.delimiters),a=0;a<c;a++)l[a]&&l[a].delimiters&&C(i,l[a].delimiters)}},99832:(U,C,e)=>{"use strict";var i=e(78648),a=e(97423).has,l=e(97423).isValidEntityCode,c=e(97423).fromCodePoint,v=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,_=/^&([a-z][a-z0-9]{1,31});/i;U.exports=function(A,R){var P,M,O,N=A.pos,B=A.posMax;if(A.src.charCodeAt(N)!==38)return!1;if(N+1<B){if(P=A.src.charCodeAt(N+1),P===35){if(O=A.src.slice(N).match(v),O)return R||(M=O[1][0].toLowerCase()==="x"?parseInt(O[1].slice(1),16):parseInt(O[1],10),A.pending+=l(M)?c(M):c(65533)),A.pos+=O[0].length,!0}else if(O=A.src.slice(N).match(_),O&&a(i,O[1]))return R||(A.pending+=i[O[1]]),A.pos+=O[0].length,!0}return R||(A.pending+="&"),A.pos++,!0}},70352:(U,C,e)=>{"use strict";for(var i=e(97423).isSpace,a=[],l=0;l<256;l++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(c){a[c.charCodeAt(0)]=1}),U.exports=function(v,_){var T,A=v.pos,R=v.posMax;if(v.src.charCodeAt(A)!==92)return!1;if(A++,A<R){if(T=v.src.charCodeAt(A),T<256&&a[T]!==0)return _||(v.pending+=v.src[A]),v.pos+=2,!0;if(T===10){for(_||v.push("hardbreak","br",0),A++;A<R&&(T=v.src.charCodeAt(A),!!i(T));)A++;return v.pos=A,!0}}return _||(v.pending+="\\"),v.pos++,!0}},19915:(U,C,e)=>{"use strict";var i=e(53451).M;function a(l){var c=l|32;return c>=97&&c<=122}U.exports=function(c,v){var _,T,A,R,P=c.pos;return!c.md.options.html||(A=c.posMax,c.src.charCodeAt(P)!==60||P+2>=A)||(_=c.src.charCodeAt(P+1),_!==33&&_!==63&&_!==47&&!a(_))||(T=c.src.slice(P).match(i),!T)?!1:(v||(R=c.push("html_inline","",0),R.content=c.src.slice(P,P+T[0].length)),c.pos+=T[0].length,!0)}},95364:(U,C,e)=>{"use strict";var i=e(97423).normalizeReference,a=e(97423).isSpace;U.exports=function(c,v){var _,T,A,R,P,M,O,N,B,j,z,W,X,Q="",K=c.pos,Y=c.posMax;if(c.src.charCodeAt(c.pos)!==33||c.src.charCodeAt(c.pos+1)!==91||(M=c.pos+2,P=c.md.helpers.parseLinkLabel(c,c.pos+1,!1),P<0))return!1;if(O=P+1,O<Y&&c.src.charCodeAt(O)===40){for(O++;O<Y&&(T=c.src.charCodeAt(O),!(!a(T)&&T!==10));O++);if(O>=Y)return!1;for(X=O,B=c.md.helpers.parseLinkDestination(c.src,O,c.posMax),B.ok&&(Q=c.md.normalizeLink(B.str),c.md.validateLink(Q)?O=B.pos:Q=""),X=O;O<Y&&(T=c.src.charCodeAt(O),!(!a(T)&&T!==10));O++);if(B=c.md.helpers.parseLinkTitle(c.src,O,c.posMax),O<Y&&X!==O&&B.ok)for(j=B.str,O=B.pos;O<Y&&(T=c.src.charCodeAt(O),!(!a(T)&&T!==10));O++);else j="";if(O>=Y||c.src.charCodeAt(O)!==41)return c.pos=K,!1;O++}else{if(typeof c.env.references>"u")return!1;if(O<Y&&c.src.charCodeAt(O)===91?(X=O+1,O=c.md.helpers.parseLinkLabel(c,O),O>=0?R=c.src.slice(X,O++):O=P+1):O=P+1,R||(R=c.src.slice(M,P)),N=c.env.references[i(R)],!N)return c.pos=K,!1;Q=N.href,j=N.title}return v||(A=c.src.slice(M,P),c.md.inline.parse(A,c.md,c.env,W=[]),z=c.push("image","img",0),z.attrs=_=[["src",Q],["alt",""]],z.children=W,z.content=A,j&&_.push(["title",j])),c.pos=O,c.posMax=Y,!0}},74212:(U,C,e)=>{"use strict";var i=e(97423).normalizeReference,a=e(97423).isSpace;U.exports=function(c,v){var _,T,A,R,P,M,O,N,B,j="",z="",W=c.pos,X=c.posMax,Q=c.pos,K=!0;if(c.src.charCodeAt(c.pos)!==91||(P=c.pos+1,R=c.md.helpers.parseLinkLabel(c,c.pos,!0),R<0))return!1;if(M=R+1,M<X&&c.src.charCodeAt(M)===40){for(K=!1,M++;M<X&&(T=c.src.charCodeAt(M),!(!a(T)&&T!==10));M++);if(M>=X)return!1;if(Q=M,O=c.md.helpers.parseLinkDestination(c.src,M,c.posMax),O.ok){for(j=c.md.normalizeLink(O.str),c.md.validateLink(j)?M=O.pos:j="",Q=M;M<X&&(T=c.src.charCodeAt(M),!(!a(T)&&T!==10));M++);if(O=c.md.helpers.parseLinkTitle(c.src,M,c.posMax),M<X&&Q!==M&&O.ok)for(z=O.str,M=O.pos;M<X&&(T=c.src.charCodeAt(M),!(!a(T)&&T!==10));M++);}(M>=X||c.src.charCodeAt(M)!==41)&&(K=!0),M++}if(K){if(typeof c.env.references>"u")return!1;if(M<X&&c.src.charCodeAt(M)===91?(Q=M+1,M=c.md.helpers.parseLinkLabel(c,M),M>=0?A=c.src.slice(Q,M++):M=R+1):M=R+1,A||(A=c.src.slice(P,R)),N=c.env.references[i(A)],!N)return c.pos=W,!1;j=N.href,z=N.title}return v||(c.pos=P,c.posMax=R,B=c.push("link_open","a",1),B.attrs=_=[["href",j]],z&&_.push(["title",z]),c.md.inline.tokenize(c),B=c.push("link_close","a",-1)),c.pos=M,c.posMax=X,!0}},69720:(U,C,e)=>{"use strict";var i=e(97423).isSpace;U.exports=function(l,c){var v,_,T,A=l.pos;if(l.src.charCodeAt(A)!==10)return!1;if(v=l.pending.length-1,_=l.posMax,!c)if(v>=0&&l.pending.charCodeAt(v)===32)if(v>=1&&l.pending.charCodeAt(v-1)===32){for(T=v-1;T>=1&&l.pending.charCodeAt(T-1)===32;)T--;l.pending=l.pending.slice(0,T),l.push("hardbreak","br",0)}else l.pending=l.pending.slice(0,-1),l.push("softbreak","br",0);else l.push("softbreak","br",0);for(A++;A<_&&i(l.src.charCodeAt(A));)A++;return l.pos=A,!0}},72792:(U,C,e)=>{"use strict";var i=e(80288),a=e(97423).isWhiteSpace,l=e(97423).isPunctChar,c=e(97423).isMdAsciiPunct;function v(_,T,A,R){this.src=_,this.env=A,this.md=T,this.tokens=R,this.tokens_meta=Array(R.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}v.prototype.pushPending=function(){var _=new i("text","",0);return _.content=this.pending,_.level=this.pendingLevel,this.tokens.push(_),this.pending="",_},v.prototype.push=function(_,T,A){this.pending&&this.pushPending();var R=new i(_,T,A),P=null;return A<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),R.level=this.level,A>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],P={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(R),this.tokens_meta.push(P),R},v.prototype.scanDelims=function(_,T){var A=_,R,P,M,O,N,B,j,z,W,X=!0,Q=!0,K=this.posMax,Y=this.src.charCodeAt(_);for(R=_>0?this.src.charCodeAt(_-1):32;A<K&&this.src.charCodeAt(A)===Y;)A++;return M=A-_,P=A<K?this.src.charCodeAt(A):32,j=c(R)||l(String.fromCharCode(R)),W=c(P)||l(String.fromCharCode(P)),B=a(R),z=a(P),z?X=!1:W&&(B||j||(X=!1)),B?Q=!1:j&&(z||W||(Q=!1)),T?(O=X,N=Q):(O=X&&(!Q||j),N=Q&&(!X||W)),{can_open:O,can_close:N,length:M}},v.prototype.Token=i,U.exports=v},67036:U=>{"use strict";U.exports.A=function(i,a){var l,c,v,_,T,A=i.pos,R=i.src.charCodeAt(A);if(a||R!==126||(c=i.scanDelims(i.pos,!0),_=c.length,T=String.fromCharCode(R),_<2))return!1;for(_%2&&(v=i.push("text","",0),v.content=T,_--),l=0;l<_;l+=2)v=i.push("text","",0),v.content=T+T,i.delimiters.push({marker:R,length:0,token:i.tokens.length-1,end:-1,open:c.can_open,close:c.can_close});return i.pos+=c.length,!0};function C(e,i){var a,l,c,v,_,T=[],A=i.length;for(a=0;a<A;a++)c=i[a],c.marker===126&&c.end!==-1&&(v=i[c.end],_=e.tokens[c.token],_.type="s_open",_.tag="s",_.nesting=1,_.markup="~~",_.content="",_=e.tokens[v.token],_.type="s_close",_.tag="s",_.nesting=-1,_.markup="~~",_.content="",e.tokens[v.token-1].type==="text"&&e.tokens[v.token-1].content==="~"&&T.push(v.token-1));for(;T.length;){for(a=T.pop(),l=a+1;l<e.tokens.length&&e.tokens[l].type==="s_close";)l++;l--,a!==l&&(_=e.tokens[l],e.tokens[l]=e.tokens[a],e.tokens[a]=_)}}U.exports.S=function(i){var a,l=i.tokens_meta,c=i.tokens_meta.length;for(C(i,i.delimiters),a=0;a<c;a++)l[a]&&l[a].delimiters&&C(i,l[a].delimiters)}},14576:U=>{"use strict";function C(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}U.exports=function(i,a){for(var l=i.pos;l<i.posMax&&!C(i.src.charCodeAt(l));)l++;return l===i.pos?!1:(a||(i.pending+=i.src.slice(i.pos,l)),i.pos=l,!0)}},9584:U=>{"use strict";U.exports=function(e){var i,a,l=0,c=e.tokens,v=e.tokens.length;for(i=a=0;i<v;i++)c[i].nesting<0&&l--,c[i].level=l,c[i].nesting>0&&l++,c[i].type==="text"&&i+1<v&&c[i+1].type==="text"?c[i+1].content=c[i].content+c[i+1].content:(i!==a&&(c[a]=c[i]),a++);i!==a&&(c.length=a)}},80288:U=>{"use strict";function C(e,i,a){this.type=e,this.tag=i,this.attrs=null,this.map=null,this.nesting=a,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}C.prototype.attrIndex=function(i){var a,l,c;if(!this.attrs)return-1;for(a=this.attrs,l=0,c=a.length;l<c;l++)if(a[l][0]===i)return l;return-1},C.prototype.attrPush=function(i){this.attrs?this.attrs.push(i):this.attrs=[i]},C.prototype.attrSet=function(i,a){var l=this.attrIndex(i),c=[i,a];l<0?this.attrPush(c):this.attrs[l]=c},C.prototype.attrGet=function(i){var a=this.attrIndex(i),l=null;return a>=0&&(l=this.attrs[a][1]),l},C.prototype.attrJoin=function(i,a){var l=this.attrIndex(i);l<0?this.attrPush([i,a]):this.attrs[l][1]=this.attrs[l][1]+" "+a},U.exports=C},3664:U=>{"use strict";var C={};function e(a){var l,c,v=C[a];if(v)return v;for(v=C[a]=[],l=0;l<128;l++)c=String.fromCharCode(l),v.push(c);for(l=0;l<a.length;l++)c=a.charCodeAt(l),v[c]="%"+("0"+c.toString(16).toUpperCase()).slice(-2);return v}function i(a,l){var c;return typeof l!="string"&&(l=i.defaultChars),c=e(l),a.replace(/(%[a-f0-9]{2})+/gi,function(v){var _,T,A,R,P,M,O,N="";for(_=0,T=v.length;_<T;_+=3){if(A=parseInt(v.slice(_+1,_+3),16),A<128){N+=c[A];continue}if((A&224)===192&&_+3<T&&(R=parseInt(v.slice(_+4,_+6),16),(R&192)===128)){O=A<<6&1984|R&63,O<128?N+="\uFFFD\uFFFD":N+=String.fromCharCode(O),_+=3;continue}if((A&240)===224&&_+6<T&&(R=parseInt(v.slice(_+4,_+6),16),P=parseInt(v.slice(_+7,_+9),16),(R&192)===128&&(P&192)===128)){O=A<<12&61440|R<<6&4032|P&63,O<2048||O>=55296&&O<=57343?N+="\uFFFD\uFFFD\uFFFD":N+=String.fromCharCode(O),_+=6;continue}if((A&248)===240&&_+9<T&&(R=parseInt(v.slice(_+4,_+6),16),P=parseInt(v.slice(_+7,_+9),16),M=parseInt(v.slice(_+10,_+12),16),(R&192)===128&&(P&192)===128&&(M&192)===128)){O=A<<18&1835008|R<<12&258048|P<<6&4032|M&63,O<65536||O>1114111?N+="\uFFFD\uFFFD\uFFFD\uFFFD":(O-=65536,N+=String.fromCharCode(55296+(O>>10),56320+(O&1023))),_+=9;continue}N+="\uFFFD"}return N})}i.defaultChars=";/?:@&=+$,#",i.componentChars="",U.exports=i},17768:U=>{"use strict";var C={};function e(a){var l,c,v=C[a];if(v)return v;for(v=C[a]=[],l=0;l<128;l++)c=String.fromCharCode(l),/^[0-9a-z]$/i.test(c)?v.push(c):v.push("%"+("0"+l.toString(16).toUpperCase()).slice(-2));for(l=0;l<a.length;l++)v[a.charCodeAt(l)]=a[l];return v}function i(a,l,c){var v,_,T,A,R,P="";for(typeof l!="string"&&(c=l,l=i.defaultChars),typeof c>"u"&&(c=!0),R=e(l),v=0,_=a.length;v<_;v++){if(T=a.charCodeAt(v),c&&T===37&&v+2<_&&/^[0-9a-f]{2}$/i.test(a.slice(v+1,v+3))){P+=a.slice(v,v+3),v+=2;continue}if(T<128){P+=R[T];continue}if(T>=55296&&T<=57343){if(T>=55296&&T<=56319&&v+1<_&&(A=a.charCodeAt(v+1),A>=56320&&A<=57343)){P+=encodeURIComponent(a[v]+a[v+1]),v++;continue}P+="%EF%BF%BD";continue}P+=encodeURIComponent(a[v])}return P}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",U.exports=i},73188:U=>{"use strict";U.exports=function(e){var i="";return i+=e.protocol||"",i+=e.slashes?"//":"",i+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?i+="["+e.hostname+"]":i+=e.hostname||"",i+=e.port?":"+e.port:"",i+=e.pathname||"",i+=e.search||"",i+=e.hash||"",i}},66148:(U,C,e)=>{"use strict";U.exports.encode=e(17768),U.exports.decode=e(3664),U.exports.format=e(73188),U.exports.parse=e(70912)},70912:U=>{"use strict";function C(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var e=/^([a-z0-9.+-]+:)/i,i=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r",`
`,"	"],c=["{","}","|","\\","^","`"].concat(l),v=["'"].concat(c),_=["%","/","?",";","#"].concat(v),T=["/","?","#"],A=255,R=/^[+a-z0-9A-Z_-]{0,63}$/,P=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,M={javascript:!0,"javascript:":!0},O={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function N(B,j){if(B&&B instanceof C)return B;var z=new C;return z.parse(B,j),z}C.prototype.parse=function(B,j){var z,W,X,Q,K,Y=B;if(Y=Y.trim(),!j&&B.split("#").length===1){var Z=a.exec(Y);if(Z)return this.pathname=Z[1],Z[2]&&(this.search=Z[2]),this}var J=e.exec(Y);if(J&&(J=J[0],X=J.toLowerCase(),this.protocol=J,Y=Y.substr(J.length)),(j||J||Y.match(/^\/\/[^@\/]+@[^@\/]+/))&&(K=Y.substr(0,2)==="//",K&&!(J&&M[J])&&(Y=Y.substr(2),this.slashes=!0)),!M[J]&&(K||J&&!O[J])){var ee=-1;for(z=0;z<T.length;z++)Q=Y.indexOf(T[z]),Q!==-1&&(ee===-1||Q<ee)&&(ee=Q);var re,me;for(ee===-1?me=Y.lastIndexOf("@"):me=Y.lastIndexOf("@",ee),me!==-1&&(re=Y.slice(0,me),Y=Y.slice(me+1),this.auth=re),ee=-1,z=0;z<_.length;z++)Q=Y.indexOf(_[z]),Q!==-1&&(ee===-1||Q<ee)&&(ee=Q);ee===-1&&(ee=Y.length),Y[ee-1]===":"&&ee--;var fe=Y.slice(0,ee);Y=Y.slice(ee),this.parseHost(fe),this.hostname=this.hostname||"";var le=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!le){var Ve=this.hostname.split(/\./);for(z=0,W=Ve.length;z<W;z++){var Ze=Ve[z];if(Ze&&!Ze.match(R)){for(var Ce="",ye=0,Ae=Ze.length;ye<Ae;ye++)Ze.charCodeAt(ye)>127?Ce+="x":Ce+=Ze[ye];if(!Ce.match(R)){var Fe=Ve.slice(0,z),Qe=Ve.slice(z+1),ce=Ze.match(P);ce&&(Fe.push(ce[1]),Qe.unshift(ce[2])),Qe.length&&(Y=Qe.join(".")+Y),this.hostname=Fe.join(".");break}}}}this.hostname.length>A&&(this.hostname=""),le&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Ge=Y.indexOf("#");Ge!==-1&&(this.hash=Y.substr(Ge),Y=Y.slice(0,Ge));var Pe=Y.indexOf("?");return Pe!==-1&&(this.search=Y.substr(Pe),Y=Y.slice(0,Pe)),Y&&(this.pathname=Y),O[X]&&this.hostname&&!this.pathname&&(this.pathname=""),this},C.prototype.parseHost=function(B){var j=i.exec(B);j&&(j=j[0],j!==":"&&(this.port=j.substr(1)),B=B.substr(0,B.length-j.length)),B&&(this.hostname=B)},U.exports=N},64364:U=>{"use strict";/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var C=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function l(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var v={},_=0;_<10;_++)v["_"+String.fromCharCode(_)]=_;var T=Object.getOwnPropertyNames(v).map(function(R){return v[R]});if(T.join("")!=="0123456789")return!1;var A={};return"abcdefghijklmnopqrst".split("").forEach(function(R){A[R]=R}),Object.keys(Object.assign({},A)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}U.exports=l()?Object.assign:function(c,v){for(var _,T=a(c),A,R=1;R<arguments.length;R++){_=Object(arguments[R]);for(var P in _)e.call(_,P)&&(T[P]=_[P]);if(C){A=C(_);for(var M=0;M<A.length;M++)i.call(_,A[M])&&(T[A[M]]=_[A[M]])}}return T}},52916:(U,C,e)=>{var i=typeof Map=="function"&&Map.prototype,a=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,l=i&&a&&typeof a.get=="function"?a.get:null,c=i&&Map.prototype.forEach,v=typeof Set=="function"&&Set.prototype,_=Object.getOwnPropertyDescriptor&&v?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,T=v&&_&&typeof _.get=="function"?_.get:null,A=v&&Set.prototype.forEach,R=typeof WeakMap=="function"&&WeakMap.prototype,P=R?WeakMap.prototype.has:null,M=typeof WeakSet=="function"&&WeakSet.prototype,O=M?WeakSet.prototype.has:null,N=typeof WeakRef=="function"&&WeakRef.prototype,B=N?WeakRef.prototype.deref:null,j=Boolean.prototype.valueOf,z=Object.prototype.toString,W=Function.prototype.toString,X=String.prototype.match,Q=String.prototype.slice,K=String.prototype.replace,Y=String.prototype.toUpperCase,Z=String.prototype.toLowerCase,J=RegExp.prototype.test,ee=Array.prototype.concat,re=Array.prototype.join,me=Array.prototype.slice,fe=Math.floor,le=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Ve=Object.getOwnPropertySymbols,Ze=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Ce=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ye=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Ce||"symbol")?Symbol.toStringTag:null,Ae=Object.prototype.propertyIsEnumerable,Fe=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(oe){return oe.__proto__}:null);function Qe(oe,Ye){if(oe===1/0||oe===-1/0||oe!==oe||oe&&oe>-1e3&&oe<1e3||J.call(/e/,Ye))return Ye;var Et=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof oe=="number"){var xe=oe<0?-fe(-oe):fe(oe);if(xe!==oe){var Re=String(xe),We=Q.call(Ye,Re.length+1);return K.call(Re,Et,"$&_")+"."+K.call(K.call(We,/([0-9]{3})/g,"$&_"),/_$/,"")}}return K.call(Ye,Et,"$&_")}var ce=e(16204),Ge=ce.custom,Pe=_t(Ge)?Ge:null;U.exports=function oe(Ye,Et,xe,Re){var We=Et||{};if(St(We,"quoteStyle")&&We.quoteStyle!=="single"&&We.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(St(We,"maxStringLength")&&(typeof We.maxStringLength=="number"?We.maxStringLength<0&&We.maxStringLength!==1/0:We.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var gt=St(We,"customInspect")?We.customInspect:!0;if(typeof gt!="boolean"&&gt!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(St(We,"indent")&&We.indent!==null&&We.indent!=="	"&&!(parseInt(We.indent,10)===We.indent&&We.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(St(We,"numericSeparator")&&typeof We.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Nt=We.numericSeparator;if(typeof Ye>"u")return"undefined";if(Ye===null)return"null";if(typeof Ye=="boolean")return Ye?"true":"false";if(typeof Ye=="string")return nn(Ye,We);if(typeof Ye=="number"){if(Ye===0)return 1/0/Ye>0?"0":"-0";var Ct=String(Ye);return Nt?Qe(Ye,Ct):Ct}if(typeof Ye=="bigint"){var tn=String(Ye)+"n";return Nt?Qe(Ye,tn):tn}var ge=typeof We.depth>"u"?5:We.depth;if(typeof xe>"u"&&(xe=0),xe>=ge&&ge>0&&typeof Ye=="object")return _e(Ye)?"[Array]":"[Object]";var At=an(We,xe);if(typeof Re>"u")Re=[];else if(sn(Re,Ye)>=0)return"[Circular]";function mn(at,kt,vn){if(kt&&(Re=me.call(Re),Re.push(kt)),vn){var Wn={depth:We.depth};return St(We,"quoteStyle")&&(Wn.quoteStyle=We.quoteStyle),oe(at,Wn,xe+1,Re)}return oe(at,We,xe+1,Re)}if(typeof Ye=="function"&&!Le(Ye)){var xn=jt(Ye),Un=de(Ye,mn);return"[Function"+(xn?": "+xn:" (anonymous)")+"]"+(Un.length>0?" { "+re.call(Un,", ")+" }":"")}if(_t(Ye)){var gr=Ce?K.call(String(Ye),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ze.call(Ye);return typeof Ye=="object"&&!Ce?bn(gr):gr}if(Jn(Ye)){for(var Ur="<"+Z.call(String(Ye.nodeName)),Or=Ye.attributes||[],ii=0;ii<Or.length;ii++)Ur+=" "+Or[ii].name+"="+pe(Se(Or[ii].value),"double",We);return Ur+=">",Ye.childNodes&&Ye.childNodes.length&&(Ur+="..."),Ur+="</"+Z.call(String(Ye.nodeName))+">",Ur}if(_e(Ye)){if(Ye.length===0)return"[]";var Ui=de(Ye,mn);return At&&!er(Ui)?"["+Cn(Ui,At)+"]":"[ "+re.call(Ui,", ")+" ]"}if(Ke(Ye)){var rn=de(Ye,mn);return!("cause"in Error.prototype)&&"cause"in Ye&&!Ae.call(Ye,"cause")?"{ ["+String(Ye)+"] "+re.call(ee.call("[cause]: "+mn(Ye.cause),rn),", ")+" }":rn.length===0?"["+String(Ye)+"]":"{ ["+String(Ye)+"] "+re.call(rn,", ")+" }"}if(typeof Ye=="object"&&gt){if(Pe&&typeof Ye[Pe]=="function"&&ce)return ce(Ye,{depth:ge-xe});if(gt!=="symbol"&&typeof Ye.inspect=="function")return Ye.inspect()}if(dt(Ye)){var $n=[];return c&&c.call(Ye,function(at,kt){$n.push(mn(kt,Ye,!0)+" => "+mn(at,Ye))}),Hn("Map",l.call(Ye),$n,At)}if(cr(Ye)){var yi=[];return A&&A.call(Ye,function(at){yi.push(mn(at,Ye))}),Hn("Set",T.call(Ye),yi,At)}if(Ln(Ye))return Sn("WeakMap");if(wr(Ye))return Sn("WeakSet");if(fn(Ye))return Sn("WeakRef");if(yt(Ye))return bn(mn(Number(Ye)));if(zt(Ye))return bn(mn(le.call(Ye)));if(It(Ye))return bn(j.call(Ye));if(bt(Ye))return bn(mn(String(Ye)));if(typeof window<"u"&&Ye===window)return"{ [object Window] }";if(Ye===e.g)return"{ [object globalThis] }";if(!Ne(Ye)&&!Le(Ye)){var Jr=de(Ye,mn),cn=Fe?Fe(Ye)===Object.prototype:Ye instanceof Object||Ye.constructor===Object,mt=Ye instanceof Object?"":"null prototype",we=!cn&&ye&&Object(Ye)===Ye&&ye in Ye?Q.call(Xt(Ye),8,-1):mt?"Object":"",je=cn||typeof Ye.constructor!="function"?"":Ye.constructor.name?Ye.constructor.name+" ":"",pt=je+(we||mt?"["+re.call(ee.call([],we||[],mt||[]),": ")+"] ":"");return Jr.length===0?pt+"{}":At?pt+"{"+Cn(Jr,At)+"}":pt+"{ "+re.call(Jr,", ")+" }"}return String(Ye)};function pe(oe,Ye,Et){var xe=(Et.quoteStyle||Ye)==="double"?'"':"'";return xe+oe+xe}function Se(oe){return K.call(String(oe),/"/g,"&quot;")}function _e(oe){return Xt(oe)==="[object Array]"&&(!ye||!(typeof oe=="object"&&ye in oe))}function Ne(oe){return Xt(oe)==="[object Date]"&&(!ye||!(typeof oe=="object"&&ye in oe))}function Le(oe){return Xt(oe)==="[object RegExp]"&&(!ye||!(typeof oe=="object"&&ye in oe))}function Ke(oe){return Xt(oe)==="[object Error]"&&(!ye||!(typeof oe=="object"&&ye in oe))}function bt(oe){return Xt(oe)==="[object String]"&&(!ye||!(typeof oe=="object"&&ye in oe))}function yt(oe){return Xt(oe)==="[object Number]"&&(!ye||!(typeof oe=="object"&&ye in oe))}function It(oe){return Xt(oe)==="[object Boolean]"&&(!ye||!(typeof oe=="object"&&ye in oe))}function _t(oe){if(Ce)return oe&&typeof oe=="object"&&oe instanceof Symbol;if(typeof oe=="symbol")return!0;if(!oe||typeof oe!="object"||!Ze)return!1;try{return Ze.call(oe),!0}catch{}return!1}function zt(oe){if(!oe||typeof oe!="object"||!le)return!1;try{return le.call(oe),!0}catch{}return!1}var Vt=Object.prototype.hasOwnProperty||function(oe){return oe in this};function St(oe,Ye){return Vt.call(oe,Ye)}function Xt(oe){return z.call(oe)}function jt(oe){if(oe.name)return oe.name;var Ye=X.call(W.call(oe),/^function\s*([\w$]+)/);return Ye?Ye[1]:null}function sn(oe,Ye){if(oe.indexOf)return oe.indexOf(Ye);for(var Et=0,xe=oe.length;Et<xe;Et++)if(oe[Et]===Ye)return Et;return-1}function dt(oe){if(!l||!oe||typeof oe!="object")return!1;try{l.call(oe);try{T.call(oe)}catch{return!0}return oe instanceof Map}catch{}return!1}function Ln(oe){if(!P||!oe||typeof oe!="object")return!1;try{P.call(oe,P);try{O.call(oe,O)}catch{return!0}return oe instanceof WeakMap}catch{}return!1}function fn(oe){if(!B||!oe||typeof oe!="object")return!1;try{return B.call(oe),!0}catch{}return!1}function cr(oe){if(!T||!oe||typeof oe!="object")return!1;try{T.call(oe);try{l.call(oe)}catch{return!0}return oe instanceof Set}catch{}return!1}function wr(oe){if(!O||!oe||typeof oe!="object")return!1;try{O.call(oe,O);try{P.call(oe,P)}catch{return!0}return oe instanceof WeakSet}catch{}return!1}function Jn(oe){return!oe||typeof oe!="object"?!1:typeof HTMLElement<"u"&&oe instanceof HTMLElement?!0:typeof oe.nodeName=="string"&&typeof oe.getAttribute=="function"}function nn(oe,Ye){if(oe.length>Ye.maxStringLength){var Et=oe.length-Ye.maxStringLength,xe="... "+Et+" more character"+(Et>1?"s":"");return nn(Q.call(oe,0,Ye.maxStringLength),Ye)+xe}var Re=K.call(K.call(oe,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,or);return pe(Re,"single",Ye)}function or(oe){var Ye=oe.charCodeAt(0),Et={8:"b",9:"t",10:"n",12:"f",13:"r"}[Ye];return Et?"\\"+Et:"\\x"+(Ye<16?"0":"")+Y.call(Ye.toString(16))}function bn(oe){return"Object("+oe+")"}function Sn(oe){return oe+" { ? }"}function Hn(oe,Ye,Et,xe){var Re=xe?Cn(Et,xe):re.call(Et,", ");return oe+" ("+Ye+") {"+Re+"}"}function er(oe){for(var Ye=0;Ye<oe.length;Ye++)if(sn(oe[Ye],`
`)>=0)return!1;return!0}function an(oe,Ye){var Et;if(oe.indent==="	")Et="	";else if(typeof oe.indent=="number"&&oe.indent>0)Et=re.call(Array(oe.indent+1)," ");else return null;return{base:Et,prev:re.call(Array(Ye+1),Et)}}function Cn(oe,Ye){if(oe.length===0)return"";var Et=`
`+Ye.prev+Ye.base;return Et+re.call(oe,","+Et)+`
`+Ye.prev}function de(oe,Ye){var Et=_e(oe),xe=[];if(Et){xe.length=oe.length;for(var Re=0;Re<oe.length;Re++)xe[Re]=St(oe,Re)?Ye(oe[Re],oe):""}var We=typeof Ve=="function"?Ve(oe):[],gt;if(Ce){gt={};for(var Nt=0;Nt<We.length;Nt++)gt["$"+We[Nt]]=We[Nt]}for(var Ct in oe)St(oe,Ct)&&(Et&&String(Number(Ct))===Ct&&Ct<oe.length||Ce&&gt["$"+Ct]instanceof Symbol||(J.call(/[^\w$]/,Ct)?xe.push(Ye(Ct,oe)+": "+Ye(oe[Ct],oe)):xe.push(Ct+": "+Ye(oe[Ct],oe))));if(typeof Ve=="function")for(var tn=0;tn<We.length;tn++)Ae.call(oe,We[tn])&&xe.push("["+Ye(We[tn])+"]: "+Ye(oe[We[tn]],oe));return xe}},81216:function(U,C){var e,i,a;(function(l,c){i=[],e=c,a=typeof e=="function"?e.apply(C,i):e,a!==void 0&&(U.exports=a)})(this,function(){return function(l){function c(Z){return Z===" "||Z==="	"||Z===`
`||Z==="\f"||Z==="\r"}function v(Z){var J,ee=Z.exec(l.substring(X));if(ee)return J=ee[0],X+=J.length,J}for(var _=l.length,T=/^[ \t\n\r\u000c]+/,A=/^[, \t\n\r\u000c]+/,R=/^[^ \t\n\r\u000c]+/,P=/[,]+$/,M=/^\d+$/,O=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,N,B,j,z,W,X=0,Q=[];;){if(v(A),X>=_)return Q;N=v(R),B=[],N.slice(-1)===","?(N=N.replace(P,""),Y()):K()}function K(){for(v(T),j="",z="in descriptor";;){if(W=l.charAt(X),z==="in descriptor")if(c(W))j&&(B.push(j),j="",z="after descriptor");else if(W===","){X+=1,j&&B.push(j),Y();return}else if(W==="(")j=j+W,z="in parens";else if(W===""){j&&B.push(j),Y();return}else j=j+W;else if(z==="in parens")if(W===")")j=j+W,z="in descriptor";else if(W===""){B.push(j),Y();return}else j=j+W;else if(z==="after descriptor"&&!c(W))if(W===""){Y();return}else z="in descriptor",X-=1;X+=1}}function Y(){var Z=!1,J,ee,re,me,fe={},le,Ve,Ze,Ce,ye;for(me=0;me<B.length;me++)le=B[me],Ve=le[le.length-1],Ze=le.substring(0,le.length-1),Ce=parseInt(Ze,10),ye=parseFloat(Ze),M.test(Ze)&&Ve==="w"?((J||ee)&&(Z=!0),Ce===0?Z=!0:J=Ce):O.test(Ze)&&Ve==="x"?((J||ee||re)&&(Z=!0),ye<0?Z=!0:ee=ye):M.test(Ze)&&Ve==="h"?((re||ee)&&(Z=!0),Ce===0?Z=!0:re=Ce):Z=!0;Z?console&&console.log&&console.log("Invalid srcset descriptor found in '"+l+"' at '"+le+"'."):(fe.url=N,J&&(fe.w=J),ee&&(fe.d=ee),re&&(fe.h=re),Q.push(fe))}}})},72552:U=>{var C=String,e=function(){return{isColorSupported:!1,reset:C,bold:C,dim:C,italic:C,underline:C,inverse:C,hidden:C,strikethrough:C,black:C,red:C,green:C,yellow:C,blue:C,magenta:C,cyan:C,white:C,gray:C,bgBlack:C,bgRed:C,bgGreen:C,bgYellow:C,bgBlue:C,bgMagenta:C,bgCyan:C,bgWhite:C}};U.exports=e(),U.exports.createColors=e},61397:function(U){(function(C,e){U.exports=e()})(this,function(){var C=[],e=[],i={},a={},l={};function c(O){return typeof O=="string"?new RegExp("^"+O+"$","i"):O}function v(O,N){return O===N?N:O===O.toLowerCase()?N.toLowerCase():O===O.toUpperCase()?N.toUpperCase():O[0]===O[0].toUpperCase()?N.charAt(0).toUpperCase()+N.substr(1).toLowerCase():N.toLowerCase()}function _(O,N){return O.replace(/\$(\d{1,2})/g,function(B,j){return N[j]||""})}function T(O,N){return O.replace(N[0],function(B,j){var z=_(N[1],arguments);return v(B===""?O[j-1]:B,z)})}function A(O,N,B){if(!O.length||i.hasOwnProperty(O))return N;for(var j=B.length;j--;){var z=B[j];if(z[0].test(N))return T(N,z)}return N}function R(O,N,B){return function(j){var z=j.toLowerCase();return N.hasOwnProperty(z)?v(j,z):O.hasOwnProperty(z)?v(j,O[z]):A(z,j,B)}}function P(O,N,B,j){return function(z){var W=z.toLowerCase();return N.hasOwnProperty(W)?!0:O.hasOwnProperty(W)?!1:A(W,W,B)===W}}function M(O,N,B){var j=N===1?M.singular(O):M.plural(O);return(B?N+" ":"")+j}return M.plural=R(l,a,C),M.isPlural=P(l,a,C),M.singular=R(a,l,e),M.isSingular=P(a,l,e),M.addPluralRule=function(O,N){C.push([c(O),N])},M.addSingularRule=function(O,N){e.push([c(O),N])},M.addUncountableRule=function(O){if(typeof O=="string"){i[O.toLowerCase()]=!0;return}M.addPluralRule(O,"$0"),M.addSingularRule(O,"$0")},M.addIrregularRule=function(O,N){N=N.toLowerCase(),O=O.toLowerCase(),l[O]=N,a[N]=O},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(O){return M.addIrregularRule(O[0],O[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(O){return M.addPluralRule(O[0],O[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(O){return M.addSingularRule(O[0],O[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(M.addUncountableRule),M})},55856:(U,C,e)=>{"use strict";let i=e(42048);class a extends i{constructor(c){super(c),this.type="atrule"}append(...c){return this.proxyOf.nodes||(this.nodes=[]),super.append(...c)}prepend(...c){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...c)}}U.exports=a,a.default=a,i.registerAtRule(a)},4676:(U,C,e)=>{"use strict";let i=e(98196);class a extends i{constructor(c){super(c),this.type="comment"}}U.exports=a,a.default=a},42048:(U,C,e)=>{"use strict";let{isClean:i,my:a}=e(95448),l=e(67984),c=e(4676),v=e(98196),_,T,A,R;function P(N){return N.map(B=>(B.nodes&&(B.nodes=P(B.nodes)),delete B.source,B))}function M(N){if(N[i]=!1,N.proxyOf.nodes)for(let B of N.proxyOf.nodes)M(B)}class O extends v{append(...B){for(let j of B){let z=this.normalize(j,this.last);for(let W of z)this.proxyOf.nodes.push(W)}return this.markDirty(),this}cleanRaws(B){if(super.cleanRaws(B),this.nodes)for(let j of this.nodes)j.cleanRaws(B)}each(B){if(!this.proxyOf.nodes)return;let j=this.getIterator(),z,W;for(;this.indexes[j]<this.proxyOf.nodes.length&&(z=this.indexes[j],W=B(this.proxyOf.nodes[z],z),W!==!1);)this.indexes[j]+=1;return delete this.indexes[j],W}every(B){return this.nodes.every(B)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let B=this.lastEach;return this.indexes[B]=0,B}getProxyProcessor(){return{get(B,j){return j==="proxyOf"?B:B[j]?j==="each"||typeof j=="string"&&j.startsWith("walk")?(...z)=>B[j](...z.map(W=>typeof W=="function"?(X,Q)=>W(X.toProxy(),Q):W)):j==="every"||j==="some"?z=>B[j]((W,...X)=>z(W.toProxy(),...X)):j==="root"?()=>B.root().toProxy():j==="nodes"?B.nodes.map(z=>z.toProxy()):j==="first"||j==="last"?B[j].toProxy():B[j]:B[j]},set(B,j,z){return B[j]===z||(B[j]=z,(j==="name"||j==="params"||j==="selector")&&B.markDirty()),!0}}}index(B){return typeof B=="number"?B:(B.proxyOf&&(B=B.proxyOf),this.proxyOf.nodes.indexOf(B))}insertAfter(B,j){let z=this.index(B),W=this.normalize(j,this.proxyOf.nodes[z]).reverse();z=this.index(B);for(let Q of W)this.proxyOf.nodes.splice(z+1,0,Q);let X;for(let Q in this.indexes)X=this.indexes[Q],z<X&&(this.indexes[Q]=X+W.length);return this.markDirty(),this}insertBefore(B,j){let z=this.index(B),W=z===0?"prepend":!1,X=this.normalize(j,this.proxyOf.nodes[z],W).reverse();z=this.index(B);for(let K of X)this.proxyOf.nodes.splice(z,0,K);let Q;for(let K in this.indexes)Q=this.indexes[K],z<=Q&&(this.indexes[K]=Q+X.length);return this.markDirty(),this}normalize(B,j){if(typeof B=="string")B=P(_(B).nodes);else if(Array.isArray(B)){B=B.slice(0);for(let W of B)W.parent&&W.parent.removeChild(W,"ignore")}else if(B.type==="root"&&this.type!=="document"){B=B.nodes.slice(0);for(let W of B)W.parent&&W.parent.removeChild(W,"ignore")}else if(B.type)B=[B];else if(B.prop){if(typeof B.value>"u")throw new Error("Value field is missed in node creation");typeof B.value!="string"&&(B.value=String(B.value)),B=[new l(B)]}else if(B.selector)B=[new T(B)];else if(B.name)B=[new A(B)];else if(B.text)B=[new c(B)];else throw new Error("Unknown node type in node creation");return B.map(W=>(W[a]||O.rebuild(W),W=W.proxyOf,W.parent&&W.parent.removeChild(W),W[i]&&M(W),typeof W.raws.before>"u"&&j&&typeof j.raws.before<"u"&&(W.raws.before=j.raws.before.replace(/\S/g,"")),W.parent=this.proxyOf,W))}prepend(...B){B=B.reverse();for(let j of B){let z=this.normalize(j,this.first,"prepend").reverse();for(let W of z)this.proxyOf.nodes.unshift(W);for(let W in this.indexes)this.indexes[W]=this.indexes[W]+z.length}return this.markDirty(),this}push(B){return B.parent=this,this.proxyOf.nodes.push(B),this}removeAll(){for(let B of this.proxyOf.nodes)B.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(B){B=this.index(B),this.proxyOf.nodes[B].parent=void 0,this.proxyOf.nodes.splice(B,1);let j;for(let z in this.indexes)j=this.indexes[z],j>=B&&(this.indexes[z]=j-1);return this.markDirty(),this}replaceValues(B,j,z){return z||(z=j,j={}),this.walkDecls(W=>{j.props&&!j.props.includes(W.prop)||j.fast&&!W.value.includes(j.fast)||(W.value=W.value.replace(B,z))}),this.markDirty(),this}some(B){return this.nodes.some(B)}walk(B){return this.each((j,z)=>{let W;try{W=B(j,z)}catch(X){throw j.addToError(X)}return W!==!1&&j.walk&&(W=j.walk(B)),W})}walkAtRules(B,j){return j?B instanceof RegExp?this.walk((z,W)=>{if(z.type==="atrule"&&B.test(z.name))return j(z,W)}):this.walk((z,W)=>{if(z.type==="atrule"&&z.name===B)return j(z,W)}):(j=B,this.walk((z,W)=>{if(z.type==="atrule")return j(z,W)}))}walkComments(B){return this.walk((j,z)=>{if(j.type==="comment")return B(j,z)})}walkDecls(B,j){return j?B instanceof RegExp?this.walk((z,W)=>{if(z.type==="decl"&&B.test(z.prop))return j(z,W)}):this.walk((z,W)=>{if(z.type==="decl"&&z.prop===B)return j(z,W)}):(j=B,this.walk((z,W)=>{if(z.type==="decl")return j(z,W)}))}walkRules(B,j){return j?B instanceof RegExp?this.walk((z,W)=>{if(z.type==="rule"&&B.test(z.selector))return j(z,W)}):this.walk((z,W)=>{if(z.type==="rule"&&z.selector===B)return j(z,W)}):(j=B,this.walk((z,W)=>{if(z.type==="rule")return j(z,W)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}O.registerParse=N=>{_=N},O.registerRule=N=>{T=N},O.registerAtRule=N=>{A=N},O.registerRoot=N=>{R=N},U.exports=O,O.default=O,O.rebuild=N=>{N.type==="atrule"?Object.setPrototypeOf(N,A.prototype):N.type==="rule"?Object.setPrototypeOf(N,T.prototype):N.type==="decl"?Object.setPrototypeOf(N,l.prototype):N.type==="comment"?Object.setPrototypeOf(N,c.prototype):N.type==="root"&&Object.setPrototypeOf(N,R.prototype),N[a]=!0,N.nodes&&N.nodes.forEach(B=>{O.rebuild(B)})}},63008:(U,C,e)=>{"use strict";let i=e(72552),a=e(30468);class l extends Error{constructor(v,_,T,A,R,P){super(v),this.name="CssSyntaxError",this.reason=v,R&&(this.file=R),A&&(this.source=A),P&&(this.plugin=P),typeof _<"u"&&typeof T<"u"&&(typeof _=="number"?(this.line=_,this.column=T):(this.line=_.line,this.column=_.column,this.endLine=T.line,this.endColumn=T.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,l)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(v){if(!this.source)return"";let _=this.source;v==null&&(v=i.isColorSupported),a&&v&&(_=a(_));let T=_.split(/\r?\n/),A=Math.max(this.line-3,0),R=Math.min(this.line+2,T.length),P=String(R).length,M,O;if(v){let{bold:N,gray:B,red:j}=i.createColors(!0);M=z=>N(j(z)),O=z=>B(z)}else M=O=N=>N;return T.slice(A,R).map((N,B)=>{let j=A+1+B,z=" "+(" "+j).slice(-P)+" | ";if(j===this.line){let W=O(z.replace(/\d/g," "))+N.slice(0,this.column-1).replace(/[^\t]/g," ");return M(">")+O(z)+N+`
 `+W+M("^")}return" "+O(z)+N}).join(`
`)}toString(){let v=this.showSourceCode();return v&&(v=`

`+v+`
`),this.name+": "+this.message+v}}U.exports=l,l.default=l},67984:(U,C,e)=>{"use strict";let i=e(98196);class a extends i{constructor(c){c&&typeof c.value<"u"&&typeof c.value!="string"&&(c={...c,value:String(c.value)}),super(c),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}U.exports=a,a.default=a},82656:(U,C,e)=>{"use strict";let i=e(42048),a,l;class c extends i{constructor(_){super({type:"document",..._}),this.nodes||(this.nodes=[])}toResult(_={}){return new a(new l,this,_).stringify()}}c.registerLazyResult=v=>{a=v},c.registerProcessor=v=>{l=v},U.exports=c,c.default=c},80228:(U,C,e)=>{"use strict";let i=e(67984),a=e(75749),l=e(4676),c=e(55856),v=e(21376),_=e(32420),T=e(3700);function A(R,P){if(Array.isArray(R))return R.map(N=>A(N));let{inputs:M,...O}=R;if(M){P=[];for(let N of M){let B={...N,__proto__:v.prototype};B.map&&(B.map={...B.map,__proto__:a.prototype}),P.push(B)}}if(O.nodes&&(O.nodes=R.nodes.map(N=>A(N,P))),O.source){let{inputId:N,...B}=O.source;O.source=B,N!=null&&(O.source.input=P[N])}if(O.type==="root")return new _(O);if(O.type==="decl")return new i(O);if(O.type==="rule")return new T(O);if(O.type==="comment")return new l(O);if(O.type==="atrule")return new c(O);throw new Error("Unknown node type: "+R.type)}U.exports=A,A.default=A},21376:(U,C,e)=>{"use strict";let{SourceMapConsumer:i,SourceMapGenerator:a}=e(89608),{fileURLToPath:l,pathToFileURL:c}=e(43088),{isAbsolute:v,resolve:_}=e(40360),{nanoid:T}=e(16788),A=e(30468),R=e(63008),P=e(75749),M=Symbol("fromOffsetCache"),O=Boolean(i&&a),N=Boolean(_&&v);class B{constructor(z,W={}){if(z===null||typeof z>"u"||typeof z=="object"&&!z.toString)throw new Error(`PostCSS received ${z} instead of CSS string`);if(this.css=z.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,W.from&&(!N||/^\w+:\/\//.test(W.from)||v(W.from)?this.file=W.from:this.file=_(W.from)),N&&O){let X=new P(this.css,W);if(X.text){this.map=X;let Q=X.consumer().file;!this.file&&Q&&(this.file=this.mapResolve(Q))}}this.file||(this.id="<input css "+T(6)+">"),this.map&&(this.map.file=this.from)}error(z,W,X,Q={}){let K,Y,Z;if(W&&typeof W=="object"){let ee=W,re=X;if(typeof ee.offset=="number"){let me=this.fromOffset(ee.offset);W=me.line,X=me.col}else W=ee.line,X=ee.column;if(typeof re.offset=="number"){let me=this.fromOffset(re.offset);Y=me.line,Z=me.col}else Y=re.line,Z=re.column}else if(!X){let ee=this.fromOffset(W);W=ee.line,X=ee.col}let J=this.origin(W,X,Y,Z);return J?K=new R(z,J.endLine===void 0?J.line:{column:J.column,line:J.line},J.endLine===void 0?J.column:{column:J.endColumn,line:J.endLine},J.source,J.file,Q.plugin):K=new R(z,Y===void 0?W:{column:X,line:W},Y===void 0?X:{column:Z,line:Y},this.css,this.file,Q.plugin),K.input={column:X,endColumn:Z,endLine:Y,line:W,source:this.css},this.file&&(c&&(K.input.url=c(this.file).toString()),K.input.file=this.file),K}fromOffset(z){let W,X;if(this[M])X=this[M];else{let K=this.css.split(`
`);X=new Array(K.length);let Y=0;for(let Z=0,J=K.length;Z<J;Z++)X[Z]=Y,Y+=K[Z].length+1;this[M]=X}W=X[X.length-1];let Q=0;if(z>=W)Q=X.length-1;else{let K=X.length-2,Y;for(;Q<K;)if(Y=Q+(K-Q>>1),z<X[Y])K=Y-1;else if(z>=X[Y+1])Q=Y+1;else{Q=Y;break}}return{col:z-X[Q]+1,line:Q+1}}mapResolve(z){return/^\w+:\/\//.test(z)?z:_(this.map.consumer().sourceRoot||this.map.root||".",z)}origin(z,W,X,Q){if(!this.map)return!1;let K=this.map.consumer(),Y=K.originalPositionFor({column:W,line:z});if(!Y.source)return!1;let Z;typeof X=="number"&&(Z=K.originalPositionFor({column:Q,line:X}));let J;v(Y.source)?J=c(Y.source):J=new URL(Y.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let ee={column:Y.column,endColumn:Z&&Z.column,endLine:Z&&Z.line,line:Y.line,url:J.toString()};if(J.protocol==="file:")if(l)ee.file=l(J);else throw new Error("file: protocol is not available in this PostCSS build");let re=K.sourceContentFor(Y.source);return re&&(ee.source=re),ee}toJSON(){let z={};for(let W of["hasBOM","css","file","id"])this[W]!=null&&(z[W]=this[W]);return this.map&&(z.map={...this.map},z.map.consumerCache&&(z.map.consumerCache=void 0)),z}get from(){return this.file||this.id}}U.exports=B,B.default=B,A&&A.registerInput&&A.registerInput(B)},48280:(U,C,e)=>{"use strict";let{isClean:i,my:a}=e(95448),l=e(96440),c=e(45952),v=e(42048),_=e(82656),T=e(20152),A=e(89160),R=e(98724),P=e(32420);const M={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},O={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},N={Once:!0,postcssPlugin:!0,prepare:!0},B=0;function j(Y){return typeof Y=="object"&&typeof Y.then=="function"}function z(Y){let Z=!1,J=M[Y.type];return Y.type==="decl"?Z=Y.prop.toLowerCase():Y.type==="atrule"&&(Z=Y.name.toLowerCase()),Z&&Y.append?[J,J+"-"+Z,B,J+"Exit",J+"Exit-"+Z]:Z?[J,J+"-"+Z,J+"Exit",J+"Exit-"+Z]:Y.append?[J,B,J+"Exit"]:[J,J+"Exit"]}function W(Y){let Z;return Y.type==="document"?Z=["Document",B,"DocumentExit"]:Y.type==="root"?Z=["Root",B,"RootExit"]:Z=z(Y),{eventIndex:0,events:Z,iterator:0,node:Y,visitorIndex:0,visitors:[]}}function X(Y){return Y[i]=!1,Y.nodes&&Y.nodes.forEach(Z=>X(Z)),Y}let Q={};class K{constructor(Z,J,ee){this.stringified=!1,this.processed=!1;let re;if(typeof J=="object"&&J!==null&&(J.type==="root"||J.type==="document"))re=X(J);else if(J instanceof K||J instanceof A)re=X(J.root),J.map&&(typeof ee.map>"u"&&(ee.map={}),ee.map.inline||(ee.map.inline=!1),ee.map.prev=J.map);else{let me=R;ee.syntax&&(me=ee.syntax.parse),ee.parser&&(me=ee.parser),me.parse&&(me=me.parse);try{re=me(J,ee)}catch(fe){this.processed=!0,this.error=fe}re&&!re[a]&&v.rebuild(re)}this.result=new A(Z,re,ee),this.helpers={...Q,postcss:Q,result:this.result},this.plugins=this.processor.plugins.map(me=>typeof me=="object"&&me.prepare?{...me,...me.prepare(this.result)}:me)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(Z){return this.async().catch(Z)}finally(Z){return this.async().then(Z,Z)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(Z,J){let ee=this.result.lastPlugin;try{J&&J.addToError(Z),this.error=Z,Z.name==="CssSyntaxError"&&!Z.plugin?(Z.plugin=ee.postcssPlugin,Z.setMessage()):ee.postcssVersion}catch(re){console&&console.error&&console.error(re)}return Z}prepareVisitors(){this.listeners={};let Z=(J,ee,re)=>{this.listeners[ee]||(this.listeners[ee]=[]),this.listeners[ee].push([J,re])};for(let J of this.plugins)if(typeof J=="object")for(let ee in J){if(!O[ee]&&/^[A-Z]/.test(ee))throw new Error(`Unknown event ${ee} in ${J.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!N[ee])if(typeof J[ee]=="object")for(let re in J[ee])re==="*"?Z(J,ee,J[ee][re]):Z(J,ee+"-"+re.toLowerCase(),J[ee][re]);else typeof J[ee]=="function"&&Z(J,ee,J[ee])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let Z=0;Z<this.plugins.length;Z++){let J=this.plugins[Z],ee=this.runOnRoot(J);if(j(ee))try{await ee}catch(re){throw this.handleError(re)}}if(this.prepareVisitors(),this.hasListener){let Z=this.result.root;for(;!Z[i];){Z[i]=!0;let J=[W(Z)];for(;J.length>0;){let ee=this.visitTick(J);if(j(ee))try{await ee}catch(re){let me=J[J.length-1].node;throw this.handleError(re,me)}}}if(this.listeners.OnceExit)for(let[J,ee]of this.listeners.OnceExit){this.result.lastPlugin=J;try{if(Z.type==="document"){let re=Z.nodes.map(me=>ee(me,this.helpers));await Promise.all(re)}else await ee(Z,this.helpers)}catch(re){throw this.handleError(re)}}}return this.processed=!0,this.stringify()}runOnRoot(Z){this.result.lastPlugin=Z;try{if(typeof Z=="object"&&Z.Once){if(this.result.root.type==="document"){let J=this.result.root.nodes.map(ee=>Z.Once(ee,this.helpers));return j(J[0])?Promise.all(J):J}return Z.Once(this.result.root,this.helpers)}else if(typeof Z=="function")return Z(this.result.root,this.result)}catch(J){throw this.handleError(J)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let Z=this.result.opts,J=c;Z.syntax&&(J=Z.syntax.stringify),Z.stringifier&&(J=Z.stringifier),J.stringify&&(J=J.stringify);let re=new l(J,this.result.root,this.result.opts).generate();return this.result.css=re[0],this.result.map=re[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let Z of this.plugins){let J=this.runOnRoot(Z);if(j(J))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let Z=this.result.root;for(;!Z[i];)Z[i]=!0,this.walkSync(Z);if(this.listeners.OnceExit)if(Z.type==="document")for(let J of Z.nodes)this.visitSync(this.listeners.OnceExit,J);else this.visitSync(this.listeners.OnceExit,Z)}return this.result}then(Z,J){return this.async().then(Z,J)}toString(){return this.css}visitSync(Z,J){for(let[ee,re]of Z){this.result.lastPlugin=ee;let me;try{me=re(J,this.helpers)}catch(fe){throw this.handleError(fe,J.proxyOf)}if(J.type!=="root"&&J.type!=="document"&&!J.parent)return!0;if(j(me))throw this.getAsyncError()}}visitTick(Z){let J=Z[Z.length-1],{node:ee,visitors:re}=J;if(ee.type!=="root"&&ee.type!=="document"&&!ee.parent){Z.pop();return}if(re.length>0&&J.visitorIndex<re.length){let[fe,le]=re[J.visitorIndex];J.visitorIndex+=1,J.visitorIndex===re.length&&(J.visitors=[],J.visitorIndex=0),this.result.lastPlugin=fe;try{return le(ee.toProxy(),this.helpers)}catch(Ve){throw this.handleError(Ve,ee)}}if(J.iterator!==0){let fe=J.iterator,le;for(;le=ee.nodes[ee.indexes[fe]];)if(ee.indexes[fe]+=1,!le[i]){le[i]=!0,Z.push(W(le));return}J.iterator=0,delete ee.indexes[fe]}let me=J.events;for(;J.eventIndex<me.length;){let fe=me[J.eventIndex];if(J.eventIndex+=1,fe===B){ee.nodes&&ee.nodes.length&&(ee[i]=!0,J.iterator=ee.getIterator());return}else if(this.listeners[fe]){J.visitors=this.listeners[fe];return}}Z.pop()}walkSync(Z){Z[i]=!0;let J=z(Z);for(let ee of J)if(ee===B)Z.nodes&&Z.each(re=>{re[i]||this.walkSync(re)});else{let re=this.listeners[ee];if(re&&this.visitSync(re,Z.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}K.registerPostcss=Y=>{Q=Y},U.exports=K,K.default=K,P.registerLazyResult(K),_.registerLazyResult(K)},95116:U=>{"use strict";let C={comma(e){return C.split(e,[","],!0)},space(e){let i=[" ",`
`,"	"];return C.split(e,i)},split(e,i,a){let l=[],c="",v=!1,_=0,T=!1,A="",R=!1;for(let P of e)R?R=!1:P==="\\"?R=!0:T?P===A&&(T=!1):P==='"'||P==="'"?(T=!0,A=P):P==="("?_+=1:P===")"?_>0&&(_-=1):_===0&&i.includes(P)&&(v=!0),v?(c!==""&&l.push(c.trim()),c="",v=!1):c+=P;return(a||c!=="")&&l.push(c.trim()),l}};U.exports=C,C.default=C},96440:(U,C,e)=>{"use strict";let{SourceMapConsumer:i,SourceMapGenerator:a}=e(89608),{dirname:l,relative:c,resolve:v,sep:_}=e(40360),{pathToFileURL:T}=e(43088),A=e(21376),R=Boolean(i&&a),P=Boolean(l&&v&&c&&_);class M{constructor(N,B,j,z){this.stringify=N,this.mapOpts=j.map||{},this.root=B,this.opts=j,this.css=z,this.originalCSS=z,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let N;this.isInline()?N="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?N=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?N=this.mapOpts.annotation(this.opts.to,this.root):N=this.outputFile()+".map";let B=`
`;this.css.includes(`\r
`)&&(B=`\r
`),this.css+=B+"/*# sourceMappingURL="+N+" */"}applyPrevMaps(){for(let N of this.previous()){let B=this.toUrl(this.path(N.file)),j=N.root||l(N.file),z;this.mapOpts.sourcesContent===!1?(z=new i(N.text),z.sourcesContent&&(z.sourcesContent=z.sourcesContent.map(()=>null))):z=N.consumer(),this.map.applySourceMap(z,B,this.toUrl(this.path(j)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let N;for(let B=this.root.nodes.length-1;B>=0;B--)N=this.root.nodes[B],N.type==="comment"&&N.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(B)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),P&&R&&this.isMap())return this.generateMap();{let N="";return this.stringify(this.root,B=>{N+=B}),[N]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let N=this.previous()[0].consumer();N.file=this.outputFile(),this.map=a.fromSourceMap(N)}else this.map=new a({file:this.outputFile()}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new a({file:this.outputFile()});let N=1,B=1,j="<no source>",z={generated:{column:0,line:0},original:{column:0,line:0},source:""},W,X;this.stringify(this.root,(Q,K,Y)=>{if(this.css+=Q,K&&Y!=="end"&&(z.generated.line=N,z.generated.column=B-1,K.source&&K.source.start?(z.source=this.sourcePath(K),z.original.line=K.source.start.line,z.original.column=K.source.start.column-1,this.map.addMapping(z)):(z.source=j,z.original.line=1,z.original.column=0,this.map.addMapping(z))),W=Q.match(/\n/g),W?(N+=W.length,X=Q.lastIndexOf(`
`),B=Q.length-X):B+=Q.length,K&&Y!=="start"){let Z=K.parent||{raws:{}};(!(K.type==="decl"||K.type==="atrule"&&!K.nodes)||K!==Z.last||Z.raws.semicolon)&&(K.source&&K.source.end?(z.source=this.sourcePath(K),z.original.line=K.source.end.line,z.original.column=K.source.end.column-1,z.generated.line=N,z.generated.column=B-2,this.map.addMapping(z)):(z.source=j,z.original.line=1,z.original.column=0,z.generated.line=N,z.generated.column=B-1,this.map.addMapping(z)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(N=>N.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let N=this.mapOpts.annotation;return typeof N<"u"&&N!==!0?!1:this.previous().length?this.previous().some(B=>B.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(N=>N.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(N){if(this.mapOpts.absolute||N.charCodeAt(0)===60||/^\w+:\/\//.test(N))return N;let B=this.memoizedPaths.get(N);if(B)return B;let j=this.opts.to?l(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(j=l(v(j,this.mapOpts.annotation)));let z=c(j,N);return this.memoizedPaths.set(N,z),z}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(N=>{if(N.source&&N.source.input.map){let B=N.source.input.map;this.previousMaps.includes(B)||this.previousMaps.push(B)}});else{let N=new A(this.originalCSS,this.opts);N.map&&this.previousMaps.push(N.map)}return this.previousMaps}setSourcesContent(){let N={};if(this.root)this.root.walk(B=>{if(B.source){let j=B.source.input.from;if(j&&!N[j]){N[j]=!0;let z=this.usesFileUrls?this.toFileUrl(j):this.toUrl(this.path(j));this.map.setSourceContent(z,B.source.input.css)}}});else if(this.css){let B=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(B,this.css)}}sourcePath(N){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(N.source.input.from):this.toUrl(this.path(N.source.input.from))}toBase64(N){return Buffer?Buffer.from(N).toString("base64"):window.btoa(unescape(encodeURIComponent(N)))}toFileUrl(N){let B=this.memoizedFileURLs.get(N);if(B)return B;if(T){let j=T(N).toString();return this.memoizedFileURLs.set(N,j),j}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(N){let B=this.memoizedURLs.get(N);if(B)return B;_==="\\"&&(N=N.replace(/\\/g,"/"));let j=encodeURI(N).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(N,j),j}}U.exports=M},35296:(U,C,e)=>{"use strict";let i=e(96440),a=e(45952),l=e(20152),c=e(98724);const v=e(89160);class _{constructor(A,R,P){R=R.toString(),this.stringified=!1,this._processor=A,this._css=R,this._opts=P,this._map=void 0;let M,O=a;this.result=new v(this._processor,M,this._opts),this.result.css=R;let N=this;Object.defineProperty(this.result,"root",{get(){return N.root}});let B=new i(O,M,this._opts,R);if(B.isMap()){let[j,z]=B.generate();j&&(this.result.css=j),z&&(this.result.map=z)}else B.clearAnnotation(),this.result.css=B.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(A){return this.async().catch(A)}finally(A){return this.async().then(A,A)}sync(){if(this.error)throw this.error;return this.result}then(A,R){return this.async().then(A,R)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let A,R=c;try{A=R(this._css,this._opts)}catch(P){this.error=P}if(this.error)throw this.error;return this._root=A,A}get[Symbol.toStringTag](){return"NoWorkResult"}}U.exports=_,_.default=_},98196:(U,C,e)=>{"use strict";let{isClean:i,my:a}=e(95448),l=e(63008),c=e(67796),v=e(45952);function _(A,R){let P=new A.constructor;for(let M in A){if(!Object.prototype.hasOwnProperty.call(A,M)||M==="proxyCache")continue;let O=A[M],N=typeof O;M==="parent"&&N==="object"?R&&(P[M]=R):M==="source"?P[M]=O:Array.isArray(O)?P[M]=O.map(B=>_(B,P)):(N==="object"&&O!==null&&(O=_(O)),P[M]=O)}return P}class T{constructor(R={}){this.raws={},this[i]=!1,this[a]=!0;for(let P in R)if(P==="nodes"){this.nodes=[];for(let M of R[P])typeof M.clone=="function"?this.append(M.clone()):this.append(M)}else this[P]=R[P]}addToError(R){if(R.postcssNode=this,R.stack&&this.source&&/\n\s{4}at /.test(R.stack)){let P=this.source;R.stack=R.stack.replace(/\n\s{4}at /,`$&${P.input.from}:${P.start.line}:${P.start.column}$&`)}return R}after(R){return this.parent.insertAfter(this,R),this}assign(R={}){for(let P in R)this[P]=R[P];return this}before(R){return this.parent.insertBefore(this,R),this}cleanRaws(R){delete this.raws.before,delete this.raws.after,R||delete this.raws.between}clone(R={}){let P=_(this);for(let M in R)P[M]=R[M];return P}cloneAfter(R={}){let P=this.clone(R);return this.parent.insertAfter(this,P),P}cloneBefore(R={}){let P=this.clone(R);return this.parent.insertBefore(this,P),P}error(R,P={}){if(this.source){let{end:M,start:O}=this.rangeBy(P);return this.source.input.error(R,{column:O.column,line:O.line},{column:M.column,line:M.line},P)}return new l(R)}getProxyProcessor(){return{get(R,P){return P==="proxyOf"?R:P==="root"?()=>R.root().toProxy():R[P]},set(R,P,M){return R[P]===M||(R[P]=M,(P==="prop"||P==="value"||P==="name"||P==="params"||P==="important"||P==="text")&&R.markDirty()),!0}}}markDirty(){if(this[i]){this[i]=!1;let R=this;for(;R=R.parent;)R[i]=!1}}next(){if(!this.parent)return;let R=this.parent.index(this);return this.parent.nodes[R+1]}positionBy(R,P){let M=this.source.start;if(R.index)M=this.positionInside(R.index,P);else if(R.word){P=this.toString();let O=P.indexOf(R.word);O!==-1&&(M=this.positionInside(O,P))}return M}positionInside(R,P){let M=P||this.toString(),O=this.source.start.column,N=this.source.start.line;for(let B=0;B<R;B++)M[B]===`
`?(O=1,N+=1):O+=1;return{column:O,line:N}}prev(){if(!this.parent)return;let R=this.parent.index(this);return this.parent.nodes[R-1]}rangeBy(R){let P={column:this.source.start.column,line:this.source.start.line},M=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:P.column+1,line:P.line};if(R.word){let O=this.toString(),N=O.indexOf(R.word);N!==-1&&(P=this.positionInside(N,O),M=this.positionInside(N+R.word.length,O))}else R.start?P={column:R.start.column,line:R.start.line}:R.index&&(P=this.positionInside(R.index)),R.end?M={column:R.end.column,line:R.end.line}:R.endIndex?M=this.positionInside(R.endIndex):R.index&&(M=this.positionInside(R.index+1));return(M.line<P.line||M.line===P.line&&M.column<=P.column)&&(M={column:P.column+1,line:P.line}),{end:M,start:P}}raw(R,P){return new c().raw(this,R,P)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...R){if(this.parent){let P=this,M=!1;for(let O of R)O===this?M=!0:M?(this.parent.insertAfter(P,O),P=O):this.parent.insertBefore(P,O);M||this.remove()}return this}root(){let R=this;for(;R.parent&&R.parent.type!=="document";)R=R.parent;return R}toJSON(R,P){let M={},O=P==null;P=P||new Map;let N=0;for(let B in this){if(!Object.prototype.hasOwnProperty.call(this,B)||B==="parent"||B==="proxyCache")continue;let j=this[B];if(Array.isArray(j))M[B]=j.map(z=>typeof z=="object"&&z.toJSON?z.toJSON(null,P):z);else if(typeof j=="object"&&j.toJSON)M[B]=j.toJSON(null,P);else if(B==="source"){let z=P.get(j.input);z==null&&(z=N,P.set(j.input,N),N++),M[B]={end:j.end,inputId:z,start:j.start}}else M[B]=j}return O&&(M.inputs=[...P.keys()].map(B=>B.toJSON())),M}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(R=v){R.stringify&&(R=R.stringify);let P="";return R(this,M=>{P+=M}),P}warn(R,P,M){let O={node:this};for(let N in M)O[N]=M[N];return R.warn(P,O)}get proxyOf(){return this}}U.exports=T,T.default=T},98724:(U,C,e)=>{"use strict";let i=e(42048),a=e(61380),l=e(21376);function c(v,_){let T=new l(v,_),A=new a(T);try{A.parse()}catch(R){throw R}return A.root}U.exports=c,c.default=c,i.registerParse(c)},61380:(U,C,e)=>{"use strict";let i=e(67984),a=e(93236),l=e(4676),c=e(55856),v=e(32420),_=e(3700);const T={empty:!0,space:!0};function A(P){for(let M=P.length-1;M>=0;M--){let O=P[M],N=O[3]||O[2];if(N)return N}}class R{constructor(M){this.input=M,this.root=new v,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:M,start:{column:1,line:1,offset:0}}}atrule(M){let O=new c;O.name=M[1].slice(1),O.name===""&&this.unnamedAtrule(O,M),this.init(O,M[2]);let N,B,j,z=!1,W=!1,X=[],Q=[];for(;!this.tokenizer.endOfFile();){if(M=this.tokenizer.nextToken(),N=M[0],N==="("||N==="["?Q.push(N==="("?")":"]"):N==="{"&&Q.length>0?Q.push("}"):N===Q[Q.length-1]&&Q.pop(),Q.length===0)if(N===";"){O.source.end=this.getPosition(M[2]),O.source.end.offset++,this.semicolon=!0;break}else if(N==="{"){W=!0;break}else if(N==="}"){if(X.length>0){for(j=X.length-1,B=X[j];B&&B[0]==="space";)B=X[--j];B&&(O.source.end=this.getPosition(B[3]||B[2]),O.source.end.offset++)}this.end(M);break}else X.push(M);else X.push(M);if(this.tokenizer.endOfFile()){z=!0;break}}O.raws.between=this.spacesAndCommentsFromEnd(X),X.length?(O.raws.afterName=this.spacesAndCommentsFromStart(X),this.raw(O,"params",X),z&&(M=X[X.length-1],O.source.end=this.getPosition(M[3]||M[2]),O.source.end.offset++,this.spaces=O.raws.between,O.raws.between="")):(O.raws.afterName="",O.params=""),W&&(O.nodes=[],this.current=O)}checkMissedSemicolon(M){let O=this.colon(M);if(O===!1)return;let N=0,B;for(let j=O-1;j>=0&&(B=M[j],!(B[0]!=="space"&&(N+=1,N===2)));j--);throw this.input.error("Missed semicolon",B[0]==="word"?B[3]+1:B[2])}colon(M){let O=0,N,B,j;for(let[z,W]of M.entries()){if(N=W,B=N[0],B==="("&&(O+=1),B===")"&&(O-=1),O===0&&B===":")if(!j)this.doubleColon(N);else{if(j[0]==="word"&&j[1]==="progid")continue;return z}j=N}return!1}comment(M){let O=new l;this.init(O,M[2]),O.source.end=this.getPosition(M[3]||M[2]),O.source.end.offset++;let N=M[1].slice(2,-2);if(/^\s*$/.test(N))O.text="",O.raws.left=N,O.raws.right="";else{let B=N.match(/^(\s*)([^]*\S)(\s*)$/);O.text=B[2],O.raws.left=B[1],O.raws.right=B[3]}}createTokenizer(){this.tokenizer=a(this.input)}decl(M,O){let N=new i;this.init(N,M[0][2]);let B=M[M.length-1];for(B[0]===";"&&(this.semicolon=!0,M.pop()),N.source.end=this.getPosition(B[3]||B[2]||A(M)),N.source.end.offset++;M[0][0]!=="word";)M.length===1&&this.unknownWord(M),N.raws.before+=M.shift()[1];for(N.source.start=this.getPosition(M[0][2]),N.prop="";M.length;){let Q=M[0][0];if(Q===":"||Q==="space"||Q==="comment")break;N.prop+=M.shift()[1]}N.raws.between="";let j;for(;M.length;)if(j=M.shift(),j[0]===":"){N.raws.between+=j[1];break}else j[0]==="word"&&/\w/.test(j[1])&&this.unknownWord([j]),N.raws.between+=j[1];(N.prop[0]==="_"||N.prop[0]==="*")&&(N.raws.before+=N.prop[0],N.prop=N.prop.slice(1));let z=[],W;for(;M.length&&(W=M[0][0],!(W!=="space"&&W!=="comment"));)z.push(M.shift());this.precheckMissedSemicolon(M);for(let Q=M.length-1;Q>=0;Q--){if(j=M[Q],j[1].toLowerCase()==="!important"){N.important=!0;let K=this.stringFrom(M,Q);K=this.spacesFromEnd(M)+K,K!==" !important"&&(N.raws.important=K);break}else if(j[1].toLowerCase()==="important"){let K=M.slice(0),Y="";for(let Z=Q;Z>0;Z--){let J=K[Z][0];if(Y.trim().indexOf("!")===0&&J!=="space")break;Y=K.pop()[1]+Y}Y.trim().indexOf("!")===0&&(N.important=!0,N.raws.important=Y,M=K)}if(j[0]!=="space"&&j[0]!=="comment")break}M.some(Q=>Q[0]!=="space"&&Q[0]!=="comment")&&(N.raws.between+=z.map(Q=>Q[1]).join(""),z=[]),this.raw(N,"value",z.concat(M),O),N.value.includes(":")&&!O&&this.checkMissedSemicolon(M)}doubleColon(M){throw this.input.error("Double colon",{offset:M[2]},{offset:M[2]+M[1].length})}emptyRule(M){let O=new _;this.init(O,M[2]),O.selector="",O.raws.between="",this.current=O}end(M){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(M[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(M)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(M){if(this.spaces+=M[1],this.current.nodes){let O=this.current.nodes[this.current.nodes.length-1];O&&O.type==="rule"&&!O.raws.ownSemicolon&&(O.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(M){let O=this.input.fromOffset(M);return{column:O.col,line:O.line,offset:M}}init(M,O){this.current.push(M),M.source={input:this.input,start:this.getPosition(O)},M.raws.before=this.spaces,this.spaces="",M.type!=="comment"&&(this.semicolon=!1)}other(M){let O=!1,N=null,B=!1,j=null,z=[],W=M[1].startsWith("--"),X=[],Q=M;for(;Q;){if(N=Q[0],X.push(Q),N==="("||N==="[")j||(j=Q),z.push(N==="("?")":"]");else if(W&&B&&N==="{")j||(j=Q),z.push("}");else if(z.length===0)if(N===";")if(B){this.decl(X,W);return}else break;else if(N==="{"){this.rule(X);return}else if(N==="}"){this.tokenizer.back(X.pop()),O=!0;break}else N===":"&&(B=!0);else N===z[z.length-1]&&(z.pop(),z.length===0&&(j=null));Q=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(O=!0),z.length>0&&this.unclosedBracket(j),O&&B){if(!W)for(;X.length&&(Q=X[X.length-1][0],!(Q!=="space"&&Q!=="comment"));)this.tokenizer.back(X.pop());this.decl(X,W)}else this.unknownWord(X)}parse(){let M;for(;!this.tokenizer.endOfFile();)switch(M=this.tokenizer.nextToken(),M[0]){case"space":this.spaces+=M[1];break;case";":this.freeSemicolon(M);break;case"}":this.end(M);break;case"comment":this.comment(M);break;case"at-word":this.atrule(M);break;case"{":this.emptyRule(M);break;default:this.other(M);break}this.endFile()}precheckMissedSemicolon(){}raw(M,O,N,B){let j,z,W=N.length,X="",Q=!0,K,Y;for(let Z=0;Z<W;Z+=1)j=N[Z],z=j[0],z==="space"&&Z===W-1&&!B?Q=!1:z==="comment"?(Y=N[Z-1]?N[Z-1][0]:"empty",K=N[Z+1]?N[Z+1][0]:"empty",!T[Y]&&!T[K]?X.slice(-1)===","?Q=!1:X+=j[1]:Q=!1):X+=j[1];if(!Q){let Z=N.reduce((J,ee)=>J+ee[1],"");M.raws[O]={raw:Z,value:X}}M[O]=X}rule(M){M.pop();let O=new _;this.init(O,M[0][2]),O.raws.between=this.spacesAndCommentsFromEnd(M),this.raw(O,"selector",M),this.current=O}spacesAndCommentsFromEnd(M){let O,N="";for(;M.length&&(O=M[M.length-1][0],!(O!=="space"&&O!=="comment"));)N=M.pop()[1]+N;return N}spacesAndCommentsFromStart(M){let O,N="";for(;M.length&&(O=M[0][0],!(O!=="space"&&O!=="comment"));)N+=M.shift()[1];return N}spacesFromEnd(M){let O,N="";for(;M.length&&(O=M[M.length-1][0],O==="space");)N=M.pop()[1]+N;return N}stringFrom(M,O){let N="";for(let B=O;B<M.length;B++)N+=M[B][1];return M.splice(O,M.length-O),N}unclosedBlock(){let M=this.current.source.start;throw this.input.error("Unclosed block",M.line,M.column)}unclosedBracket(M){throw this.input.error("Unclosed bracket",{offset:M[2]},{offset:M[2]+1})}unexpectedClose(M){throw this.input.error("Unexpected }",{offset:M[2]},{offset:M[2]+1})}unknownWord(M){throw this.input.error("Unknown word",{offset:M[0][2]},{offset:M[0][2]+M[0][1].length})}unnamedAtrule(M,O){throw this.input.error("At-rule without name",{offset:O[2]},{offset:O[2]+O[1].length})}}U.exports=R},2900:(U,C,e)=>{"use strict";let i=e(63008),a=e(67984),l=e(48280),c=e(42048),v=e(1352),_=e(45952),T=e(80228),A=e(82656),R=e(20984),P=e(4676),M=e(55856),O=e(89160),N=e(21376),B=e(98724),j=e(95116),z=e(3700),W=e(32420),X=e(98196);function Q(...K){return K.length===1&&Array.isArray(K[0])&&(K=K[0]),new v(K)}Q.plugin=function(Y,Z){let J=!1;function ee(...me){console&&console.warn&&!J&&(J=!0,console.warn(Y+`: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(Y+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
https://www.w3ctech.com/topic/2226`));let fe=Z(...me);return fe.postcssPlugin=Y,fe.postcssVersion=new v().version,fe}let re;return Object.defineProperty(ee,"postcss",{get(){return re||(re=ee()),re}}),ee.process=function(me,fe,le){return Q([ee(le)]).process(me,fe)},ee},Q.stringify=_,Q.parse=B,Q.fromJSON=T,Q.list=j,Q.comment=K=>new P(K),Q.atRule=K=>new M(K),Q.decl=K=>new a(K),Q.rule=K=>new z(K),Q.root=K=>new W(K),Q.document=K=>new A(K),Q.CssSyntaxError=i,Q.Declaration=a,Q.Container=c,Q.Processor=v,Q.Document=A,Q.Comment=P,Q.Warning=R,Q.AtRule=M,Q.Result=O,Q.Input=N,Q.Rule=z,Q.Root=W,Q.Node=X,l.registerPostcss(Q),U.exports=Q,Q.default=Q},75749:(U,C,e)=>{"use strict";let{SourceMapConsumer:i,SourceMapGenerator:a}=e(89608),{existsSync:l,readFileSync:c}=e(41868),{dirname:v,join:_}=e(40360);function T(R){return Buffer?Buffer.from(R,"base64").toString():window.atob(R)}class A{constructor(P,M){if(M.map===!1)return;this.loadAnnotation(P),this.inline=this.startWith(this.annotation,"data:");let O=M.map?M.map.prev:void 0,N=this.loadMap(M.from,O);!this.mapFile&&M.from&&(this.mapFile=M.from),this.mapFile&&(this.root=v(this.mapFile)),N&&(this.text=N)}consumer(){return this.consumerCache||(this.consumerCache=new i(this.text)),this.consumerCache}decodeInline(P){let M=/^data:application\/json;charset=utf-?8;base64,/,O=/^data:application\/json;base64,/,N=/^data:application\/json;charset=utf-?8,/,B=/^data:application\/json,/;if(N.test(P)||B.test(P))return decodeURIComponent(P.substr(RegExp.lastMatch.length));if(M.test(P)||O.test(P))return T(P.substr(RegExp.lastMatch.length));let j=P.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+j)}getAnnotationURL(P){return P.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(P){return typeof P!="object"?!1:typeof P.mappings=="string"||typeof P._mappings=="string"||Array.isArray(P.sections)}loadAnnotation(P){let M=P.match(/\/\*\s*# sourceMappingURL=/gm);if(!M)return;let O=P.lastIndexOf(M.pop()),N=P.indexOf("*/",O);O>-1&&N>-1&&(this.annotation=this.getAnnotationURL(P.substring(O,N)))}loadFile(P){if(this.root=v(P),l(P))return this.mapFile=P,c(P,"utf-8").toString().trim()}loadMap(P,M){if(M===!1)return!1;if(M){if(typeof M=="string")return M;if(typeof M=="function"){let O=M(P);if(O){let N=this.loadFile(O);if(!N)throw new Error("Unable to load previous source map: "+O.toString());return N}}else{if(M instanceof i)return a.fromSourceMap(M).toString();if(M instanceof a)return M.toString();if(this.isMap(M))return JSON.stringify(M);throw new Error("Unsupported previous source map format: "+M.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let O=this.annotation;return P&&(O=_(v(P),O)),this.loadFile(O)}}}startWith(P,M){return P?P.substr(0,M.length)===M:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}U.exports=A,A.default=A},1352:(U,C,e)=>{"use strict";let i=e(35296),a=e(48280),l=e(82656),c=e(32420);class v{constructor(T=[]){this.version="8.4.33",this.plugins=this.normalize(T)}normalize(T){let A=[];for(let R of T)if(R.postcss===!0?R=R():R.postcss&&(R=R.postcss),typeof R=="object"&&Array.isArray(R.plugins))A=A.concat(R.plugins);else if(typeof R=="object"&&R.postcssPlugin)A.push(R);else if(typeof R=="function")A.push(R);else if(!(typeof R=="object"&&(R.parse||R.stringify)))throw new Error(R+" is not a PostCSS plugin");return A}process(T,A={}){return!this.plugins.length&&!A.parser&&!A.stringifier&&!A.syntax?new i(this,T,A):new a(this,T,A)}use(T){return this.plugins=this.plugins.concat(this.normalize([T])),this}}U.exports=v,v.default=v,c.registerProcessor(v),l.registerProcessor(v)},89160:(U,C,e)=>{"use strict";let i=e(20984);class a{constructor(c,v,_){this.processor=c,this.messages=[],this.root=v,this.opts=_,this.css=void 0,this.map=void 0}toString(){return this.css}warn(c,v={}){v.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(v.plugin=this.lastPlugin.postcssPlugin);let _=new i(c,v);return this.messages.push(_),_}warnings(){return this.messages.filter(c=>c.type==="warning")}get content(){return this.css}}U.exports=a,a.default=a},32420:(U,C,e)=>{"use strict";let i=e(42048),a,l;class c extends i{constructor(_){super(_),this.type="root",this.nodes||(this.nodes=[])}normalize(_,T,A){let R=super.normalize(_);if(T){if(A==="prepend")this.nodes.length>1?T.raws.before=this.nodes[1].raws.before:delete T.raws.before;else if(this.first!==T)for(let P of R)P.raws.before=T.raws.before}return R}removeChild(_,T){let A=this.index(_);return!T&&A===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[A].raws.before),super.removeChild(_)}toResult(_={}){return new a(new l,this,_).stringify()}}c.registerLazyResult=v=>{a=v},c.registerProcessor=v=>{l=v},U.exports=c,c.default=c,i.registerRoot(c)},3700:(U,C,e)=>{"use strict";let i=e(42048),a=e(95116);class l extends i{constructor(v){super(v),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return a.comma(this.selector)}set selectors(v){let _=this.selector?this.selector.match(/,\s*/):null,T=_?_[0]:","+this.raw("between","beforeOpen");this.selector=v.join(T)}}U.exports=l,l.default=l,i.registerRule(l)},67796:U=>{"use strict";const C={after:`
`,beforeClose:`
`,beforeComment:`
`,beforeDecl:`
`,beforeOpen:" ",beforeRule:`
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:"    ",semicolon:!1};function e(a){return a[0].toUpperCase()+a.slice(1)}class i{constructor(l){this.builder=l}atrule(l,c){let v="@"+l.name,_=l.params?this.rawValue(l,"params"):"";if(typeof l.raws.afterName<"u"?v+=l.raws.afterName:_&&(v+=" "),l.nodes)this.block(l,v+_);else{let T=(l.raws.between||"")+(c?";":"");this.builder(v+_+T,l)}}beforeAfter(l,c){let v;l.type==="decl"?v=this.raw(l,null,"beforeDecl"):l.type==="comment"?v=this.raw(l,null,"beforeComment"):c==="before"?v=this.raw(l,null,"beforeRule"):v=this.raw(l,null,"beforeClose");let _=l.parent,T=0;for(;_&&_.type!=="root";)T+=1,_=_.parent;if(v.includes(`
`)){let A=this.raw(l,null,"indent");if(A.length)for(let R=0;R<T;R++)v+=A}return v}block(l,c){let v=this.raw(l,"between","beforeOpen");this.builder(c+v+"{",l,"start");let _;l.nodes&&l.nodes.length?(this.body(l),_=this.raw(l,"after")):_=this.raw(l,"after","emptyBody"),_&&this.builder(_),this.builder("}",l,"end")}body(l){let c=l.nodes.length-1;for(;c>0&&l.nodes[c].type==="comment";)c-=1;let v=this.raw(l,"semicolon");for(let _=0;_<l.nodes.length;_++){let T=l.nodes[_],A=this.raw(T,"before");A&&this.builder(A),this.stringify(T,c!==_||v)}}comment(l){let c=this.raw(l,"left","commentLeft"),v=this.raw(l,"right","commentRight");this.builder("/*"+c+l.text+v+"*/",l)}decl(l,c){let v=this.raw(l,"between","colon"),_=l.prop+v+this.rawValue(l,"value");l.important&&(_+=l.raws.important||" !important"),c&&(_+=";"),this.builder(_,l)}document(l){this.body(l)}raw(l,c,v){let _;if(v||(v=c),c&&(_=l.raws[c],typeof _<"u"))return _;let T=l.parent;if(v==="before"&&(!T||T.type==="root"&&T.first===l||T&&T.type==="document"))return"";if(!T)return C[v];let A=l.root();if(A.rawCache||(A.rawCache={}),typeof A.rawCache[v]<"u")return A.rawCache[v];if(v==="before"||v==="after")return this.beforeAfter(l,v);{let R="raw"+e(v);this[R]?_=this[R](A,l):A.walk(P=>{if(_=P.raws[c],typeof _<"u")return!1})}return typeof _>"u"&&(_=C[v]),A.rawCache[v]=_,_}rawBeforeClose(l){let c;return l.walk(v=>{if(v.nodes&&v.nodes.length>0&&typeof v.raws.after<"u")return c=v.raws.after,c.includes(`
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawBeforeComment(l,c){let v;return l.walkComments(_=>{if(typeof _.raws.before<"u")return v=_.raws.before,v.includes(`
`)&&(v=v.replace(/[^\n]+$/,"")),!1}),typeof v>"u"?v=this.raw(c,null,"beforeDecl"):v&&(v=v.replace(/\S/g,"")),v}rawBeforeDecl(l,c){let v;return l.walkDecls(_=>{if(typeof _.raws.before<"u")return v=_.raws.before,v.includes(`
`)&&(v=v.replace(/[^\n]+$/,"")),!1}),typeof v>"u"?v=this.raw(c,null,"beforeRule"):v&&(v=v.replace(/\S/g,"")),v}rawBeforeOpen(l){let c;return l.walk(v=>{if(v.type!=="decl"&&(c=v.raws.between,typeof c<"u"))return!1}),c}rawBeforeRule(l){let c;return l.walk(v=>{if(v.nodes&&(v.parent!==l||l.first!==v)&&typeof v.raws.before<"u")return c=v.raws.before,c.includes(`
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawColon(l){let c;return l.walkDecls(v=>{if(typeof v.raws.between<"u")return c=v.raws.between.replace(/[^\s:]/g,""),!1}),c}rawEmptyBody(l){let c;return l.walk(v=>{if(v.nodes&&v.nodes.length===0&&(c=v.raws.after,typeof c<"u"))return!1}),c}rawIndent(l){if(l.raws.indent)return l.raws.indent;let c;return l.walk(v=>{let _=v.parent;if(_&&_!==l&&_.parent&&_.parent===l&&typeof v.raws.before<"u"){let T=v.raws.before.split(`
`);return c=T[T.length-1],c=c.replace(/\S/g,""),!1}}),c}rawSemicolon(l){let c;return l.walk(v=>{if(v.nodes&&v.nodes.length&&v.last.type==="decl"&&(c=v.raws.semicolon,typeof c<"u"))return!1}),c}rawValue(l,c){let v=l[c],_=l.raws[c];return _&&_.value===v?_.raw:v}root(l){this.body(l),l.raws.after&&this.builder(l.raws.after)}rule(l){this.block(l,this.rawValue(l,"selector")),l.raws.ownSemicolon&&this.builder(l.raws.ownSemicolon,l,"end")}stringify(l,c){if(!this[l.type])throw new Error("Unknown AST node type "+l.type+". Maybe you need to change PostCSS stringifier.");this[l.type](l,c)}}U.exports=i,i.default=i},45952:(U,C,e)=>{"use strict";let i=e(67796);function a(l,c){new i(c).stringify(l)}U.exports=a,a.default=a},95448:U=>{"use strict";U.exports.isClean=Symbol("isClean"),U.exports.my=Symbol("my")},93236:U=>{"use strict";const C="'".charCodeAt(0),e='"'.charCodeAt(0),i="\\".charCodeAt(0),a="/".charCodeAt(0),l=`
`.charCodeAt(0),c=" ".charCodeAt(0),v="\f".charCodeAt(0),_="	".charCodeAt(0),T="\r".charCodeAt(0),A="[".charCodeAt(0),R="]".charCodeAt(0),P="(".charCodeAt(0),M=")".charCodeAt(0),O="{".charCodeAt(0),N="}".charCodeAt(0),B=";".charCodeAt(0),j="*".charCodeAt(0),z=":".charCodeAt(0),W="@".charCodeAt(0),X=/[\t\n\f\r "#'()/;[\\\]{}]/g,Q=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,K=/.[\r\n"'(/\\]/,Y=/[\da-f]/i;U.exports=function(J,ee={}){let re=J.css.valueOf(),me=ee.ignoreErrors,fe,le,Ve,Ze,Ce,ye,Ae,Fe,Qe,ce,Ge=re.length,Pe=0,pe=[],Se=[];function _e(){return Pe}function Ne(yt){throw J.error("Unclosed "+yt,Pe)}function Le(){return Se.length===0&&Pe>=Ge}function Ke(yt){if(Se.length)return Se.pop();if(Pe>=Ge)return;let It=yt?yt.ignoreUnclosed:!1;switch(fe=re.charCodeAt(Pe),fe){case l:case c:case _:case T:case v:{le=Pe;do le+=1,fe=re.charCodeAt(le);while(fe===c||fe===l||fe===_||fe===T||fe===v);ce=["space",re.slice(Pe,le)],Pe=le-1;break}case A:case R:case O:case N:case z:case B:case M:{let _t=String.fromCharCode(fe);ce=[_t,_t,Pe];break}case P:{if(Fe=pe.length?pe.pop()[1]:"",Qe=re.charCodeAt(Pe+1),Fe==="url"&&Qe!==C&&Qe!==e&&Qe!==c&&Qe!==l&&Qe!==_&&Qe!==v&&Qe!==T){le=Pe;do{if(ye=!1,le=re.indexOf(")",le+1),le===-1)if(me||It){le=Pe;break}else Ne("bracket");for(Ae=le;re.charCodeAt(Ae-1)===i;)Ae-=1,ye=!ye}while(ye);ce=["brackets",re.slice(Pe,le+1),Pe,le],Pe=le}else le=re.indexOf(")",Pe+1),Ze=re.slice(Pe,le+1),le===-1||K.test(Ze)?ce=["(","(",Pe]:(ce=["brackets",Ze,Pe,le],Pe=le);break}case C:case e:{Ve=fe===C?"'":'"',le=Pe;do{if(ye=!1,le=re.indexOf(Ve,le+1),le===-1)if(me||It){le=Pe+1;break}else Ne("string");for(Ae=le;re.charCodeAt(Ae-1)===i;)Ae-=1,ye=!ye}while(ye);ce=["string",re.slice(Pe,le+1),Pe,le],Pe=le;break}case W:{X.lastIndex=Pe+1,X.test(re),X.lastIndex===0?le=re.length-1:le=X.lastIndex-2,ce=["at-word",re.slice(Pe,le+1),Pe,le],Pe=le;break}case i:{for(le=Pe,Ce=!0;re.charCodeAt(le+1)===i;)le+=1,Ce=!Ce;if(fe=re.charCodeAt(le+1),Ce&&fe!==a&&fe!==c&&fe!==l&&fe!==_&&fe!==T&&fe!==v&&(le+=1,Y.test(re.charAt(le)))){for(;Y.test(re.charAt(le+1));)le+=1;re.charCodeAt(le+1)===c&&(le+=1)}ce=["word",re.slice(Pe,le+1),Pe,le],Pe=le;break}default:{fe===a&&re.charCodeAt(Pe+1)===j?(le=re.indexOf("*/",Pe+2)+1,le===0&&(me||It?le=re.length:Ne("comment")),ce=["comment",re.slice(Pe,le+1),Pe,le],Pe=le):(Q.lastIndex=Pe+1,Q.test(re),Q.lastIndex===0?le=re.length-1:le=Q.lastIndex-2,ce=["word",re.slice(Pe,le+1),Pe,le],pe.push(ce),Pe=le);break}}return Pe++,ce}function bt(yt){Se.push(yt)}return{back:bt,endOfFile:Le,nextToken:Ke,position:_e}}},20152:U=>{"use strict";let C={};U.exports=function(i){C[i]||(C[i]=!0,typeof console<"u"&&console.warn&&console.warn(i))}},20984:U=>{"use strict";class C{constructor(i,a={}){if(this.type="warning",this.text=i,a.node&&a.node.source){let l=a.node.rangeBy(a);this.line=l.start.line,this.column=l.start.column,this.endLine=l.end.line,this.endColumn=l.end.column}for(let l in a)this[l]=a[l]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}U.exports=C,C.default=C},60572:(U,C,e)=>{"use strict";var i=e(45404);function a(){}function l(){}l.resetWarningCache=a,U.exports=function(){function c(T,A,R,P,M,O){if(O!==i){var N=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw N.name="Invariant Violation",N}}c.isRequired=c;function v(){return c}var _={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:v,element:c,elementType:c,instanceOf:v,node:c,objectOf:v,oneOf:v,oneOfType:v,shape:v,exact:v,checkPropTypes:l,resetWarningCache:a};return _.PropTypes=_,_}},33104:(U,C,e)=>{if(!1)var i,a;else U.exports=e(60572)()},45404:U=>{"use strict";var C="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";U.exports=C},22044:U=>{"use strict";function C(W){this._maxSize=W,this.clear()}C.prototype.clear=function(){this._size=0,this._values=Object.create(null)},C.prototype.get=function(W){return this._values[W]},C.prototype.set=function(W,X){return this._size>=this._maxSize&&this.clear(),W in this._values||this._size++,this._values[W]=X};var e=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,a=/^\d/,l=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,c=/^\s*(['"]?)(.*?)(\1)\s*$/,v=512,_=new C(v),T=new C(v),A=new C(v),R;U.exports={Cache:C,split:M,normalizePath:P,setter:function(W){var X=P(W);return T.get(W)||T.set(W,function(K,Y){for(var Z=0,J=X.length,ee=K;Z<J-1;){var re=X[Z];if(re==="__proto__"||re==="constructor"||re==="prototype")return K;ee=ee[X[Z++]]}ee[X[Z]]=Y})},getter:function(W,X){var Q=P(W);return A.get(W)||A.set(W,function(Y){for(var Z=0,J=Q.length;Z<J;)if(Y!=null||!X)Y=Y[Q[Z++]];else return;return Y})},join:function(W){return W.reduce(function(X,Q){return X+(N(Q)||i.test(Q)?"["+Q+"]":(X?".":"")+Q)},"")},forEach:function(W,X,Q){O(Array.isArray(W)?W:M(W),X,Q)}};function P(W){return _.get(W)||_.set(W,M(W).map(function(X){return X.replace(c,"$2")}))}function M(W){return W.match(e)||[""]}function O(W,X,Q){var K=W.length,Y,Z,J,ee;for(Z=0;Z<K;Z++)Y=W[Z],Y&&(z(Y)&&(Y='"'+Y+'"'),ee=N(Y),J=!ee&&/^\d+$/.test(Y),X.call(Q,Y,ee,J,Z,W))}function N(W){return typeof W=="string"&&W&&["'",'"'].indexOf(W.charAt(0))!==-1}function B(W){return W.match(a)&&!W.match(i)}function j(W){return l.test(W)}function z(W){return!N(W)&&(B(W)||j(W))}},8920:(U,C,e)=>{"use strict";e.r(C),e.d(C,{decode:()=>re,default:()=>Ze,encode:()=>me,toASCII:()=>le,toUnicode:()=>fe,ucs2decode:()=>K,ucs2encode:()=>Y});const i=2147483647,a=36,l=1,c=26,v=38,_=700,T=72,A=128,R="-",P=/^xn--/,M=/[^\0-\x7F]/,O=/[\x2E\u3002\uFF0E\uFF61]/g,N={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},B=a-l,j=Math.floor,z=String.fromCharCode;function W(Ce){throw new RangeError(N[Ce])}function X(Ce,ye){const Ae=[];let Fe=Ce.length;for(;Fe--;)Ae[Fe]=ye(Ce[Fe]);return Ae}function Q(Ce,ye){const Ae=Ce.split("@");let Fe="";Ae.length>1&&(Fe=Ae[0]+"@",Ce=Ae[1]),Ce=Ce.replace(O,".");const Qe=Ce.split("."),ce=X(Qe,ye).join(".");return Fe+ce}function K(Ce){const ye=[];let Ae=0;const Fe=Ce.length;for(;Ae<Fe;){const Qe=Ce.charCodeAt(Ae++);if(Qe>=55296&&Qe<=56319&&Ae<Fe){const ce=Ce.charCodeAt(Ae++);(ce&64512)==56320?ye.push(((Qe&1023)<<10)+(ce&1023)+65536):(ye.push(Qe),Ae--)}else ye.push(Qe)}return ye}const Y=Ce=>String.fromCodePoint(...Ce),Z=function(Ce){return Ce>=48&&Ce<58?26+(Ce-48):Ce>=65&&Ce<91?Ce-65:Ce>=97&&Ce<123?Ce-97:a},J=function(Ce,ye){return Ce+22+75*(Ce<26)-((ye!=0)<<5)},ee=function(Ce,ye,Ae){let Fe=0;for(Ce=Ae?j(Ce/_):Ce>>1,Ce+=j(Ce/ye);Ce>B*c>>1;Fe+=a)Ce=j(Ce/B);return j(Fe+(B+1)*Ce/(Ce+v))},re=function(Ce){const ye=[],Ae=Ce.length;let Fe=0,Qe=A,ce=T,Ge=Ce.lastIndexOf(R);Ge<0&&(Ge=0);for(let Pe=0;Pe<Ge;++Pe)Ce.charCodeAt(Pe)>=128&&W("not-basic"),ye.push(Ce.charCodeAt(Pe));for(let Pe=Ge>0?Ge+1:0;Pe<Ae;){const pe=Fe;for(let _e=1,Ne=a;;Ne+=a){Pe>=Ae&&W("invalid-input");const Le=Z(Ce.charCodeAt(Pe++));Le>=a&&W("invalid-input"),Le>j((i-Fe)/_e)&&W("overflow"),Fe+=Le*_e;const Ke=Ne<=ce?l:Ne>=ce+c?c:Ne-ce;if(Le<Ke)break;const bt=a-Ke;_e>j(i/bt)&&W("overflow"),_e*=bt}const Se=ye.length+1;ce=ee(Fe-pe,Se,pe==0),j(Fe/Se)>i-Qe&&W("overflow"),Qe+=j(Fe/Se),Fe%=Se,ye.splice(Fe++,0,Qe)}return String.fromCodePoint(...ye)},me=function(Ce){const ye=[];Ce=K(Ce);const Ae=Ce.length;let Fe=A,Qe=0,ce=T;for(const pe of Ce)pe<128&&ye.push(z(pe));const Ge=ye.length;let Pe=Ge;for(Ge&&ye.push(R);Pe<Ae;){let pe=i;for(const _e of Ce)_e>=Fe&&_e<pe&&(pe=_e);const Se=Pe+1;pe-Fe>j((i-Qe)/Se)&&W("overflow"),Qe+=(pe-Fe)*Se,Fe=pe;for(const _e of Ce)if(_e<Fe&&++Qe>i&&W("overflow"),_e===Fe){let Ne=Qe;for(let Le=a;;Le+=a){const Ke=Le<=ce?l:Le>=ce+c?c:Le-ce;if(Ne<Ke)break;const bt=Ne-Ke,yt=a-Ke;ye.push(z(J(Ke+bt%yt,0))),Ne=j(bt/yt)}ye.push(z(J(Ne,0))),ce=ee(Qe,Se,Pe===Ge),Qe=0,++Pe}++Qe,++Fe}return ye.join("")},fe=function(Ce){return Q(Ce,function(ye){return P.test(ye)?re(ye.slice(4).toLowerCase()):ye})},le=function(Ce){return Q(Ce,function(ye){return M.test(ye)?"xn--"+me(ye):ye})},Ze={version:"2.3.1",ucs2:{decode:K,encode:Y},decode:re,encode:me,toASCII:le,toUnicode:fe}},54608:U=>{"use strict";var C=String.prototype.replace,e=/%20/g,i={RFC1738:"RFC1738",RFC3986:"RFC3986"};U.exports={default:i.RFC3986,formatters:{RFC1738:function(a){return C.call(a,e,"+")},RFC3986:function(a){return String(a)}},RFC1738:i.RFC1738,RFC3986:i.RFC3986}},12132:(U,C,e)=>{"use strict";var i=e(67987),a=e(73568),l=e(54608);U.exports={formats:l,parse:a,stringify:i}},73568:(U,C,e)=>{"use strict";var i=e(68708),a=Object.prototype.hasOwnProperty,l=Array.isArray,c={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:i.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},v=function(N){return N.replace(/&#(\d+);/g,function(B,j){return String.fromCharCode(parseInt(j,10))})},_=function(N,B){return N&&typeof N=="string"&&B.comma&&N.indexOf(",")>-1?N.split(","):N},T="utf8=%26%2310003%3B",A="utf8=%E2%9C%93",R=function(B,j){var z={},W=j.ignoreQueryPrefix?B.replace(/^\?/,""):B,X=j.parameterLimit===1/0?void 0:j.parameterLimit,Q=W.split(j.delimiter,X),K=-1,Y,Z=j.charset;if(j.charsetSentinel)for(Y=0;Y<Q.length;++Y)Q[Y].indexOf("utf8=")===0&&(Q[Y]===A?Z="utf-8":Q[Y]===T&&(Z="iso-8859-1"),K=Y,Y=Q.length);for(Y=0;Y<Q.length;++Y)if(Y!==K){var J=Q[Y],ee=J.indexOf("]="),re=ee===-1?J.indexOf("="):ee+1,me,fe;re===-1?(me=j.decoder(J,c.decoder,Z,"key"),fe=j.strictNullHandling?null:""):(me=j.decoder(J.slice(0,re),c.decoder,Z,"key"),fe=i.maybeMap(_(J.slice(re+1),j),function(le){return j.decoder(le,c.decoder,Z,"value")})),fe&&j.interpretNumericEntities&&Z==="iso-8859-1"&&(fe=v(fe)),J.indexOf("[]=")>-1&&(fe=l(fe)?[fe]:fe),a.call(z,me)?z[me]=i.combine(z[me],fe):z[me]=fe}return z},P=function(N,B,j,z){for(var W=z?B:_(B,j),X=N.length-1;X>=0;--X){var Q,K=N[X];if(K==="[]"&&j.parseArrays)Q=[].concat(W);else{Q=j.plainObjects?Object.create(null):{};var Y=K.charAt(0)==="["&&K.charAt(K.length-1)==="]"?K.slice(1,-1):K,Z=parseInt(Y,10);!j.parseArrays&&Y===""?Q={0:W}:!isNaN(Z)&&K!==Y&&String(Z)===Y&&Z>=0&&j.parseArrays&&Z<=j.arrayLimit?(Q=[],Q[Z]=W):Y!=="__proto__"&&(Q[Y]=W)}W=Q}return W},M=function(B,j,z,W){if(B){var X=z.allowDots?B.replace(/\.([^.[]+)/g,"[$1]"):B,Q=/(\[[^[\]]*])/,K=/(\[[^[\]]*])/g,Y=z.depth>0&&Q.exec(X),Z=Y?X.slice(0,Y.index):X,J=[];if(Z){if(!z.plainObjects&&a.call(Object.prototype,Z)&&!z.allowPrototypes)return;J.push(Z)}for(var ee=0;z.depth>0&&(Y=K.exec(X))!==null&&ee<z.depth;){if(ee+=1,!z.plainObjects&&a.call(Object.prototype,Y[1].slice(1,-1))&&!z.allowPrototypes)return;J.push(Y[1])}return Y&&J.push("["+X.slice(Y.index)+"]"),P(J,j,z,W)}},O=function(B){if(!B)return c;if(B.decoder!==null&&B.decoder!==void 0&&typeof B.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof B.charset<"u"&&B.charset!=="utf-8"&&B.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var j=typeof B.charset>"u"?c.charset:B.charset;return{allowDots:typeof B.allowDots>"u"?c.allowDots:!!B.allowDots,allowPrototypes:typeof B.allowPrototypes=="boolean"?B.allowPrototypes:c.allowPrototypes,allowSparse:typeof B.allowSparse=="boolean"?B.allowSparse:c.allowSparse,arrayLimit:typeof B.arrayLimit=="number"?B.arrayLimit:c.arrayLimit,charset:j,charsetSentinel:typeof B.charsetSentinel=="boolean"?B.charsetSentinel:c.charsetSentinel,comma:typeof B.comma=="boolean"?B.comma:c.comma,decoder:typeof B.decoder=="function"?B.decoder:c.decoder,delimiter:typeof B.delimiter=="string"||i.isRegExp(B.delimiter)?B.delimiter:c.delimiter,depth:typeof B.depth=="number"||B.depth===!1?+B.depth:c.depth,ignoreQueryPrefix:B.ignoreQueryPrefix===!0,interpretNumericEntities:typeof B.interpretNumericEntities=="boolean"?B.interpretNumericEntities:c.interpretNumericEntities,parameterLimit:typeof B.parameterLimit=="number"?B.parameterLimit:c.parameterLimit,parseArrays:B.parseArrays!==!1,plainObjects:typeof B.plainObjects=="boolean"?B.plainObjects:c.plainObjects,strictNullHandling:typeof B.strictNullHandling=="boolean"?B.strictNullHandling:c.strictNullHandling}};U.exports=function(N,B){var j=O(B);if(N===""||N===null||typeof N>"u")return j.plainObjects?Object.create(null):{};for(var z=typeof N=="string"?R(N,j):N,W=j.plainObjects?Object.create(null):{},X=Object.keys(z),Q=0;Q<X.length;++Q){var K=X[Q],Y=M(K,z[K],j,typeof N=="string");W=i.merge(W,Y,j)}return j.allowSparse===!0?W:i.compact(W)}},67987:(U,C,e)=>{"use strict";var i=e(37260),a=e(68708),l=e(54608),c=Object.prototype.hasOwnProperty,v={brackets:function(W){return W+"[]"},comma:"comma",indices:function(W,X){return W+"["+X+"]"},repeat:function(W){return W}},_=Array.isArray,T=Array.prototype.push,A=function(z,W){T.apply(z,_(W)?W:[W])},R=Date.prototype.toISOString,P=l.default,M={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:P,formatter:l.formatters[P],indices:!1,serializeDate:function(W){return R.call(W)},skipNulls:!1,strictNullHandling:!1},O=function(W){return typeof W=="string"||typeof W=="number"||typeof W=="boolean"||typeof W=="symbol"||typeof W=="bigint"},N={},B=function z(W,X,Q,K,Y,Z,J,ee,re,me,fe,le,Ve,Ze,Ce,ye){for(var Ae=W,Fe=ye,Qe=0,ce=!1;(Fe=Fe.get(N))!==void 0&&!ce;){var Ge=Fe.get(W);if(Qe+=1,typeof Ge<"u"){if(Ge===Qe)throw new RangeError("Cyclic object value");ce=!0}typeof Fe.get(N)>"u"&&(Qe=0)}if(typeof ee=="function"?Ae=ee(X,Ae):Ae instanceof Date?Ae=fe(Ae):Q==="comma"&&_(Ae)&&(Ae=a.maybeMap(Ae,function(_t){return _t instanceof Date?fe(_t):_t})),Ae===null){if(Y)return J&&!Ze?J(X,M.encoder,Ce,"key",le):X;Ae=""}if(O(Ae)||a.isBuffer(Ae)){if(J){var Pe=Ze?X:J(X,M.encoder,Ce,"key",le);return[Ve(Pe)+"="+Ve(J(Ae,M.encoder,Ce,"value",le))]}return[Ve(X)+"="+Ve(String(Ae))]}var pe=[];if(typeof Ae>"u")return pe;var Se;if(Q==="comma"&&_(Ae))Ze&&J&&(Ae=a.maybeMap(Ae,J)),Se=[{value:Ae.length>0?Ae.join(",")||null:void 0}];else if(_(ee))Se=ee;else{var _e=Object.keys(Ae);Se=re?_e.sort(re):_e}for(var Ne=K&&_(Ae)&&Ae.length===1?X+"[]":X,Le=0;Le<Se.length;++Le){var Ke=Se[Le],bt=typeof Ke=="object"&&typeof Ke.value<"u"?Ke.value:Ae[Ke];if(!(Z&&bt===null)){var yt=_(Ae)?typeof Q=="function"?Q(Ne,Ke):Ne:Ne+(me?"."+Ke:"["+Ke+"]");ye.set(W,Qe);var It=i();It.set(N,ye),A(pe,z(bt,yt,Q,K,Y,Z,Q==="comma"&&Ze&&_(Ae)?null:J,ee,re,me,fe,le,Ve,Ze,Ce,It))}}return pe},j=function(W){if(!W)return M;if(W.encoder!==null&&typeof W.encoder<"u"&&typeof W.encoder!="function")throw new TypeError("Encoder has to be a function.");var X=W.charset||M.charset;if(typeof W.charset<"u"&&W.charset!=="utf-8"&&W.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var Q=l.default;if(typeof W.format<"u"){if(!c.call(l.formatters,W.format))throw new TypeError("Unknown format option provided.");Q=W.format}var K=l.formatters[Q],Y=M.filter;return(typeof W.filter=="function"||_(W.filter))&&(Y=W.filter),{addQueryPrefix:typeof W.addQueryPrefix=="boolean"?W.addQueryPrefix:M.addQueryPrefix,allowDots:typeof W.allowDots>"u"?M.allowDots:!!W.allowDots,charset:X,charsetSentinel:typeof W.charsetSentinel=="boolean"?W.charsetSentinel:M.charsetSentinel,delimiter:typeof W.delimiter>"u"?M.delimiter:W.delimiter,encode:typeof W.encode=="boolean"?W.encode:M.encode,encoder:typeof W.encoder=="function"?W.encoder:M.encoder,encodeValuesOnly:typeof W.encodeValuesOnly=="boolean"?W.encodeValuesOnly:M.encodeValuesOnly,filter:Y,format:Q,formatter:K,serializeDate:typeof W.serializeDate=="function"?W.serializeDate:M.serializeDate,skipNulls:typeof W.skipNulls=="boolean"?W.skipNulls:M.skipNulls,sort:typeof W.sort=="function"?W.sort:null,strictNullHandling:typeof W.strictNullHandling=="boolean"?W.strictNullHandling:M.strictNullHandling}};U.exports=function(z,W){var X=z,Q=j(W),K,Y;typeof Q.filter=="function"?(Y=Q.filter,X=Y("",X)):_(Q.filter)&&(Y=Q.filter,K=Y);var Z=[];if(typeof X!="object"||X===null)return"";var J;W&&W.arrayFormat in v?J=W.arrayFormat:W&&"indices"in W?J=W.indices?"indices":"repeat":J="indices";var ee=v[J];if(W&&"commaRoundTrip"in W&&typeof W.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var re=ee==="comma"&&W&&W.commaRoundTrip;K||(K=Object.keys(X)),Q.sort&&K.sort(Q.sort);for(var me=i(),fe=0;fe<K.length;++fe){var le=K[fe];Q.skipNulls&&X[le]===null||A(Z,B(X[le],le,ee,re,Q.strictNullHandling,Q.skipNulls,Q.encode?Q.encoder:null,Q.filter,Q.sort,Q.allowDots,Q.serializeDate,Q.format,Q.formatter,Q.encodeValuesOnly,Q.charset,me))}var Ve=Z.join(Q.delimiter),Ze=Q.addQueryPrefix===!0?"?":"";return Q.charsetSentinel&&(Q.charset==="iso-8859-1"?Ze+="utf8=%26%2310003%3B&":Ze+="utf8=%E2%9C%93&"),Ve.length>0?Ze+Ve:""}},68708:(U,C,e)=>{"use strict";var i=e(54608),a=Object.prototype.hasOwnProperty,l=Array.isArray,c=function(){for(var z=[],W=0;W<256;++W)z.push("%"+((W<16?"0":"")+W.toString(16)).toUpperCase());return z}(),v=function(W){for(;W.length>1;){var X=W.pop(),Q=X.obj[X.prop];if(l(Q)){for(var K=[],Y=0;Y<Q.length;++Y)typeof Q[Y]<"u"&&K.push(Q[Y]);X.obj[X.prop]=K}}},_=function(W,X){for(var Q=X&&X.plainObjects?Object.create(null):{},K=0;K<W.length;++K)typeof W[K]<"u"&&(Q[K]=W[K]);return Q},T=function z(W,X,Q){if(!X)return W;if(typeof X!="object"){if(l(W))W.push(X);else if(W&&typeof W=="object")(Q&&(Q.plainObjects||Q.allowPrototypes)||!a.call(Object.prototype,X))&&(W[X]=!0);else return[W,X];return W}if(!W||typeof W!="object")return[W].concat(X);var K=W;return l(W)&&!l(X)&&(K=_(W,Q)),l(W)&&l(X)?(X.forEach(function(Y,Z){if(a.call(W,Z)){var J=W[Z];J&&typeof J=="object"&&Y&&typeof Y=="object"?W[Z]=z(J,Y,Q):W.push(Y)}else W[Z]=Y}),W):Object.keys(X).reduce(function(Y,Z){var J=X[Z];return a.call(Y,Z)?Y[Z]=z(Y[Z],J,Q):Y[Z]=J,Y},K)},A=function(W,X){return Object.keys(X).reduce(function(Q,K){return Q[K]=X[K],Q},W)},R=function(z,W,X){var Q=z.replace(/\+/g," ");if(X==="iso-8859-1")return Q.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(Q)}catch{return Q}},P=function(W,X,Q,K,Y){if(W.length===0)return W;var Z=W;if(typeof W=="symbol"?Z=Symbol.prototype.toString.call(W):typeof W!="string"&&(Z=String(W)),Q==="iso-8859-1")return escape(Z).replace(/%u[0-9a-f]{4}/gi,function(me){return"%26%23"+parseInt(me.slice(2),16)+"%3B"});for(var J="",ee=0;ee<Z.length;++ee){var re=Z.charCodeAt(ee);if(re===45||re===46||re===95||re===126||re>=48&&re<=57||re>=65&&re<=90||re>=97&&re<=122||Y===i.RFC1738&&(re===40||re===41)){J+=Z.charAt(ee);continue}if(re<128){J=J+c[re];continue}if(re<2048){J=J+(c[192|re>>6]+c[128|re&63]);continue}if(re<55296||re>=57344){J=J+(c[224|re>>12]+c[128|re>>6&63]+c[128|re&63]);continue}ee+=1,re=65536+((re&1023)<<10|Z.charCodeAt(ee)&1023),J+=c[240|re>>18]+c[128|re>>12&63]+c[128|re>>6&63]+c[128|re&63]}return J},M=function(W){for(var X=[{obj:{o:W},prop:"o"}],Q=[],K=0;K<X.length;++K)for(var Y=X[K],Z=Y.obj[Y.prop],J=Object.keys(Z),ee=0;ee<J.length;++ee){var re=J[ee],me=Z[re];typeof me=="object"&&me!==null&&Q.indexOf(me)===-1&&(X.push({obj:Z,prop:re}),Q.push(me))}return v(X),W},O=function(W){return Object.prototype.toString.call(W)==="[object RegExp]"},N=function(W){return!W||typeof W!="object"?!1:!!(W.constructor&&W.constructor.isBuffer&&W.constructor.isBuffer(W))},B=function(W,X){return[].concat(W,X)},j=function(W,X){if(l(W)){for(var Q=[],K=0;K<W.length;K+=1)Q.push(X(W[K]));return Q}return X(W)};U.exports={arrayToObject:_,assign:A,combine:B,compact:M,decode:R,encode:P,isBuffer:N,isRegExp:O,maybeMap:j,merge:T}},88176:(U,C,e)=>{"use strict";/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var i=e(62552),a=e(41016);function l(y){for(var x="https://reactjs.org/docs/error-decoder.html?invariant="+y,V=1;V<arguments.length;V++)x+="&args[]="+encodeURIComponent(arguments[V]);return"Minified React error #"+y+"; visit "+x+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var c=new Set,v={};function _(y,x){T(y,x),T(y+"Capture",x)}function T(y,x){for(v[y]=x,y=0;y<x.length;y++)c.add(x[y])}var A=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),R=Object.prototype.hasOwnProperty,P=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,M={},O={};function N(y){return R.call(O,y)?!0:R.call(M,y)?!1:P.test(y)?O[y]=!0:(M[y]=!0,!1)}function B(y,x,V,ie){if(V!==null&&V.type===0)return!1;switch(typeof x){case"function":case"symbol":return!0;case"boolean":return ie?!1:V!==null?!V.acceptsBooleans:(y=y.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-");default:return!1}}function j(y,x,V,ie){if(x===null||typeof x>"u"||B(y,x,V,ie))return!0;if(ie)return!1;if(V!==null)switch(V.type){case 3:return!x;case 4:return x===!1;case 5:return isNaN(x);case 6:return isNaN(x)||1>x}return!1}function z(y,x,V,ie,Oe,Je,en){this.acceptsBooleans=x===2||x===3||x===4,this.attributeName=ie,this.attributeNamespace=Oe,this.mustUseProperty=V,this.propertyName=y,this.type=x,this.sanitizeURL=Je,this.removeEmptyString=en}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(y){W[y]=new z(y,0,!1,y,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(y){var x=y[0];W[x]=new z(x,1,!1,y[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(y){W[y]=new z(y,2,!1,y.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(y){W[y]=new z(y,2,!1,y,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(y){W[y]=new z(y,3,!1,y.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(y){W[y]=new z(y,3,!0,y,null,!1,!1)}),["capture","download"].forEach(function(y){W[y]=new z(y,4,!1,y,null,!1,!1)}),["cols","rows","size","span"].forEach(function(y){W[y]=new z(y,6,!1,y,null,!1,!1)}),["rowSpan","start"].forEach(function(y){W[y]=new z(y,5,!1,y.toLowerCase(),null,!1,!1)});var X=/[\-:]([a-z])/g;function Q(y){return y[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(y){var x=y.replace(X,Q);W[x]=new z(x,1,!1,y,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(y){var x=y.replace(X,Q);W[x]=new z(x,1,!1,y,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(y){var x=y.replace(X,Q);W[x]=new z(x,1,!1,y,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(y){W[y]=new z(y,1,!1,y.toLowerCase(),null,!1,!1)}),W.xlinkHref=new z("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(y){W[y]=new z(y,1,!1,y.toLowerCase(),null,!0,!0)});function K(y,x,V,ie){var Oe=W.hasOwnProperty(x)?W[x]:null;(Oe!==null?Oe.type!==0:ie||!(2<x.length)||x[0]!=="o"&&x[0]!=="O"||x[1]!=="n"&&x[1]!=="N")&&(j(x,V,Oe,ie)&&(V=null),ie||Oe===null?N(x)&&(V===null?y.removeAttribute(x):y.setAttribute(x,""+V)):Oe.mustUseProperty?y[Oe.propertyName]=V===null?Oe.type===3?!1:"":V:(x=Oe.attributeName,ie=Oe.attributeNamespace,V===null?y.removeAttribute(x):(Oe=Oe.type,V=Oe===3||Oe===4&&V===!0?"":""+V,ie?y.setAttributeNS(ie,x,V):y.setAttribute(x,V))))}var Y=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Z=Symbol.for("react.element"),J=Symbol.for("react.portal"),ee=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),me=Symbol.for("react.profiler"),fe=Symbol.for("react.provider"),le=Symbol.for("react.context"),Ve=Symbol.for("react.forward_ref"),Ze=Symbol.for("react.suspense"),Ce=Symbol.for("react.suspense_list"),ye=Symbol.for("react.memo"),Ae=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var Fe=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var Qe=Symbol.iterator;function ce(y){return y===null||typeof y!="object"?null:(y=Qe&&y[Qe]||y["@@iterator"],typeof y=="function"?y:null)}var Ge=Object.assign,Pe;function pe(y){if(Pe===void 0)try{throw Error()}catch(V){var x=V.stack.trim().match(/\n( *(at )?)/);Pe=x&&x[1]||""}return`
`+Pe+y}var Se=!1;function _e(y,x){if(!y||Se)return"";Se=!0;var V=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(x)if(x=function(){throw Error()},Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(Ei){var ie=Ei}Reflect.construct(y,[],x)}else{try{x.call()}catch(Ei){ie=Ei}y.call(x.prototype)}else{try{throw Error()}catch(Ei){ie=Ei}y()}}catch(Ei){if(Ei&&ie&&typeof Ei.stack=="string"){for(var Oe=Ei.stack.split(`
`),Je=ie.stack.split(`
`),en=Oe.length-1,ar=Je.length-1;1<=en&&0<=ar&&Oe[en]!==Je[ar];)ar--;for(;1<=en&&0<=ar;en--,ar--)if(Oe[en]!==Je[ar]){if(en!==1||ar!==1)do if(en--,ar--,0>ar||Oe[en]!==Je[ar]){var Lr=`
`+Oe[en].replace(" at new "," at ");return y.displayName&&Lr.includes("<anonymous>")&&(Lr=Lr.replace("<anonymous>",y.displayName)),Lr}while(1<=en&&0<=ar);break}}}finally{Se=!1,Error.prepareStackTrace=V}return(y=y?y.displayName||y.name:"")?pe(y):""}function Ne(y){switch(y.tag){case 5:return pe(y.type);case 16:return pe("Lazy");case 13:return pe("Suspense");case 19:return pe("SuspenseList");case 0:case 2:case 15:return y=_e(y.type,!1),y;case 11:return y=_e(y.type.render,!1),y;case 1:return y=_e(y.type,!0),y;default:return""}}function Le(y){if(y==null)return null;if(typeof y=="function")return y.displayName||y.name||null;if(typeof y=="string")return y;switch(y){case ee:return"Fragment";case J:return"Portal";case me:return"Profiler";case re:return"StrictMode";case Ze:return"Suspense";case Ce:return"SuspenseList"}if(typeof y=="object")switch(y.$$typeof){case le:return(y.displayName||"Context")+".Consumer";case fe:return(y._context.displayName||"Context")+".Provider";case Ve:var x=y.render;return y=y.displayName,y||(y=x.displayName||x.name||"",y=y!==""?"ForwardRef("+y+")":"ForwardRef"),y;case ye:return x=y.displayName||null,x!==null?x:Le(y.type)||"Memo";case Ae:x=y._payload,y=y._init;try{return Le(y(x))}catch{}}return null}function Ke(y){var x=y.type;switch(y.tag){case 24:return"Cache";case 9:return(x.displayName||"Context")+".Consumer";case 10:return(x._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return y=x.render,y=y.displayName||y.name||"",x.displayName||(y!==""?"ForwardRef("+y+")":"ForwardRef");case 7:return"Fragment";case 5:return x;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Le(x);case 8:return x===re?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof x=="function")return x.displayName||x.name||null;if(typeof x=="string")return x}return null}function bt(y){switch(typeof y){case"boolean":case"number":case"string":case"undefined":return y;case"object":return y;default:return""}}function yt(y){var x=y.type;return(y=y.nodeName)&&y.toLowerCase()==="input"&&(x==="checkbox"||x==="radio")}function It(y){var x=yt(y)?"checked":"value",V=Object.getOwnPropertyDescriptor(y.constructor.prototype,x),ie=""+y[x];if(!y.hasOwnProperty(x)&&typeof V<"u"&&typeof V.get=="function"&&typeof V.set=="function"){var Oe=V.get,Je=V.set;return Object.defineProperty(y,x,{configurable:!0,get:function(){return Oe.call(this)},set:function(en){ie=""+en,Je.call(this,en)}}),Object.defineProperty(y,x,{enumerable:V.enumerable}),{getValue:function(){return ie},setValue:function(en){ie=""+en},stopTracking:function(){y._valueTracker=null,delete y[x]}}}}function _t(y){y._valueTracker||(y._valueTracker=It(y))}function zt(y){if(!y)return!1;var x=y._valueTracker;if(!x)return!0;var V=x.getValue(),ie="";return y&&(ie=yt(y)?y.checked?"true":"false":y.value),y=ie,y!==V?(x.setValue(y),!0):!1}function Vt(y){if(y=y||(typeof document<"u"?document:void 0),typeof y>"u")return null;try{return y.activeElement||y.body}catch{return y.body}}function St(y,x){var V=x.checked;return Ge({},x,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:V??y._wrapperState.initialChecked})}function Xt(y,x){var V=x.defaultValue==null?"":x.defaultValue,ie=x.checked!=null?x.checked:x.defaultChecked;V=bt(x.value!=null?x.value:V),y._wrapperState={initialChecked:ie,initialValue:V,controlled:x.type==="checkbox"||x.type==="radio"?x.checked!=null:x.value!=null}}function jt(y,x){x=x.checked,x!=null&&K(y,"checked",x,!1)}function sn(y,x){jt(y,x);var V=bt(x.value),ie=x.type;if(V!=null)ie==="number"?(V===0&&y.value===""||y.value!=V)&&(y.value=""+V):y.value!==""+V&&(y.value=""+V);else if(ie==="submit"||ie==="reset"){y.removeAttribute("value");return}x.hasOwnProperty("value")?Ln(y,x.type,V):x.hasOwnProperty("defaultValue")&&Ln(y,x.type,bt(x.defaultValue)),x.checked==null&&x.defaultChecked!=null&&(y.defaultChecked=!!x.defaultChecked)}function dt(y,x,V){if(x.hasOwnProperty("value")||x.hasOwnProperty("defaultValue")){var ie=x.type;if(!(ie!=="submit"&&ie!=="reset"||x.value!==void 0&&x.value!==null))return;x=""+y._wrapperState.initialValue,V||x===y.value||(y.value=x),y.defaultValue=x}V=y.name,V!==""&&(y.name=""),y.defaultChecked=!!y._wrapperState.initialChecked,V!==""&&(y.name=V)}function Ln(y,x,V){(x!=="number"||Vt(y.ownerDocument)!==y)&&(V==null?y.defaultValue=""+y._wrapperState.initialValue:y.defaultValue!==""+V&&(y.defaultValue=""+V))}var fn=Array.isArray;function cr(y,x,V,ie){if(y=y.options,x){x={};for(var Oe=0;Oe<V.length;Oe++)x["$"+V[Oe]]=!0;for(V=0;V<y.length;V++)Oe=x.hasOwnProperty("$"+y[V].value),y[V].selected!==Oe&&(y[V].selected=Oe),Oe&&ie&&(y[V].defaultSelected=!0)}else{for(V=""+bt(V),x=null,Oe=0;Oe<y.length;Oe++){if(y[Oe].value===V){y[Oe].selected=!0,ie&&(y[Oe].defaultSelected=!0);return}x!==null||y[Oe].disabled||(x=y[Oe])}x!==null&&(x.selected=!0)}}function wr(y,x){if(x.dangerouslySetInnerHTML!=null)throw Error(l(91));return Ge({},x,{value:void 0,defaultValue:void 0,children:""+y._wrapperState.initialValue})}function Jn(y,x){var V=x.value;if(V==null){if(V=x.children,x=x.defaultValue,V!=null){if(x!=null)throw Error(l(92));if(fn(V)){if(1<V.length)throw Error(l(93));V=V[0]}x=V}x==null&&(x=""),V=x}y._wrapperState={initialValue:bt(V)}}function nn(y,x){var V=bt(x.value),ie=bt(x.defaultValue);V!=null&&(V=""+V,V!==y.value&&(y.value=V),x.defaultValue==null&&y.defaultValue!==V&&(y.defaultValue=V)),ie!=null&&(y.defaultValue=""+ie)}function or(y){var x=y.textContent;x===y._wrapperState.initialValue&&x!==""&&x!==null&&(y.value=x)}function bn(y){switch(y){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Sn(y,x){return y==null||y==="http://www.w3.org/1999/xhtml"?bn(x):y==="http://www.w3.org/2000/svg"&&x==="foreignObject"?"http://www.w3.org/1999/xhtml":y}var Hn,er=function(y){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(x,V,ie,Oe){MSApp.execUnsafeLocalFunction(function(){return y(x,V,ie,Oe)})}:y}(function(y,x){if(y.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in y)y.innerHTML=x;else{for(Hn=Hn||document.createElement("div"),Hn.innerHTML="<svg>"+x.valueOf().toString()+"</svg>",x=Hn.firstChild;y.firstChild;)y.removeChild(y.firstChild);for(;x.firstChild;)y.appendChild(x.firstChild)}});function an(y,x){if(x){var V=y.firstChild;if(V&&V===y.lastChild&&V.nodeType===3){V.nodeValue=x;return}}y.textContent=x}var Cn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},de=["Webkit","ms","Moz","O"];Object.keys(Cn).forEach(function(y){de.forEach(function(x){x=x+y.charAt(0).toUpperCase()+y.substring(1),Cn[x]=Cn[y]})});function oe(y,x,V){return x==null||typeof x=="boolean"||x===""?"":V||typeof x!="number"||x===0||Cn.hasOwnProperty(y)&&Cn[y]?(""+x).trim():x+"px"}function Ye(y,x){y=y.style;for(var V in x)if(x.hasOwnProperty(V)){var ie=V.indexOf("--")===0,Oe=oe(V,x[V],ie);V==="float"&&(V="cssFloat"),ie?y.setProperty(V,Oe):y[V]=Oe}}var Et=Ge({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(y,x){if(x){if(Et[y]&&(x.children!=null||x.dangerouslySetInnerHTML!=null))throw Error(l(137,y));if(x.dangerouslySetInnerHTML!=null){if(x.children!=null)throw Error(l(60));if(typeof x.dangerouslySetInnerHTML!="object"||!("__html"in x.dangerouslySetInnerHTML))throw Error(l(61))}if(x.style!=null&&typeof x.style!="object")throw Error(l(62))}}function Re(y,x){if(y.indexOf("-")===-1)return typeof x.is=="string";switch(y){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var We=null;function gt(y){return y=y.target||y.srcElement||window,y.correspondingUseElement&&(y=y.correspondingUseElement),y.nodeType===3?y.parentNode:y}var Nt=null,Ct=null,tn=null;function ge(y){if(y=El(y)){if(typeof Nt!="function")throw Error(l(280));var x=y.stateNode;x&&(x=td(x),Nt(y.stateNode,y.type,x))}}function At(y){Ct?tn?tn.push(y):tn=[y]:Ct=y}function mn(){if(Ct){var y=Ct,x=tn;if(tn=Ct=null,ge(y),x)for(y=0;y<x.length;y++)ge(x[y])}}function xn(y,x){return y(x)}function Un(){}var gr=!1;function Ur(y,x,V){if(gr)return y(x,V);gr=!0;try{return xn(y,x,V)}finally{gr=!1,(Ct!==null||tn!==null)&&(Un(),mn())}}function Or(y,x){var V=y.stateNode;if(V===null)return null;var ie=td(V);if(ie===null)return null;V=ie[x];e:switch(x){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ie=!ie.disabled)||(y=y.type,ie=!(y==="button"||y==="input"||y==="select"||y==="textarea")),y=!ie;break e;default:y=!1}if(y)return null;if(V&&typeof V!="function")throw Error(l(231,x,typeof V));return V}var ii=!1;if(A)try{var Ui={};Object.defineProperty(Ui,"passive",{get:function(){ii=!0}}),window.addEventListener("test",Ui,Ui),window.removeEventListener("test",Ui,Ui)}catch{ii=!1}function rn(y,x,V,ie,Oe,Je,en,ar,Lr){var Ei=Array.prototype.slice.call(arguments,3);try{x.apply(V,Ei)}catch(ms){this.onError(ms)}}var $n=!1,yi=null,Jr=!1,cn=null,mt={onError:function(y){$n=!0,yi=y}};function we(y,x,V,ie,Oe,Je,en,ar,Lr){$n=!1,yi=null,rn.apply(mt,arguments)}function je(y,x,V,ie,Oe,Je,en,ar,Lr){if(we.apply(this,arguments),$n){if($n){var Ei=yi;$n=!1,yi=null}else throw Error(l(198));Jr||(Jr=!0,cn=Ei)}}function pt(y){var x=y,V=y;if(y.alternate)for(;x.return;)x=x.return;else{y=x;do x=y,x.flags&4098&&(V=x.return),y=x.return;while(y)}return x.tag===3?V:null}function at(y){if(y.tag===13){var x=y.memoizedState;if(x===null&&(y=y.alternate,y!==null&&(x=y.memoizedState)),x!==null)return x.dehydrated}return null}function kt(y){if(pt(y)!==y)throw Error(l(188))}function vn(y){var x=y.alternate;if(!x){if(x=pt(y),x===null)throw Error(l(188));return x!==y?null:y}for(var V=y,ie=x;;){var Oe=V.return;if(Oe===null)break;var Je=Oe.alternate;if(Je===null){if(ie=Oe.return,ie!==null){V=ie;continue}break}if(Oe.child===Je.child){for(Je=Oe.child;Je;){if(Je===V)return kt(Oe),y;if(Je===ie)return kt(Oe),x;Je=Je.sibling}throw Error(l(188))}if(V.return!==ie.return)V=Oe,ie=Je;else{for(var en=!1,ar=Oe.child;ar;){if(ar===V){en=!0,V=Oe,ie=Je;break}if(ar===ie){en=!0,ie=Oe,V=Je;break}ar=ar.sibling}if(!en){for(ar=Je.child;ar;){if(ar===V){en=!0,V=Je,ie=Oe;break}if(ar===ie){en=!0,ie=Je,V=Oe;break}ar=ar.sibling}if(!en)throw Error(l(189))}}if(V.alternate!==ie)throw Error(l(190))}if(V.tag!==3)throw Error(l(188));return V.stateNode.current===V?y:x}function Wn(y){return y=vn(y),y!==null?nr(y):null}function nr(y){if(y.tag===5||y.tag===6)return y;for(y=y.child;y!==null;){var x=nr(y);if(x!==null)return x;y=y.sibling}return null}var rr=a.unstable_scheduleCallback,Ot=a.unstable_cancelCallback,Gt=a.unstable_shouldYield,Pt=a.unstable_requestPaint,Tt=a.unstable_now,An=a.unstable_getCurrentPriorityLevel,on=a.unstable_ImmediatePriority,dn=a.unstable_UserBlockingPriority,$e=a.unstable_NormalPriority,Yt=a.unstable_LowPriority,$t=a.unstable_IdlePriority,Jt=null,Lt=null;function yn(y){if(Lt&&typeof Lt.onCommitFiberRoot=="function")try{Lt.onCommitFiberRoot(Jt,y,void 0,(y.current.flags&128)===128)}catch{}}var In=Math.clz32?Math.clz32:Xr,yr=Math.log,Rr=Math.LN2;function Xr(y){return y>>>=0,y===0?32:31-(yr(y)/Rr|0)|0}var ci=64,Hr=4194304;function un(y){switch(y&-y){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return y&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return y&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return y}}function ct(y,x){var V=y.pendingLanes;if(V===0)return 0;var ie=0,Oe=y.suspendedLanes,Je=y.pingedLanes,en=V&268435455;if(en!==0){var ar=en&~Oe;ar!==0?ie=un(ar):(Je&=en,Je!==0&&(ie=un(Je)))}else en=V&~Oe,en!==0?ie=un(en):Je!==0&&(ie=un(Je));if(ie===0)return 0;if(x!==0&&x!==ie&&!(x&Oe)&&(Oe=ie&-ie,Je=x&-x,Oe>=Je||Oe===16&&(Je&4194240)!==0))return x;if(ie&4&&(ie|=V&16),x=y.entangledLanes,x!==0)for(y=y.entanglements,x&=ie;0<x;)V=31-In(x),Oe=1<<V,ie|=y[V],x&=~Oe;return ie}function Ut(y,x){switch(y){case 1:case 2:case 4:return x+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return x+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function wt(y,x){for(var V=y.suspendedLanes,ie=y.pingedLanes,Oe=y.expirationTimes,Je=y.pendingLanes;0<Je;){var en=31-In(Je),ar=1<<en,Lr=Oe[en];Lr===-1?(!(ar&V)||ar&ie)&&(Oe[en]=Ut(ar,x)):Lr<=x&&(y.expiredLanes|=ar),Je&=~ar}}function kn(y){return y=y.pendingLanes&-1073741825,y!==0?y:y&1073741824?1073741824:0}function wn(){var y=ci;return ci<<=1,!(ci&4194240)&&(ci=64),y}function Qn(y){for(var x=[],V=0;31>V;V++)x.push(y);return x}function ur(y,x,V){y.pendingLanes|=x,x!==536870912&&(y.suspendedLanes=0,y.pingedLanes=0),y=y.eventTimes,x=31-In(x),y[x]=V}function fi(y,x){var V=y.pendingLanes&~x;y.pendingLanes=x,y.suspendedLanes=0,y.pingedLanes=0,y.expiredLanes&=x,y.mutableReadLanes&=x,y.entangledLanes&=x,x=y.entanglements;var ie=y.eventTimes;for(y=y.expirationTimes;0<V;){var Oe=31-In(V),Je=1<<Oe;x[Oe]=0,ie[Oe]=-1,y[Oe]=-1,V&=~Je}}function ot(y,x){var V=y.entangledLanes|=x;for(y=y.entanglements;V;){var ie=31-In(V),Oe=1<<ie;Oe&x|y[ie]&x&&(y[ie]|=x),V&=~Oe}}var ft=0;function Mt(y){return y&=-y,1<y?4<y?y&268435455?16:536870912:4:1}var qt,sr,lr,Cr,xr,qr=!1,jr=[],vr=null,$r=null,Wr=null,be=new Map,Ue=new Map,ut=[],Ht="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Fn(y,x){switch(y){case"focusin":case"focusout":vr=null;break;case"dragenter":case"dragleave":$r=null;break;case"mouseover":case"mouseout":Wr=null;break;case"pointerover":case"pointerout":be.delete(x.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ue.delete(x.pointerId)}}function ln(y,x,V,ie,Oe,Je){return y===null||y.nativeEvent!==Je?(y={blockedOn:x,domEventName:V,eventSystemFlags:ie,nativeEvent:Je,targetContainers:[Oe]},x!==null&&(x=El(x),x!==null&&sr(x)),y):(y.eventSystemFlags|=ie,x=y.targetContainers,Oe!==null&&x.indexOf(Oe)===-1&&x.push(Oe),y)}function jn(y,x,V,ie,Oe){switch(x){case"focusin":return vr=ln(vr,y,x,V,ie,Oe),!0;case"dragenter":return $r=ln($r,y,x,V,ie,Oe),!0;case"mouseover":return Wr=ln(Wr,y,x,V,ie,Oe),!0;case"pointerover":var Je=Oe.pointerId;return be.set(Je,ln(be.get(Je)||null,y,x,V,ie,Oe)),!0;case"gotpointercapture":return Je=Oe.pointerId,Ue.set(Je,ln(Ue.get(Je)||null,y,x,V,ie,Oe)),!0}return!1}function Nr(y){var x=Mc(y.target);if(x!==null){var V=pt(x);if(V!==null){if(x=V.tag,x===13){if(x=at(V),x!==null){y.blockedOn=x,xr(y.priority,function(){lr(V)});return}}else if(x===3&&V.stateNode.current.memoizedState.isDehydrated){y.blockedOn=V.tag===3?V.stateNode.containerInfo:null;return}}}y.blockedOn=null}function Mi(y){if(y.blockedOn!==null)return!1;for(var x=y.targetContainers;0<x.length;){var V=ca(y.domEventName,y.eventSystemFlags,x[0],y.nativeEvent);if(V===null){V=y.nativeEvent;var ie=new V.constructor(V.type,V);We=ie,V.target.dispatchEvent(ie),We=null}else return x=El(V),x!==null&&sr(x),y.blockedOn=V,!1;x.shift()}return!0}function Oi(y,x,V){Mi(y)&&V.delete(x)}function ni(){qr=!1,vr!==null&&Mi(vr)&&(vr=null),$r!==null&&Mi($r)&&($r=null),Wr!==null&&Mi(Wr)&&(Wr=null),be.forEach(Oi),Ue.forEach(Oi)}function rs(y,x){y.blockedOn===x&&(y.blockedOn=null,qr||(qr=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,ni)))}function Qi(y){function x(Oe){return rs(Oe,y)}if(0<jr.length){rs(jr[0],y);for(var V=1;V<jr.length;V++){var ie=jr[V];ie.blockedOn===y&&(ie.blockedOn=null)}}for(vr!==null&&rs(vr,y),$r!==null&&rs($r,y),Wr!==null&&rs(Wr,y),be.forEach(x),Ue.forEach(x),V=0;V<ut.length;V++)ie=ut[V],ie.blockedOn===y&&(ie.blockedOn=null);for(;0<ut.length&&(V=ut[0],V.blockedOn===null);)Nr(V),V.blockedOn===null&&ut.shift()}var la=Y.ReactCurrentBatchConfig,as=!0;function bs(y,x,V,ie){var Oe=ft,Je=la.transition;la.transition=null;try{ft=1,za(y,x,V,ie)}finally{ft=Oe,la.transition=Je}}function Za(y,x,V,ie){var Oe=ft,Je=la.transition;la.transition=null;try{ft=4,za(y,x,V,ie)}finally{ft=Oe,la.transition=Je}}function za(y,x,V,ie){if(as){var Oe=ca(y,x,V,ie);if(Oe===null)ic(y,x,ie,wo,V),Fn(y,ie);else if(jn(Oe,y,x,V,ie))ie.stopPropagation();else if(Fn(y,ie),x&4&&-1<Ht.indexOf(y)){for(;Oe!==null;){var Je=El(Oe);if(Je!==null&&qt(Je),Je=ca(y,x,V,ie),Je===null&&ic(y,x,ie,wo,V),Je===Oe)break;Oe=Je}Oe!==null&&ie.stopPropagation()}else ic(y,x,ie,null,V)}}var wo=null;function ca(y,x,V,ie){if(wo=null,y=gt(ie),y=Mc(y),y!==null)if(x=pt(y),x===null)y=null;else if(V=x.tag,V===13){if(y=at(x),y!==null)return y;y=null}else if(V===3){if(x.stateNode.current.memoizedState.isDehydrated)return x.tag===3?x.stateNode.containerInfo:null;y=null}else x!==y&&(y=null);return wo=y,null}function Uo(y){switch(y){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(An()){case on:return 1;case dn:return 4;case $e:case Yt:return 16;case $t:return 536870912;default:return 16}default:return 16}}var ru=null,di=null,wi=null;function dr(){if(wi)return wi;var y,x=di,V=x.length,ie,Oe="value"in ru?ru.value:ru.textContent,Je=Oe.length;for(y=0;y<V&&x[y]===Oe[y];y++);var en=V-y;for(ie=1;ie<=en&&x[V-ie]===Oe[Je-ie];ie++);return wi=Oe.slice(y,1<ie?1-ie:void 0)}function hi(y){var x=y.keyCode;return"charCode"in y?(y=y.charCode,y===0&&x===13&&(y=13)):y=x,y===10&&(y=13),32<=y||y===13?y:0}function Si(){return!0}function Di(){return!1}function Xi(y){function x(V,ie,Oe,Je,en){this._reactName=V,this._targetInst=Oe,this.type=ie,this.nativeEvent=Je,this.target=en,this.currentTarget=null;for(var ar in y)y.hasOwnProperty(ar)&&(V=y[ar],this[ar]=V?V(Je):Je[ar]);return this.isDefaultPrevented=(Je.defaultPrevented!=null?Je.defaultPrevented:Je.returnValue===!1)?Si:Di,this.isPropagationStopped=Di,this}return Ge(x.prototype,{preventDefault:function(){this.defaultPrevented=!0;var V=this.nativeEvent;V&&(V.preventDefault?V.preventDefault():typeof V.returnValue!="unknown"&&(V.returnValue=!1),this.isDefaultPrevented=Si)},stopPropagation:function(){var V=this.nativeEvent;V&&(V.stopPropagation?V.stopPropagation():typeof V.cancelBubble!="unknown"&&(V.cancelBubble=!0),this.isPropagationStopped=Si)},persist:function(){},isPersistent:Si}),x}var zi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(y){return y.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},os=Xi(zi),js=Ge({},zi,{view:0,detail:0}),hs=Xi(js),Vi,ns,fs,Ks=Ge({},js,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Nu,button:0,buttons:0,relatedTarget:function(y){return y.relatedTarget===void 0?y.fromElement===y.srcElement?y.toElement:y.fromElement:y.relatedTarget},movementX:function(y){return"movementX"in y?y.movementX:(y!==fs&&(fs&&y.type==="mousemove"?(Vi=y.screenX-fs.screenX,ns=y.screenY-fs.screenY):ns=Vi=0,fs=y),Vi)},movementY:function(y){return"movementY"in y?y.movementY:ns}}),ma=Xi(Ks),da=Ge({},Ks,{dataTransfer:0}),Da=Xi(da),Ys=Ge({},js,{relatedTarget:0}),Xa=Xi(Ys),Po=Ge({},zi,{animationName:0,elapsedTime:0,pseudoElement:0}),co=Xi(Po),el=Ge({},zi,{clipboardData:function(y){return"clipboardData"in y?y.clipboardData:window.clipboardData}}),Yo=Xi(el),Ou=Ge({},zi,{data:0}),Qo=Xi(Ou),Ha={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jo={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},qo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tl(y){var x=this.nativeEvent;return x.getModifierState?x.getModifierState(y):(y=qo[y])?!!x[y]:!1}function Nu(){return tl}var Kl=Ge({},js,{key:function(y){if(y.key){var x=Ha[y.key]||y.key;if(x!=="Unidentified")return x}return y.type==="keypress"?(y=hi(y),y===13?"Enter":String.fromCharCode(y)):y.type==="keydown"||y.type==="keyup"?Jo[y.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Nu,charCode:function(y){return y.type==="keypress"?hi(y):0},keyCode:function(y){return y.type==="keydown"||y.type==="keyup"?y.keyCode:0},which:function(y){return y.type==="keypress"?hi(y):y.type==="keydown"||y.type==="keyup"?y.keyCode:0}}),ke=Xi(Kl),Ie=Ge({},Ks,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wt=Xi(Ie),Nn=Ge({},js,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Nu}),ei=Xi(Nn),bi=Ge({},zi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Cs=Xi(bi),Bs=Ge({},Ks,{deltaX:function(y){return"deltaX"in y?y.deltaX:"wheelDeltaX"in y?-y.wheelDeltaX:0},deltaY:function(y){return"deltaY"in y?y.deltaY:"wheelDeltaY"in y?-y.wheelDeltaY:"wheelDelta"in y?-y.wheelDelta:0},deltaZ:0,deltaMode:0}),Xs=Xi(Bs),_a=[9,13,27,32],ga=A&&"CompositionEvent"in window,Vs=null;A&&"documentMode"in document&&(Vs=document.documentMode);var Va=A&&"TextEvent"in window&&!Vs,io=A&&(!ga||Vs&&8<Vs&&11>=Vs),ya=String.fromCharCode(32),oo=!1;function ka(y,x){switch(y){case"keyup":return _a.indexOf(x.keyCode)!==-1;case"keydown":return x.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Su(y){return y=y.detail,typeof y=="object"&&"data"in y?y.data:null}var Ru=!1;function Ko(y,x){switch(y){case"compositionend":return Su(x);case"keypress":return x.which!==32?null:(oo=!0,ya);case"textInput":return y=x.data,y===ya&&oo?null:y;default:return null}}function Yl(y,x){if(Ru)return y==="compositionend"||!ga&&ka(y,x)?(y=dr(),wi=di=ru=null,Ru=!1,y):null;switch(y){case"paste":return null;case"keypress":if(!(x.ctrlKey||x.altKey||x.metaKey)||x.ctrlKey&&x.altKey){if(x.char&&1<x.char.length)return x.char;if(x.which)return String.fromCharCode(x.which)}return null;case"compositionend":return io&&x.locale!=="ko"?null:x.data;default:return null}}var gu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ul(y){var x=y&&y.nodeName&&y.nodeName.toLowerCase();return x==="input"?!!gu[y.type]:x==="textarea"}function Vc(y,x,V,ie){At(ie),x=l0(x,"onChange"),0<x.length&&(V=new os("onChange","change",null,V,ie),y.push({event:V,listeners:x}))}var ll=null,Kc=null;function wu(y){cl(y,0)}function Yc(y){var x=jc(y);if(zt(x))return y}function S0(y,x){if(y==="change")return x}var bc=!1;if(A){var T0;if(A){var N0="oninput"in document;if(!N0){var P0=document.createElement("div");P0.setAttribute("oninput","return;"),N0=typeof P0.oninput=="function"}T0=N0}else T0=!1;bc=T0&&(!document.documentMode||9<document.documentMode)}function Ql(){ll&&(ll.detachEvent("onpropertychange",Qc),Kc=ll=null)}function Qc(y){if(y.propertyName==="value"&&Yc(Kc)){var x=[];Vc(x,Kc,y,gt(y)),Ur(wu,x)}}function zn(y,x,V){y==="focusin"?(Ql(),ll=x,Kc=V,ll.attachEvent("onpropertychange",Qc)):y==="focusout"&&Ql()}function Kr(y){if(y==="selectionchange"||y==="keyup"||y==="keydown")return Yc(Kc)}function gn(y,x){if(y==="click")return Yc(x)}function tr(y,x){if(y==="input"||y==="change")return Yc(x)}function st(y,x){return y===x&&(y!==0||1/y===1/x)||y!==y&&x!==x}var si=typeof Object.is=="function"?Object.is:st;function Yi(y,x){if(si(y,x))return!0;if(typeof y!="object"||y===null||typeof x!="object"||x===null)return!1;var V=Object.keys(y),ie=Object.keys(x);if(V.length!==ie.length)return!1;for(ie=0;ie<V.length;ie++){var Oe=V[ie];if(!R.call(x,Oe)||!si(y[Oe],x[Oe]))return!1}return!0}function Ri(y){for(;y&&y.firstChild;)y=y.firstChild;return y}function ta(y,x){var V=Ri(y);y=0;for(var ie;V;){if(V.nodeType===3){if(ie=y+V.textContent.length,y<=x&&ie>=x)return{node:V,offset:x-y};y=ie}e:{for(;V;){if(V.nextSibling){V=V.nextSibling;break e}V=V.parentNode}V=void 0}V=Ri(V)}}function fa(y,x){return y&&x?y===x?!0:y&&y.nodeType===3?!1:x&&x.nodeType===3?fa(y,x.parentNode):"contains"in y?y.contains(x):y.compareDocumentPosition?!!(y.compareDocumentPosition(x)&16):!1:!1}function Aa(){for(var y=window,x=Vt();x instanceof y.HTMLIFrameElement;){try{var V=typeof x.contentWindow.location.href=="string"}catch{V=!1}if(V)y=x.contentWindow;else break;x=Vt(y.document)}return x}function Es(y){var x=y&&y.nodeName&&y.nodeName.toLowerCase();return x&&(x==="input"&&(y.type==="text"||y.type==="search"||y.type==="tel"||y.type==="url"||y.type==="password")||x==="textarea"||y.contentEditable==="true")}function ha(y){var x=Aa(),V=y.focusedElem,ie=y.selectionRange;if(x!==V&&V&&V.ownerDocument&&fa(V.ownerDocument.documentElement,V)){if(ie!==null&&Es(V)){if(x=ie.start,y=ie.end,y===void 0&&(y=x),"selectionStart"in V)V.selectionStart=x,V.selectionEnd=Math.min(y,V.value.length);else if(y=(x=V.ownerDocument||document)&&x.defaultView||window,y.getSelection){y=y.getSelection();var Oe=V.textContent.length,Je=Math.min(ie.start,Oe);ie=ie.end===void 0?Je:Math.min(ie.end,Oe),!y.extend&&Je>ie&&(Oe=ie,ie=Je,Je=Oe),Oe=ta(V,Je);var en=ta(V,ie);Oe&&en&&(y.rangeCount!==1||y.anchorNode!==Oe.node||y.anchorOffset!==Oe.offset||y.focusNode!==en.node||y.focusOffset!==en.offset)&&(x=x.createRange(),x.setStart(Oe.node,Oe.offset),y.removeAllRanges(),Je>ie?(y.addRange(x),y.extend(en.node,en.offset)):(x.setEnd(en.node,en.offset),y.addRange(x)))}}for(x=[],y=V;y=y.parentNode;)y.nodeType===1&&x.push({element:y,left:y.scrollLeft,top:y.scrollTop});for(typeof V.focus=="function"&&V.focus(),V=0;V<x.length;V++)y=x[V],y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}var qa=A&&"documentMode"in document&&11>=document.documentMode,fo=null,Wa=null,Wo=null,ou=!1;function Io(y,x,V){var ie=V.window===V?V.document:V.nodeType===9?V:V.ownerDocument;ou||fo==null||fo!==Vt(ie)||(ie=fo,"selectionStart"in ie&&Es(ie)?ie={start:ie.selectionStart,end:ie.selectionEnd}:(ie=(ie.ownerDocument&&ie.ownerDocument.defaultView||window).getSelection(),ie={anchorNode:ie.anchorNode,anchorOffset:ie.anchorOffset,focusNode:ie.focusNode,focusOffset:ie.focusOffset}),Wo&&Yi(Wo,ie)||(Wo=ie,ie=l0(Wa,"onSelect"),0<ie.length&&(x=new os("onSelect","select",null,x,V),y.push({event:x,listeners:ie}),x.target=fo)))}function uu(y,x){var V={};return V[y.toLowerCase()]=x.toLowerCase(),V["Webkit"+y]="webkit"+x,V["Moz"+y]="moz"+x,V}var Ta={animationend:uu("Animation","AnimationEnd"),animationiteration:uu("Animation","AnimationIteration"),animationstart:uu("Animation","AnimationStart"),transitionend:uu("Transition","TransitionEnd")},fu={},Zl={};A&&(Zl=document.createElement("div").style,"AnimationEvent"in window||(delete Ta.animationend.animation,delete Ta.animationiteration.animation,delete Ta.animationstart.animation),"TransitionEvent"in window||delete Ta.transitionend.transition);function Pu(y){if(fu[y])return fu[y];if(!Ta[y])return y;var x=Ta[y],V;for(V in x)if(x.hasOwnProperty(V)&&V in Zl)return fu[y]=x[V];return y}var Zc=Pu("animationend"),Yu=Pu("animationiteration"),Cc=Pu("animationstart"),L0=Pu("transitionend"),Xc=new Map,rc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Sl(y,x){Xc.set(y,x),_(x,[y])}for(var B0=0;B0<rc.length;B0++){var Tl=rc[B0],z0=Tl.toLowerCase(),Jc=Tl[0].toUpperCase()+Tl.slice(1);Sl(z0,"on"+Jc)}Sl(Zc,"onAnimationEnd"),Sl(Yu,"onAnimationIteration"),Sl(Cc,"onAnimationStart"),Sl("dblclick","onDoubleClick"),Sl("focusin","onFocus"),Sl("focusout","onBlur"),Sl(L0,"onTransitionEnd"),T("onMouseEnter",["mouseout","mouseover"]),T("onMouseLeave",["mouseout","mouseover"]),T("onPointerEnter",["pointerout","pointerover"]),T("onPointerLeave",["pointerout","pointerover"]),_("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),_("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),_("onBeforeInput",["compositionend","keypress","textInput","paste"]),_("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),_("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),_("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ra="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xs=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ra));function hu(y,x,V){var ie=y.type||"unknown-event";y.currentTarget=V,je(ie,x,void 0,y),y.currentTarget=null}function cl(y,x){x=(x&4)!==0;for(var V=0;V<y.length;V++){var ie=y[V],Oe=ie.event;ie=ie.listeners;e:{var Je=void 0;if(x)for(var en=ie.length-1;0<=en;en--){var ar=ie[en],Lr=ar.instance,Ei=ar.currentTarget;if(ar=ar.listener,Lr!==Je&&Oe.isPropagationStopped())break e;hu(Oe,ar,Ei),Je=Lr}else for(en=0;en<ie.length;en++){if(ar=ie[en],Lr=ar.instance,Ei=ar.currentTarget,ar=ar.listener,Lr!==Je&&Oe.isPropagationStopped())break e;hu(Oe,ar,Ei),Je=Lr}}}if(Jr)throw y=cn,Jr=!1,cn=null,y}function Do(y,x){var V=x[Lu];V===void 0&&(V=x[Lu]=new Set);var ie=y+"__bubble";V.has(ie)||(Ml(x,y,2,!1),V.add(ie))}function D0(y,x,V){var ie=0;x&&(ie|=4),Ml(V,y,ie,x)}var jl="_reactListening"+Math.random().toString(36).slice(2);function nl(y){if(!y[jl]){y[jl]=!0,c.forEach(function(V){V!=="selectionchange"&&(xs.has(V)||D0(V,!1,y),D0(V,!0,y))});var x=y.nodeType===9?y:y.ownerDocument;x===null||x[jl]||(x[jl]=!0,D0("selectionchange",!1,x))}}function Ml(y,x,V,ie){switch(Uo(x)){case 1:var Oe=bs;break;case 4:Oe=Za;break;default:Oe=za}V=Oe.bind(null,x,V,y),Oe=void 0,!ii||x!=="touchstart"&&x!=="touchmove"&&x!=="wheel"||(Oe=!0),ie?Oe!==void 0?y.addEventListener(x,V,{capture:!0,passive:Oe}):y.addEventListener(x,V,!0):Oe!==void 0?y.addEventListener(x,V,{passive:Oe}):y.addEventListener(x,V,!1)}function ic(y,x,V,ie,Oe){var Je=ie;if(!(x&1)&&!(x&2)&&ie!==null)e:for(;;){if(ie===null)return;var en=ie.tag;if(en===3||en===4){var ar=ie.stateNode.containerInfo;if(ar===Oe||ar.nodeType===8&&ar.parentNode===Oe)break;if(en===4)for(en=ie.return;en!==null;){var Lr=en.tag;if((Lr===3||Lr===4)&&(Lr=en.stateNode.containerInfo,Lr===Oe||Lr.nodeType===8&&Lr.parentNode===Oe))return;en=en.return}for(;ar!==null;){if(en=Mc(ar),en===null)return;if(Lr=en.tag,Lr===5||Lr===6){ie=Je=en;continue e}ar=ar.parentNode}}ie=ie.return}Ur(function(){var Ei=Je,ms=gt(V),vs=[];e:{var ps=Xc.get(y);if(ps!==void 0){var va=os,Pa=y;switch(y){case"keypress":if(hi(V)===0)break e;case"keydown":case"keyup":va=ke;break;case"focusin":Pa="focus",va=Xa;break;case"focusout":Pa="blur",va=Xa;break;case"beforeblur":case"afterblur":va=Xa;break;case"click":if(V.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":va=ma;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":va=Da;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":va=ei;break;case Zc:case Yu:case Cc:va=co;break;case L0:va=Cs;break;case"scroll":va=hs;break;case"wheel":va=Xs;break;case"copy":case"cut":case"paste":va=Yo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":va=Wt}var Ia=(x&4)!==0,xc=!Ia&&y==="scroll",mi=Ia?ps!==null?ps+"Capture":null:ps;Ia=[];for(var Yr=Ei,Ci;Yr!==null;){Ci=Yr;var Ms=Ci.stateNode;if(Ci.tag===5&&Ms!==null&&(Ci=Ms,mi!==null&&(Ms=Or(Yr,mi),Ms!=null&&Ia.push(Qu(Yr,Ms,Ci)))),xc)break;Yr=Yr.return}0<Ia.length&&(ps=new va(ps,Pa,null,V,ms),vs.push({event:ps,listeners:Ia}))}}if(!(x&7)){e:{if(ps=y==="mouseover"||y==="pointerover",va=y==="mouseout"||y==="pointerout",ps&&V!==We&&(Pa=V.relatedTarget||V.fromElement)&&(Mc(Pa)||Pa[Eu]))break e;if((va||ps)&&(ps=ms.window===ms?ms:(ps=ms.ownerDocument)?ps.defaultView||ps.parentWindow:window,va?(Pa=V.relatedTarget||V.toElement,va=Ei,Pa=Pa?Mc(Pa):null,Pa!==null&&(xc=pt(Pa),Pa!==xc||Pa.tag!==5&&Pa.tag!==6)&&(Pa=null)):(va=null,Pa=Ei),va!==Pa)){if(Ia=ma,Ms="onMouseLeave",mi="onMouseEnter",Yr="mouse",(y==="pointerout"||y==="pointerover")&&(Ia=Wt,Ms="onPointerLeave",mi="onPointerEnter",Yr="pointer"),xc=va==null?ps:jc(va),Ci=Pa==null?ps:jc(Pa),ps=new Ia(Ms,Yr+"leave",va,V,ms),ps.target=xc,ps.relatedTarget=Ci,Ms=null,Mc(ms)===Ei&&(Ia=new Ia(mi,Yr+"enter",Pa,V,ms),Ia.target=Ci,Ia.relatedTarget=xc,Ms=Ia),xc=Ms,va&&Pa)t:{for(Ia=va,mi=Pa,Yr=0,Ci=Ia;Ci;Ci=qc(Ci))Yr++;for(Ci=0,Ms=mi;Ms;Ms=qc(Ms))Ci++;for(;0<Yr-Ci;)Ia=qc(Ia),Yr--;for(;0<Ci-Yr;)mi=qc(mi),Ci--;for(;Yr--;){if(Ia===mi||mi!==null&&Ia===mi.alternate)break t;Ia=qc(Ia),mi=qc(mi)}Ia=null}else Ia=null;va!==null&&dc(vs,ps,va,Ia,!1),Pa!==null&&xc!==null&&dc(vs,xc,Pa,Ia,!0)}}e:{if(ps=Ei?jc(Ei):window,va=ps.nodeName&&ps.nodeName.toLowerCase(),va==="select"||va==="input"&&ps.type==="file")var Ja=S0;else if(Ul(ps))if(bc)Ja=tr;else{Ja=Kr;var Eo=zn}else(va=ps.nodeName)&&va.toLowerCase()==="input"&&(ps.type==="checkbox"||ps.type==="radio")&&(Ja=gn);if(Ja&&(Ja=Ja(y,Ei))){Vc(vs,Ja,V,ms);break e}Eo&&Eo(y,ps,Ei),y==="focusout"&&(Eo=ps._wrapperState)&&Eo.controlled&&ps.type==="number"&&Ln(ps,"number",ps.value)}switch(Eo=Ei?jc(Ei):window,y){case"focusin":(Ul(Eo)||Eo.contentEditable==="true")&&(fo=Eo,Wa=Ei,Wo=null);break;case"focusout":Wo=Wa=fo=null;break;case"mousedown":ou=!0;break;case"contextmenu":case"mouseup":case"dragend":ou=!1,Io(vs,V,ms);break;case"selectionchange":if(qa)break;case"keydown":case"keyup":Io(vs,V,ms)}var To;if(ga)e:{switch(y){case"compositionstart":var Oo="onCompositionStart";break e;case"compositionend":Oo="onCompositionEnd";break e;case"compositionupdate":Oo="onCompositionUpdate";break e}Oo=void 0}else Ru?ka(y,V)&&(Oo="onCompositionEnd"):y==="keydown"&&V.keyCode===229&&(Oo="onCompositionStart");Oo&&(io&&V.locale!=="ko"&&(Ru||Oo!=="onCompositionStart"?Oo==="onCompositionEnd"&&Ru&&(To=dr()):(ru=ms,di="value"in ru?ru.value:ru.textContent,Ru=!0)),Eo=l0(Ei,Oo),0<Eo.length&&(Oo=new Qo(Oo,y,null,V,ms),vs.push({event:Oo,listeners:Eo}),To?Oo.data=To:(To=Su(V),To!==null&&(Oo.data=To)))),(To=Va?Ko(y,V):Yl(y,V))&&(Ei=l0(Ei,"onBeforeInput"),0<Ei.length&&(ms=new Qo("onBeforeInput","beforeinput",null,V,ms),vs.push({event:ms,listeners:Ei}),ms.data=To))}cl(vs,x)})}function Qu(y,x,V){return{instance:y,listener:x,currentTarget:V}}function l0(y,x){for(var V=x+"Capture",ie=[];y!==null;){var Oe=y,Je=Oe.stateNode;Oe.tag===5&&Je!==null&&(Oe=Je,Je=Or(y,V),Je!=null&&ie.unshift(Qu(y,Je,Oe)),Je=Or(y,x),Je!=null&&ie.push(Qu(y,Je,Oe))),y=y.return}return ie}function qc(y){if(y===null)return null;do y=y.return;while(y&&y.tag!==5);return y||null}function dc(y,x,V,ie,Oe){for(var Je=x._reactName,en=[];V!==null&&V!==ie;){var ar=V,Lr=ar.alternate,Ei=ar.stateNode;if(Lr!==null&&Lr===ie)break;ar.tag===5&&Ei!==null&&(ar=Ei,Oe?(Lr=Or(V,Je),Lr!=null&&en.unshift(Qu(V,Lr,ar))):Oe||(Lr=Or(V,Je),Lr!=null&&en.push(Qu(V,Lr,ar)))),V=V.return}en.length!==0&&y.push({event:x,listeners:en})}var c0=/\r\n?/g,fc=/\u0000|\uFFFD/g;function Zu(y){return(typeof y=="string"?y:""+y).replace(c0,`
`).replace(fc,"")}function vu(y,x,V){if(x=Zu(x),Zu(y)!==x&&V)throw Error(l(425))}function Tu(){}var vl=null,Zo=null;function aa(y,x){return y==="textarea"||y==="noscript"||typeof x.children=="string"||typeof x.children=="number"||typeof x.dangerouslySetInnerHTML=="object"&&x.dangerouslySetInnerHTML!==null&&x.dangerouslySetInnerHTML.__html!=null}var e0=typeof setTimeout=="function"?setTimeout:void 0,Ic=typeof clearTimeout=="function"?clearTimeout:void 0,kc=typeof Promise=="function"?Promise:void 0,eu=typeof queueMicrotask=="function"?queueMicrotask:typeof kc<"u"?function(y){return kc.resolve(null).then(y).catch(Dl)}:e0;function Dl(y){setTimeout(function(){throw y})}function d0(y,x){var V=x,ie=0;do{var Oe=V.nextSibling;if(y.removeChild(V),Oe&&Oe.nodeType===8)if(V=Oe.data,V==="/$"){if(ie===0){y.removeChild(Oe),Qi(x);return}ie--}else V!=="$"&&V!=="$?"&&V!=="$!"||ie++;V=Oe}while(V);Qi(x)}function Al(y){for(;y!=null;y=y.nextSibling){var x=y.nodeType;if(x===1||x===3)break;if(x===8){if(x=y.data,x==="$"||x==="$!"||x==="$?")break;if(x==="/$")return null}}return y}function Sc(y){y=y.previousSibling;for(var x=0;y;){if(y.nodeType===8){var V=y.data;if(V==="$"||V==="$!"||V==="$?"){if(x===0)return y;x--}else V==="/$"&&x++}y=y.previousSibling}return null}var Uc=Math.random().toString(36).slice(2),eo="__reactFiber$"+Uc,sc="__reactProps$"+Uc,Eu="__reactContainer$"+Uc,Lu="__reactEvents$"+Uc,dl="__reactListeners$"+Uc,rl="__reactHandles$"+Uc;function Mc(y){var x=y[eo];if(x)return x;for(var V=y.parentNode;V;){if(x=V[Eu]||V[eo]){if(V=x.alternate,x.child!==null||V!==null&&V.child!==null)for(y=Sc(y);y!==null;){if(V=y[eo])return V;y=Sc(y)}return x}y=V,V=y.parentNode}return null}function El(y){return y=y[eo]||y[Eu],!y||y.tag!==5&&y.tag!==6&&y.tag!==13&&y.tag!==3?null:y}function jc(y){if(y.tag===5||y.tag===6)return y.stateNode;throw Error(l(33))}function td(y){return y[sc]||null}var Xl=[],Nc=-1;function Ho(y){return{current:y}}function Bu(y){0>Nc||(y.current=Xl[Nc],Xl[Nc]=null,Nc--)}function iu(y,x){Nc++,Xl[Nc]=y.current,y.current=x}var f0={},_l=Ho(f0),Nl=Ho(!1),$c=f0;function hc(y,x){var V=y.type.contextTypes;if(!V)return f0;var ie=y.stateNode;if(ie&&ie.__reactInternalMemoizedUnmaskedChildContext===x)return ie.__reactInternalMemoizedMaskedChildContext;var Oe={},Je;for(Je in V)Oe[Je]=x[Je];return ie&&(y=y.stateNode,y.__reactInternalMemoizedUnmaskedChildContext=x,y.__reactInternalMemoizedMaskedChildContext=Oe),Oe}function il(y){return y=y.childContextTypes,y!=null}function V0(){Bu(Nl),Bu(_l)}function Wc(y,x,V){if(_l.current!==f0)throw Error(l(168));iu(_l,x),iu(Nl,V)}function A0(y,x,V){var ie=y.stateNode;if(x=x.childContextTypes,typeof ie.getChildContext!="function")return V;ie=ie.getChildContext();for(var Oe in ie)if(!(Oe in x))throw Error(l(108,Ke(y)||"Unknown",Oe));return Ge({},V,ie)}function t0(y){return y=(y=y.stateNode)&&y.__reactInternalMemoizedMergedChildContext||f0,$c=_l.current,iu(_l,y),iu(Nl,Nl.current),!0}function Pl(y,x,V){var ie=y.stateNode;if(!ie)throw Error(l(169));V?(y=A0(y,x,$c),ie.__reactInternalMemoizedMergedChildContext=y,Bu(Nl),Bu(_l),iu(_l,y)):Bu(Nl),iu(Nl,V)}var xl=null,Pc=!1,Lc=!1;function $l(y){xl===null?xl=[y]:xl.push(y)}function Ts(y){Pc=!0,$l(y)}function Xu(){if(!Lc&&xl!==null){Lc=!0;var y=0,x=ft;try{var V=xl;for(ft=1;y<V.length;y++){var ie=V[y];do ie=ie(!0);while(ie!==null)}xl=null,Pc=!1}catch(Oe){throw xl!==null&&(xl=xl.slice(y+1)),rr(on,Xu),Oe}finally{ft=x,Lc=!1}}return null}var Iu=[],Go=0,zo=null,Is=0,xa=[],Fu=0,na=null,pc=1,n0="";function Wl(y,x){Iu[Go++]=Is,Iu[Go++]=zo,zo=y,Is=x}function et(y,x,V){xa[Fu++]=pc,xa[Fu++]=n0,xa[Fu++]=na,na=y;var ie=pc;y=n0;var Oe=32-In(ie)-1;ie&=~(1<<Oe),V+=1;var Je=32-In(x)+Oe;if(30<Je){var en=Oe-Oe%5;Je=(ie&(1<<en)-1).toString(32),ie>>=en,Oe-=en,pc=1<<32-In(x)+Oe|V<<Oe|ie,n0=Je+y}else pc=1<<Je|V<<Oe|ie,n0=y}function pn(y){y.return!==null&&(Wl(y,1),et(y,1,0))}function Tn(y){for(;y===zo;)zo=Iu[--Go],Iu[Go]=null,Is=Iu[--Go],Iu[Go]=null;for(;y===na;)na=xa[--Fu],xa[Fu]=null,n0=xa[--Fu],xa[Fu]=null,pc=xa[--Fu],xa[Fu]=null}var Kn=null,fr=null,Sr=!1,br=null;function li(y,x){var V=Ad(5,null,null,0);V.elementType="DELETED",V.stateNode=x,V.return=y,x=y.deletions,x===null?(y.deletions=[V],y.flags|=16):x.push(V)}function pi(y,x){switch(y.tag){case 5:var V=y.type;return x=x.nodeType!==1||V.toLowerCase()!==x.nodeName.toLowerCase()?null:x,x!==null?(y.stateNode=x,Kn=y,fr=Al(x.firstChild),!0):!1;case 6:return x=y.pendingProps===""||x.nodeType!==3?null:x,x!==null?(y.stateNode=x,Kn=y,fr=null,!0):!1;case 13:return x=x.nodeType!==8?null:x,x!==null?(V=na!==null?{id:pc,overflow:n0}:null,y.memoizedState={dehydrated:x,treeContext:V,retryLane:1073741824},V=Ad(18,null,null,0),V.stateNode=x,V.return=y,y.child=V,Kn=y,fr=null,!0):!1;default:return!1}}function Bi(y){return(y.mode&1)!==0&&(y.flags&128)===0}function Fi(y){if(Sr){var x=fr;if(x){var V=x;if(!pi(y,x)){if(Bi(y))throw Error(l(418));x=Al(V.nextSibling);var ie=Kn;x&&pi(y,x)?li(ie,V):(y.flags=y.flags&-4097|2,Sr=!1,Kn=y)}}else{if(Bi(y))throw Error(l(418));y.flags=y.flags&-4097|2,Sr=!1,Kn=y}}}function Ii(y){for(y=y.return;y!==null&&y.tag!==5&&y.tag!==3&&y.tag!==13;)y=y.return;Kn=y}function Ni(y){if(y!==Kn)return!1;if(!Sr)return Ii(y),Sr=!0,!1;var x;if((x=y.tag!==3)&&!(x=y.tag!==5)&&(x=y.type,x=x!=="head"&&x!=="body"&&!aa(y.type,y.memoizedProps)),x&&(x=fr)){if(Bi(y))throw Ds(),Error(l(418));for(;x;)li(y,x),x=Al(x.nextSibling)}if(Ii(y),y.tag===13){if(y=y.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(l(317));e:{for(y=y.nextSibling,x=0;y;){if(y.nodeType===8){var V=y.data;if(V==="/$"){if(x===0){fr=Al(y.nextSibling);break e}x--}else V!=="$"&&V!=="$!"&&V!=="$?"||x++}y=y.nextSibling}fr=null}}else fr=Kn?Al(y.stateNode.nextSibling):null;return!0}function Ds(){for(var y=fr;y;)y=Al(y.nextSibling)}function ds(){fr=Kn=null,Sr=!1}function Gs(y){br===null?br=[y]:br.push(y)}var Fs=Y.ReactCurrentBatchConfig;function $s(y,x){if(y&&y.defaultProps){x=Ge({},x),y=y.defaultProps;for(var V in y)x[V]===void 0&&(x[V]=y[V]);return x}return x}var oa=Ho(null),to=null,ba=null,pa=null;function Lo(){pa=ba=to=null}function su(y){var x=oa.current;Bu(oa),y._currentValue=x}function uo(y,x,V){for(;y!==null;){var ie=y.alternate;if((y.childLanes&x)!==x?(y.childLanes|=x,ie!==null&&(ie.childLanes|=x)):ie!==null&&(ie.childLanes&x)!==x&&(ie.childLanes|=x),y===V)break;y=y.return}}function yo(y,x){to=y,pa=ba=null,y=y.dependencies,y!==null&&y.firstContext!==null&&(y.lanes&x&&(Gc=!0),y.firstContext=null)}function lu(y){var x=y._currentValue;if(pa!==y)if(y={context:y,memoizedValue:x,next:null},ba===null){if(to===null)throw Error(l(308));ba=y,to.dependencies={lanes:0,firstContext:y}}else ba=ba.next=y;return x}var Be=null;function vt(y){Be===null?Be=[y]:Be.push(y)}function xt(y,x,V,ie){var Oe=x.interleaved;return Oe===null?(V.next=V,vt(x)):(V.next=Oe.next,Oe.next=V),x.interleaved=V,Zt(y,ie)}function Zt(y,x){y.lanes|=x;var V=y.alternate;for(V!==null&&(V.lanes|=x),V=y,y=y.return;y!==null;)y.childLanes|=x,V=y.alternate,V!==null&&(V.childLanes|=x),V=y,y=y.return;return V.tag===3?V.stateNode:null}var He=!1;function Pn(y){y.updateQueue={baseState:y.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Xn(y,x){y=y.updateQueue,x.updateQueue===y&&(x.updateQueue={baseState:y.baseState,firstBaseUpdate:y.firstBaseUpdate,lastBaseUpdate:y.lastBaseUpdate,shared:y.shared,effects:y.effects})}function Qt(y,x){return{eventTime:y,lane:x,tag:0,payload:null,callback:null,next:null}}function Bn(y,x,V){var ie=y.updateQueue;if(ie===null)return null;if(ie=ie.shared,ko&2){var Oe=ie.pending;return Oe===null?x.next=x:(x.next=Oe.next,Oe.next=x),ie.pending=x,Zt(y,V)}return Oe=ie.interleaved,Oe===null?(x.next=x,vt(ie)):(x.next=Oe.next,Oe.next=x),ie.interleaved=x,Zt(y,V)}function ir(y,x,V){if(x=x.updateQueue,x!==null&&(x=x.shared,(V&4194240)!==0)){var ie=x.lanes;ie&=y.pendingLanes,V|=ie,x.lanes=V,ot(y,V)}}function Pr(y,x){var V=y.updateQueue,ie=y.alternate;if(ie!==null&&(ie=ie.updateQueue,V===ie)){var Oe=null,Je=null;if(V=V.firstBaseUpdate,V!==null){do{var en={eventTime:V.eventTime,lane:V.lane,tag:V.tag,payload:V.payload,callback:V.callback,next:null};Je===null?Oe=Je=en:Je=Je.next=en,V=V.next}while(V!==null);Je===null?Oe=Je=x:Je=Je.next=x}else Oe=Je=x;V={baseState:ie.baseState,firstBaseUpdate:Oe,lastBaseUpdate:Je,shared:ie.shared,effects:ie.effects},y.updateQueue=V;return}y=V.lastBaseUpdate,y===null?V.firstBaseUpdate=x:y.next=x,V.lastBaseUpdate=x}function Er(y,x,V,ie){var Oe=y.updateQueue;He=!1;var Je=Oe.firstBaseUpdate,en=Oe.lastBaseUpdate,ar=Oe.shared.pending;if(ar!==null){Oe.shared.pending=null;var Lr=ar,Ei=Lr.next;Lr.next=null,en===null?Je=Ei:en.next=Ei,en=Lr;var ms=y.alternate;ms!==null&&(ms=ms.updateQueue,ar=ms.lastBaseUpdate,ar!==en&&(ar===null?ms.firstBaseUpdate=Ei:ar.next=Ei,ms.lastBaseUpdate=Lr))}if(Je!==null){var vs=Oe.baseState;en=0,ms=Ei=Lr=null,ar=Je;do{var ps=ar.lane,va=ar.eventTime;if((ie&ps)===ps){ms!==null&&(ms=ms.next={eventTime:va,lane:0,tag:ar.tag,payload:ar.payload,callback:ar.callback,next:null});e:{var Pa=y,Ia=ar;switch(ps=x,va=V,Ia.tag){case 1:if(Pa=Ia.payload,typeof Pa=="function"){vs=Pa.call(va,vs,ps);break e}vs=Pa;break e;case 3:Pa.flags=Pa.flags&-65537|128;case 0:if(Pa=Ia.payload,ps=typeof Pa=="function"?Pa.call(va,vs,ps):Pa,ps==null)break e;vs=Ge({},vs,ps);break e;case 2:He=!0}}ar.callback!==null&&ar.lane!==0&&(y.flags|=64,ps=Oe.effects,ps===null?Oe.effects=[ar]:ps.push(ar))}else va={eventTime:va,lane:ps,tag:ar.tag,payload:ar.payload,callback:ar.callback,next:null},ms===null?(Ei=ms=va,Lr=vs):ms=ms.next=va,en|=ps;if(ar=ar.next,ar===null){if(ar=Oe.shared.pending,ar===null)break;ps=ar,ar=ps.next,ps.next=null,Oe.lastBaseUpdate=ps,Oe.shared.pending=null}}while(1);if(ms===null&&(Lr=vs),Oe.baseState=Lr,Oe.firstBaseUpdate=Ei,Oe.lastBaseUpdate=ms,x=Oe.shared.interleaved,x!==null){Oe=x;do en|=Oe.lane,Oe=Oe.next;while(Oe!==x)}else Je===null&&(Oe.shared.lanes=0);Hl|=en,y.lanes=en,y.memoizedState=vs}}function Ti(y,x,V){if(y=x.effects,x.effects=null,y!==null)for(x=0;x<y.length;x++){var ie=y[x],Oe=ie.callback;if(Oe!==null){if(ie.callback=null,ie=V,typeof Oe!="function")throw Error(l(191,Oe));Oe.call(ie)}}}var ji=new i.Component().refs;function Wi(y,x,V,ie){x=y.memoizedState,V=V(ie,x),V=V==null?x:Ge({},x,V),y.memoizedState=V,y.lanes===0&&(y.updateQueue.baseState=V)}var ls={isMounted:function(y){return(y=y._reactInternals)?pt(y)===y:!1},enqueueSetState:function(y,x,V){y=y._reactInternals;var ie=v0(),Oe=ef(y),Je=Qt(ie,Oe);Je.payload=x,V!=null&&(Je.callback=V),x=Bn(y,Je,Oe),x!==null&&(Dd(x,y,Oe,ie),ir(x,y,Oe))},enqueueReplaceState:function(y,x,V){y=y._reactInternals;var ie=v0(),Oe=ef(y),Je=Qt(ie,Oe);Je.tag=1,Je.payload=x,V!=null&&(Je.callback=V),x=Bn(y,Je,Oe),x!==null&&(Dd(x,y,Oe,ie),ir(x,y,Oe))},enqueueForceUpdate:function(y,x){y=y._reactInternals;var V=v0(),ie=ef(y),Oe=Qt(V,ie);Oe.tag=2,x!=null&&(Oe.callback=x),x=Bn(y,Oe,ie),x!==null&&(Dd(x,y,ie,V),ir(x,y,ie))}};function Zi(y,x,V,ie,Oe,Je,en){return y=y.stateNode,typeof y.shouldComponentUpdate=="function"?y.shouldComponentUpdate(ie,Je,en):x.prototype&&x.prototype.isPureReactComponent?!Yi(V,ie)||!Yi(Oe,Je):!0}function Qs(y,x,V){var ie=!1,Oe=f0,Je=x.contextType;return typeof Je=="object"&&Je!==null?Je=lu(Je):(Oe=il(x)?$c:_l.current,ie=x.contextTypes,Je=(ie=ie!=null)?hc(y,Oe):f0),x=new x(V,Je),y.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,x.updater=ls,y.stateNode=x,x._reactInternals=y,ie&&(y=y.stateNode,y.__reactInternalMemoizedUnmaskedChildContext=Oe,y.__reactInternalMemoizedMaskedChildContext=Je),x}function Js(y,x,V,ie){y=x.state,typeof x.componentWillReceiveProps=="function"&&x.componentWillReceiveProps(V,ie),typeof x.UNSAFE_componentWillReceiveProps=="function"&&x.UNSAFE_componentWillReceiveProps(V,ie),x.state!==y&&ls.enqueueReplaceState(x,x.state,null)}function ks(y,x,V,ie){var Oe=y.stateNode;Oe.props=V,Oe.state=y.memoizedState,Oe.refs=ji,Pn(y);var Je=x.contextType;typeof Je=="object"&&Je!==null?Oe.context=lu(Je):(Je=il(x)?$c:_l.current,Oe.context=hc(y,Je)),Oe.state=y.memoizedState,Je=x.getDerivedStateFromProps,typeof Je=="function"&&(Wi(y,x,Je,V),Oe.state=y.memoizedState),typeof x.getDerivedStateFromProps=="function"||typeof Oe.getSnapshotBeforeUpdate=="function"||typeof Oe.UNSAFE_componentWillMount!="function"&&typeof Oe.componentWillMount!="function"||(x=Oe.state,typeof Oe.componentWillMount=="function"&&Oe.componentWillMount(),typeof Oe.UNSAFE_componentWillMount=="function"&&Oe.UNSAFE_componentWillMount(),x!==Oe.state&&ls.enqueueReplaceState(Oe,Oe.state,null),Er(y,V,Oe,ie),Oe.state=y.memoizedState),typeof Oe.componentDidMount=="function"&&(y.flags|=4194308)}function Hs(y,x,V){if(y=V.ref,y!==null&&typeof y!="function"&&typeof y!="object"){if(V._owner){if(V=V._owner,V){if(V.tag!==1)throw Error(l(309));var ie=V.stateNode}if(!ie)throw Error(l(147,y));var Oe=ie,Je=""+y;return x!==null&&x.ref!==null&&typeof x.ref=="function"&&x.ref._stringRef===Je?x.ref:(x=function(en){var ar=Oe.refs;ar===ji&&(ar=Oe.refs={}),en===null?delete ar[Je]:ar[Je]=en},x._stringRef=Je,x)}if(typeof y!="string")throw Error(l(284));if(!V._owner)throw Error(l(290,y))}return y}function Ka(y,x){throw y=Object.prototype.toString.call(x),Error(l(31,y==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":y))}function Ma(y){var x=y._init;return x(y._payload)}function no(y){function x(mi,Yr){if(y){var Ci=mi.deletions;Ci===null?(mi.deletions=[Yr],mi.flags|=16):Ci.push(Yr)}}function V(mi,Yr){if(!y)return null;for(;Yr!==null;)x(mi,Yr),Yr=Yr.sibling;return null}function ie(mi,Yr){for(mi=new Map;Yr!==null;)Yr.key!==null?mi.set(Yr.key,Yr):mi.set(Yr.index,Yr),Yr=Yr.sibling;return mi}function Oe(mi,Yr){return mi=ff(mi,Yr),mi.index=0,mi.sibling=null,mi}function Je(mi,Yr,Ci){return mi.index=Ci,y?(Ci=mi.alternate,Ci!==null?(Ci=Ci.index,Ci<Yr?(mi.flags|=2,Yr):Ci):(mi.flags|=2,Yr)):(mi.flags|=1048576,Yr)}function en(mi){return y&&mi.alternate===null&&(mi.flags|=2),mi}function ar(mi,Yr,Ci,Ms){return Yr===null||Yr.tag!==6?(Yr=Xh(Ci,mi.mode,Ms),Yr.return=mi,Yr):(Yr=Oe(Yr,Ci),Yr.return=mi,Yr)}function Lr(mi,Yr,Ci,Ms){var Ja=Ci.type;return Ja===ee?ms(mi,Yr,Ci.props.children,Ms,Ci.key):Yr!==null&&(Yr.elementType===Ja||typeof Ja=="object"&&Ja!==null&&Ja.$$typeof===Ae&&Ma(Ja)===Yr.type)?(Ms=Oe(Yr,Ci.props),Ms.ref=Hs(mi,Yr,Ci),Ms.return=mi,Ms):(Ms=Qh(Ci.type,Ci.key,Ci.props,null,mi.mode,Ms),Ms.ref=Hs(mi,Yr,Ci),Ms.return=mi,Ms)}function Ei(mi,Yr,Ci,Ms){return Yr===null||Yr.tag!==4||Yr.stateNode.containerInfo!==Ci.containerInfo||Yr.stateNode.implementation!==Ci.implementation?(Yr=Jh(Ci,mi.mode,Ms),Yr.return=mi,Yr):(Yr=Oe(Yr,Ci.children||[]),Yr.return=mi,Yr)}function ms(mi,Yr,Ci,Ms,Ja){return Yr===null||Yr.tag!==7?(Yr=Tf(Ci,mi.mode,Ms,Ja),Yr.return=mi,Yr):(Yr=Oe(Yr,Ci),Yr.return=mi,Yr)}function vs(mi,Yr,Ci){if(typeof Yr=="string"&&Yr!==""||typeof Yr=="number")return Yr=Xh(""+Yr,mi.mode,Ci),Yr.return=mi,Yr;if(typeof Yr=="object"&&Yr!==null){switch(Yr.$$typeof){case Z:return Ci=Qh(Yr.type,Yr.key,Yr.props,null,mi.mode,Ci),Ci.ref=Hs(mi,null,Yr),Ci.return=mi,Ci;case J:return Yr=Jh(Yr,mi.mode,Ci),Yr.return=mi,Yr;case Ae:var Ms=Yr._init;return vs(mi,Ms(Yr._payload),Ci)}if(fn(Yr)||ce(Yr))return Yr=Tf(Yr,mi.mode,Ci,null),Yr.return=mi,Yr;Ka(mi,Yr)}return null}function ps(mi,Yr,Ci,Ms){var Ja=Yr!==null?Yr.key:null;if(typeof Ci=="string"&&Ci!==""||typeof Ci=="number")return Ja!==null?null:ar(mi,Yr,""+Ci,Ms);if(typeof Ci=="object"&&Ci!==null){switch(Ci.$$typeof){case Z:return Ci.key===Ja?Lr(mi,Yr,Ci,Ms):null;case J:return Ci.key===Ja?Ei(mi,Yr,Ci,Ms):null;case Ae:return Ja=Ci._init,ps(mi,Yr,Ja(Ci._payload),Ms)}if(fn(Ci)||ce(Ci))return Ja!==null?null:ms(mi,Yr,Ci,Ms,null);Ka(mi,Ci)}return null}function va(mi,Yr,Ci,Ms,Ja){if(typeof Ms=="string"&&Ms!==""||typeof Ms=="number")return mi=mi.get(Ci)||null,ar(Yr,mi,""+Ms,Ja);if(typeof Ms=="object"&&Ms!==null){switch(Ms.$$typeof){case Z:return mi=mi.get(Ms.key===null?Ci:Ms.key)||null,Lr(Yr,mi,Ms,Ja);case J:return mi=mi.get(Ms.key===null?Ci:Ms.key)||null,Ei(Yr,mi,Ms,Ja);case Ae:var Eo=Ms._init;return va(mi,Yr,Ci,Eo(Ms._payload),Ja)}if(fn(Ms)||ce(Ms))return mi=mi.get(Ci)||null,ms(Yr,mi,Ms,Ja,null);Ka(Yr,Ms)}return null}function Pa(mi,Yr,Ci,Ms){for(var Ja=null,Eo=null,To=Yr,Oo=Yr=0,a0=null;To!==null&&Oo<Ci.length;Oo++){To.index>Oo?(a0=To,To=null):a0=To.sibling;var Wu=ps(mi,To,Ci[Oo],Ms);if(Wu===null){To===null&&(To=a0);break}y&&To&&Wu.alternate===null&&x(mi,To),Yr=Je(Wu,Yr,Oo),Eo===null?Ja=Wu:Eo.sibling=Wu,Eo=Wu,To=a0}if(Oo===Ci.length)return V(mi,To),Sr&&Wl(mi,Oo),Ja;if(To===null){for(;Oo<Ci.length;Oo++)To=vs(mi,Ci[Oo],Ms),To!==null&&(Yr=Je(To,Yr,Oo),Eo===null?Ja=To:Eo.sibling=To,Eo=To);return Sr&&Wl(mi,Oo),Ja}for(To=ie(mi,To);Oo<Ci.length;Oo++)a0=va(To,mi,Oo,Ci[Oo],Ms),a0!==null&&(y&&a0.alternate!==null&&To.delete(a0.key===null?Oo:a0.key),Yr=Je(a0,Yr,Oo),Eo===null?Ja=a0:Eo.sibling=a0,Eo=a0);return y&&To.forEach(function(xf){return x(mi,xf)}),Sr&&Wl(mi,Oo),Ja}function Ia(mi,Yr,Ci,Ms){var Ja=ce(Ci);if(typeof Ja!="function")throw Error(l(150));if(Ci=Ja.call(Ci),Ci==null)throw Error(l(151));for(var Eo=Ja=null,To=Yr,Oo=Yr=0,a0=null,Wu=Ci.next();To!==null&&!Wu.done;Oo++,Wu=Ci.next()){To.index>Oo?(a0=To,To=null):a0=To.sibling;var xf=ps(mi,To,Wu.value,Ms);if(xf===null){To===null&&(To=a0);break}y&&To&&xf.alternate===null&&x(mi,To),Yr=Je(xf,Yr,Oo),Eo===null?Ja=xf:Eo.sibling=xf,Eo=xf,To=a0}if(Wu.done)return V(mi,To),Sr&&Wl(mi,Oo),Ja;if(To===null){for(;!Wu.done;Oo++,Wu=Ci.next())Wu=vs(mi,Wu.value,Ms),Wu!==null&&(Yr=Je(Wu,Yr,Oo),Eo===null?Ja=Wu:Eo.sibling=Wu,Eo=Wu);return Sr&&Wl(mi,Oo),Ja}for(To=ie(mi,To);!Wu.done;Oo++,Wu=Ci.next())Wu=va(To,mi,Oo,Wu.value,Ms),Wu!==null&&(y&&Wu.alternate!==null&&To.delete(Wu.key===null?Oo:Wu.key),Yr=Je(Wu,Yr,Oo),Eo===null?Ja=Wu:Eo.sibling=Wu,Eo=Wu);return y&&To.forEach(function(qh){return x(mi,qh)}),Sr&&Wl(mi,Oo),Ja}function xc(mi,Yr,Ci,Ms){if(typeof Ci=="object"&&Ci!==null&&Ci.type===ee&&Ci.key===null&&(Ci=Ci.props.children),typeof Ci=="object"&&Ci!==null){switch(Ci.$$typeof){case Z:e:{for(var Ja=Ci.key,Eo=Yr;Eo!==null;){if(Eo.key===Ja){if(Ja=Ci.type,Ja===ee){if(Eo.tag===7){V(mi,Eo.sibling),Yr=Oe(Eo,Ci.props.children),Yr.return=mi,mi=Yr;break e}}else if(Eo.elementType===Ja||typeof Ja=="object"&&Ja!==null&&Ja.$$typeof===Ae&&Ma(Ja)===Eo.type){V(mi,Eo.sibling),Yr=Oe(Eo,Ci.props),Yr.ref=Hs(mi,Eo,Ci),Yr.return=mi,mi=Yr;break e}V(mi,Eo);break}else x(mi,Eo);Eo=Eo.sibling}Ci.type===ee?(Yr=Tf(Ci.props.children,mi.mode,Ms,Ci.key),Yr.return=mi,mi=Yr):(Ms=Qh(Ci.type,Ci.key,Ci.props,null,mi.mode,Ms),Ms.ref=Hs(mi,Yr,Ci),Ms.return=mi,mi=Ms)}return en(mi);case J:e:{for(Eo=Ci.key;Yr!==null;){if(Yr.key===Eo)if(Yr.tag===4&&Yr.stateNode.containerInfo===Ci.containerInfo&&Yr.stateNode.implementation===Ci.implementation){V(mi,Yr.sibling),Yr=Oe(Yr,Ci.children||[]),Yr.return=mi,mi=Yr;break e}else{V(mi,Yr);break}else x(mi,Yr);Yr=Yr.sibling}Yr=Jh(Ci,mi.mode,Ms),Yr.return=mi,mi=Yr}return en(mi);case Ae:return Eo=Ci._init,xc(mi,Yr,Eo(Ci._payload),Ms)}if(fn(Ci))return Pa(mi,Yr,Ci,Ms);if(ce(Ci))return Ia(mi,Yr,Ci,Ms);Ka(mi,Ci)}return typeof Ci=="string"&&Ci!==""||typeof Ci=="number"?(Ci=""+Ci,Yr!==null&&Yr.tag===6?(V(mi,Yr.sibling),Yr=Oe(Yr,Ci),Yr.return=mi,mi=Yr):(V(mi,Yr),Yr=Xh(Ci,mi.mode,Ms),Yr.return=mi,mi=Yr),en(mi)):V(mi,Yr)}return xc}var ho=no(!0),Bo=no(!1),Hu={},Fo=Ho(Hu),Ya=Ho(Hu),Na=Ho(Hu);function ti(y){if(y===Hu)throw Error(l(174));return y}function ra(y,x){switch(iu(Na,x),iu(Ya,y),iu(Fo,Hu),y=x.nodeType,y){case 9:case 11:x=(x=x.documentElement)?x.namespaceURI:Sn(null,"");break;default:y=y===8?x.parentNode:x,x=y.namespaceURI||null,y=y.tagName,x=Sn(x,y)}Bu(Fo),iu(Fo,x)}function Ua(){Bu(Fo),Bu(Ya),Bu(Na)}function fl(y){ti(Na.current);var x=ti(Fo.current),V=Sn(x,y.type);x!==V&&(iu(Ya,y),iu(Fo,V))}function Ol(y){Ya.current===y&&(Bu(Fo),Bu(Ya))}var Ba=Ho(0);function mc(y){for(var x=y;x!==null;){if(x.tag===13){var V=x.memoizedState;if(V!==null&&(V=V.dehydrated,V===null||V.data==="$?"||V.data==="$!"))return x}else if(x.tag===19&&x.memoizedProps.revealOrder!==void 0){if(x.flags&128)return x}else if(x.child!==null){x.child.return=x,x=x.child;continue}if(x===y)break;for(;x.sibling===null;){if(x.return===null||x.return===y)return null;x=x.return}x.sibling.return=x.return,x=x.sibling}return null}var Hc=[];function sl(){for(var y=0;y<Hc.length;y++)Hc[y]._workInProgressVersionPrimary=null;Hc.length=0}var _u=Y.ReactCurrentDispatcher,zs=Y.ReactCurrentBatchConfig,Ju=0,Vo=null,Ao=null,ku=null,x0=!1,Ar=!1,yu=0,Zd=0;function Rl(){throw Error(l(321))}function F0(y,x){if(x===null)return!1;for(var V=0;V<x.length&&V<y.length;V++)if(!si(y[V],x[V]))return!1;return!0}function Md(y,x,V,ie,Oe,Je){if(Ju=Je,Vo=x,x.memoizedState=null,x.updateQueue=null,x.lanes=0,_u.current=y===null||y.memoizedState===null?Xd:Lf,y=V(ie,Oe),Ar){Je=0;do{if(Ar=!1,yu=0,25<=Je)throw Error(l(301));Je+=1,ku=Ao=null,x.updateQueue=null,_u.current=Ld,y=V(ie,Oe)}while(Ar)}if(_u.current=ud,x=Ao!==null&&Ao.next!==null,Ju=0,ku=Ao=Vo=null,x0=!1,x)throw Error(l(300));return y}function yf(){var y=yu!==0;return yu=0,y}function ac(){var y={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ku===null?Vo.memoizedState=ku=y:ku=ku.next=y,ku}function Du(){if(Ao===null){var y=Vo.alternate;y=y!==null?y.memoizedState:null}else y=Ao.next;var x=ku===null?Vo.memoizedState:ku.next;if(x!==null)ku=x,Ao=y;else{if(y===null)throw Error(l(310));Ao=y,y={memoizedState:Ao.memoizedState,baseState:Ao.baseState,baseQueue:Ao.baseQueue,queue:Ao.queue,next:null},ku===null?Vo.memoizedState=ku=y:ku=ku.next=y}return ku}function h0(y,x){return typeof x=="function"?x(y):x}function Ll(y){var x=Du(),V=x.queue;if(V===null)throw Error(l(311));V.lastRenderedReducer=y;var ie=Ao,Oe=ie.baseQueue,Je=V.pending;if(Je!==null){if(Oe!==null){var en=Oe.next;Oe.next=Je.next,Je.next=en}ie.baseQueue=Oe=Je,V.pending=null}if(Oe!==null){Je=Oe.next,ie=ie.baseState;var ar=en=null,Lr=null,Ei=Je;do{var ms=Ei.lane;if((Ju&ms)===ms)Lr!==null&&(Lr=Lr.next={lane:0,action:Ei.action,hasEagerState:Ei.hasEagerState,eagerState:Ei.eagerState,next:null}),ie=Ei.hasEagerState?Ei.eagerState:y(ie,Ei.action);else{var vs={lane:ms,action:Ei.action,hasEagerState:Ei.hasEagerState,eagerState:Ei.eagerState,next:null};Lr===null?(ar=Lr=vs,en=ie):Lr=Lr.next=vs,Vo.lanes|=ms,Hl|=ms}Ei=Ei.next}while(Ei!==null&&Ei!==Je);Lr===null?en=ie:Lr.next=ar,si(ie,x.memoizedState)||(Gc=!0),x.memoizedState=ie,x.baseState=en,x.baseQueue=Lr,V.lastRenderedState=ie}if(y=V.interleaved,y!==null){Oe=y;do Je=Oe.lane,Vo.lanes|=Je,Hl|=Je,Oe=Oe.next;while(Oe!==y)}else Oe===null&&(V.lanes=0);return[x.memoizedState,V.dispatch]}function Au(y){var x=Du(),V=x.queue;if(V===null)throw Error(l(311));V.lastRenderedReducer=y;var ie=V.dispatch,Oe=V.pending,Je=x.memoizedState;if(Oe!==null){V.pending=null;var en=Oe=Oe.next;do Je=y(Je,en.action),en=en.next;while(en!==Oe);si(Je,x.memoizedState)||(Gc=!0),x.memoizedState=Je,x.baseQueue===null&&(x.baseState=Je),V.lastRenderedState=Je}return[Je,ie]}function _d(){}function Jl(y,x){var V=Vo,ie=Du(),Oe=x(),Je=!si(ie.memoizedState,Oe);if(Je&&(ie.memoizedState=Oe,Gc=!0),ie=ie.queue,cu(Us.bind(null,V,ie,y),[y]),ie.getSnapshot!==x||Je||ku!==null&&ku.memoizedState.tag&1){if(V.flags|=2048,gs(9,Tc.bind(null,V,ie,Oe,x),void 0,null),tu===null)throw Error(l(349));Ju&30||xi(V,x,Oe)}return Oe}function xi(y,x,V){y.flags|=16384,y={getSnapshot:x,value:V},x=Vo.updateQueue,x===null?(x={lastEffect:null,stores:null},Vo.updateQueue=x,x.stores=[y]):(V=x.stores,V===null?x.stores=[y]:V.push(y))}function Tc(y,x,V,ie){x.value=V,x.getSnapshot=ie,Nf(x)&&yd(y)}function Us(y,x,V){return V(function(){Nf(x)&&yd(y)})}function Nf(y){var x=y.getSnapshot;y=y.value;try{var V=x();return!si(y,V)}catch{return!0}}function yd(y){var x=Zt(y,1);x!==null&&Dd(x,y,1,-1)}function Pf(y){var x=ac();return typeof y=="function"&&(y=y()),x.memoizedState=x.baseState=y,y={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:h0,lastRenderedState:y},x.queue=y,y=y.dispatch=nd.bind(null,Vo,y),[x.memoizedState,y]}function gs(y,x,V,ie){return y={tag:y,create:x,destroy:V,deps:ie,next:null},x=Vo.updateQueue,x===null?(x={lastEffect:null,stores:null},Vo.updateQueue=x,x.lastEffect=y.next=y):(V=x.lastEffect,V===null?x.lastEffect=y.next=y:(ie=V.next,V.next=y,y.next=ie,x.lastEffect=y)),y}function bd(){return Du().memoizedState}function qu(y,x,V,ie){var Oe=ac();Vo.flags|=y,Oe.memoizedState=gs(1|x,V,void 0,ie===void 0?null:ie)}function p0(y,x,V,ie){var Oe=Du();ie=ie===void 0?null:ie;var Je=void 0;if(Ao!==null){var en=Ao.memoizedState;if(Je=en.destroy,ie!==null&&F0(ie,en.deps)){Oe.memoizedState=gs(x,V,Je,ie);return}}Vo.flags|=y,Oe.memoizedState=gs(1|x,V,Je,ie)}function bf(y,x){return qu(8390656,8,y,x)}function cu(y,x){return p0(2048,8,y,x)}function Dt(y,x){return p0(4,2,y,x)}function gc(y,x){return p0(4,4,y,x)}function O0(y,x){if(typeof x=="function")return y=y(),x(y),function(){x(null)};if(x!=null)return y=y(),x.current=y,function(){x.current=null}}function sf(y,x,V){return V=V!=null?V.concat([y]):null,p0(4,4,O0.bind(null,x,y),V)}function Bl(){}function ro(y,x){var V=Du();x=x===void 0?null:x;var ie=V.memoizedState;return ie!==null&&x!==null&&F0(x,ie[1])?ie[0]:(V.memoizedState=[y,x],y)}function Nd(y,x){var V=Du();x=x===void 0?null:x;var ie=V.memoizedState;return ie!==null&&x!==null&&F0(x,ie[1])?ie[0]:(y=y(),V.memoizedState=[y,x],y)}function hl(y,x,V){return Ju&21?(si(V,x)||(V=wn(),Vo.lanes|=V,Hl|=V,y.baseState=!0),x):(y.baseState&&(y.baseState=!1,Gc=!0),y.memoizedState=V)}function zh(y,x){var V=ft;ft=V!==0&&4>V?V:4,y(!0);var ie=zs.transition;zs.transition={};try{y(!1),x()}finally{ft=V,zs.transition=ie}}function Cd(){return Du().memoizedState}function Pd(y,x,V){var ie=ef(y);if(V={lane:ie,action:V,hasEagerState:!1,eagerState:null,next:null},Ca(y))Gu(x,V);else if(V=xt(y,x,V,ie),V!==null){var Oe=v0();Dd(V,y,ie,Oe),vc(V,x,ie)}}function nd(y,x,V){var ie=ef(y),Oe={lane:ie,action:V,hasEagerState:!1,eagerState:null,next:null};if(Ca(y))Gu(x,Oe);else{var Je=y.alternate;if(y.lanes===0&&(Je===null||Je.lanes===0)&&(Je=x.lastRenderedReducer,Je!==null))try{var en=x.lastRenderedState,ar=Je(en,V);if(Oe.hasEagerState=!0,Oe.eagerState=ar,si(ar,en)){var Lr=x.interleaved;Lr===null?(Oe.next=Oe,vt(x)):(Oe.next=Lr.next,Lr.next=Oe),x.interleaved=Oe;return}}catch{}finally{}V=xt(y,x,Oe,ie),V!==null&&(Oe=v0(),Dd(V,y,ie,Oe),vc(V,x,ie))}}function Ca(y){var x=y.alternate;return y===Vo||x!==null&&x===Vo}function Gu(y,x){Ar=x0=!0;var V=y.pending;V===null?x.next=x:(x.next=V.next,V.next=x),y.pending=x}function vc(y,x,V){if(V&4194240){var ie=x.lanes;ie&=y.pendingLanes,V|=ie,x.lanes=V,ot(y,V)}}var ud={readContext:lu,useCallback:Rl,useContext:Rl,useEffect:Rl,useImperativeHandle:Rl,useInsertionEffect:Rl,useLayoutEffect:Rl,useMemo:Rl,useReducer:Rl,useRef:Rl,useState:Rl,useDebugValue:Rl,useDeferredValue:Rl,useTransition:Rl,useMutableSource:Rl,useSyncExternalStore:Rl,useId:Rl,unstable_isNewReconciler:!1},Xd={readContext:lu,useCallback:function(y,x){return ac().memoizedState=[y,x===void 0?null:x],y},useContext:lu,useEffect:bf,useImperativeHandle:function(y,x,V){return V=V!=null?V.concat([y]):null,qu(4194308,4,O0.bind(null,x,y),V)},useLayoutEffect:function(y,x){return qu(4194308,4,y,x)},useInsertionEffect:function(y,x){return qu(4,2,y,x)},useMemo:function(y,x){var V=ac();return x=x===void 0?null:x,y=y(),V.memoizedState=[y,x],y},useReducer:function(y,x,V){var ie=ac();return x=V!==void 0?V(x):x,ie.memoizedState=ie.baseState=x,y={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:y,lastRenderedState:x},ie.queue=y,y=y.dispatch=Pd.bind(null,Vo,y),[ie.memoizedState,y]},useRef:function(y){var x=ac();return y={current:y},x.memoizedState=y},useState:Pf,useDebugValue:Bl,useDeferredValue:function(y){return ac().memoizedState=y},useTransition:function(){var y=Pf(!1),x=y[0];return y=zh.bind(null,y[1]),ac().memoizedState=y,[x,y]},useMutableSource:function(){},useSyncExternalStore:function(y,x,V){var ie=Vo,Oe=ac();if(Sr){if(V===void 0)throw Error(l(407));V=V()}else{if(V=x(),tu===null)throw Error(l(349));Ju&30||xi(ie,x,V)}Oe.memoizedState=V;var Je={value:V,getSnapshot:x};return Oe.queue=Je,bf(Us.bind(null,ie,Je,y),[y]),ie.flags|=2048,gs(9,Tc.bind(null,ie,Je,V,x),void 0,null),V},useId:function(){var y=ac(),x=tu.identifierPrefix;if(Sr){var V=n0,ie=pc;V=(ie&~(1<<32-In(ie)-1)).toString(32)+V,x=":"+x+"R"+V,V=yu++,0<V&&(x+="H"+V.toString(32)),x+=":"}else V=Zd++,x=":"+x+"r"+V.toString(32)+":";return y.memoizedState=x},unstable_isNewReconciler:!1},Lf={readContext:lu,useCallback:ro,useContext:lu,useEffect:cu,useImperativeHandle:sf,useInsertionEffect:Dt,useLayoutEffect:gc,useMemo:Nd,useReducer:Ll,useRef:bd,useState:function(){return Ll(h0)},useDebugValue:Bl,useDeferredValue:function(y){var x=Du();return hl(x,Ao.memoizedState,y)},useTransition:function(){var y=Ll(h0)[0],x=Du().memoizedState;return[y,x]},useMutableSource:_d,useSyncExternalStore:Jl,useId:Cd,unstable_isNewReconciler:!1},Ld={readContext:lu,useCallback:ro,useContext:lu,useEffect:cu,useImperativeHandle:sf,useInsertionEffect:Dt,useLayoutEffect:gc,useMemo:Nd,useReducer:Au,useRef:bd,useState:function(){return Au(h0)},useDebugValue:Bl,useDeferredValue:function(y){var x=Du();return Ao===null?x.memoizedState=y:hl(x,Ao.memoizedState,y)},useTransition:function(){var y=Au(h0)[0],x=Du().memoizedState;return[y,x]},useMutableSource:_d,useSyncExternalStore:Jl,useId:Cd,unstable_isNewReconciler:!1};function K0(y,x){try{var V="",ie=x;do V+=Ne(ie),ie=ie.return;while(ie);var Oe=V}catch(Je){Oe=`
Error generating stack: `+Je.message+`
`+Je.stack}return{value:y,source:x,stack:Oe,digest:null}}function af(y,x,V){return{value:y,source:null,stack:V??null,digest:x??null}}function Y0(y,x){try{console.error(x.value)}catch(V){setTimeout(function(){throw V})}}var rd=typeof WeakMap=="function"?WeakMap:Map;function r0(y,x,V){V=Qt(-1,V),V.tag=3,V.payload={element:null};var ie=x.value;return V.callback=function(){ja||(ja=!0,Fa=ie),Y0(y,x)},V}function Bd(y,x,V){V=Qt(-1,V),V.tag=3;var ie=y.type.getDerivedStateFromError;if(typeof ie=="function"){var Oe=x.value;V.payload=function(){return ie(Oe)},V.callback=function(){Y0(y,x)}}var Je=y.stateNode;return Je!==null&&typeof Je.componentDidCatch=="function"&&(V.callback=function(){Y0(y,x),typeof ie!="function"&&(xo===null?xo=new Set([this]):xo.add(this));var en=x.stack;this.componentDidCatch(x.value,{componentStack:en!==null?en:""})}),V}function Co(y,x,V){var ie=y.pingCache;if(ie===null){ie=y.pingCache=new rd;var Oe=new Set;ie.set(x,Oe)}else Oe=ie.get(x),Oe===void 0&&(Oe=new Set,ie.set(x,Oe));Oe.has(V)||(Oe.add(V),y=Yh.bind(null,y,x,V),x.then(y,y))}function Jf(y){do{var x;if((x=y.tag===13)&&(x=y.memoizedState,x=x!==null?x.dehydrated!==null:!0),x)return y;y=y.return}while(y!==null);return null}function qf(y,x,V,ie,Oe){return y.mode&1?(y.flags|=65536,y.lanes=Oe,y):(y===x?y.flags|=65536:(y.flags|=128,V.flags|=131072,V.flags&=-52805,V.tag===1&&(V.alternate===null?V.tag=17:(x=Qt(-1,1),x.tag=2,Bn(V,x,1))),V.lanes|=1),y)}var yl=Y.ReactCurrentOwner,Gc=!1;function ql(y,x,V,ie){x.child=y===null?Bo(x,null,V,ie):ho(x,y.child,V,ie)}function Jd(y,x,V,ie,Oe){V=V.render;var Je=x.ref;return yo(x,Oe),ie=Md(y,x,V,ie,Je,Oe),V=yf(),y!==null&&!Gc?(x.updateQueue=y.updateQueue,x.flags&=-2053,y.lanes&=~Oe,U0(y,x,Oe)):(Sr&&V&&pn(x),x.flags|=1,ql(y,x,ie,Oe),x.child)}function R0(y,x,V,ie,Oe){if(y===null){var Je=V.type;return typeof Je=="function"&&!bh(Je)&&Je.defaultProps===void 0&&V.compare===null&&V.defaultProps===void 0?(x.tag=15,x.type=Je,of(y,x,Je,ie,Oe)):(y=Qh(V.type,null,ie,x,x.mode,Oe),y.ref=x.ref,y.return=x,x.child=y)}if(Je=y.child,!(y.lanes&Oe)){var en=Je.memoizedProps;if(V=V.compare,V=V!==null?V:Yi,V(en,ie)&&y.ref===x.ref)return U0(y,x,Oe)}return x.flags|=1,y=ff(Je,ie),y.ref=x.ref,y.return=x,x.child=y}function of(y,x,V,ie,Oe){if(y!==null){var Je=y.memoizedProps;if(Yi(Je,ie)&&y.ref===x.ref)if(Gc=!1,x.pendingProps=ie=Je,(y.lanes&Oe)!==0)y.flags&131072&&(Gc=!0);else return x.lanes=y.lanes,U0(y,x,Oe)}return id(y,x,V,ie,Oe)}function Rs(y,x,V){var ie=x.pendingProps,Oe=ie.children,Je=y!==null?y.memoizedState:null;if(ie.mode==="hidden")if(!(x.mode&1))x.memoizedState={baseLanes:0,cachePool:null,transitions:null},iu(g0,Ec),Ec|=V;else{if(!(V&1073741824))return y=Je!==null?Je.baseLanes|V:V,x.lanes=x.childLanes=1073741824,x.memoizedState={baseLanes:y,cachePool:null,transitions:null},x.updateQueue=null,iu(g0,Ec),Ec|=y,null;x.memoizedState={baseLanes:0,cachePool:null,transitions:null},ie=Je!==null?Je.baseLanes:V,iu(g0,Ec),Ec|=ie}else Je!==null?(ie=Je.baseLanes|V,x.memoizedState=null):ie=V,iu(g0,Ec),Ec|=ie;return ql(y,x,Oe,V),x.child}function Bf(y,x){var V=x.ref;(y===null&&V!==null||y!==null&&y.ref!==V)&&(x.flags|=512,x.flags|=2097152)}function id(y,x,V,ie,Oe){var Je=il(V)?$c:_l.current;return Je=hc(x,Je),yo(x,Oe),V=Md(y,x,V,ie,Je,Oe),ie=yf(),y!==null&&!Gc?(x.updateQueue=y.updateQueue,x.flags&=-2053,y.lanes&=~Oe,U0(y,x,Oe)):(Sr&&ie&&pn(x),x.flags|=1,ql(y,x,V,Oe),x.child)}function Fd(y,x,V,ie,Oe){if(il(V)){var Je=!0;t0(x)}else Je=!1;if(yo(x,Oe),x.stateNode===null)bl(y,x),Qs(x,V,ie),ks(x,V,ie,Oe),ie=!0;else if(y===null){var en=x.stateNode,ar=x.memoizedProps;en.props=ar;var Lr=en.context,Ei=V.contextType;typeof Ei=="object"&&Ei!==null?Ei=lu(Ei):(Ei=il(V)?$c:_l.current,Ei=hc(x,Ei));var ms=V.getDerivedStateFromProps,vs=typeof ms=="function"||typeof en.getSnapshotBeforeUpdate=="function";vs||typeof en.UNSAFE_componentWillReceiveProps!="function"&&typeof en.componentWillReceiveProps!="function"||(ar!==ie||Lr!==Ei)&&Js(x,en,ie,Ei),He=!1;var ps=x.memoizedState;en.state=ps,Er(x,ie,en,Oe),Lr=x.memoizedState,ar!==ie||ps!==Lr||Nl.current||He?(typeof ms=="function"&&(Wi(x,V,ms,ie),Lr=x.memoizedState),(ar=He||Zi(x,V,ar,ie,ps,Lr,Ei))?(vs||typeof en.UNSAFE_componentWillMount!="function"&&typeof en.componentWillMount!="function"||(typeof en.componentWillMount=="function"&&en.componentWillMount(),typeof en.UNSAFE_componentWillMount=="function"&&en.UNSAFE_componentWillMount()),typeof en.componentDidMount=="function"&&(x.flags|=4194308)):(typeof en.componentDidMount=="function"&&(x.flags|=4194308),x.memoizedProps=ie,x.memoizedState=Lr),en.props=ie,en.state=Lr,en.context=Ei,ie=ar):(typeof en.componentDidMount=="function"&&(x.flags|=4194308),ie=!1)}else{en=x.stateNode,Xn(y,x),ar=x.memoizedProps,Ei=x.type===x.elementType?ar:$s(x.type,ar),en.props=Ei,vs=x.pendingProps,ps=en.context,Lr=V.contextType,typeof Lr=="object"&&Lr!==null?Lr=lu(Lr):(Lr=il(V)?$c:_l.current,Lr=hc(x,Lr));var va=V.getDerivedStateFromProps;(ms=typeof va=="function"||typeof en.getSnapshotBeforeUpdate=="function")||typeof en.UNSAFE_componentWillReceiveProps!="function"&&typeof en.componentWillReceiveProps!="function"||(ar!==vs||ps!==Lr)&&Js(x,en,ie,Lr),He=!1,ps=x.memoizedState,en.state=ps,Er(x,ie,en,Oe);var Pa=x.memoizedState;ar!==vs||ps!==Pa||Nl.current||He?(typeof va=="function"&&(Wi(x,V,va,ie),Pa=x.memoizedState),(Ei=He||Zi(x,V,Ei,ie,ps,Pa,Lr)||!1)?(ms||typeof en.UNSAFE_componentWillUpdate!="function"&&typeof en.componentWillUpdate!="function"||(typeof en.componentWillUpdate=="function"&&en.componentWillUpdate(ie,Pa,Lr),typeof en.UNSAFE_componentWillUpdate=="function"&&en.UNSAFE_componentWillUpdate(ie,Pa,Lr)),typeof en.componentDidUpdate=="function"&&(x.flags|=4),typeof en.getSnapshotBeforeUpdate=="function"&&(x.flags|=1024)):(typeof en.componentDidUpdate!="function"||ar===y.memoizedProps&&ps===y.memoizedState||(x.flags|=4),typeof en.getSnapshotBeforeUpdate!="function"||ar===y.memoizedProps&&ps===y.memoizedState||(x.flags|=1024),x.memoizedProps=ie,x.memoizedState=Pa),en.props=ie,en.state=Pa,en.context=Lr,ie=Ei):(typeof en.componentDidUpdate!="function"||ar===y.memoizedProps&&ps===y.memoizedState||(x.flags|=4),typeof en.getSnapshotBeforeUpdate!="function"||ar===y.memoizedProps&&ps===y.memoizedState||(x.flags|=1024),ie=!1)}return uf(y,x,V,ie,Je,Oe)}function uf(y,x,V,ie,Oe,Je){Bf(y,x);var en=(x.flags&128)!==0;if(!ie&&!en)return Oe&&Pl(x,V,!1),U0(y,x,Je);ie=x.stateNode,yl.current=x;var ar=en&&typeof V.getDerivedStateFromError!="function"?null:ie.render();return x.flags|=1,y!==null&&en?(x.child=ho(x,y.child,null,Je),x.child=ho(x,null,ar,Je)):ql(y,x,ar,Je),x.memoizedState=ie.state,Oe&&Pl(x,V,!0),x.child}function Ff(y){var x=y.stateNode;x.pendingContext?Wc(y,x.pendingContext,x.pendingContext!==x.context):x.context&&Wc(y,x.context,!1),ra(y,x.containerInfo)}function kf(y,x,V,ie,Oe){return ds(),Gs(Oe),x.flags|=256,ql(y,x,V,ie),x.child}var Sd={dehydrated:null,treeContext:null,retryLane:0};function qd(y){return{baseLanes:y,cachePool:null,transitions:null}}function du(y,x,V){var ie=x.pendingProps,Oe=Ba.current,Je=!1,en=(x.flags&128)!==0,ar;if((ar=en)||(ar=y!==null&&y.memoizedState===null?!1:(Oe&2)!==0),ar?(Je=!0,x.flags&=-129):(y===null||y.memoizedState!==null)&&(Oe|=1),iu(Ba,Oe&1),y===null)return Fi(x),y=x.memoizedState,y!==null&&(y=y.dehydrated,y!==null)?(x.mode&1?y.data==="$!"?x.lanes=8:x.lanes=1073741824:x.lanes=1,null):(en=ie.children,y=ie.fallback,Je?(ie=x.mode,Je=x.child,en={mode:"hidden",children:en},!(ie&1)&&Je!==null?(Je.childLanes=0,Je.pendingProps=en):Je=Zh(en,ie,0,null),y=Tf(y,ie,V,null),Je.return=x,y.return=x,Je.sibling=y,x.child=Je,x.child.memoizedState=qd(V),x.memoizedState=Sd,y):k0(x,en));if(Oe=y.memoizedState,Oe!==null&&(ar=Oe.dehydrated,ar!==null))return vi(y,x,en,ie,ar,Oe,V);if(Je){Je=ie.fallback,en=x.mode,Oe=y.child,ar=Oe.sibling;var Lr={mode:"hidden",children:ie.children};return!(en&1)&&x.child!==Oe?(ie=x.child,ie.childLanes=0,ie.pendingProps=Lr,x.deletions=null):(ie=ff(Oe,Lr),ie.subtreeFlags=Oe.subtreeFlags&14680064),ar!==null?Je=ff(ar,Je):(Je=Tf(Je,en,V,null),Je.flags|=2),Je.return=x,ie.return=x,ie.sibling=Je,x.child=ie,ie=Je,Je=x.child,en=y.child.memoizedState,en=en===null?qd(V):{baseLanes:en.baseLanes|V,cachePool:null,transitions:en.transitions},Je.memoizedState=en,Je.childLanes=y.childLanes&~V,x.memoizedState=Sd,ie}return Je=y.child,y=Je.sibling,ie=ff(Je,{mode:"visible",children:ie.children}),!(x.mode&1)&&(ie.lanes=V),ie.return=x,ie.sibling=null,y!==null&&(V=x.deletions,V===null?(x.deletions=[y],x.flags|=16):V.push(y)),x.child=ie,x.memoizedState=null,ie}function k0(y,x){return x=Zh({mode:"visible",children:x},y.mode,0,null),x.return=y,y.child=x}function ld(y,x,V,ie){return ie!==null&&Gs(ie),ho(x,y.child,null,V),y=k0(x,x.pendingProps.children),y.flags|=2,x.memoizedState=null,y}function vi(y,x,V,ie,Oe,Je,en){if(V)return x.flags&256?(x.flags&=-257,ie=af(Error(l(422))),ld(y,x,en,ie)):x.memoizedState!==null?(x.child=y.child,x.flags|=128,null):(Je=ie.fallback,Oe=x.mode,ie=Zh({mode:"visible",children:ie.children},Oe,0,null),Je=Tf(Je,Oe,en,null),Je.flags|=2,ie.return=x,Je.return=x,ie.sibling=Je,x.child=ie,x.mode&1&&ho(x,y.child,null,en),x.child.memoizedState=qd(en),x.memoizedState=Sd,Je);if(!(x.mode&1))return ld(y,x,en,null);if(Oe.data==="$!"){if(ie=Oe.nextSibling&&Oe.nextSibling.dataset,ie)var ar=ie.dgst;return ie=ar,Je=Error(l(419)),ie=af(Je,ie,void 0),ld(y,x,en,ie)}if(ar=(en&y.childLanes)!==0,Gc||ar){if(ie=tu,ie!==null){switch(en&-en){case 4:Oe=2;break;case 16:Oe=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:Oe=32;break;case 536870912:Oe=268435456;break;default:Oe=0}Oe=Oe&(ie.suspendedLanes|en)?0:Oe,Oe!==0&&Oe!==Je.retryLane&&(Je.retryLane=Oe,Zt(y,Oe),Dd(ie,y,Oe,-1))}return rh(),ie=af(Error(l(421))),ld(y,x,en,ie)}return Oe.data==="$?"?(x.flags|=128,x.child=y.child,x=Jp.bind(null,y),Oe._reactRetry=x,null):(y=Je.treeContext,fr=Al(Oe.nextSibling),Kn=x,Sr=!0,br=null,y!==null&&(xa[Fu++]=pc,xa[Fu++]=n0,xa[Fu++]=na,pc=y.id,n0=y.overflow,na=x),x=k0(x,ie.children),x.flags|=4096,x)}function cd(y,x,V){y.lanes|=x;var ie=y.alternate;ie!==null&&(ie.lanes|=x),uo(y.return,x,V)}function kd(y,x,V,ie,Oe){var Je=y.memoizedState;Je===null?y.memoizedState={isBackwards:x,rendering:null,renderingStartTime:0,last:ie,tail:V,tailMode:Oe}:(Je.isBackwards=x,Je.rendering=null,Je.renderingStartTime=0,Je.last=ie,Je.tail=V,Je.tailMode=Oe)}function eh(y,x,V){var ie=x.pendingProps,Oe=ie.revealOrder,Je=ie.tail;if(ql(y,x,ie.children,V),ie=Ba.current,ie&2)ie=ie&1|2,x.flags|=128;else{if(y!==null&&y.flags&128)e:for(y=x.child;y!==null;){if(y.tag===13)y.memoizedState!==null&&cd(y,V,x);else if(y.tag===19)cd(y,V,x);else if(y.child!==null){y.child.return=y,y=y.child;continue}if(y===x)break e;for(;y.sibling===null;){if(y.return===null||y.return===x)break e;y=y.return}y.sibling.return=y.return,y=y.sibling}ie&=1}if(iu(Ba,ie),!(x.mode&1))x.memoizedState=null;else switch(Oe){case"forwards":for(V=x.child,Oe=null;V!==null;)y=V.alternate,y!==null&&mc(y)===null&&(Oe=V),V=V.sibling;V=Oe,V===null?(Oe=x.child,x.child=null):(Oe=V.sibling,V.sibling=null),kd(x,!1,Oe,V,Je);break;case"backwards":for(V=null,Oe=x.child,x.child=null;Oe!==null;){if(y=Oe.alternate,y!==null&&mc(y)===null){x.child=Oe;break}y=Oe.sibling,Oe.sibling=V,V=Oe,Oe=y}kd(x,!0,V,null,Je);break;case"together":kd(x,!1,null,null,void 0);break;default:x.memoizedState=null}return x.child}function bl(y,x){!(x.mode&1)&&y!==null&&(y.alternate=null,x.alternate=null,x.flags|=2)}function U0(y,x,V){if(y!==null&&(x.dependencies=y.dependencies),Hl|=x.lanes,!(V&x.childLanes))return null;if(y!==null&&x.child!==y.child)throw Error(l(153));if(x.child!==null){for(y=x.child,V=ff(y,y.pendingProps),x.child=V,V.return=x;y.sibling!==null;)y=y.sibling,V=V.sibling=ff(y,y.pendingProps),V.return=x;V.sibling=null}return x.child}function tt(y,x,V){switch(x.tag){case 3:Ff(x),ds();break;case 5:fl(x);break;case 1:il(x.type)&&t0(x);break;case 4:ra(x,x.stateNode.containerInfo);break;case 10:var ie=x.type._context,Oe=x.memoizedProps.value;iu(oa,ie._currentValue),ie._currentValue=Oe;break;case 13:if(ie=x.memoizedState,ie!==null)return ie.dehydrated!==null?(iu(Ba,Ba.current&1),x.flags|=128,null):V&x.child.childLanes?du(y,x,V):(iu(Ba,Ba.current&1),y=U0(y,x,V),y!==null?y.sibling:null);iu(Ba,Ba.current&1);break;case 19:if(ie=(V&x.childLanes)!==0,y.flags&128){if(ie)return eh(y,x,V);x.flags|=128}if(Oe=x.memoizedState,Oe!==null&&(Oe.rendering=null,Oe.tail=null,Oe.lastEffect=null),iu(Ba,Ba.current),ie)break;return null;case 22:case 23:return x.lanes=0,Rs(y,x,V)}return U0(y,x,V)}var hn,Yn,h,b;hn=function(y,x){for(var V=x.child;V!==null;){if(V.tag===5||V.tag===6)y.appendChild(V.stateNode);else if(V.tag!==4&&V.child!==null){V.child.return=V,V=V.child;continue}if(V===x)break;for(;V.sibling===null;){if(V.return===null||V.return===x)return;V=V.return}V.sibling.return=V.return,V=V.sibling}},Yn=function(){},h=function(y,x,V,ie){var Oe=y.memoizedProps;if(Oe!==ie){y=x.stateNode,ti(Fo.current);var Je=null;switch(V){case"input":Oe=St(y,Oe),ie=St(y,ie),Je=[];break;case"select":Oe=Ge({},Oe,{value:void 0}),ie=Ge({},ie,{value:void 0}),Je=[];break;case"textarea":Oe=wr(y,Oe),ie=wr(y,ie),Je=[];break;default:typeof Oe.onClick!="function"&&typeof ie.onClick=="function"&&(y.onclick=Tu)}xe(V,ie);var en;V=null;for(Ei in Oe)if(!ie.hasOwnProperty(Ei)&&Oe.hasOwnProperty(Ei)&&Oe[Ei]!=null)if(Ei==="style"){var ar=Oe[Ei];for(en in ar)ar.hasOwnProperty(en)&&(V||(V={}),V[en]="")}else Ei!=="dangerouslySetInnerHTML"&&Ei!=="children"&&Ei!=="suppressContentEditableWarning"&&Ei!=="suppressHydrationWarning"&&Ei!=="autoFocus"&&(v.hasOwnProperty(Ei)?Je||(Je=[]):(Je=Je||[]).push(Ei,null));for(Ei in ie){var Lr=ie[Ei];if(ar=Oe?.[Ei],ie.hasOwnProperty(Ei)&&Lr!==ar&&(Lr!=null||ar!=null))if(Ei==="style")if(ar){for(en in ar)!ar.hasOwnProperty(en)||Lr&&Lr.hasOwnProperty(en)||(V||(V={}),V[en]="");for(en in Lr)Lr.hasOwnProperty(en)&&ar[en]!==Lr[en]&&(V||(V={}),V[en]=Lr[en])}else V||(Je||(Je=[]),Je.push(Ei,V)),V=Lr;else Ei==="dangerouslySetInnerHTML"?(Lr=Lr?Lr.__html:void 0,ar=ar?ar.__html:void 0,Lr!=null&&ar!==Lr&&(Je=Je||[]).push(Ei,Lr)):Ei==="children"?typeof Lr!="string"&&typeof Lr!="number"||(Je=Je||[]).push(Ei,""+Lr):Ei!=="suppressContentEditableWarning"&&Ei!=="suppressHydrationWarning"&&(v.hasOwnProperty(Ei)?(Lr!=null&&Ei==="onScroll"&&Do("scroll",y),Je||ar===Lr||(Je=[])):(Je=Je||[]).push(Ei,Lr))}V&&(Je=Je||[]).push("style",V);var Ei=Je;(x.updateQueue=Ei)&&(x.flags|=4)}},b=function(y,x,V,ie){V!==ie&&(x.flags|=4)};function F(y,x){if(!Sr)switch(y.tailMode){case"hidden":x=y.tail;for(var V=null;x!==null;)x.alternate!==null&&(V=x),x=x.sibling;V===null?y.tail=null:V.sibling=null;break;case"collapsed":V=y.tail;for(var ie=null;V!==null;)V.alternate!==null&&(ie=V),V=V.sibling;ie===null?x||y.tail===null?y.tail=null:y.tail.sibling=null:ie.sibling=null}}function k(y){var x=y.alternate!==null&&y.alternate.child===y.child,V=0,ie=0;if(x)for(var Oe=y.child;Oe!==null;)V|=Oe.lanes|Oe.childLanes,ie|=Oe.subtreeFlags&14680064,ie|=Oe.flags&14680064,Oe.return=y,Oe=Oe.sibling;else for(Oe=y.child;Oe!==null;)V|=Oe.lanes|Oe.childLanes,ie|=Oe.subtreeFlags,ie|=Oe.flags,Oe.return=y,Oe=Oe.sibling;return y.subtreeFlags|=ie,y.childLanes=V,x}function G(y,x,V){var ie=x.pendingProps;switch(Tn(x),x.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return k(x),null;case 1:return il(x.type)&&V0(),k(x),null;case 3:return ie=x.stateNode,Ua(),Bu(Nl),Bu(_l),sl(),ie.pendingContext&&(ie.context=ie.pendingContext,ie.pendingContext=null),(y===null||y.child===null)&&(Ni(x)?x.flags|=4:y===null||y.memoizedState.isDehydrated&&!(x.flags&256)||(x.flags|=1024,br!==null&&(sd(br),br=null))),Yn(y,x),k(x),null;case 5:Ol(x);var Oe=ti(Na.current);if(V=x.type,y!==null&&x.stateNode!=null)h(y,x,V,ie,Oe),y.ref!==x.ref&&(x.flags|=512,x.flags|=2097152);else{if(!ie){if(x.stateNode===null)throw Error(l(166));return k(x),null}if(y=ti(Fo.current),Ni(x)){ie=x.stateNode,V=x.type;var Je=x.memoizedProps;switch(ie[eo]=x,ie[sc]=Je,y=(x.mode&1)!==0,V){case"dialog":Do("cancel",ie),Do("close",ie);break;case"iframe":case"object":case"embed":Do("load",ie);break;case"video":case"audio":for(Oe=0;Oe<Ra.length;Oe++)Do(Ra[Oe],ie);break;case"source":Do("error",ie);break;case"img":case"image":case"link":Do("error",ie),Do("load",ie);break;case"details":Do("toggle",ie);break;case"input":Xt(ie,Je),Do("invalid",ie);break;case"select":ie._wrapperState={wasMultiple:!!Je.multiple},Do("invalid",ie);break;case"textarea":Jn(ie,Je),Do("invalid",ie)}xe(V,Je),Oe=null;for(var en in Je)if(Je.hasOwnProperty(en)){var ar=Je[en];en==="children"?typeof ar=="string"?ie.textContent!==ar&&(Je.suppressHydrationWarning!==!0&&vu(ie.textContent,ar,y),Oe=["children",ar]):typeof ar=="number"&&ie.textContent!==""+ar&&(Je.suppressHydrationWarning!==!0&&vu(ie.textContent,ar,y),Oe=["children",""+ar]):v.hasOwnProperty(en)&&ar!=null&&en==="onScroll"&&Do("scroll",ie)}switch(V){case"input":_t(ie),dt(ie,Je,!0);break;case"textarea":_t(ie),or(ie);break;case"select":case"option":break;default:typeof Je.onClick=="function"&&(ie.onclick=Tu)}ie=Oe,x.updateQueue=ie,ie!==null&&(x.flags|=4)}else{en=Oe.nodeType===9?Oe:Oe.ownerDocument,y==="http://www.w3.org/1999/xhtml"&&(y=bn(V)),y==="http://www.w3.org/1999/xhtml"?V==="script"?(y=en.createElement("div"),y.innerHTML="<script><\/script>",y=y.removeChild(y.firstChild)):typeof ie.is=="string"?y=en.createElement(V,{is:ie.is}):(y=en.createElement(V),V==="select"&&(en=y,ie.multiple?en.multiple=!0:ie.size&&(en.size=ie.size))):y=en.createElementNS(y,V),y[eo]=x,y[sc]=ie,hn(y,x,!1,!1),x.stateNode=y;e:{switch(en=Re(V,ie),V){case"dialog":Do("cancel",y),Do("close",y),Oe=ie;break;case"iframe":case"object":case"embed":Do("load",y),Oe=ie;break;case"video":case"audio":for(Oe=0;Oe<Ra.length;Oe++)Do(Ra[Oe],y);Oe=ie;break;case"source":Do("error",y),Oe=ie;break;case"img":case"image":case"link":Do("error",y),Do("load",y),Oe=ie;break;case"details":Do("toggle",y),Oe=ie;break;case"input":Xt(y,ie),Oe=St(y,ie),Do("invalid",y);break;case"option":Oe=ie;break;case"select":y._wrapperState={wasMultiple:!!ie.multiple},Oe=Ge({},ie,{value:void 0}),Do("invalid",y);break;case"textarea":Jn(y,ie),Oe=wr(y,ie),Do("invalid",y);break;default:Oe=ie}xe(V,Oe),ar=Oe;for(Je in ar)if(ar.hasOwnProperty(Je)){var Lr=ar[Je];Je==="style"?Ye(y,Lr):Je==="dangerouslySetInnerHTML"?(Lr=Lr?Lr.__html:void 0,Lr!=null&&er(y,Lr)):Je==="children"?typeof Lr=="string"?(V!=="textarea"||Lr!=="")&&an(y,Lr):typeof Lr=="number"&&an(y,""+Lr):Je!=="suppressContentEditableWarning"&&Je!=="suppressHydrationWarning"&&Je!=="autoFocus"&&(v.hasOwnProperty(Je)?Lr!=null&&Je==="onScroll"&&Do("scroll",y):Lr!=null&&K(y,Je,Lr,en))}switch(V){case"input":_t(y),dt(y,ie,!1);break;case"textarea":_t(y),or(y);break;case"option":ie.value!=null&&y.setAttribute("value",""+bt(ie.value));break;case"select":y.multiple=!!ie.multiple,Je=ie.value,Je!=null?cr(y,!!ie.multiple,Je,!1):ie.defaultValue!=null&&cr(y,!!ie.multiple,ie.defaultValue,!0);break;default:typeof Oe.onClick=="function"&&(y.onclick=Tu)}switch(V){case"button":case"input":case"select":case"textarea":ie=!!ie.autoFocus;break e;case"img":ie=!0;break e;default:ie=!1}}ie&&(x.flags|=4)}x.ref!==null&&(x.flags|=512,x.flags|=2097152)}return k(x),null;case 6:if(y&&x.stateNode!=null)b(y,x,y.memoizedProps,ie);else{if(typeof ie!="string"&&x.stateNode===null)throw Error(l(166));if(V=ti(Na.current),ti(Fo.current),Ni(x)){if(ie=x.stateNode,V=x.memoizedProps,ie[eo]=x,(Je=ie.nodeValue!==V)&&(y=Kn,y!==null))switch(y.tag){case 3:vu(ie.nodeValue,V,(y.mode&1)!==0);break;case 5:y.memoizedProps.suppressHydrationWarning!==!0&&vu(ie.nodeValue,V,(y.mode&1)!==0)}Je&&(x.flags|=4)}else ie=(V.nodeType===9?V:V.ownerDocument).createTextNode(ie),ie[eo]=x,x.stateNode=ie}return k(x),null;case 13:if(Bu(Ba),ie=x.memoizedState,y===null||y.memoizedState!==null&&y.memoizedState.dehydrated!==null){if(Sr&&fr!==null&&x.mode&1&&!(x.flags&128))Ds(),ds(),x.flags|=98560,Je=!1;else if(Je=Ni(x),ie!==null&&ie.dehydrated!==null){if(y===null){if(!Je)throw Error(l(318));if(Je=x.memoizedState,Je=Je!==null?Je.dehydrated:null,!Je)throw Error(l(317));Je[eo]=x}else ds(),!(x.flags&128)&&(x.memoizedState=null),x.flags|=4;k(x),Je=!1}else br!==null&&(sd(br),br=null),Je=!0;if(!Je)return x.flags&65536?x:null}return x.flags&128?(x.lanes=V,x):(ie=ie!==null,ie!==(y!==null&&y.memoizedState!==null)&&ie&&(x.child.flags|=8192,x.mode&1&&(y===null||Ba.current&1?pu===0&&(pu=3):rh())),x.updateQueue!==null&&(x.flags|=4),k(x),null);case 4:return Ua(),Yn(y,x),y===null&&nl(x.stateNode.containerInfo),k(x),null;case 10:return su(x.type._context),k(x),null;case 17:return il(x.type)&&V0(),k(x),null;case 19:if(Bu(Ba),Je=x.memoizedState,Je===null)return k(x),null;if(ie=(x.flags&128)!==0,en=Je.rendering,en===null)if(ie)F(Je,!1);else{if(pu!==0||y!==null&&y.flags&128)for(y=x.child;y!==null;){if(en=mc(y),en!==null){for(x.flags|=128,F(Je,!1),ie=en.updateQueue,ie!==null&&(x.updateQueue=ie,x.flags|=4),x.subtreeFlags=0,ie=V,V=x.child;V!==null;)Je=V,y=ie,Je.flags&=14680066,en=Je.alternate,en===null?(Je.childLanes=0,Je.lanes=y,Je.child=null,Je.subtreeFlags=0,Je.memoizedProps=null,Je.memoizedState=null,Je.updateQueue=null,Je.dependencies=null,Je.stateNode=null):(Je.childLanes=en.childLanes,Je.lanes=en.lanes,Je.child=en.child,Je.subtreeFlags=0,Je.deletions=null,Je.memoizedProps=en.memoizedProps,Je.memoizedState=en.memoizedState,Je.updateQueue=en.updateQueue,Je.type=en.type,y=en.dependencies,Je.dependencies=y===null?null:{lanes:y.lanes,firstContext:y.firstContext}),V=V.sibling;return iu(Ba,Ba.current&1|2),x.child}y=y.sibling}Je.tail!==null&&Tt()>Pi&&(x.flags|=128,ie=!0,F(Je,!1),x.lanes=4194304)}else{if(!ie)if(y=mc(en),y!==null){if(x.flags|=128,ie=!0,V=y.updateQueue,V!==null&&(x.updateQueue=V,x.flags|=4),F(Je,!0),Je.tail===null&&Je.tailMode==="hidden"&&!en.alternate&&!Sr)return k(x),null}else 2*Tt()-Je.renderingStartTime>Pi&&V!==1073741824&&(x.flags|=128,ie=!0,F(Je,!1),x.lanes=4194304);Je.isBackwards?(en.sibling=x.child,x.child=en):(V=Je.last,V!==null?V.sibling=en:x.child=en,Je.last=en)}return Je.tail!==null?(x=Je.tail,Je.rendering=x,Je.tail=x.sibling,Je.renderingStartTime=Tt(),x.sibling=null,V=Ba.current,iu(Ba,ie?V&1|2:V&1),x):(k(x),null);case 22:case 23:return jo(),ie=x.memoizedState!==null,y!==null&&y.memoizedState!==null!==ie&&(x.flags|=8192),ie&&x.mode&1?Ec&1073741824&&(k(x),x.subtreeFlags&6&&(x.flags|=8192)):k(x),null;case 24:return null;case 25:return null}throw Error(l(156,x.tag))}function ae(y,x){switch(Tn(x),x.tag){case 1:return il(x.type)&&V0(),y=x.flags,y&65536?(x.flags=y&-65537|128,x):null;case 3:return Ua(),Bu(Nl),Bu(_l),sl(),y=x.flags,y&65536&&!(y&128)?(x.flags=y&-65537|128,x):null;case 5:return Ol(x),null;case 13:if(Bu(Ba),y=x.memoizedState,y!==null&&y.dehydrated!==null){if(x.alternate===null)throw Error(l(340));ds()}return y=x.flags,y&65536?(x.flags=y&-65537|128,x):null;case 19:return Bu(Ba),null;case 4:return Ua(),null;case 10:return su(x.type._context),null;case 22:case 23:return jo(),null;case 24:return null;default:return null}}var De=!1,Xe=!1,lt=typeof WeakSet=="function"?WeakSet:Set,it=null;function Rn(y,x){var V=y.ref;if(V!==null)if(typeof V=="function")try{V(null)}catch(ie){_c(y,x,ie)}else V.current=null}function Zn(y,x,V){try{V()}catch(ie){_c(y,x,ie)}}var Fr=!1;function Tr(y,x){if(vl=as,y=Aa(),Es(y)){if("selectionStart"in y)var V={start:y.selectionStart,end:y.selectionEnd};else e:{V=(V=y.ownerDocument)&&V.defaultView||window;var ie=V.getSelection&&V.getSelection();if(ie&&ie.rangeCount!==0){V=ie.anchorNode;var Oe=ie.anchorOffset,Je=ie.focusNode;ie=ie.focusOffset;try{V.nodeType,Je.nodeType}catch{V=null;break e}var en=0,ar=-1,Lr=-1,Ei=0,ms=0,vs=y,ps=null;t:for(;;){for(var va;vs!==V||Oe!==0&&vs.nodeType!==3||(ar=en+Oe),vs!==Je||ie!==0&&vs.nodeType!==3||(Lr=en+ie),vs.nodeType===3&&(en+=vs.nodeValue.length),(va=vs.firstChild)!==null;)ps=vs,vs=va;for(;;){if(vs===y)break t;if(ps===V&&++Ei===Oe&&(ar=en),ps===Je&&++ms===ie&&(Lr=en),(va=vs.nextSibling)!==null)break;vs=ps,ps=vs.parentNode}vs=va}V=ar===-1||Lr===-1?null:{start:ar,end:Lr}}else V=null}V=V||{start:0,end:0}}else V=null;for(Zo={focusedElem:y,selectionRange:V},as=!1,it=x;it!==null;)if(x=it,y=x.child,(x.subtreeFlags&1028)!==0&&y!==null)y.return=x,it=y;else for(;it!==null;){x=it;try{var Pa=x.alternate;if(x.flags&1024)switch(x.tag){case 0:case 11:case 15:break;case 1:if(Pa!==null){var Ia=Pa.memoizedProps,xc=Pa.memoizedState,mi=x.stateNode,Yr=mi.getSnapshotBeforeUpdate(x.elementType===x.type?Ia:$s(x.type,Ia),xc);mi.__reactInternalSnapshotBeforeUpdate=Yr}break;case 3:var Ci=x.stateNode.containerInfo;Ci.nodeType===1?Ci.textContent="":Ci.nodeType===9&&Ci.documentElement&&Ci.removeChild(Ci.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(l(163))}}catch(Ms){_c(x,x.return,Ms)}if(y=x.sibling,y!==null){y.return=x.return,it=y;break}it=x.return}return Pa=Fr,Fr=!1,Pa}function ui(y,x,V){var ie=x.updateQueue;if(ie=ie!==null?ie.lastEffect:null,ie!==null){var Oe=ie=ie.next;do{if((Oe.tag&y)===y){var Je=Oe.destroy;Oe.destroy=void 0,Je!==void 0&&Zn(x,V,Je)}Oe=Oe.next}while(Oe!==ie)}}function ki(y,x){if(x=x.updateQueue,x=x!==null?x.lastEffect:null,x!==null){var V=x=x.next;do{if((V.tag&y)===y){var ie=V.create;V.destroy=ie()}V=V.next}while(V!==x)}}function cs(y){var x=y.ref;if(x!==null){var V=y.stateNode;switch(y.tag){case 5:y=V;break;default:y=V}typeof x=="function"?x(y):x.current=y}}function qi(y){var x=y.alternate;x!==null&&(y.alternate=null,qi(x)),y.child=null,y.deletions=null,y.sibling=null,y.tag===5&&(x=y.stateNode,x!==null&&(delete x[eo],delete x[sc],delete x[Lu],delete x[dl],delete x[rl])),y.stateNode=null,y.return=null,y.dependencies=null,y.memoizedProps=null,y.memoizedState=null,y.pendingProps=null,y.stateNode=null,y.updateQueue=null}function is(y){return y.tag===5||y.tag===3||y.tag===4}function Ns(y){e:for(;;){for(;y.sibling===null;){if(y.return===null||is(y.return))return null;y=y.return}for(y.sibling.return=y.return,y=y.sibling;y.tag!==5&&y.tag!==6&&y.tag!==18;){if(y.flags&2||y.child===null||y.tag===4)continue e;y.child.return=y,y=y.child}if(!(y.flags&2))return y.stateNode}}function Zs(y,x,V){var ie=y.tag;if(ie===5||ie===6)y=y.stateNode,x?V.nodeType===8?V.parentNode.insertBefore(y,x):V.insertBefore(y,x):(V.nodeType===8?(x=V.parentNode,x.insertBefore(y,V)):(x=V,x.appendChild(y)),V=V._reactRootContainer,V!=null||x.onclick!==null||(x.onclick=Tu));else if(ie!==4&&(y=y.child,y!==null))for(Zs(y,x,V),y=y.sibling;y!==null;)Zs(y,x,V),y=y.sibling}function wa(y,x,V){var ie=y.tag;if(ie===5||ie===6)y=y.stateNode,x?V.insertBefore(y,x):V.appendChild(y);else if(ie!==4&&(y=y.child,y!==null))for(wa(y,x,V),y=y.sibling;y!==null;)wa(y,x,V),y=y.sibling}var qs=null,ao=!1;function So(y,x,V){for(V=V.child;V!==null;)wl(y,x,V),V=V.sibling}function wl(y,x,V){if(Lt&&typeof Lt.onCommitFiberUnmount=="function")try{Lt.onCommitFiberUnmount(Jt,V)}catch{}switch(V.tag){case 5:Xe||Rn(V,x);case 6:var ie=qs,Oe=ao;qs=null,So(y,x,V),qs=ie,ao=Oe,qs!==null&&(ao?(y=qs,V=V.stateNode,y.nodeType===8?y.parentNode.removeChild(V):y.removeChild(V)):qs.removeChild(V.stateNode));break;case 18:qs!==null&&(ao?(y=qs,V=V.stateNode,y.nodeType===8?d0(y.parentNode,V):y.nodeType===1&&d0(y,V),Qi(y)):d0(qs,V.stateNode));break;case 4:ie=qs,Oe=ao,qs=V.stateNode.containerInfo,ao=!0,So(y,x,V),qs=ie,ao=Oe;break;case 0:case 11:case 14:case 15:if(!Xe&&(ie=V.updateQueue,ie!==null&&(ie=ie.lastEffect,ie!==null))){Oe=ie=ie.next;do{var Je=Oe,en=Je.destroy;Je=Je.tag,en!==void 0&&(Je&2||Je&4)&&Zn(V,x,en),Oe=Oe.next}while(Oe!==ie)}So(y,x,V);break;case 1:if(!Xe&&(Rn(V,x),ie=V.stateNode,typeof ie.componentWillUnmount=="function"))try{ie.props=V.memoizedProps,ie.state=V.memoizedState,ie.componentWillUnmount()}catch(ar){_c(V,x,ar)}So(y,x,V);break;case 21:So(y,x,V);break;case 22:V.mode&1?(Xe=(ie=Xe)||V.memoizedState!==null,So(y,x,V),Xe=ie):So(y,x,V);break;default:So(y,x,V)}}function Uu(y){var x=y.updateQueue;if(x!==null){y.updateQueue=null;var V=y.stateNode;V===null&&(V=y.stateNode=new lt),x.forEach(function(ie){var Oe=ec.bind(null,y,ie);V.has(ie)||(V.add(ie),ie.then(Oe,Oe))})}}function pl(y,x){var V=x.deletions;if(V!==null)for(var ie=0;ie<V.length;ie++){var Oe=V[ie];try{var Je=y,en=x,ar=en;e:for(;ar!==null;){switch(ar.tag){case 5:qs=ar.stateNode,ao=!1;break e;case 3:qs=ar.stateNode.containerInfo,ao=!0;break e;case 4:qs=ar.stateNode.containerInfo,ao=!0;break e}ar=ar.return}if(qs===null)throw Error(l(160));wl(Je,en,Oe),qs=null,ao=!1;var Lr=Oe.alternate;Lr!==null&&(Lr.return=null),Oe.return=null}catch(Ei){_c(Oe,x,Ei)}}if(x.subtreeFlags&12854)for(x=x.child;x!==null;)Dc(x,y),x=x.sibling}function Dc(y,x){var V=y.alternate,ie=y.flags;switch(y.tag){case 0:case 11:case 14:case 15:if(pl(x,y),xu(y),ie&4){try{ui(3,y,y.return),ki(3,y)}catch(Ia){_c(y,y.return,Ia)}try{ui(5,y,y.return)}catch(Ia){_c(y,y.return,Ia)}}break;case 1:pl(x,y),xu(y),ie&512&&V!==null&&Rn(V,V.return);break;case 5:if(pl(x,y),xu(y),ie&512&&V!==null&&Rn(V,V.return),y.flags&32){var Oe=y.stateNode;try{an(Oe,"")}catch(Ia){_c(y,y.return,Ia)}}if(ie&4&&(Oe=y.stateNode,Oe!=null)){var Je=y.memoizedProps,en=V!==null?V.memoizedProps:Je,ar=y.type,Lr=y.updateQueue;if(y.updateQueue=null,Lr!==null)try{ar==="input"&&Je.type==="radio"&&Je.name!=null&&jt(Oe,Je),Re(ar,en);var Ei=Re(ar,Je);for(en=0;en<Lr.length;en+=2){var ms=Lr[en],vs=Lr[en+1];ms==="style"?Ye(Oe,vs):ms==="dangerouslySetInnerHTML"?er(Oe,vs):ms==="children"?an(Oe,vs):K(Oe,ms,vs,Ei)}switch(ar){case"input":sn(Oe,Je);break;case"textarea":nn(Oe,Je);break;case"select":var ps=Oe._wrapperState.wasMultiple;Oe._wrapperState.wasMultiple=!!Je.multiple;var va=Je.value;va!=null?cr(Oe,!!Je.multiple,va,!1):ps!==!!Je.multiple&&(Je.defaultValue!=null?cr(Oe,!!Je.multiple,Je.defaultValue,!0):cr(Oe,!!Je.multiple,Je.multiple?[]:"",!1))}Oe[sc]=Je}catch(Ia){_c(y,y.return,Ia)}}break;case 6:if(pl(x,y),xu(y),ie&4){if(y.stateNode===null)throw Error(l(162));Oe=y.stateNode,Je=y.memoizedProps;try{Oe.nodeValue=Je}catch(Ia){_c(y,y.return,Ia)}}break;case 3:if(pl(x,y),xu(y),ie&4&&V!==null&&V.memoizedState.isDehydrated)try{Qi(x.containerInfo)}catch(Ia){_c(y,y.return,Ia)}break;case 4:pl(x,y),xu(y);break;case 13:pl(x,y),xu(y),Oe=y.child,Oe.flags&8192&&(Je=Oe.memoizedState!==null,Oe.stateNode.isHidden=Je,!Je||Oe.alternate!==null&&Oe.alternate.memoizedState!==null||(Vh=Tt())),ie&4&&Uu(y);break;case 22:if(ms=V!==null&&V.memoizedState!==null,y.mode&1?(Xe=(Ei=Xe)||ms,pl(x,y),Xe=Ei):pl(x,y),xu(y),ie&8192){if(Ei=y.memoizedState!==null,(y.stateNode.isHidden=Ei)&&!ms&&y.mode&1)for(it=y,ms=y.child;ms!==null;){for(vs=it=ms;it!==null;){switch(ps=it,va=ps.child,ps.tag){case 0:case 11:case 14:case 15:ui(4,ps,ps.return);break;case 1:Rn(ps,ps.return);var Pa=ps.stateNode;if(typeof Pa.componentWillUnmount=="function"){ie=ps,V=ps.return;try{x=ie,Pa.props=x.memoizedProps,Pa.state=x.memoizedState,Pa.componentWillUnmount()}catch(Ia){_c(ie,V,Ia)}}break;case 5:Rn(ps,ps.return);break;case 22:if(ps.memoizedState!==null){ju(vs);continue}}va!==null?(va.return=ps,it=va):ju(vs)}ms=ms.sibling}e:for(ms=null,vs=y;;){if(vs.tag===5){if(ms===null){ms=vs;try{Oe=vs.stateNode,Ei?(Je=Oe.style,typeof Je.setProperty=="function"?Je.setProperty("display","none","important"):Je.display="none"):(ar=vs.stateNode,Lr=vs.memoizedProps.style,en=Lr!=null&&Lr.hasOwnProperty("display")?Lr.display:null,ar.style.display=oe("display",en))}catch(Ia){_c(y,y.return,Ia)}}}else if(vs.tag===6){if(ms===null)try{vs.stateNode.nodeValue=Ei?"":vs.memoizedProps}catch(Ia){_c(y,y.return,Ia)}}else if((vs.tag!==22&&vs.tag!==23||vs.memoizedState===null||vs===y)&&vs.child!==null){vs.child.return=vs,vs=vs.child;continue}if(vs===y)break e;for(;vs.sibling===null;){if(vs.return===null||vs.return===y)break e;ms===vs&&(ms=null),vs=vs.return}ms===vs&&(ms=null),vs.sibling.return=vs.return,vs=vs.sibling}}break;case 19:pl(x,y),xu(y),ie&4&&Uu(y);break;case 21:break;default:pl(x,y),xu(y)}}function xu(y){var x=y.flags;if(x&2){try{e:{for(var V=y.return;V!==null;){if(is(V)){var ie=V;break e}V=V.return}throw Error(l(160))}switch(ie.tag){case 5:var Oe=ie.stateNode;ie.flags&32&&(an(Oe,""),ie.flags&=-33);var Je=Ns(y);wa(y,Je,Oe);break;case 3:case 4:var en=ie.stateNode.containerInfo,ar=Ns(y);Zs(y,ar,en);break;default:throw Error(l(161))}}catch(Lr){_c(y,y.return,Lr)}y.flags&=-3}x&4096&&(y.flags&=-4097)}function Bc(y,x,V){it=y,oc(y,x,V)}function oc(y,x,V){for(var ie=(y.mode&1)!==0;it!==null;){var Oe=it,Je=Oe.child;if(Oe.tag===22&&ie){var en=Oe.memoizedState!==null||De;if(!en){var ar=Oe.alternate,Lr=ar!==null&&ar.memoizedState!==null||Xe;ar=De;var Ei=Xe;if(De=en,(Xe=Lr)&&!Ei)for(it=Oe;it!==null;)en=it,Lr=en.child,en.tag===22&&en.memoizedState!==null?ml(Oe):Lr!==null?(Lr.return=en,it=Lr):ml(Oe);for(;Je!==null;)it=Je,oc(Je,x,V),Je=Je.sibling;it=Oe,De=ar,Xe=Ei}al(y,x,V)}else Oe.subtreeFlags&8772&&Je!==null?(Je.return=Oe,it=Je):al(y,x,V)}}function al(y){for(;it!==null;){var x=it;if(x.flags&8772){var V=x.alternate;try{if(x.flags&8772)switch(x.tag){case 0:case 11:case 15:Xe||ki(5,x);break;case 1:var ie=x.stateNode;if(x.flags&4&&!Xe)if(V===null)ie.componentDidMount();else{var Oe=x.elementType===x.type?V.memoizedProps:$s(x.type,V.memoizedProps);ie.componentDidUpdate(Oe,V.memoizedState,ie.__reactInternalSnapshotBeforeUpdate)}var Je=x.updateQueue;Je!==null&&Ti(x,Je,ie);break;case 3:var en=x.updateQueue;if(en!==null){if(V=null,x.child!==null)switch(x.child.tag){case 5:V=x.child.stateNode;break;case 1:V=x.child.stateNode}Ti(x,en,V)}break;case 5:var ar=x.stateNode;if(V===null&&x.flags&4){V=ar;var Lr=x.memoizedProps;switch(x.type){case"button":case"input":case"select":case"textarea":Lr.autoFocus&&V.focus();break;case"img":Lr.src&&(V.src=Lr.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(x.memoizedState===null){var Ei=x.alternate;if(Ei!==null){var ms=Ei.memoizedState;if(ms!==null){var vs=ms.dehydrated;vs!==null&&Qi(vs)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(l(163))}Xe||x.flags&512&&cs(x)}catch(ps){_c(x,x.return,ps)}}if(x===y){it=null;break}if(V=x.sibling,V!==null){V.return=x.return,it=V;break}it=x.return}}function ju(y){for(;it!==null;){var x=it;if(x===y){it=null;break}var V=x.sibling;if(V!==null){V.return=x.return,it=V;break}it=x.return}}function ml(y){for(;it!==null;){var x=it;try{switch(x.tag){case 0:case 11:case 15:var V=x.return;try{ki(4,x)}catch(Lr){_c(x,V,Lr)}break;case 1:var ie=x.stateNode;if(typeof ie.componentDidMount=="function"){var Oe=x.return;try{ie.componentDidMount()}catch(Lr){_c(x,Oe,Lr)}}var Je=x.return;try{cs(x)}catch(Lr){_c(x,Je,Lr)}break;case 5:var en=x.return;try{cs(x)}catch(Lr){_c(x,en,Lr)}}}catch(Lr){_c(x,x.return,Lr)}if(x===y){it=null;break}var ar=x.sibling;if(ar!==null){ar.return=x.return,it=ar;break}it=x.return}}var zc=Math.ceil,m0=Y.ReactCurrentDispatcher,Q0=Y.ReactCurrentOwner,$u=Y.ReactCurrentBatchConfig,ko=0,tu=null,Cl=null,ol=0,Ec=0,g0=Ho(0),pu=0,uc=null,Hl=0,Gl=0,_h=0,dd=null,w0=null,Vh=0,Pi=1/0,ia=null,ja=!1,Fa=null,xo=null,bu=!1,po=null,Mu=0,Td=0,Uf=null,th=-1,Cf=0;function v0(){return ko&6?Tt():th!==-1?th:th=Tt()}function ef(y){return y.mode&1?ko&2&&ol!==0?ol&-ol:Fs.transition!==null?(Cf===0&&(Cf=wn()),Cf):(y=ft,y!==0||(y=window.event,y=y===void 0?16:Uo(y.type)),y):1}function Dd(y,x,V,ie){if(50<Td)throw Td=0,Uf=null,Error(l(185));ur(y,V,ie),(!(ko&2)||y!==tu)&&(y===tu&&(!(ko&2)&&(Gl|=V),pu===4&&Ud(y,ol)),i0(y,ie),V===1&&ko===0&&!(x.mode&1)&&(Pi=Tt()+500,Pc&&Xu()))}function i0(y,x){var V=y.callbackNode;wt(y,x);var ie=ct(y,y===tu?ol:0);if(ie===0)V!==null&&Ot(V),y.callbackNode=null,y.callbackPriority=0;else if(x=ie&-ie,y.callbackPriority!==x){if(V!=null&&Ot(V),x===1)y.tag===0?Ts(F4.bind(null,y)):$l(F4.bind(null,y)),eu(function(){!(ko&6)&&Xu()}),V=null;else{switch(Mt(ie)){case 1:V=on;break;case 4:V=dn;break;case 16:V=$e;break;case 536870912:V=$t;break;default:V=$e}V=df(V,L4.bind(null,y))}y.callbackPriority=x,y.callbackNode=V}}function L4(y,x){if(th=-1,Cf=0,ko&6)throw Error(l(327));var V=y.callbackNode;if(cf()&&y.callbackNode!==V)return null;var ie=ct(y,y===tu?ol:0);if(ie===0)return null;if(ie&30||ie&y.expiredLanes||x)x=zu(y,ie);else{x=ie;var Oe=ko;ko|=2;var Je=fd();(tu!==y||ol!==x)&&(ia=null,Pi=Tt()+500,lf(y,x));do try{Qp();break}catch(ar){I0(y,ar)}while(1);Lo(),m0.current=Je,ko=Oe,Cl!==null?x=0:(tu=null,ol=0,x=pu)}if(x!==0){if(x===2&&(Oe=kn(y),Oe!==0&&(ie=Oe,x=nh(y,Oe))),x===1)throw V=uc,lf(y,0),Ud(y,ie),i0(y,Tt()),V;if(x===6)Ud(y,ie);else{if(Oe=y.current.alternate,!(ie&30)&&!B4(Oe)&&(x=zu(y,ie),x===2&&(Je=kn(y),Je!==0&&(ie=Je,x=nh(y,Je))),x===1))throw V=uc,lf(y,0),Ud(y,ie),i0(y,Tt()),V;switch(y.finishedWork=Oe,y.finishedLanes=ie,x){case 0:case 1:throw Error(l(345));case 2:jf(y,w0,ia);break;case 3:if(Ud(y,ie),(ie&130023424)===ie&&(x=Vh+500-Tt(),10<x)){if(ct(y,0)!==0)break;if(Oe=y.suspendedLanes,(Oe&ie)!==ie){v0(),y.pingedLanes|=y.suspendedLanes&Oe;break}y.timeoutHandle=e0(jf.bind(null,y,w0,ia),x);break}jf(y,w0,ia);break;case 4:if(Ud(y,ie),(ie&4194240)===ie)break;for(x=y.eventTimes,Oe=-1;0<ie;){var en=31-In(ie);Je=1<<en,en=x[en],en>Oe&&(Oe=en),ie&=~Je}if(ie=Oe,ie=Tt()-ie,ie=(120>ie?120:480>ie?480:1080>ie?1080:1920>ie?1920:3e3>ie?3e3:4320>ie?4320:1960*zc(ie/1960))-ie,10<ie){y.timeoutHandle=e0(jf.bind(null,y,w0,ia),ie);break}jf(y,w0,ia);break;case 5:jf(y,w0,ia);break;default:throw Error(l(329))}}}return i0(y,Tt()),y.callbackNode===V?L4.bind(null,y):null}function nh(y,x){var V=dd;return y.current.memoizedState.isDehydrated&&(lf(y,x).flags|=256),y=zu(y,x),y!==2&&(x=w0,w0=V,x!==null&&sd(x)),y}function sd(y){w0===null?w0=y:w0.push.apply(w0,y)}function B4(y){for(var x=y;;){if(x.flags&16384){var V=x.updateQueue;if(V!==null&&(V=V.stores,V!==null))for(var ie=0;ie<V.length;ie++){var Oe=V[ie],Je=Oe.getSnapshot;Oe=Oe.value;try{if(!si(Je(),Oe))return!1}catch{return!1}}}if(V=x.child,x.subtreeFlags&16384&&V!==null)V.return=x,x=V;else{if(x===y)break;for(;x.sibling===null;){if(x.return===null||x.return===y)return!0;x=x.return}x.sibling.return=x.return,x=x.sibling}}return!0}function Ud(y,x){for(x&=~_h,x&=~Gl,y.suspendedLanes|=x,y.pingedLanes&=~x,y=y.expirationTimes;0<x;){var V=31-In(x),ie=1<<V;y[V]=-1,x&=~ie}}function F4(y){if(ko&6)throw Error(l(327));cf();var x=ct(y,0);if(!(x&1))return i0(y,Tt()),null;var V=zu(y,x);if(y.tag!==0&&V===2){var ie=kn(y);ie!==0&&(x=ie,V=nh(y,ie))}if(V===1)throw V=uc,lf(y,0),Ud(y,x),i0(y,Tt()),V;if(V===6)throw Error(l(345));return y.finishedWork=y.current.alternate,y.finishedLanes=x,jf(y,w0,ia),i0(y,Tt()),null}function Sf(y,x){var V=ko;ko|=1;try{return y(x)}finally{ko=V,ko===0&&(Pi=Tt()+500,Pc&&Xu())}}function j0(y){po!==null&&po.tag===0&&!(ko&6)&&cf();var x=ko;ko|=1;var V=$u.transition,ie=ft;try{if($u.transition=null,ft=1,y)return y()}finally{ft=ie,$u.transition=V,ko=x,!(ko&6)&&Xu()}}function jo(){Ec=g0.current,Bu(g0)}function lf(y,x){y.finishedWork=null,y.finishedLanes=0;var V=y.timeoutHandle;if(V!==-1&&(y.timeoutHandle=-1,Ic(V)),Cl!==null)for(V=Cl.return;V!==null;){var ie=V;switch(Tn(ie),ie.tag){case 1:ie=ie.type.childContextTypes,ie!=null&&V0();break;case 3:Ua(),Bu(Nl),Bu(_l),sl();break;case 5:Ol(ie);break;case 4:Ua();break;case 13:Bu(Ba);break;case 19:Bu(Ba);break;case 10:su(ie.type._context);break;case 22:case 23:jo()}V=V.return}if(tu=y,Cl=y=ff(y.current,null),ol=Ec=x,pu=0,uc=null,_h=Gl=Hl=0,w0=dd=null,Be!==null){for(x=0;x<Be.length;x++)if(V=Be[x],ie=V.interleaved,ie!==null){V.interleaved=null;var Oe=ie.next,Je=V.pending;if(Je!==null){var en=Je.next;Je.next=Oe,ie.next=en}V.pending=ie}Be=null}return y}function I0(y,x){do{var V=Cl;try{if(Lo(),_u.current=ud,x0){for(var ie=Vo.memoizedState;ie!==null;){var Oe=ie.queue;Oe!==null&&(Oe.pending=null),ie=ie.next}x0=!1}if(Ju=0,ku=Ao=Vo=null,Ar=!1,yu=0,Q0.current=null,V===null||V.return===null){pu=1,uc=x,Cl=null;break}e:{var Je=y,en=V.return,ar=V,Lr=x;if(x=ol,ar.flags|=32768,Lr!==null&&typeof Lr=="object"&&typeof Lr.then=="function"){var Ei=Lr,ms=ar,vs=ms.tag;if(!(ms.mode&1)&&(vs===0||vs===11||vs===15)){var ps=ms.alternate;ps?(ms.updateQueue=ps.updateQueue,ms.memoizedState=ps.memoizedState,ms.lanes=ps.lanes):(ms.updateQueue=null,ms.memoizedState=null)}var va=Jf(en);if(va!==null){va.flags&=-257,qf(va,en,ar,Je,x),va.mode&1&&Co(Je,Ei,x),x=va,Lr=Ei;var Pa=x.updateQueue;if(Pa===null){var Ia=new Set;Ia.add(Lr),x.updateQueue=Ia}else Pa.add(Lr);break e}else{if(!(x&1)){Co(Je,Ei,x),rh();break e}Lr=Error(l(426))}}else if(Sr&&ar.mode&1){var xc=Jf(en);if(xc!==null){!(xc.flags&65536)&&(xc.flags|=256),qf(xc,en,ar,Je,x),Gs(K0(Lr,ar));break e}}Je=Lr=K0(Lr,ar),pu!==4&&(pu=2),dd===null?dd=[Je]:dd.push(Je),Je=en;do{switch(Je.tag){case 3:Je.flags|=65536,x&=-x,Je.lanes|=x;var mi=r0(Je,Lr,x);Pr(Je,mi);break e;case 1:ar=Lr;var Yr=Je.type,Ci=Je.stateNode;if(!(Je.flags&128)&&(typeof Yr.getDerivedStateFromError=="function"||Ci!==null&&typeof Ci.componentDidCatch=="function"&&(xo===null||!xo.has(Ci)))){Je.flags|=65536,x&=-x,Je.lanes|=x;var Ms=Bd(Je,ar,x);Pr(Je,Ms);break e}}Je=Je.return}while(Je!==null)}Ep(V)}catch(Ja){x=Ja,Cl===V&&V!==null&&(Cl=V=V.return);continue}break}while(1)}function fd(){var y=m0.current;return m0.current=ud,y===null?ud:y}function rh(){(pu===0||pu===3||pu===2)&&(pu=4),tu===null||!(Hl&268435455)&&!(Gl&268435455)||Ud(tu,ol)}function zu(y,x){var V=ko;ko|=2;var ie=fd();(tu!==y||ol!==x)&&(ia=null,lf(y,x));do try{yh();break}catch(Oe){I0(y,Oe)}while(1);if(Lo(),ko=V,m0.current=ie,Cl!==null)throw Error(l(261));return tu=null,ol=0,pu}function yh(){for(;Cl!==null;)Kh(Cl)}function Qp(){for(;Cl!==null&&!Gt();)Kh(Cl)}function Kh(y){var x=s0(y.alternate,y,Ec);y.memoizedProps=y.pendingProps,x===null?Ep(y):Cl=x,Q0.current=null}function Ep(y){var x=y;do{var V=x.alternate;if(y=x.return,x.flags&32768){if(V=ae(V,x),V!==null){V.flags&=32767,Cl=V;return}if(y!==null)y.flags|=32768,y.subtreeFlags=0,y.deletions=null;else{pu=6,Cl=null;return}}else if(V=G(V,x,Ec),V!==null){Cl=V;return}if(x=x.sibling,x!==null){Cl=x;return}Cl=x=y}while(x!==null);pu===0&&(pu=5)}function jf(y,x,V){var ie=ft,Oe=$u.transition;try{$u.transition=null,ft=1,Zp(y,x,V,ie)}finally{$u.transition=Oe,ft=ie}return null}function Zp(y,x,V,ie){do cf();while(po!==null);if(ko&6)throw Error(l(327));V=y.finishedWork;var Oe=y.finishedLanes;if(V===null)return null;if(y.finishedWork=null,y.finishedLanes=0,V===y.current)throw Error(l(177));y.callbackNode=null,y.callbackPriority=0;var Je=V.lanes|V.childLanes;if(fi(y,Je),y===tu&&(Cl=tu=null,ol=0),!(V.subtreeFlags&2064)&&!(V.flags&2064)||bu||(bu=!0,df($e,function(){return cf(),null})),Je=(V.flags&15990)!==0,V.subtreeFlags&15990||Je){Je=$u.transition,$u.transition=null;var en=ft;ft=1;var ar=ko;ko|=4,Q0.current=null,Tr(y,V),Dc(V,y),ha(Zo),as=!!vl,Zo=vl=null,y.current=V,Bc(V,y,Oe),Pt(),ko=ar,ft=en,$u.transition=Je}else y.current=V;if(bu&&(bu=!1,po=y,Mu=Oe),Je=y.pendingLanes,Je===0&&(xo=null),yn(V.stateNode,ie),i0(y,Tt()),x!==null)for(ie=y.onRecoverableError,V=0;V<x.length;V++)Oe=x[V],ie(Oe.value,{componentStack:Oe.stack,digest:Oe.digest});if(ja)throw ja=!1,y=Fa,Fa=null,y;return Mu&1&&y.tag!==0&&cf(),Je=y.pendingLanes,Je&1?y===Uf?Td++:(Td=0,Uf=y):Td=0,Xu(),null}function cf(){if(po!==null){var y=Mt(Mu),x=$u.transition,V=ft;try{if($u.transition=null,ft=16>y?16:y,po===null)var ie=!1;else{if(y=po,po=null,Mu=0,ko&6)throw Error(l(331));var Oe=ko;for(ko|=4,it=y.current;it!==null;){var Je=it,en=Je.child;if(it.flags&16){var ar=Je.deletions;if(ar!==null){for(var Lr=0;Lr<ar.length;Lr++){var Ei=ar[Lr];for(it=Ei;it!==null;){var ms=it;switch(ms.tag){case 0:case 11:case 15:ui(8,ms,Je)}var vs=ms.child;if(vs!==null)vs.return=ms,it=vs;else for(;it!==null;){ms=it;var ps=ms.sibling,va=ms.return;if(qi(ms),ms===Ei){it=null;break}if(ps!==null){ps.return=va,it=ps;break}it=va}}}var Pa=Je.alternate;if(Pa!==null){var Ia=Pa.child;if(Ia!==null){Pa.child=null;do{var xc=Ia.sibling;Ia.sibling=null,Ia=xc}while(Ia!==null)}}it=Je}}if(Je.subtreeFlags&2064&&en!==null)en.return=Je,it=en;else e:for(;it!==null;){if(Je=it,Je.flags&2048)switch(Je.tag){case 0:case 11:case 15:ui(9,Je,Je.return)}var mi=Je.sibling;if(mi!==null){mi.return=Je.return,it=mi;break e}it=Je.return}}var Yr=y.current;for(it=Yr;it!==null;){en=it;var Ci=en.child;if(en.subtreeFlags&2064&&Ci!==null)Ci.return=en,it=Ci;else e:for(en=Yr;it!==null;){if(ar=it,ar.flags&2048)try{switch(ar.tag){case 0:case 11:case 15:ki(9,ar)}}catch(Ja){_c(ar,ar.return,Ja)}if(ar===en){it=null;break e}var Ms=ar.sibling;if(Ms!==null){Ms.return=ar.return,it=Ms;break e}it=ar.return}}if(ko=Oe,Xu(),Lt&&typeof Lt.onPostCommitFiberRoot=="function")try{Lt.onPostCommitFiberRoot(Jt,y)}catch{}ie=!0}return ie}finally{ft=V,$u.transition=x}}return!1}function _p(y,x,V){x=K0(V,x),x=r0(y,x,1),y=Bn(y,x,1),x=v0(),y!==null&&(ur(y,1,x),i0(y,x))}function _c(y,x,V){if(y.tag===3)_p(y,y,V);else for(;x!==null;){if(x.tag===3){_p(x,y,V);break}else if(x.tag===1){var ie=x.stateNode;if(typeof x.type.getDerivedStateFromError=="function"||typeof ie.componentDidCatch=="function"&&(xo===null||!xo.has(ie))){y=K0(V,y),y=Bd(x,y,1),x=Bn(x,y,1),y=v0(),x!==null&&(ur(x,1,y),i0(x,y));break}}x=x.return}}function Yh(y,x,V){var ie=y.pingCache;ie!==null&&ie.delete(x),x=v0(),y.pingedLanes|=y.suspendedLanes&V,tu===y&&(ol&V)===V&&(pu===4||pu===3&&(ol&130023424)===ol&&500>Tt()-Vh?lf(y,0):_h|=V),i0(y,x)}function Xp(y,x){x===0&&(y.mode&1?(x=Hr,Hr<<=1,!(Hr&130023424)&&(Hr=4194304)):x=1);var V=v0();y=Zt(y,x),y!==null&&(ur(y,x,V),i0(y,V))}function Jp(y){var x=y.memoizedState,V=0;x!==null&&(V=x.retryLane),Xp(y,V)}function ec(y,x){var V=0;switch(y.tag){case 13:var ie=y.stateNode,Oe=y.memoizedState;Oe!==null&&(V=Oe.retryLane);break;case 19:ie=y.stateNode;break;default:throw Error(l(314))}ie!==null&&ie.delete(x),Xp(y,V)}var s0;s0=function(y,x,V){if(y!==null)if(y.memoizedProps!==x.pendingProps||Nl.current)Gc=!0;else{if(!(y.lanes&V)&&!(x.flags&128))return Gc=!1,tt(y,x,V);Gc=!!(y.flags&131072)}else Gc=!1,Sr&&x.flags&1048576&&et(x,Is,x.index);switch(x.lanes=0,x.tag){case 2:var ie=x.type;bl(y,x),y=x.pendingProps;var Oe=hc(x,_l.current);yo(x,V),Oe=Md(null,x,ie,y,Oe,V);var Je=yf();return x.flags|=1,typeof Oe=="object"&&Oe!==null&&typeof Oe.render=="function"&&Oe.$$typeof===void 0?(x.tag=1,x.memoizedState=null,x.updateQueue=null,il(ie)?(Je=!0,t0(x)):Je=!1,x.memoizedState=Oe.state!==null&&Oe.state!==void 0?Oe.state:null,Pn(x),Oe.updater=ls,x.stateNode=Oe,Oe._reactInternals=x,ks(x,ie,y,V),x=uf(null,x,ie,!0,Je,V)):(x.tag=0,Sr&&Je&&pn(x),ql(null,x,Oe,V),x=x.child),x;case 16:ie=x.elementType;e:{switch(bl(y,x),y=x.pendingProps,Oe=ie._init,ie=Oe(ie._payload),x.type=ie,Oe=x.tag=U4(ie),y=$s(ie,y),Oe){case 0:x=id(null,x,ie,y,V);break e;case 1:x=Fd(null,x,ie,y,V);break e;case 11:x=Jd(null,x,ie,y,V);break e;case 14:x=R0(null,x,ie,$s(ie.type,y),V);break e}throw Error(l(306,ie,""))}return x;case 0:return ie=x.type,Oe=x.pendingProps,Oe=x.elementType===ie?Oe:$s(ie,Oe),id(y,x,ie,Oe,V);case 1:return ie=x.type,Oe=x.pendingProps,Oe=x.elementType===ie?Oe:$s(ie,Oe),Fd(y,x,ie,Oe,V);case 3:e:{if(Ff(x),y===null)throw Error(l(387));ie=x.pendingProps,Je=x.memoizedState,Oe=Je.element,Xn(y,x),Er(x,ie,null,V);var en=x.memoizedState;if(ie=en.element,Je.isDehydrated)if(Je={element:ie,isDehydrated:!1,cache:en.cache,pendingSuspenseBoundaries:en.pendingSuspenseBoundaries,transitions:en.transitions},x.updateQueue.baseState=Je,x.memoizedState=Je,x.flags&256){Oe=K0(Error(l(423)),x),x=kf(y,x,ie,V,Oe);break e}else if(ie!==Oe){Oe=K0(Error(l(424)),x),x=kf(y,x,ie,V,Oe);break e}else for(fr=Al(x.stateNode.containerInfo.firstChild),Kn=x,Sr=!0,br=null,V=Bo(x,null,ie,V),x.child=V;V;)V.flags=V.flags&-3|4096,V=V.sibling;else{if(ds(),ie===Oe){x=U0(y,x,V);break e}ql(y,x,ie,V)}x=x.child}return x;case 5:return fl(x),y===null&&Fi(x),ie=x.type,Oe=x.pendingProps,Je=y!==null?y.memoizedProps:null,en=Oe.children,aa(ie,Oe)?en=null:Je!==null&&aa(ie,Je)&&(x.flags|=32),Bf(y,x),ql(y,x,en,V),x.child;case 6:return y===null&&Fi(x),null;case 13:return du(y,x,V);case 4:return ra(x,x.stateNode.containerInfo),ie=x.pendingProps,y===null?x.child=ho(x,null,ie,V):ql(y,x,ie,V),x.child;case 11:return ie=x.type,Oe=x.pendingProps,Oe=x.elementType===ie?Oe:$s(ie,Oe),Jd(y,x,ie,Oe,V);case 7:return ql(y,x,x.pendingProps,V),x.child;case 8:return ql(y,x,x.pendingProps.children,V),x.child;case 12:return ql(y,x,x.pendingProps.children,V),x.child;case 10:e:{if(ie=x.type._context,Oe=x.pendingProps,Je=x.memoizedProps,en=Oe.value,iu(oa,ie._currentValue),ie._currentValue=en,Je!==null)if(si(Je.value,en)){if(Je.children===Oe.children&&!Nl.current){x=U0(y,x,V);break e}}else for(Je=x.child,Je!==null&&(Je.return=x);Je!==null;){var ar=Je.dependencies;if(ar!==null){en=Je.child;for(var Lr=ar.firstContext;Lr!==null;){if(Lr.context===ie){if(Je.tag===1){Lr=Qt(-1,V&-V),Lr.tag=2;var Ei=Je.updateQueue;if(Ei!==null){Ei=Ei.shared;var ms=Ei.pending;ms===null?Lr.next=Lr:(Lr.next=ms.next,ms.next=Lr),Ei.pending=Lr}}Je.lanes|=V,Lr=Je.alternate,Lr!==null&&(Lr.lanes|=V),uo(Je.return,V,x),ar.lanes|=V;break}Lr=Lr.next}}else if(Je.tag===10)en=Je.type===x.type?null:Je.child;else if(Je.tag===18){if(en=Je.return,en===null)throw Error(l(341));en.lanes|=V,ar=en.alternate,ar!==null&&(ar.lanes|=V),uo(en,V,x),en=Je.sibling}else en=Je.child;if(en!==null)en.return=Je;else for(en=Je;en!==null;){if(en===x){en=null;break}if(Je=en.sibling,Je!==null){Je.return=en.return,en=Je;break}en=en.return}Je=en}ql(y,x,Oe.children,V),x=x.child}return x;case 9:return Oe=x.type,ie=x.pendingProps.children,yo(x,V),Oe=lu(Oe),ie=ie(Oe),x.flags|=1,ql(y,x,ie,V),x.child;case 14:return ie=x.type,Oe=$s(ie,x.pendingProps),Oe=$s(ie.type,Oe),R0(y,x,ie,Oe,V);case 15:return of(y,x,x.type,x.pendingProps,V);case 17:return ie=x.type,Oe=x.pendingProps,Oe=x.elementType===ie?Oe:$s(ie,Oe),bl(y,x),x.tag=1,il(ie)?(y=!0,t0(x)):y=!1,yo(x,V),Qs(x,ie,Oe),ks(x,ie,Oe,V),uf(null,x,ie,!0,y,V);case 19:return eh(y,x,V);case 22:return Rs(y,x,V)}throw Error(l(156,x.tag))};function df(y,x){return rr(y,x)}function k4(y,x,V,ie){this.tag=y,this.key=V,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=x,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ie,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ad(y,x,V,ie){return new k4(y,x,V,ie)}function bh(y){return y=y.prototype,!(!y||!y.isReactComponent)}function U4(y){if(typeof y=="function")return bh(y)?1:0;if(y!=null){if(y=y.$$typeof,y===Ve)return 11;if(y===ye)return 14}return 2}function ff(y,x){var V=y.alternate;return V===null?(V=Ad(y.tag,x,y.key,y.mode),V.elementType=y.elementType,V.type=y.type,V.stateNode=y.stateNode,V.alternate=y,y.alternate=V):(V.pendingProps=x,V.type=y.type,V.flags=0,V.subtreeFlags=0,V.deletions=null),V.flags=y.flags&14680064,V.childLanes=y.childLanes,V.lanes=y.lanes,V.child=y.child,V.memoizedProps=y.memoizedProps,V.memoizedState=y.memoizedState,V.updateQueue=y.updateQueue,x=y.dependencies,V.dependencies=x===null?null:{lanes:x.lanes,firstContext:x.firstContext},V.sibling=y.sibling,V.index=y.index,V.ref=y.ref,V}function Qh(y,x,V,ie,Oe,Je){var en=2;if(ie=y,typeof y=="function")bh(y)&&(en=1);else if(typeof y=="string")en=5;else e:switch(y){case ee:return Tf(V.children,Oe,Je,x);case re:en=8,Oe|=8;break;case me:return y=Ad(12,V,x,Oe|2),y.elementType=me,y.lanes=Je,y;case Ze:return y=Ad(13,V,x,Oe),y.elementType=Ze,y.lanes=Je,y;case Ce:return y=Ad(19,V,x,Oe),y.elementType=Ce,y.lanes=Je,y;case Fe:return Zh(V,Oe,Je,x);default:if(typeof y=="object"&&y!==null)switch(y.$$typeof){case fe:en=10;break e;case le:en=9;break e;case Ve:en=11;break e;case ye:en=14;break e;case Ae:en=16,ie=null;break e}throw Error(l(130,y==null?y:typeof y,""))}return x=Ad(en,V,x,Oe),x.elementType=y,x.type=ie,x.lanes=Je,x}function Tf(y,x,V,ie){return y=Ad(7,y,ie,x),y.lanes=V,y}function Zh(y,x,V,ie){return y=Ad(22,y,ie,x),y.elementType=Fe,y.lanes=V,y.stateNode={isHidden:!1},y}function Xh(y,x,V){return y=Ad(6,y,null,x),y.lanes=V,y}function Jh(y,x,V){return x=Ad(4,y.children!==null?y.children:[],y.key,x),x.lanes=V,x.stateNode={containerInfo:y.containerInfo,pendingChildren:null,implementation:y.implementation},x}function ih(y,x,V,ie,Oe){this.tag=x,this.containerInfo=y,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Qn(0),this.expirationTimes=Qn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qn(0),this.identifierPrefix=ie,this.onRecoverableError=Oe,this.mutableSourceEagerHydrationData=null}function Ch(y,x,V,ie,Oe,Je,en,ar,Lr){return y=new ih(y,x,V,ar,Lr),x===1?(x=1,Je===!0&&(x|=8)):x=0,Je=Ad(3,null,null,x),y.current=Je,Je.stateNode=y,Je.memoizedState={element:ie,isDehydrated:V,cache:null,transitions:null,pendingSuspenseBoundaries:null},Pn(Je),y}function yp(y,x,V){var ie=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:J,key:ie==null?null:""+ie,children:y,containerInfo:x,implementation:V}}function qp(y){if(!y)return f0;y=y._reactInternals;e:{if(pt(y)!==y||y.tag!==1)throw Error(l(170));var x=y;do{switch(x.tag){case 3:x=x.stateNode.context;break e;case 1:if(il(x.type)){x=x.stateNode.__reactInternalMemoizedMergedChildContext;break e}}x=x.return}while(x!==null);throw Error(l(171))}if(y.tag===1){var V=y.type;if(il(V))return A0(y,V,x)}return x}function Sh(y,x,V,ie,Oe,Je,en,ar,Lr){return y=Ch(V,ie,!0,y,Oe,Je,en,ar,Lr),y.context=qp(null),V=y.current,ie=v0(),Oe=ef(V),Je=Qt(ie,Oe),Je.callback=x??null,Bn(V,Je,Oe),y.current.lanes=Oe,ur(y,Oe,ie),i0(y,ie),y}function jd(y,x,V,ie){var Oe=x.current,Je=v0(),en=ef(Oe);return V=qp(V),x.context===null?x.context=V:x.pendingContext=V,x=Qt(Je,en),x.payload={element:y},ie=ie===void 0?null:ie,ie!==null&&(x.callback=ie),y=Bn(Oe,x,en),y!==null&&(Dd(y,Oe,en,Je),ir(y,Oe,en)),en}function sh(y){if(y=y.current,!y.child)return null;switch(y.child.tag){case 5:return y.child.stateNode;default:return y.child.stateNode}}function e4(y,x){if(y=y.memoizedState,y!==null&&y.dehydrated!==null){var V=y.retryLane;y.retryLane=V!==0&&V<x?V:x}}function $0(y,x){e4(y,x),(y=y.alternate)&&e4(y,x)}function Df(){return null}var Th=typeof reportError=="function"?reportError:function(y){console.error(y)};function Ac(y){this._internalRoot=y}Dh.prototype.render=Ac.prototype.render=function(y){var x=this._internalRoot;if(x===null)throw Error(l(409));jd(y,x,null,null)},Dh.prototype.unmount=Ac.prototype.unmount=function(){var y=this._internalRoot;if(y!==null){this._internalRoot=null;var x=y.containerInfo;j0(function(){jd(null,y,null,null)}),x[Eu]=null}};function Dh(y){this._internalRoot=y}Dh.prototype.unstable_scheduleHydration=function(y){if(y){var x=Cr();y={blockedOn:null,target:y,priority:x};for(var V=0;V<ut.length&&x!==0&&x<ut[V].priority;V++);ut.splice(V,0,y),V===0&&Nr(y)}};function t4(y){return!(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)}function $f(y){return!(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11&&(y.nodeType!==8||y.nodeValue!==" react-mount-point-unstable "))}function Wf(){}function j4(y,x,V,ie,Oe){if(Oe){if(typeof ie=="function"){var Je=ie;ie=function(){var Ei=sh(en);Je.call(Ei)}}var en=Sh(x,ie,y,0,null,!1,!1,"",Wf);return y._reactRootContainer=en,y[Eu]=en.current,nl(y.nodeType===8?y.parentNode:y),j0(),en}for(;Oe=y.lastChild;)y.removeChild(Oe);if(typeof ie=="function"){var ar=ie;ie=function(){var Ei=sh(Lr);ar.call(Ei)}}var Lr=Ch(y,0,!1,null,null,!1,!1,"",Wf);return y._reactRootContainer=Lr,y[Eu]=Lr.current,nl(y.nodeType===8?y.parentNode:y),j0(function(){jd(x,Lr,V,ie)}),Lr}function hf(y,x,V,ie,Oe){var Je=V._reactRootContainer;if(Je){var en=Je;if(typeof Oe=="function"){var ar=Oe;Oe=function(){var Lr=sh(en);ar.call(Lr)}}jd(x,en,y,Oe)}else en=j4(V,x,y,Oe,ie);return sh(en)}qt=function(y){switch(y.tag){case 3:var x=y.stateNode;if(x.current.memoizedState.isDehydrated){var V=un(x.pendingLanes);V!==0&&(ot(x,V|1),i0(x,Tt()),!(ko&6)&&(Pi=Tt()+500,Xu()))}break;case 13:j0(function(){var ie=Zt(y,1);if(ie!==null){var Oe=v0();Dd(ie,y,1,Oe)}}),$0(y,1)}},sr=function(y){if(y.tag===13){var x=Zt(y,134217728);if(x!==null){var V=v0();Dd(x,y,134217728,V)}$0(y,134217728)}},lr=function(y){if(y.tag===13){var x=ef(y),V=Zt(y,x);if(V!==null){var ie=v0();Dd(V,y,x,ie)}$0(y,x)}},Cr=function(){return ft},xr=function(y,x){var V=ft;try{return ft=y,x()}finally{ft=V}},Nt=function(y,x,V){switch(x){case"input":if(sn(y,V),x=V.name,V.type==="radio"&&x!=null){for(V=y;V.parentNode;)V=V.parentNode;for(V=V.querySelectorAll("input[name="+JSON.stringify(""+x)+'][type="radio"]'),x=0;x<V.length;x++){var ie=V[x];if(ie!==y&&ie.form===y.form){var Oe=td(ie);if(!Oe)throw Error(l(90));zt(ie),sn(ie,Oe)}}}break;case"textarea":nn(y,V);break;case"select":x=V.value,x!=null&&cr(y,!!V.multiple,x,!1)}},xn=Sf,Un=j0;var Af={usingClientEntryPoint:!1,Events:[El,jc,td,At,mn,Sf]},Hf={findFiberByHostInstance:Mc,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},Gf={bundleType:Hf.bundleType,version:Hf.version,rendererPackageName:Hf.rendererPackageName,rendererConfig:Hf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(y){return y=Wn(y),y===null?null:y.stateNode},findFiberByHostInstance:Hf.findFiberByHostInstance||Df,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ah=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ah.isDisabled&&Ah.supportsFiber)try{Jt=Ah.inject(Gf),Lt=Ah}catch{}}C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Af,C.createPortal=function(y,x){var V=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t4(x))throw Error(l(200));return yp(y,x,null,V)},C.createRoot=function(y,x){if(!t4(y))throw Error(l(299));var V=!1,ie="",Oe=Th;return x!=null&&(x.unstable_strictMode===!0&&(V=!0),x.identifierPrefix!==void 0&&(ie=x.identifierPrefix),x.onRecoverableError!==void 0&&(Oe=x.onRecoverableError)),x=Ch(y,1,!1,null,null,V,!1,ie,Oe),y[Eu]=x.current,nl(y.nodeType===8?y.parentNode:y),new Ac(x)},C.findDOMNode=function(y){if(y==null)return null;if(y.nodeType===1)return y;var x=y._reactInternals;if(x===void 0)throw typeof y.render=="function"?Error(l(188)):(y=Object.keys(y).join(","),Error(l(268,y)));return y=Wn(x),y=y===null?null:y.stateNode,y},C.flushSync=function(y){return j0(y)},C.hydrate=function(y,x,V){if(!$f(x))throw Error(l(200));return hf(null,y,x,!0,V)},C.hydrateRoot=function(y,x,V){if(!t4(y))throw Error(l(405));var ie=V!=null&&V.hydratedSources||null,Oe=!1,Je="",en=Th;if(V!=null&&(V.unstable_strictMode===!0&&(Oe=!0),V.identifierPrefix!==void 0&&(Je=V.identifierPrefix),V.onRecoverableError!==void 0&&(en=V.onRecoverableError)),x=Sh(x,null,y,1,V??null,Oe,!1,Je,en),y[Eu]=x.current,nl(y),ie)for(y=0;y<ie.length;y++)V=ie[y],Oe=V._getVersion,Oe=Oe(V._source),x.mutableSourceEagerHydrationData==null?x.mutableSourceEagerHydrationData=[V,Oe]:x.mutableSourceEagerHydrationData.push(V,Oe);return new Dh(x)},C.render=function(y,x,V){if(!$f(x))throw Error(l(200));return hf(null,y,x,!1,V)},C.unmountComponentAtNode=function(y){if(!$f(y))throw Error(l(40));return y._reactRootContainer?(j0(function(){hf(null,null,y,!1,function(){y._reactRootContainer=null,y[Eu]=null})}),!0):!1},C.unstable_batchedUpdates=Sf,C.unstable_renderSubtreeIntoContainer=function(y,x,V,ie){if(!$f(V))throw Error(l(200));if(y==null||y._reactInternals===void 0)throw Error(l(38));return hf(y,x,V,!1,ie)},C.version="18.2.0-next-9e3b772b8-20220608"},54320:(U,C,e)=>{"use strict";var i,a=e(19632);if(!0)C.C=a.createRoot,i=a.hydrateRoot;else var l},19632:(U,C,e)=>{"use strict";function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(a){console.error(a)}}i(),U.exports=e(88176)},83688:U=>{"use strict";var C=Array.isArray,e=Object.keys,i=Object.prototype.hasOwnProperty,a=typeof Element<"u";function l(c,v){if(c===v)return!0;if(c&&v&&typeof c=="object"&&typeof v=="object"){var _=C(c),T=C(v),A,R,P;if(_&&T){if(R=c.length,R!=v.length)return!1;for(A=R;A--!==0;)if(!l(c[A],v[A]))return!1;return!0}if(_!=T)return!1;var M=c instanceof Date,O=v instanceof Date;if(M!=O)return!1;if(M&&O)return c.getTime()==v.getTime();var N=c instanceof RegExp,B=v instanceof RegExp;if(N!=B)return!1;if(N&&B)return c.toString()==v.toString();var j=e(c);if(R=j.length,R!==e(v).length)return!1;for(A=R;A--!==0;)if(!i.call(v,j[A]))return!1;if(a&&c instanceof Element&&v instanceof Element)return c===v;for(A=R;A--!==0;)if(P=j[A],!(P==="_owner"&&c.$$typeof)&&!l(c[P],v[P]))return!1;return!0}return c!==c&&v!==v}U.exports=function(v,_){try{return l(v,_)}catch(T){if(T.message&&T.message.match(/stack|recursion/i)||T.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",T.name,T.message),!1;throw T}}},21424:(U,C,e)=>{"use strict";e.d(C,{S:()=>cr});var i=e(33104),a=e.n(i),l=e(80352),c=e.n(l),v=e(17284),_=e.n(v),T=e(62552),A=e(64364),R=e.n(A),P={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},M={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},O=Object.keys(M).map(function(Jn){return M[Jn]}),N={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src",TARGET:"target"},B={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},j={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},z=Object.keys(B).reduce(function(Jn,nn){return Jn[B[nn]]=nn,Jn},{}),W=[M.NOSCRIPT,M.SCRIPT,M.STYLE],X="data-react-helmet",Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Jn){return typeof Jn}:function(Jn){return Jn&&typeof Symbol=="function"&&Jn.constructor===Symbol&&Jn!==Symbol.prototype?"symbol":typeof Jn},K=function(Jn,nn){if(!(Jn instanceof nn))throw new TypeError("Cannot call a class as a function")},Y=function(){function Jn(nn,or){for(var bn=0;bn<or.length;bn++){var Sn=or[bn];Sn.enumerable=Sn.enumerable||!1,Sn.configurable=!0,"value"in Sn&&(Sn.writable=!0),Object.defineProperty(nn,Sn.key,Sn)}}return function(nn,or,bn){return or&&Jn(nn.prototype,or),bn&&Jn(nn,bn),nn}}(),Z=Object.assign||function(Jn){for(var nn=1;nn<arguments.length;nn++){var or=arguments[nn];for(var bn in or)Object.prototype.hasOwnProperty.call(or,bn)&&(Jn[bn]=or[bn])}return Jn},J=function(Jn,nn){if(typeof nn!="function"&&nn!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof nn);Jn.prototype=Object.create(nn&&nn.prototype,{constructor:{value:Jn,enumerable:!1,writable:!0,configurable:!0}}),nn&&(Object.setPrototypeOf?Object.setPrototypeOf(Jn,nn):Jn.__proto__=nn)},ee=function(Jn,nn){var or={};for(var bn in Jn)nn.indexOf(bn)>=0||Object.prototype.hasOwnProperty.call(Jn,bn)&&(or[bn]=Jn[bn]);return or},re=function(Jn,nn){if(!Jn)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return nn&&(typeof nn=="object"||typeof nn=="function")?nn:Jn},me=function(nn){var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return or===!1?String(nn):String(nn).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},fe=function(nn){var or=ye(nn,M.TITLE),bn=ye(nn,j.TITLE_TEMPLATE);if(bn&&or)return bn.replace(/%s/g,function(){return Array.isArray(or)?or.join(""):or});var Sn=ye(nn,j.DEFAULT_TITLE);return or||Sn||void 0},le=function(nn){return ye(nn,j.ON_CHANGE_CLIENT_STATE)||function(){}},Ve=function(nn,or){return or.filter(function(bn){return typeof bn[nn]<"u"}).map(function(bn){return bn[nn]}).reduce(function(bn,Sn){return Z({},bn,Sn)},{})},Ze=function(nn,or){return or.filter(function(bn){return typeof bn[M.BASE]<"u"}).map(function(bn){return bn[M.BASE]}).reverse().reduce(function(bn,Sn){if(!bn.length)for(var Hn=Object.keys(Sn),er=0;er<Hn.length;er++){var an=Hn[er],Cn=an.toLowerCase();if(nn.indexOf(Cn)!==-1&&Sn[Cn])return bn.concat(Sn)}return bn},[])},Ce=function(nn,or,bn){var Sn={};return bn.filter(function(Hn){return Array.isArray(Hn[nn])?!0:(typeof Hn[nn]<"u"&&Pe("Helmet: "+nn+' should be of type "Array". Instead found type "'+Q(Hn[nn])+'"'),!1)}).map(function(Hn){return Hn[nn]}).reverse().reduce(function(Hn,er){var an={};er.filter(function(Et){for(var xe=void 0,Re=Object.keys(Et),We=0;We<Re.length;We++){var gt=Re[We],Nt=gt.toLowerCase();or.indexOf(Nt)!==-1&&!(xe===N.REL&&Et[xe].toLowerCase()==="canonical")&&!(Nt===N.REL&&Et[Nt].toLowerCase()==="stylesheet")&&(xe=Nt),or.indexOf(gt)!==-1&&(gt===N.INNER_HTML||gt===N.CSS_TEXT||gt===N.ITEM_PROP)&&(xe=gt)}if(!xe||!Et[xe])return!1;var Ct=Et[xe].toLowerCase();return Sn[xe]||(Sn[xe]={}),an[xe]||(an[xe]={}),Sn[xe][Ct]?!1:(an[xe][Ct]=!0,!0)}).reverse().forEach(function(Et){return Hn.push(Et)});for(var Cn=Object.keys(an),de=0;de<Cn.length;de++){var oe=Cn[de],Ye=R()({},Sn[oe],an[oe]);Sn[oe]=Ye}return Hn},[]).reverse()},ye=function(nn,or){for(var bn=nn.length-1;bn>=0;bn--){var Sn=nn[bn];if(Sn.hasOwnProperty(or))return Sn[or]}return null},Ae=function(nn){return{baseTag:Ze([N.HREF,N.TARGET],nn),bodyAttributes:Ve(P.BODY,nn),defer:ye(nn,j.DEFER),encode:ye(nn,j.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Ve(P.HTML,nn),linkTags:Ce(M.LINK,[N.REL,N.HREF],nn),metaTags:Ce(M.META,[N.NAME,N.CHARSET,N.HTTPEQUIV,N.PROPERTY,N.ITEM_PROP],nn),noscriptTags:Ce(M.NOSCRIPT,[N.INNER_HTML],nn),onChangeClientState:le(nn),scriptTags:Ce(M.SCRIPT,[N.SRC,N.INNER_HTML],nn),styleTags:Ce(M.STYLE,[N.CSS_TEXT],nn),title:fe(nn),titleAttributes:Ve(P.TITLE,nn)}},Fe=function(){var Jn=Date.now();return function(nn){var or=Date.now();or-Jn>16?(Jn=or,nn(or)):setTimeout(function(){Fe(nn)},0)}}(),Qe=function(nn){return clearTimeout(nn)},ce=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Fe:e.g.requestAnimationFrame||Fe,Ge=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Qe:e.g.cancelAnimationFrame||Qe,Pe=function(nn){return console&&typeof console.warn=="function"&&console.warn(nn)},pe=null,Se=function(nn){pe&&Ge(pe),nn.defer?pe=ce(function(){_e(nn,function(){pe=null})}):(_e(nn),pe=null)},_e=function(nn,or){var bn=nn.baseTag,Sn=nn.bodyAttributes,Hn=nn.htmlAttributes,er=nn.linkTags,an=nn.metaTags,Cn=nn.noscriptTags,de=nn.onChangeClientState,oe=nn.scriptTags,Ye=nn.styleTags,Et=nn.title,xe=nn.titleAttributes;Ke(M.BODY,Sn),Ke(M.HTML,Hn),Le(Et,xe);var Re={baseTag:bt(M.BASE,bn),linkTags:bt(M.LINK,er),metaTags:bt(M.META,an),noscriptTags:bt(M.NOSCRIPT,Cn),scriptTags:bt(M.SCRIPT,oe),styleTags:bt(M.STYLE,Ye)},We={},gt={};Object.keys(Re).forEach(function(Nt){var Ct=Re[Nt],tn=Ct.newTags,ge=Ct.oldTags;tn.length&&(We[Nt]=tn),ge.length&&(gt[Nt]=Re[Nt].oldTags)}),or&&or(),de(nn,We,gt)},Ne=function(nn){return Array.isArray(nn)?nn.join(""):nn},Le=function(nn,or){typeof nn<"u"&&document.title!==nn&&(document.title=Ne(nn)),Ke(M.TITLE,or)},Ke=function(nn,or){var bn=document.getElementsByTagName(nn)[0];if(bn){for(var Sn=bn.getAttribute(X),Hn=Sn?Sn.split(","):[],er=[].concat(Hn),an=Object.keys(or),Cn=0;Cn<an.length;Cn++){var de=an[Cn],oe=or[de]||"";bn.getAttribute(de)!==oe&&bn.setAttribute(de,oe),Hn.indexOf(de)===-1&&Hn.push(de);var Ye=er.indexOf(de);Ye!==-1&&er.splice(Ye,1)}for(var Et=er.length-1;Et>=0;Et--)bn.removeAttribute(er[Et]);Hn.length===er.length?bn.removeAttribute(X):bn.getAttribute(X)!==an.join(",")&&bn.setAttribute(X,an.join(","))}},bt=function(nn,or){var bn=document.head||document.querySelector(M.HEAD),Sn=bn.querySelectorAll(nn+"["+X+"]"),Hn=Array.prototype.slice.call(Sn),er=[],an=void 0;return or&&or.length&&or.forEach(function(Cn){var de=document.createElement(nn);for(var oe in Cn)if(Cn.hasOwnProperty(oe))if(oe===N.INNER_HTML)de.innerHTML=Cn.innerHTML;else if(oe===N.CSS_TEXT)de.styleSheet?de.styleSheet.cssText=Cn.cssText:de.appendChild(document.createTextNode(Cn.cssText));else{var Ye=typeof Cn[oe]>"u"?"":Cn[oe];de.setAttribute(oe,Ye)}de.setAttribute(X,"true"),Hn.some(function(Et,xe){return an=xe,de.isEqualNode(Et)})?Hn.splice(an,1):er.push(de)}),Hn.forEach(function(Cn){return Cn.parentNode.removeChild(Cn)}),er.forEach(function(Cn){return bn.appendChild(Cn)}),{oldTags:Hn,newTags:er}},yt=function(nn){return Object.keys(nn).reduce(function(or,bn){var Sn=typeof nn[bn]<"u"?bn+'="'+nn[bn]+'"':""+bn;return or?or+" "+Sn:Sn},"")},It=function(nn,or,bn,Sn){var Hn=yt(bn),er=Ne(or);return Hn?"<"+nn+" "+X+'="true" '+Hn+">"+me(er,Sn)+"</"+nn+">":"<"+nn+" "+X+'="true">'+me(er,Sn)+"</"+nn+">"},_t=function(nn,or,bn){return or.reduce(function(Sn,Hn){var er=Object.keys(Hn).filter(function(de){return!(de===N.INNER_HTML||de===N.CSS_TEXT)}).reduce(function(de,oe){var Ye=typeof Hn[oe]>"u"?oe:oe+'="'+me(Hn[oe],bn)+'"';return de?de+" "+Ye:Ye},""),an=Hn.innerHTML||Hn.cssText||"",Cn=W.indexOf(nn)===-1;return Sn+"<"+nn+" "+X+'="true" '+er+(Cn?"/>":">"+an+"</"+nn+">")},"")},zt=function(nn){var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(nn).reduce(function(bn,Sn){return bn[B[Sn]||Sn]=nn[Sn],bn},or)},Vt=function(nn){var or=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(nn).reduce(function(bn,Sn){return bn[z[Sn]||Sn]=nn[Sn],bn},or)},St=function(nn,or,bn){var Sn,Hn=(Sn={key:or},Sn[X]=!0,Sn),er=zt(bn,Hn);return[T.createElement(M.TITLE,er,or)]},Xt=function(nn,or){return or.map(function(bn,Sn){var Hn,er=(Hn={key:Sn},Hn[X]=!0,Hn);return Object.keys(bn).forEach(function(an){var Cn=B[an]||an;if(Cn===N.INNER_HTML||Cn===N.CSS_TEXT){var de=bn.innerHTML||bn.cssText;er.dangerouslySetInnerHTML={__html:de}}else er[Cn]=bn[an]}),T.createElement(nn,er)})},jt=function(nn,or,bn){switch(nn){case M.TITLE:return{toComponent:function(){return St(nn,or.title,or.titleAttributes,bn)},toString:function(){return It(nn,or.title,or.titleAttributes,bn)}};case P.BODY:case P.HTML:return{toComponent:function(){return zt(or)},toString:function(){return yt(or)}};default:return{toComponent:function(){return Xt(nn,or)},toString:function(){return _t(nn,or,bn)}}}},sn=function(nn){var or=nn.baseTag,bn=nn.bodyAttributes,Sn=nn.encode,Hn=nn.htmlAttributes,er=nn.linkTags,an=nn.metaTags,Cn=nn.noscriptTags,de=nn.scriptTags,oe=nn.styleTags,Ye=nn.title,Et=Ye===void 0?"":Ye,xe=nn.titleAttributes;return{base:jt(M.BASE,or,Sn),bodyAttributes:jt(P.BODY,bn,Sn),htmlAttributes:jt(P.HTML,Hn,Sn),link:jt(M.LINK,er,Sn),meta:jt(M.META,an,Sn),noscript:jt(M.NOSCRIPT,Cn,Sn),script:jt(M.SCRIPT,de,Sn),style:jt(M.STYLE,oe,Sn),title:jt(M.TITLE,{title:Et,titleAttributes:xe},Sn)}},dt=function(nn){var or,bn;return bn=or=function(Sn){J(Hn,Sn);function Hn(){return K(this,Hn),re(this,Sn.apply(this,arguments))}return Hn.prototype.shouldComponentUpdate=function(an){return!_()(this.props,an)},Hn.prototype.mapNestedChildrenToProps=function(an,Cn){if(!Cn)return null;switch(an.type){case M.SCRIPT:case M.NOSCRIPT:return{innerHTML:Cn};case M.STYLE:return{cssText:Cn}}throw new Error("<"+an.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},Hn.prototype.flattenArrayTypeChildren=function(an){var Cn,de=an.child,oe=an.arrayTypeChildren,Ye=an.newChildProps,Et=an.nestedChildren;return Z({},oe,(Cn={},Cn[de.type]=[].concat(oe[de.type]||[],[Z({},Ye,this.mapNestedChildrenToProps(de,Et))]),Cn))},Hn.prototype.mapObjectTypeChildren=function(an){var Cn,de,oe=an.child,Ye=an.newProps,Et=an.newChildProps,xe=an.nestedChildren;switch(oe.type){case M.TITLE:return Z({},Ye,(Cn={},Cn[oe.type]=xe,Cn.titleAttributes=Z({},Et),Cn));case M.BODY:return Z({},Ye,{bodyAttributes:Z({},Et)});case M.HTML:return Z({},Ye,{htmlAttributes:Z({},Et)})}return Z({},Ye,(de={},de[oe.type]=Z({},Et),de))},Hn.prototype.mapArrayTypeChildrenToProps=function(an,Cn){var de=Z({},Cn);return Object.keys(an).forEach(function(oe){var Ye;de=Z({},de,(Ye={},Ye[oe]=an[oe],Ye))}),de},Hn.prototype.warnOnInvalidChildren=function(an,Cn){return!0},Hn.prototype.mapChildrenToProps=function(an,Cn){var de=this,oe={};return T.Children.forEach(an,function(Ye){if(!(!Ye||!Ye.props)){var Et=Ye.props,xe=Et.children,Re=ee(Et,["children"]),We=Vt(Re);switch(de.warnOnInvalidChildren(Ye,xe),Ye.type){case M.LINK:case M.META:case M.NOSCRIPT:case M.SCRIPT:case M.STYLE:oe=de.flattenArrayTypeChildren({child:Ye,arrayTypeChildren:oe,newChildProps:We,nestedChildren:xe});break;default:Cn=de.mapObjectTypeChildren({child:Ye,newProps:Cn,newChildProps:We,nestedChildren:xe});break}}}),Cn=this.mapArrayTypeChildrenToProps(oe,Cn),Cn},Hn.prototype.render=function(){var an=this.props,Cn=an.children,de=ee(an,["children"]),oe=Z({},de);return Cn&&(oe=this.mapChildrenToProps(Cn,oe)),T.createElement(nn,oe)},Y(Hn,null,[{key:"canUseDOM",set:function(an){nn.canUseDOM=an}}]),Hn}(T.Component),or.propTypes={base:a().object,bodyAttributes:a().object,children:a().oneOfType([a().arrayOf(a().node),a().node]),defaultTitle:a().string,defer:a().bool,encodeSpecialCharacters:a().bool,htmlAttributes:a().object,link:a().arrayOf(a().object),meta:a().arrayOf(a().object),noscript:a().arrayOf(a().object),onChangeClientState:a().func,script:a().arrayOf(a().object),style:a().arrayOf(a().object),title:a().string,titleAttributes:a().object,titleTemplate:a().string},or.defaultProps={defer:!0,encodeSpecialCharacters:!0},or.peek=nn.peek,or.rewind=function(){var Sn=nn.rewind();return Sn||(Sn=sn({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),Sn},bn},Ln=function(){return null},fn=c()(Ae,Se,sn)(Ln),cr=dt(fn);cr.renderStatic=cr.rewind;var wr=null},17284:U=>{var C=typeof Element<"u",e=typeof Map=="function",i=typeof Set=="function",a=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,v){if(c===v)return!0;if(c&&v&&typeof c=="object"&&typeof v=="object"){if(c.constructor!==v.constructor)return!1;var _,T,A;if(Array.isArray(c)){if(_=c.length,_!=v.length)return!1;for(T=_;T--!==0;)if(!l(c[T],v[T]))return!1;return!0}var R;if(e&&c instanceof Map&&v instanceof Map){if(c.size!==v.size)return!1;for(R=c.entries();!(T=R.next()).done;)if(!v.has(T.value[0]))return!1;for(R=c.entries();!(T=R.next()).done;)if(!l(T.value[1],v.get(T.value[0])))return!1;return!0}if(i&&c instanceof Set&&v instanceof Set){if(c.size!==v.size)return!1;for(R=c.entries();!(T=R.next()).done;)if(!v.has(T.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(v)){if(_=c.length,_!=v.length)return!1;for(T=_;T--!==0;)if(c[T]!==v[T])return!1;return!0}if(c.constructor===RegExp)return c.source===v.source&&c.flags===v.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof v.valueOf=="function")return c.valueOf()===v.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof v.toString=="function")return c.toString()===v.toString();if(A=Object.keys(c),_=A.length,_!==Object.keys(v).length)return!1;for(T=_;T--!==0;)if(!Object.prototype.hasOwnProperty.call(v,A[T]))return!1;if(C&&c instanceof Element)return!1;for(T=_;T--!==0;)if(!((A[T]==="_owner"||A[T]==="__v"||A[T]==="__o")&&c.$$typeof)&&!l(c[A[T]],v[A[T]]))return!1;return!0}return c!==c&&v!==v}U.exports=function(v,_){try{return l(v,_)}catch(T){if((T.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw T}}},46788:(U,C,e)=>{"use strict";e.d(C,{C_:()=>A,es:()=>R});var i=e(62552),a=e(35384),l=e.n(a);function c(M){return M.displayName||M.name||"Component"}var v=typeof window<"u"?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=i.createContext(null)):i.createContext(null),_=v.Consumer,T=v.Provider,A=T,R=v;function P(M,O){var N=O||{},B=N.intlPropName,j=B===void 0?"intl":B,z=N.forwardRef,W=z===void 0?!1:z,X=N.enforceContext,Q=X===void 0?!0:X,K=function(Y){return React.createElement(_,null,function(Z){var J;Q&&invariantIntlContext(Z);var ee=(J={},J[j]=Z,J);return React.createElement(M,__assign({},Y,ee,{ref:W?Y.forwardedRef:null}))})};return K.displayName="injectIntl(".concat(c(M),")"),K.WrappedComponent=M,W?hoistNonReactStatics(React.forwardRef(function(Y,Z){return React.createElement(K,__assign({},Y,{forwardedRef:Z}))}),M):hoistNonReactStatics(K,M)}},14632:(U,C,e)=>{"use strict";e.d(C,{c:()=>c});var i=e(62552),a=e(46788),l=e(31440);function c(){var v=i.useContext(a.es);return(0,l.QB)(v),v}},31440:(U,C,e)=>{"use strict";e.d(C,{G:()=>A,QB:()=>v,Qp:()=>T,SI:()=>_});var i=e(7353),a=e(62552),l=e(97060),c=e(14600);function v(R){(0,l.ON)(R,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var _=(0,i.C3)((0,i.C3)({},c.SI),{textComponent:a.Fragment});function T(R){return function(P){return R(a.Children.toArray(P))}}function A(R,P){if(R===P)return!0;if(!R||!P)return!1;var M=Object.keys(R),O=Object.keys(P),N=M.length;if(O.length!==N)return!1;for(var B=0;B<N;B++){var j=M[B];if(R[j]!==P[j]||!Object.prototype.hasOwnProperty.call(P,j))return!1}return!0}},1480:(U,C,e)=>{"use strict";e.d(C,{m:()=>v});var i=e(56384),a=e(17412),l=e(49448),c=function(_){(0,i.c)(T,_);function T(){var R;return R=_.call(this)||this,R.setup=function(P){var M;if(!l.oj&&((M=window)!=null&&M.addEventListener)){var O=function(){return P()};return window.addEventListener("visibilitychange",O,!1),window.addEventListener("focus",O,!1),function(){window.removeEventListener("visibilitychange",O),window.removeEventListener("focus",O)}}},R}var A=T.prototype;return A.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},A.onUnsubscribe=function(){if(!this.hasListeners()){var P;(P=this.cleanup)==null||P.call(this),this.cleanup=void 0}},A.setEventListener=function(P){var M,O=this;this.setup=P,(M=this.cleanup)==null||M.call(this),this.cleanup=P(function(N){typeof N=="boolean"?O.setFocused(N):O.onFocus()})},A.setFocused=function(P){this.focused=P,P&&this.onFocus()},A.onFocus=function(){this.listeners.forEach(function(P){P()})},A.isFocused=function(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)},T}(a.Q),v=new c},2216:(U,C,e)=>{"use strict";e.d(C,{QueryClient:()=>i.S});var i=e(4408),a=e(3200),l=e.n(a);e.o(a,"QueryClientProvider")&&e.d(C,{QueryClientProvider:function(){return a.QueryClientProvider}}),e.o(a,"useInfiniteQuery")&&e.d(C,{useInfiniteQuery:function(){return a.useInfiniteQuery}}),e.o(a,"useMutation")&&e.d(C,{useMutation:function(){return a.useMutation}}),e.o(a,"useQueries")&&e.d(C,{useQueries:function(){return a.useQueries}}),e.o(a,"useQuery")&&e.d(C,{useQuery:function(){return a.useQuery}}),e.o(a,"useQueryClient")&&e.d(C,{useQueryClient:function(){return a.useQueryClient}})},12188:(U,C,e)=>{"use strict";e.d(C,{Cg:()=>l,cJ:()=>T,uq:()=>_});var i=e(41560),a=e(49448);function l(){return{onFetch:function(R){R.fetchFn=function(){var P,M,O,N,B,j,z=(P=R.fetchOptions)==null||(M=P.meta)==null?void 0:M.refetchPage,W=(O=R.fetchOptions)==null||(N=O.meta)==null?void 0:N.fetchMore,X=W?.pageParam,Q=W?.direction==="forward",K=W?.direction==="backward",Y=((B=R.state.data)==null?void 0:B.pages)||[],Z=((j=R.state.data)==null?void 0:j.pageParams)||[],J=(0,a._k)(),ee=J?.signal,re=Z,me=!1,fe=R.options.queryFn||function(){return Promise.reject("Missing queryFn")},le=function(Pe,pe,Se,_e){return re=_e?[pe].concat(re):[].concat(re,[pe]),_e?[Se].concat(Pe):[].concat(Pe,[Se])},Ve=function(Pe,pe,Se,_e){if(me)return Promise.reject("Cancelled");if(typeof Se>"u"&&!pe&&Pe.length)return Promise.resolve(Pe);var Ne={queryKey:R.queryKey,signal:ee,pageParam:Se,meta:R.meta},Le=fe(Ne),Ke=Promise.resolve(Le).then(function(yt){return le(Pe,Se,yt,_e)});if((0,i.k7)(Le)){var bt=Ke;bt.cancel=Le.cancel}return Ke},Ze;if(!Y.length)Ze=Ve([]);else if(Q){var Ce=typeof X<"u",ye=Ce?X:c(R.options,Y);Ze=Ve(Y,Ce,ye)}else if(K){var Ae=typeof X<"u",Fe=Ae?X:v(R.options,Y);Ze=Ve(Y,Ae,Fe,!0)}else(function(){re=[];var Ge=typeof R.options.getNextPageParam>"u",Pe=z&&Y[0]?z(Y[0],0,Y):!0;Ze=Pe?Ve([],Ge,Z[0]):Promise.resolve(le([],Z[0],Y[0]));for(var pe=function(Ne){Ze=Ze.then(function(Le){var Ke=z&&Y[Ne]?z(Y[Ne],Ne,Y):!0;if(Ke){var bt=Ge?Z[Ne]:c(R.options,Le);return Ve(Le,Ge,bt)}return Promise.resolve(le(Le,Z[Ne],Y[Ne]))})},Se=1;Se<Y.length;Se++)pe(Se)})();var Qe=Ze.then(function(Ge){return{pages:Ge,pageParams:re}}),ce=Qe;return ce.cancel=function(){me=!0,J?.abort(),(0,i.k7)(Ze)&&Ze.cancel()},Qe}}}}function c(A,R){return A.getNextPageParam==null?void 0:A.getNextPageParam(R[R.length-1],R)}function v(A,R){return A.getPreviousPageParam==null?void 0:A.getPreviousPageParam(R[0],R)}function _(A,R){if(A.getNextPageParam&&Array.isArray(R)){var P=c(A,R);return typeof P<"u"&&P!==null&&P!==!1}}function T(A,R){if(A.getPreviousPageParam&&Array.isArray(R)){var P=v(A,R);return typeof P<"u"&&P!==null&&P!==!1}}},29128:(U,C,e)=>{"use strict";e.d(C,{e:()=>a,k:()=>l});var i=console;function a(){return i}function l(c){i=c}},76832:(U,C,e)=>{"use strict";e.d(C,{e:()=>_,k:()=>T});var i=e(59056),a=e(29128),l=e(20272),c=e(41560),v=e(49448),_=function(){function R(M){this.options=(0,i.c)({},M.defaultOptions,M.options),this.mutationId=M.mutationId,this.mutationCache=M.mutationCache,this.observers=[],this.state=M.state||T(),this.meta=M.meta}var P=R.prototype;return P.setState=function(O){this.dispatch({type:"setState",state:O})},P.addObserver=function(O){this.observers.indexOf(O)===-1&&this.observers.push(O)},P.removeObserver=function(O){this.observers=this.observers.filter(function(N){return N!==O})},P.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(v.Kw).catch(v.Kw)):Promise.resolve()},P.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},P.execute=function(){var O=this,N,B=this.state.status==="loading",j=Promise.resolve();return B||(this.dispatch({type:"loading",variables:this.options.variables}),j=j.then(function(){O.mutationCache.config.onMutate==null||O.mutationCache.config.onMutate(O.state.variables,O)}).then(function(){return O.options.onMutate==null?void 0:O.options.onMutate(O.state.variables)}).then(function(z){z!==O.state.context&&O.dispatch({type:"loading",context:z,variables:O.state.variables})})),j.then(function(){return O.executeMutation()}).then(function(z){N=z,O.mutationCache.config.onSuccess==null||O.mutationCache.config.onSuccess(N,O.state.variables,O.state.context,O)}).then(function(){return O.options.onSuccess==null?void 0:O.options.onSuccess(N,O.state.variables,O.state.context)}).then(function(){return O.options.onSettled==null?void 0:O.options.onSettled(N,null,O.state.variables,O.state.context)}).then(function(){return O.dispatch({type:"success",data:N}),N}).catch(function(z){return O.mutationCache.config.onError==null||O.mutationCache.config.onError(z,O.state.variables,O.state.context,O),(0,a.e)().error(z),Promise.resolve().then(function(){return O.options.onError==null?void 0:O.options.onError(z,O.state.variables,O.state.context)}).then(function(){return O.options.onSettled==null?void 0:O.options.onSettled(void 0,z,O.state.variables,O.state.context)}).then(function(){throw O.dispatch({type:"error",error:z}),z})})},P.executeMutation=function(){var O=this,N;return this.retryer=new c.et({fn:function(){return O.options.mutationFn?O.options.mutationFn(O.state.variables):Promise.reject("No mutationFn found")},onFail:function(){O.dispatch({type:"failed"})},onPause:function(){O.dispatch({type:"pause"})},onContinue:function(){O.dispatch({type:"continue"})},retry:(N=this.options.retry)!=null?N:0,retryDelay:this.options.retryDelay}),this.retryer.promise},P.dispatch=function(O){var N=this;this.state=A(this.state,O),l.y.batch(function(){N.observers.forEach(function(B){B.onMutationUpdate(O)}),N.mutationCache.notify(N)})},R}();function T(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}function A(R,P){switch(P.type){case"failed":return(0,i.c)({},R,{failureCount:R.failureCount+1});case"pause":return(0,i.c)({},R,{isPaused:!0});case"continue":return(0,i.c)({},R,{isPaused:!1});case"loading":return(0,i.c)({},R,{context:P.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:P.variables});case"success":return(0,i.c)({},R,{data:P.data,error:null,status:"success",isPaused:!1});case"error":return(0,i.c)({},R,{data:void 0,error:P.error,failureCount:R.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,i.c)({},R,P.state);default:return R}}},20272:(U,C,e)=>{"use strict";e.d(C,{y:()=>l});var i=e(49448),a=function(){function c(){this.queue=[],this.transactions=0,this.notifyFn=function(_){_()},this.batchNotifyFn=function(_){_()}}var v=c.prototype;return v.batch=function(T){var A;this.transactions++;try{A=T()}finally{this.transactions--,this.transactions||this.flush()}return A},v.schedule=function(T){var A=this;this.transactions?this.queue.push(T):(0,i._8)(function(){A.notifyFn(T)})},v.batchCalls=function(T){var A=this;return function(){for(var R=arguments.length,P=new Array(R),M=0;M<R;M++)P[M]=arguments[M];A.schedule(function(){T.apply(void 0,P)})}},v.flush=function(){var T=this,A=this.queue;this.queue=[],A.length&&(0,i._8)(function(){T.batchNotifyFn(function(){A.forEach(function(R){T.notifyFn(R)})})})},v.setNotifyFunction=function(T){this.notifyFn=T},v.setBatchNotifyFunction=function(T){this.batchNotifyFn=T},c}(),l=new a},80120:(U,C,e)=>{"use strict";e.d(C,{q:()=>v});var i=e(56384),a=e(17412),l=e(49448),c=function(_){(0,i.c)(T,_);function T(){var R;return R=_.call(this)||this,R.setup=function(P){var M;if(!l.oj&&((M=window)!=null&&M.addEventListener)){var O=function(){return P()};return window.addEventListener("online",O,!1),window.addEventListener("offline",O,!1),function(){window.removeEventListener("online",O),window.removeEventListener("offline",O)}}},R}var A=T.prototype;return A.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},A.onUnsubscribe=function(){if(!this.hasListeners()){var P;(P=this.cleanup)==null||P.call(this),this.cleanup=void 0}},A.setEventListener=function(P){var M,O=this;this.setup=P,(M=this.cleanup)==null||M.call(this),this.cleanup=P(function(N){typeof N=="boolean"?O.setOnline(N):O.onOnline()})},A.setOnline=function(P){this.online=P,P&&this.onOnline()},A.onOnline=function(){this.listeners.forEach(function(P){P()})},A.isOnline=function(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine},T}(a.Q),v=new c},4408:(U,C,e)=>{"use strict";e.d(C,{S:()=>j});var i=e(59056),a=e(49448),l=e(56384),c=e(20272),v=e(29128),_=e(41560),T=function(){function z(X){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=X.defaultOptions,this.setOptions(X.options),this.observers=[],this.cache=X.cache,this.queryKey=X.queryKey,this.queryHash=X.queryHash,this.initialState=X.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=X.meta,this.scheduleGc()}var W=z.prototype;return W.setOptions=function(Q){var K;this.options=(0,i.c)({},this.defaultOptions,Q),this.meta=Q?.meta,this.cacheTime=Math.max(this.cacheTime||0,(K=this.options.cacheTime)!=null?K:5*60*1e3)},W.setDefaultOptions=function(Q){this.defaultOptions=Q},W.scheduleGc=function(){var Q=this;this.clearGcTimeout(),(0,a.AT)(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){Q.optionalRemove()},this.cacheTime))},W.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},W.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},W.setData=function(Q,K){var Y,Z,J=this.state.data,ee=(0,a.iY)(Q,J);return(Y=(Z=this.options).isDataEqual)!=null&&Y.call(Z,J,ee)?ee=J:this.options.structuralSharing!==!1&&(ee=(0,a.CO)(J,ee)),this.dispatch({data:ee,type:"success",dataUpdatedAt:K?.updatedAt}),ee},W.setState=function(Q,K){this.dispatch({type:"setState",state:Q,setStateOptions:K})},W.cancel=function(Q){var K,Y=this.promise;return(K=this.retryer)==null||K.cancel(Q),Y?Y.then(a.Kw).catch(a.Kw):Promise.resolve()},W.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},W.reset=function(){this.destroy(),this.setState(this.initialState)},W.isActive=function(){return this.observers.some(function(Q){return Q.options.enabled!==!1})},W.isFetching=function(){return this.state.isFetching},W.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(Q){return Q.getCurrentResult().isStale})},W.isStaleByTime=function(Q){return Q===void 0&&(Q=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,a.ob)(this.state.dataUpdatedAt,Q)},W.onFocus=function(){var Q,K=this.observers.find(function(Y){return Y.shouldFetchOnWindowFocus()});K&&K.refetch(),(Q=this.retryer)==null||Q.continue()},W.onOnline=function(){var Q,K=this.observers.find(function(Y){return Y.shouldFetchOnReconnect()});K&&K.refetch(),(Q=this.retryer)==null||Q.continue()},W.addObserver=function(Q){this.observers.indexOf(Q)===-1&&(this.observers.push(Q),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:Q}))},W.removeObserver=function(Q){this.observers.indexOf(Q)!==-1&&(this.observers=this.observers.filter(function(K){return K!==Q}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:Q}))},W.getObserversCount=function(){return this.observers.length},W.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},W.fetch=function(Q,K){var Y=this,Z,J,ee;if(this.state.isFetching){if(this.state.dataUpdatedAt&&K?.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var re;return(re=this.retryer)==null||re.continueRetry(),this.promise}}if(Q&&this.setOptions(Q),!this.options.queryFn){var me=this.observers.find(function(Fe){return Fe.options.queryFn});me&&this.setOptions(me.options)}var fe=(0,a.ye)(this.queryKey),le=(0,a._k)(),Ve={queryKey:fe,pageParam:void 0,meta:this.meta};Object.defineProperty(Ve,"signal",{enumerable:!0,get:function(){if(le)return Y.abortSignalConsumed=!0,le.signal}});var Ze=function(){return Y.options.queryFn?(Y.abortSignalConsumed=!1,Y.options.queryFn(Ve)):Promise.reject("Missing queryFn")},Ce={fetchOptions:K,options:this.options,queryKey:fe,state:this.state,fetchFn:Ze,meta:this.meta};if((Z=this.options.behavior)!=null&&Z.onFetch){var ye;(ye=this.options.behavior)==null||ye.onFetch(Ce)}if(this.revertState=this.state,!this.state.isFetching||this.state.fetchMeta!==((J=Ce.fetchOptions)==null?void 0:J.meta)){var Ae;this.dispatch({type:"fetch",meta:(Ae=Ce.fetchOptions)==null?void 0:Ae.meta})}return this.retryer=new _.et({fn:Ce.fetchFn,abort:le==null||(ee=le.abort)==null?void 0:ee.bind(le),onSuccess:function(Qe){Y.setData(Qe),Y.cache.config.onSuccess==null||Y.cache.config.onSuccess(Qe,Y),Y.cacheTime===0&&Y.optionalRemove()},onError:function(Qe){(0,_.qu)(Qe)&&Qe.silent||Y.dispatch({type:"error",error:Qe}),(0,_.qu)(Qe)||(Y.cache.config.onError==null||Y.cache.config.onError(Qe,Y),(0,v.e)().error(Qe)),Y.cacheTime===0&&Y.optionalRemove()},onFail:function(){Y.dispatch({type:"failed"})},onPause:function(){Y.dispatch({type:"pause"})},onContinue:function(){Y.dispatch({type:"continue"})},retry:Ce.options.retry,retryDelay:Ce.options.retryDelay}),this.promise=this.retryer.promise,this.promise},W.dispatch=function(Q){var K=this;this.state=this.reducer(this.state,Q),c.y.batch(function(){K.observers.forEach(function(Y){Y.onQueryUpdate(Q)}),K.cache.notify({query:K,type:"queryUpdated",action:Q})})},W.getDefaultState=function(Q){var K=typeof Q.initialData=="function"?Q.initialData():Q.initialData,Y=typeof Q.initialData<"u",Z=Y?typeof Q.initialDataUpdatedAt=="function"?Q.initialDataUpdatedAt():Q.initialDataUpdatedAt:0,J=typeof K<"u";return{data:K,dataUpdateCount:0,dataUpdatedAt:J?Z??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:J?"success":"idle"}},W.reducer=function(Q,K){var Y,Z;switch(K.type){case"failed":return(0,i.c)({},Q,{fetchFailureCount:Q.fetchFailureCount+1});case"pause":return(0,i.c)({},Q,{isPaused:!0});case"continue":return(0,i.c)({},Q,{isPaused:!1});case"fetch":return(0,i.c)({},Q,{fetchFailureCount:0,fetchMeta:(Y=K.meta)!=null?Y:null,isFetching:!0,isPaused:!1},!Q.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,i.c)({},Q,{data:K.data,dataUpdateCount:Q.dataUpdateCount+1,dataUpdatedAt:(Z=K.dataUpdatedAt)!=null?Z:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var J=K.error;return(0,_.qu)(J)&&J.revert&&this.revertState?(0,i.c)({},this.revertState):(0,i.c)({},Q,{error:J,errorUpdateCount:Q.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:Q.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,i.c)({},Q,{isInvalidated:!0});case"setState":return(0,i.c)({},Q,K.state);default:return Q}},z}(),A=e(17412),R=function(z){(0,l.c)(W,z);function W(Q){var K;return K=z.call(this)||this,K.config=Q||{},K.queries=[],K.queriesMap={},K}var X=W.prototype;return X.build=function(K,Y,Z){var J,ee=Y.queryKey,re=(J=Y.queryHash)!=null?J:(0,a.oX)(ee,Y),me=this.get(re);return me||(me=new T({cache:this,queryKey:ee,queryHash:re,options:K.defaultQueryOptions(Y),state:Z,defaultOptions:K.getQueryDefaults(ee),meta:Y.meta}),this.add(me)),me},X.add=function(K){this.queriesMap[K.queryHash]||(this.queriesMap[K.queryHash]=K,this.queries.push(K),this.notify({type:"queryAdded",query:K}))},X.remove=function(K){var Y=this.queriesMap[K.queryHash];Y&&(K.destroy(),this.queries=this.queries.filter(function(Z){return Z!==K}),Y===K&&delete this.queriesMap[K.queryHash],this.notify({type:"queryRemoved",query:K}))},X.clear=function(){var K=this;c.y.batch(function(){K.queries.forEach(function(Y){K.remove(Y)})})},X.get=function(K){return this.queriesMap[K]},X.getAll=function(){return this.queries},X.find=function(K,Y){var Z=(0,a.A7)(K,Y),J=Z[0];return typeof J.exact>"u"&&(J.exact=!0),this.queries.find(function(ee){return(0,a._W)(J,ee)})},X.findAll=function(K,Y){var Z=(0,a.A7)(K,Y),J=Z[0];return Object.keys(J).length>0?this.queries.filter(function(ee){return(0,a._W)(J,ee)}):this.queries},X.notify=function(K){var Y=this;c.y.batch(function(){Y.listeners.forEach(function(Z){Z(K)})})},X.onFocus=function(){var K=this;c.y.batch(function(){K.queries.forEach(function(Y){Y.onFocus()})})},X.onOnline=function(){var K=this;c.y.batch(function(){K.queries.forEach(function(Y){Y.onOnline()})})},W}(A.Q),P=e(76832),M=function(z){(0,l.c)(W,z);function W(Q){var K;return K=z.call(this)||this,K.config=Q||{},K.mutations=[],K.mutationId=0,K}var X=W.prototype;return X.build=function(K,Y,Z){var J=new P.e({mutationCache:this,mutationId:++this.mutationId,options:K.defaultMutationOptions(Y),state:Z,defaultOptions:Y.mutationKey?K.getMutationDefaults(Y.mutationKey):void 0,meta:Y.meta});return this.add(J),J},X.add=function(K){this.mutations.push(K),this.notify(K)},X.remove=function(K){this.mutations=this.mutations.filter(function(Y){return Y!==K}),K.cancel(),this.notify(K)},X.clear=function(){var K=this;c.y.batch(function(){K.mutations.forEach(function(Y){K.remove(Y)})})},X.getAll=function(){return this.mutations},X.find=function(K){return typeof K.exact>"u"&&(K.exact=!0),this.mutations.find(function(Y){return(0,a.Yn)(K,Y)})},X.findAll=function(K){return this.mutations.filter(function(Y){return(0,a.Yn)(K,Y)})},X.notify=function(K){var Y=this;c.y.batch(function(){Y.listeners.forEach(function(Z){Z(K)})})},X.onFocus=function(){this.resumePausedMutations()},X.onOnline=function(){this.resumePausedMutations()},X.resumePausedMutations=function(){var K=this.mutations.filter(function(Y){return Y.state.isPaused});return c.y.batch(function(){return K.reduce(function(Y,Z){return Y.then(function(){return Z.continue().catch(a.Kw)})},Promise.resolve())})},W}(A.Q),O=e(1480),N=e(80120),B=e(12188),j=function(){function z(X){X===void 0&&(X={}),this.queryCache=X.queryCache||new R,this.mutationCache=X.mutationCache||new M,this.defaultOptions=X.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var W=z.prototype;return W.mount=function(){var Q=this;this.unsubscribeFocus=O.m.subscribe(function(){O.m.isFocused()&&N.q.isOnline()&&(Q.mutationCache.onFocus(),Q.queryCache.onFocus())}),this.unsubscribeOnline=N.q.subscribe(function(){O.m.isFocused()&&N.q.isOnline()&&(Q.mutationCache.onOnline(),Q.queryCache.onOnline())})},W.unmount=function(){var Q,K;(Q=this.unsubscribeFocus)==null||Q.call(this),(K=this.unsubscribeOnline)==null||K.call(this)},W.isFetching=function(Q,K){var Y=(0,a.A7)(Q,K),Z=Y[0];return Z.fetching=!0,this.queryCache.findAll(Z).length},W.isMutating=function(Q){return this.mutationCache.findAll((0,i.c)({},Q,{fetching:!0})).length},W.getQueryData=function(Q,K){var Y;return(Y=this.queryCache.find(Q,K))==null?void 0:Y.state.data},W.getQueriesData=function(Q){return this.getQueryCache().findAll(Q).map(function(K){var Y=K.queryKey,Z=K.state,J=Z.data;return[Y,J]})},W.setQueryData=function(Q,K,Y){var Z=(0,a.O2)(Q),J=this.defaultQueryOptions(Z);return this.queryCache.build(this,J).setData(K,Y)},W.setQueriesData=function(Q,K,Y){var Z=this;return c.y.batch(function(){return Z.getQueryCache().findAll(Q).map(function(J){var ee=J.queryKey;return[ee,Z.setQueryData(ee,K,Y)]})})},W.getQueryState=function(Q,K){var Y;return(Y=this.queryCache.find(Q,K))==null?void 0:Y.state},W.removeQueries=function(Q,K){var Y=(0,a.A7)(Q,K),Z=Y[0],J=this.queryCache;c.y.batch(function(){J.findAll(Z).forEach(function(ee){J.remove(ee)})})},W.resetQueries=function(Q,K,Y){var Z=this,J=(0,a.A7)(Q,K,Y),ee=J[0],re=J[1],me=this.queryCache,fe=(0,i.c)({},ee,{active:!0});return c.y.batch(function(){return me.findAll(ee).forEach(function(le){le.reset()}),Z.refetchQueries(fe,re)})},W.cancelQueries=function(Q,K,Y){var Z=this,J=(0,a.A7)(Q,K,Y),ee=J[0],re=J[1],me=re===void 0?{}:re;typeof me.revert>"u"&&(me.revert=!0);var fe=c.y.batch(function(){return Z.queryCache.findAll(ee).map(function(le){return le.cancel(me)})});return Promise.all(fe).then(a.Kw).catch(a.Kw)},W.invalidateQueries=function(Q,K,Y){var Z,J,ee,re=this,me=(0,a.A7)(Q,K,Y),fe=me[0],le=me[1],Ve=(0,i.c)({},fe,{active:(Z=(J=fe.refetchActive)!=null?J:fe.active)!=null?Z:!0,inactive:(ee=fe.refetchInactive)!=null?ee:!1});return c.y.batch(function(){return re.queryCache.findAll(fe).forEach(function(Ze){Ze.invalidate()}),re.refetchQueries(Ve,le)})},W.refetchQueries=function(Q,K,Y){var Z=this,J=(0,a.A7)(Q,K,Y),ee=J[0],re=J[1],me=c.y.batch(function(){return Z.queryCache.findAll(ee).map(function(le){return le.fetch(void 0,(0,i.c)({},re,{meta:{refetchPage:ee?.refetchPage}}))})}),fe=Promise.all(me).then(a.Kw);return re?.throwOnError||(fe=fe.catch(a.Kw)),fe},W.fetchQuery=function(Q,K,Y){var Z=(0,a.O2)(Q,K,Y),J=this.defaultQueryOptions(Z);typeof J.retry>"u"&&(J.retry=!1);var ee=this.queryCache.build(this,J);return ee.isStaleByTime(J.staleTime)?ee.fetch(J):Promise.resolve(ee.state.data)},W.prefetchQuery=function(Q,K,Y){return this.fetchQuery(Q,K,Y).then(a.Kw).catch(a.Kw)},W.fetchInfiniteQuery=function(Q,K,Y){var Z=(0,a.O2)(Q,K,Y);return Z.behavior=(0,B.Cg)(),this.fetchQuery(Z)},W.prefetchInfiniteQuery=function(Q,K,Y){return this.fetchInfiniteQuery(Q,K,Y).then(a.Kw).catch(a.Kw)},W.cancelMutations=function(){var Q=this,K=c.y.batch(function(){return Q.mutationCache.getAll().map(function(Y){return Y.cancel()})});return Promise.all(K).then(a.Kw).catch(a.Kw)},W.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},W.executeMutation=function(Q){return this.mutationCache.build(this,Q).execute()},W.getQueryCache=function(){return this.queryCache},W.getMutationCache=function(){return this.mutationCache},W.getDefaultOptions=function(){return this.defaultOptions},W.setDefaultOptions=function(Q){this.defaultOptions=Q},W.setQueryDefaults=function(Q,K){var Y=this.queryDefaults.find(function(Z){return(0,a.aw)(Q)===(0,a.aw)(Z.queryKey)});Y?Y.defaultOptions=K:this.queryDefaults.push({queryKey:Q,defaultOptions:K})},W.getQueryDefaults=function(Q){var K;return Q?(K=this.queryDefaults.find(function(Y){return(0,a.GS)(Q,Y.queryKey)}))==null?void 0:K.defaultOptions:void 0},W.setMutationDefaults=function(Q,K){var Y=this.mutationDefaults.find(function(Z){return(0,a.aw)(Q)===(0,a.aw)(Z.mutationKey)});Y?Y.defaultOptions=K:this.mutationDefaults.push({mutationKey:Q,defaultOptions:K})},W.getMutationDefaults=function(Q){var K;return Q?(K=this.mutationDefaults.find(function(Y){return(0,a.GS)(Q,Y.mutationKey)}))==null?void 0:K.defaultOptions:void 0},W.defaultQueryOptions=function(Q){if(Q?._defaulted)return Q;var K=(0,i.c)({},this.defaultOptions.queries,this.getQueryDefaults(Q?.queryKey),Q,{_defaulted:!0});return!K.queryHash&&K.queryKey&&(K.queryHash=(0,a.oX)(K.queryKey,K)),K},W.defaultQueryObserverOptions=function(Q){return this.defaultQueryOptions(Q)},W.defaultMutationOptions=function(Q){return Q?._defaulted?Q:(0,i.c)({},this.defaultOptions.mutations,this.getMutationDefaults(Q?.mutationKey),Q,{_defaulted:!0})},W.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},z}()},41560:(U,C,e)=>{"use strict";e.d(C,{et:()=>A,k7:()=>v,qu:()=>T});var i=e(1480),a=e(80120),l=e(49448);function c(R){return Math.min(1e3*Math.pow(2,R),3e4)}function v(R){return typeof R?.cancel=="function"}var _=function(P){this.revert=P?.revert,this.silent=P?.silent};function T(R){return R instanceof _}var A=function(P){var M=this,O=!1,N,B,j,z;this.abort=P.abort,this.cancel=function(Y){return N?.(Y)},this.cancelRetry=function(){O=!0},this.continueRetry=function(){O=!1},this.continue=function(){return B?.()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(Y,Z){j=Y,z=Z});var W=function(Z){M.isResolved||(M.isResolved=!0,P.onSuccess==null||P.onSuccess(Z),B?.(),j(Z))},X=function(Z){M.isResolved||(M.isResolved=!0,P.onError==null||P.onError(Z),B?.(),z(Z))},Q=function(){return new Promise(function(Z){B=Z,M.isPaused=!0,P.onPause==null||P.onPause()}).then(function(){B=void 0,M.isPaused=!1,P.onContinue==null||P.onContinue()})},K=function Y(){if(!M.isResolved){var Z;try{Z=P.fn()}catch(J){Z=Promise.reject(J)}N=function(ee){if(!M.isResolved&&(X(new _(ee)),M.abort==null||M.abort(),v(Z)))try{Z.cancel()}catch{}},M.isTransportCancelable=v(Z),Promise.resolve(Z).then(W).catch(function(J){var ee,re;if(!M.isResolved){var me=(ee=P.retry)!=null?ee:3,fe=(re=P.retryDelay)!=null?re:c,le=typeof fe=="function"?fe(M.failureCount,J):fe,Ve=me===!0||typeof me=="number"&&M.failureCount<me||typeof me=="function"&&me(M.failureCount,J);if(O||!Ve){X(J);return}M.failureCount++,P.onFail==null||P.onFail(M.failureCount,J),(0,l.W_)(le).then(function(){if(!i.m.isFocused()||!a.q.isOnline())return Q()}).then(function(){O?X(J):Y()})}})}};K()}},17412:(U,C,e)=>{"use strict";e.d(C,{Q:()=>i});var i=function(){function a(){this.listeners=[]}var l=a.prototype;return l.subscribe=function(v){var _=this,T=v||function(){};return this.listeners.push(T),this.onSubscribe(),function(){_.listeners=_.listeners.filter(function(A){return A!==T}),_.onUnsubscribe()}},l.hasListeners=function(){return this.listeners.length>0},l.onSubscribe=function(){},l.onUnsubscribe=function(){},a}()},3200:()=>{},49448:(U,C,e)=>{"use strict";e.d(C,{A7:()=>O,AT:()=>v,CO:()=>Z,GM:()=>M,GS:()=>K,Kw:()=>l,O2:()=>P,W_:()=>le,Yn:()=>z,_8:()=>Ve,_W:()=>j,_k:()=>Ze,aw:()=>X,iY:()=>c,o1:()=>T,oX:()=>W,ob:()=>R,oj:()=>a,uA:()=>A,wL:()=>J,ye:()=>_});var i=e(59056),a=typeof window>"u";function l(){}function c(Ce,ye){return typeof Ce=="function"?Ce(ye):Ce}function v(Ce){return typeof Ce=="number"&&Ce>=0&&Ce!==1/0}function _(Ce){return Array.isArray(Ce)?Ce:[Ce]}function T(Ce,ye){return Ce.filter(function(Ae){return ye.indexOf(Ae)===-1})}function A(Ce,ye,Ae){var Fe=Ce.slice(0);return Fe[ye]=Ae,Fe}function R(Ce,ye){return Math.max(Ce+(ye||0)-Date.now(),0)}function P(Ce,ye,Ae){return me(Ce)?typeof ye=="function"?(0,i.c)({},Ae,{queryKey:Ce,queryFn:ye}):(0,i.c)({},ye,{queryKey:Ce}):Ce}function M(Ce,ye,Ae){return me(Ce)?typeof ye=="function"?(0,i.c)({},Ae,{mutationKey:Ce,mutationFn:ye}):(0,i.c)({},ye,{mutationKey:Ce}):typeof Ce=="function"?(0,i.c)({},ye,{mutationFn:Ce}):(0,i.c)({},Ce)}function O(Ce,ye,Ae){return me(Ce)?[(0,i.c)({},ye,{queryKey:Ce}),Ae]:[Ce||{},ye]}function N(Ce,ye){return me(Ce)?_extends({},ye,{mutationKey:Ce}):Ce}function B(Ce,ye){if(Ce===!0&&ye===!0||Ce==null&&ye==null)return"all";if(Ce===!1&&ye===!1)return"none";var Ae=Ce??!ye;return Ae?"active":"inactive"}function j(Ce,ye){var Ae=Ce.active,Fe=Ce.exact,Qe=Ce.fetching,ce=Ce.inactive,Ge=Ce.predicate,Pe=Ce.queryKey,pe=Ce.stale;if(me(Pe)){if(Fe){if(ye.queryHash!==W(Pe,ye.options))return!1}else if(!K(ye.queryKey,Pe))return!1}var Se=B(Ae,ce);if(Se==="none")return!1;if(Se!=="all"){var _e=ye.isActive();if(Se==="active"&&!_e||Se==="inactive"&&_e)return!1}return!(typeof pe=="boolean"&&ye.isStale()!==pe||typeof Qe=="boolean"&&ye.isFetching()!==Qe||Ge&&!Ge(ye))}function z(Ce,ye){var Ae=Ce.exact,Fe=Ce.fetching,Qe=Ce.predicate,ce=Ce.mutationKey;if(me(ce)){if(!ye.options.mutationKey)return!1;if(Ae){if(X(ye.options.mutationKey)!==X(ce))return!1}else if(!K(ye.options.mutationKey,ce))return!1}return!(typeof Fe=="boolean"&&ye.state.status==="loading"!==Fe||Qe&&!Qe(ye))}function W(Ce,ye){var Ae=ye?.queryKeyHashFn||X;return Ae(Ce)}function X(Ce){var ye=_(Ce);return Q(ye)}function Q(Ce){return JSON.stringify(Ce,function(ye,Ae){return ee(Ae)?Object.keys(Ae).sort().reduce(function(Fe,Qe){return Fe[Qe]=Ae[Qe],Fe},{}):Ae})}function K(Ce,ye){return Y(_(Ce),_(ye))}function Y(Ce,ye){return Ce===ye?!0:typeof Ce!=typeof ye?!1:Ce&&ye&&typeof Ce=="object"&&typeof ye=="object"?!Object.keys(ye).some(function(Ae){return!Y(Ce[Ae],ye[Ae])}):!1}function Z(Ce,ye){if(Ce===ye)return Ce;var Ae=Array.isArray(Ce)&&Array.isArray(ye);if(Ae||ee(Ce)&&ee(ye)){for(var Fe=Ae?Ce.length:Object.keys(Ce).length,Qe=Ae?ye:Object.keys(ye),ce=Qe.length,Ge=Ae?[]:{},Pe=0,pe=0;pe<ce;pe++){var Se=Ae?pe:Qe[pe];Ge[Se]=Z(Ce[Se],ye[Se]),Ge[Se]===Ce[Se]&&Pe++}return Fe===ce&&Pe===Fe?Ce:Ge}return ye}function J(Ce,ye){if(Ce&&!ye||ye&&!Ce)return!1;for(var Ae in Ce)if(Ce[Ae]!==ye[Ae])return!1;return!0}function ee(Ce){if(!re(Ce))return!1;var ye=Ce.constructor;if(typeof ye>"u")return!0;var Ae=ye.prototype;return!(!re(Ae)||!Ae.hasOwnProperty("isPrototypeOf"))}function re(Ce){return Object.prototype.toString.call(Ce)==="[object Object]"}function me(Ce){return typeof Ce=="string"||Array.isArray(Ce)}function fe(Ce){return Ce instanceof Error}function le(Ce){return new Promise(function(ye){setTimeout(ye,Ce)})}function Ve(Ce){Promise.resolve().then(Ce).catch(function(ye){return setTimeout(function(){throw ye})})}function Ze(){if(typeof AbortController=="function")return new AbortController}},48632:(U,C,e)=>{"use strict";e.d(C,{QueryClient:()=>i.QueryClient,QueryClientProvider:()=>a.QueryClientProvider,useInfiniteQuery:()=>a.useInfiniteQuery,useMutation:()=>a.useMutation,useQueries:()=>a.useQueries,useQuery:()=>a.useQuery,useQueryClient:()=>a.useQueryClient});var i=e(2216);e.o(i,"QueryClientProvider")&&e.d(C,{QueryClientProvider:function(){return i.QueryClientProvider}}),e.o(i,"useInfiniteQuery")&&e.d(C,{useInfiniteQuery:function(){return i.useInfiniteQuery}}),e.o(i,"useMutation")&&e.d(C,{useMutation:function(){return i.useMutation}}),e.o(i,"useQueries")&&e.d(C,{useQueries:function(){return i.useQueries}}),e.o(i,"useQuery")&&e.d(C,{useQuery:function(){return i.useQuery}}),e.o(i,"useQueryClient")&&e.d(C,{useQueryClient:function(){return i.useQueryClient}});var a=e(32692)},32692:(U,C,e)=>{"use strict";e.d(C,{QueryClientProvider:()=>M,useInfiniteQuery:()=>Pe,useMutation:()=>Q,useQueries:()=>Qe,useQuery:()=>Ae,useQueryClient:()=>P});var i=e(20272),a=e(19632),l=a.unstable_batchedUpdates;i.y.setBatchNotifyFunction(l);var c=e(29128),v=console;(0,c.k)(v);var _=e(62552),T=_.createContext(void 0),A=_.createContext(!1);function R(pe){return pe&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=T),window.ReactQueryClientContext):T}var P=function(){var Se=_.useContext(R(_.useContext(A)));if(!Se)throw new Error("No QueryClient set, use QueryClientProvider to set one");return Se},M=function(Se){var _e=Se.client,Ne=Se.contextSharing,Le=Ne===void 0?!1:Ne,Ke=Se.children;_.useEffect(function(){return _e.mount(),function(){_e.unmount()}},[_e]);var bt=R(Le);return _.createElement(A.Provider,{value:Le},_.createElement(bt.Provider,{value:_e},Ke))},O=e(59056),N=e(49448),B=e(56384),j=e(76832),z=e(17412),W=function(pe){(0,B.c)(Se,pe);function Se(Ne,Le){var Ke;return Ke=pe.call(this)||this,Ke.client=Ne,Ke.setOptions(Le),Ke.bindMethods(),Ke.updateResult(),Ke}var _e=Se.prototype;return _e.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},_e.setOptions=function(Le){this.options=this.client.defaultMutationOptions(Le)},_e.onUnsubscribe=function(){if(!this.listeners.length){var Le;(Le=this.currentMutation)==null||Le.removeObserver(this)}},_e.onMutationUpdate=function(Le){this.updateResult();var Ke={listeners:!0};Le.type==="success"?Ke.onSuccess=!0:Le.type==="error"&&(Ke.onError=!0),this.notify(Ke)},_e.getCurrentResult=function(){return this.currentResult},_e.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},_e.mutate=function(Le,Ke){return this.mutateOptions=Ke,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,O.c)({},this.options,{variables:typeof Le<"u"?Le:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},_e.updateResult=function(){var Le=this.currentMutation?this.currentMutation.state:(0,j.k)(),Ke=(0,O.c)({},Le,{isLoading:Le.status==="loading",isSuccess:Le.status==="success",isError:Le.status==="error",isIdle:Le.status==="idle",mutate:this.mutate,reset:this.reset});this.currentResult=Ke},_e.notify=function(Le){var Ke=this;i.y.batch(function(){Ke.mutateOptions&&(Le.onSuccess?(Ke.mutateOptions.onSuccess==null||Ke.mutateOptions.onSuccess(Ke.currentResult.data,Ke.currentResult.variables,Ke.currentResult.context),Ke.mutateOptions.onSettled==null||Ke.mutateOptions.onSettled(Ke.currentResult.data,null,Ke.currentResult.variables,Ke.currentResult.context)):Le.onError&&(Ke.mutateOptions.onError==null||Ke.mutateOptions.onError(Ke.currentResult.error,Ke.currentResult.variables,Ke.currentResult.context),Ke.mutateOptions.onSettled==null||Ke.mutateOptions.onSettled(void 0,Ke.currentResult.error,Ke.currentResult.variables,Ke.currentResult.context))),Le.listeners&&Ke.listeners.forEach(function(bt){bt(Ke.currentResult)})})},Se}(z.Q);function X(pe,Se,_e){return typeof Se=="function"?Se.apply(void 0,_e):typeof Se=="boolean"?Se:!!pe}function Q(pe,Se,_e){var Ne=_.useRef(!1),Le=_.useState(0),Ke=Le[1],bt=(0,N.GM)(pe,Se,_e),yt=P(),It=_.useRef();It.current?It.current.setOptions(bt):It.current=new W(yt,bt);var _t=It.current.getCurrentResult();_.useEffect(function(){Ne.current=!0;var Vt=It.current.subscribe(i.y.batchCalls(function(){Ne.current&&Ke(function(St){return St+1})}));return function(){Ne.current=!1,Vt()}},[]);var zt=_.useCallback(function(Vt,St){It.current.mutate(Vt,St).catch(N.Kw)},[]);if(_t.error&&X(void 0,It.current.options.useErrorBoundary,[_t.error]))throw _t.error;return(0,O.c)({},_t,{mutate:zt,mutateAsync:_t.mutate})}var K=e(1480),Y=e(41560),Z=function(pe){(0,B.c)(Se,pe);function Se(Ne,Le){var Ke;return Ke=pe.call(this)||this,Ke.client=Ne,Ke.options=Le,Ke.trackedProps=[],Ke.selectError=null,Ke.bindMethods(),Ke.setOptions(Le),Ke}var _e=Se.prototype;return _e.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},_e.onSubscribe=function(){this.listeners.length===1&&(this.currentQuery.addObserver(this),ee(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},_e.onUnsubscribe=function(){this.listeners.length||this.destroy()},_e.shouldFetchOnReconnect=function(){return re(this.currentQuery,this.options,this.options.refetchOnReconnect)},_e.shouldFetchOnWindowFocus=function(){return re(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},_e.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},_e.setOptions=function(Le,Ke){var bt=this.options,yt=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(Le),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=bt.queryKey),this.updateQuery();var It=this.hasListeners();It&&me(this.currentQuery,yt,this.options,bt)&&this.executeFetch(),this.updateResult(Ke),It&&(this.currentQuery!==yt||this.options.enabled!==bt.enabled||this.options.staleTime!==bt.staleTime)&&this.updateStaleTimeout();var _t=this.computeRefetchInterval();It&&(this.currentQuery!==yt||this.options.enabled!==bt.enabled||_t!==this.currentRefetchInterval)&&this.updateRefetchInterval(_t)},_e.getOptimisticResult=function(Le){var Ke=this.client.defaultQueryObserverOptions(Le),bt=this.client.getQueryCache().build(this.client,Ke);return this.createResult(bt,Ke)},_e.getCurrentResult=function(){return this.currentResult},_e.trackResult=function(Le,Ke){var bt=this,yt={},It=function(zt){bt.trackedProps.includes(zt)||bt.trackedProps.push(zt)};return Object.keys(Le).forEach(function(_t){Object.defineProperty(yt,_t,{configurable:!1,enumerable:!0,get:function(){return It(_t),Le[_t]}})}),(Ke.useErrorBoundary||Ke.suspense)&&It("error"),yt},_e.getNextResult=function(Le){var Ke=this;return new Promise(function(bt,yt){var It=Ke.subscribe(function(_t){_t.isFetching||(It(),_t.isError&&Le?.throwOnError?yt(_t.error):bt(_t))})})},_e.getCurrentQuery=function(){return this.currentQuery},_e.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},_e.refetch=function(Le){return this.fetch((0,O.c)({},Le,{meta:{refetchPage:Le?.refetchPage}}))},_e.fetchOptimistic=function(Le){var Ke=this,bt=this.client.defaultQueryObserverOptions(Le),yt=this.client.getQueryCache().build(this.client,bt);return yt.fetch().then(function(){return Ke.createResult(yt,bt)})},_e.fetch=function(Le){var Ke=this;return this.executeFetch(Le).then(function(){return Ke.updateResult(),Ke.currentResult})},_e.executeFetch=function(Le){this.updateQuery();var Ke=this.currentQuery.fetch(this.options,Le);return Le?.throwOnError||(Ke=Ke.catch(N.Kw)),Ke},_e.updateStaleTimeout=function(){var Le=this;if(this.clearStaleTimeout(),!(N.oj||this.currentResult.isStale||!(0,N.AT)(this.options.staleTime))){var Ke=(0,N.ob)(this.currentResult.dataUpdatedAt,this.options.staleTime),bt=Ke+1;this.staleTimeoutId=setTimeout(function(){Le.currentResult.isStale||Le.updateResult()},bt)}},_e.computeRefetchInterval=function(){var Le;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(Le=this.options.refetchInterval)!=null?Le:!1},_e.updateRefetchInterval=function(Le){var Ke=this;this.clearRefetchInterval(),this.currentRefetchInterval=Le,!(N.oj||this.options.enabled===!1||!(0,N.AT)(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(function(){(Ke.options.refetchIntervalInBackground||K.m.isFocused())&&Ke.executeFetch()},this.currentRefetchInterval))},_e.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},_e.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},_e.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},_e.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},_e.createResult=function(Le,Ke){var bt=this.currentQuery,yt=this.options,It=this.currentResult,_t=this.currentResultState,zt=this.currentResultOptions,Vt=Le!==bt,St=Vt?Le.state:this.currentQueryInitialState,Xt=Vt?this.currentResult:this.previousQueryResult,jt=Le.state,sn=jt.dataUpdatedAt,dt=jt.error,Ln=jt.errorUpdatedAt,fn=jt.isFetching,cr=jt.status,wr=!1,Jn=!1,nn;if(Ke.optimisticResults){var or=this.hasListeners(),bn=!or&&ee(Le,Ke),Sn=or&&me(Le,bt,Ke,yt);(bn||Sn)&&(fn=!0,sn||(cr="loading"))}if(Ke.keepPreviousData&&!jt.dataUpdateCount&&Xt?.isSuccess&&cr!=="error")nn=Xt.data,sn=Xt.dataUpdatedAt,cr=Xt.status,wr=!0;else if(Ke.select&&typeof jt.data<"u")if(It&&jt.data===_t?.data&&Ke.select===this.selectFn)nn=this.selectResult;else try{this.selectFn=Ke.select,nn=Ke.select(jt.data),Ke.structuralSharing!==!1&&(nn=(0,N.CO)(It?.data,nn)),this.selectResult=nn,this.selectError=null}catch(an){(0,c.e)().error(an),this.selectError=an}else nn=jt.data;if(typeof Ke.placeholderData<"u"&&typeof nn>"u"&&(cr==="loading"||cr==="idle")){var Hn;if(It?.isPlaceholderData&&Ke.placeholderData===zt?.placeholderData)Hn=It.data;else if(Hn=typeof Ke.placeholderData=="function"?Ke.placeholderData():Ke.placeholderData,Ke.select&&typeof Hn<"u")try{Hn=Ke.select(Hn),Ke.structuralSharing!==!1&&(Hn=(0,N.CO)(It?.data,Hn)),this.selectError=null}catch(an){(0,c.e)().error(an),this.selectError=an}typeof Hn<"u"&&(cr="success",nn=Hn,Jn=!0)}this.selectError&&(dt=this.selectError,nn=this.selectResult,Ln=Date.now(),cr="error");var er={status:cr,isLoading:cr==="loading",isSuccess:cr==="success",isError:cr==="error",isIdle:cr==="idle",data:nn,dataUpdatedAt:sn,error:dt,errorUpdatedAt:Ln,failureCount:jt.fetchFailureCount,errorUpdateCount:jt.errorUpdateCount,isFetched:jt.dataUpdateCount>0||jt.errorUpdateCount>0,isFetchedAfterMount:jt.dataUpdateCount>St.dataUpdateCount||jt.errorUpdateCount>St.errorUpdateCount,isFetching:fn,isRefetching:fn&&cr!=="loading",isLoadingError:cr==="error"&&jt.dataUpdatedAt===0,isPlaceholderData:Jn,isPreviousData:wr,isRefetchError:cr==="error"&&jt.dataUpdatedAt!==0,isStale:fe(Le,Ke),refetch:this.refetch,remove:this.remove};return er},_e.shouldNotifyListeners=function(Le,Ke){if(!Ke)return!0;var bt=this.options,yt=bt.notifyOnChangeProps,It=bt.notifyOnChangePropsExclusions;if(!yt&&!It||yt==="tracked"&&!this.trackedProps.length)return!0;var _t=yt==="tracked"?this.trackedProps:yt;return Object.keys(Le).some(function(zt){var Vt=zt,St=Le[Vt]!==Ke[Vt],Xt=_t?.some(function(sn){return sn===zt}),jt=It?.some(function(sn){return sn===zt});return St&&!jt&&(!_t||Xt)})},_e.updateResult=function(Le){var Ke=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,N.wL)(this.currentResult,Ke)){var bt={cache:!0};Le?.listeners!==!1&&this.shouldNotifyListeners(this.currentResult,Ke)&&(bt.listeners=!0),this.notify((0,O.c)({},bt,Le))}},_e.updateQuery=function(){var Le=this.client.getQueryCache().build(this.client,this.options);if(Le!==this.currentQuery){var Ke=this.currentQuery;this.currentQuery=Le,this.currentQueryInitialState=Le.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(Ke?.removeObserver(this),Le.addObserver(this))}},_e.onQueryUpdate=function(Le){var Ke={};Le.type==="success"?Ke.onSuccess=!0:Le.type==="error"&&!(0,Y.qu)(Le.error)&&(Ke.onError=!0),this.updateResult(Ke),this.hasListeners()&&this.updateTimers()},_e.notify=function(Le){var Ke=this;i.y.batch(function(){Le.onSuccess?(Ke.options.onSuccess==null||Ke.options.onSuccess(Ke.currentResult.data),Ke.options.onSettled==null||Ke.options.onSettled(Ke.currentResult.data,null)):Le.onError&&(Ke.options.onError==null||Ke.options.onError(Ke.currentResult.error),Ke.options.onSettled==null||Ke.options.onSettled(void 0,Ke.currentResult.error)),Le.listeners&&Ke.listeners.forEach(function(bt){bt(Ke.currentResult)}),Le.cache&&Ke.client.getQueryCache().notify({query:Ke.currentQuery,type:"observerResultsUpdated"})})},Se}(z.Q);function J(pe,Se){return Se.enabled!==!1&&!pe.state.dataUpdatedAt&&!(pe.state.status==="error"&&Se.retryOnMount===!1)}function ee(pe,Se){return J(pe,Se)||pe.state.dataUpdatedAt>0&&re(pe,Se,Se.refetchOnMount)}function re(pe,Se,_e){if(Se.enabled!==!1){var Ne=typeof _e=="function"?_e(pe):_e;return Ne==="always"||Ne!==!1&&fe(pe,Se)}return!1}function me(pe,Se,_e,Ne){return _e.enabled!==!1&&(pe!==Se||Ne.enabled===!1)&&(!_e.suspense||pe.state.status!=="error")&&fe(pe,_e)}function fe(pe,Se){return pe.isStaleByTime(Se.staleTime)}function le(){var pe=!1;return{clearReset:function(){pe=!1},reset:function(){pe=!0},isReset:function(){return pe}}}var Ve=_.createContext(le()),Ze=function(){return _.useContext(Ve)},Ce=function(Se){var _e=Se.children,Ne=React.useMemo(function(){return le()},[]);return React.createElement(Ve.Provider,{value:Ne},typeof _e=="function"?_e(Ne):_e)};function ye(pe,Se){var _e=_.useRef(!1),Ne=_.useState(0),Le=Ne[1],Ke=P(),bt=Ze(),yt=Ke.defaultQueryObserverOptions(pe);yt.optimisticResults=!0,yt.onError&&(yt.onError=i.y.batchCalls(yt.onError)),yt.onSuccess&&(yt.onSuccess=i.y.batchCalls(yt.onSuccess)),yt.onSettled&&(yt.onSettled=i.y.batchCalls(yt.onSettled)),yt.suspense&&(typeof yt.staleTime!="number"&&(yt.staleTime=1e3),yt.cacheTime===0&&(yt.cacheTime=1)),(yt.suspense||yt.useErrorBoundary)&&(bt.isReset()||(yt.retryOnMount=!1));var It=_.useState(function(){return new Se(Ke,yt)}),_t=It[0],zt=_t.getOptimisticResult(yt);if(_.useEffect(function(){_e.current=!0,bt.clearReset();var Vt=_t.subscribe(i.y.batchCalls(function(){_e.current&&Le(function(St){return St+1})}));return _t.updateResult(),function(){_e.current=!1,Vt()}},[bt,_t]),_.useEffect(function(){_t.setOptions(yt,{listeners:!1})},[yt,_t]),yt.suspense&&zt.isLoading)throw _t.fetchOptimistic(yt).then(function(Vt){var St=Vt.data;yt.onSuccess==null||yt.onSuccess(St),yt.onSettled==null||yt.onSettled(St,null)}).catch(function(Vt){bt.clearReset(),yt.onError==null||yt.onError(Vt),yt.onSettled==null||yt.onSettled(void 0,Vt)});if(zt.isError&&!bt.isReset()&&!zt.isFetching&&X(yt.suspense,yt.useErrorBoundary,[zt.error,_t.getCurrentQuery()]))throw zt.error;return yt.notifyOnChangeProps==="tracked"&&(zt=_t.trackResult(zt,yt)),zt}function Ae(pe,Se,_e){var Ne=(0,N.O2)(pe,Se,_e);return ye(Ne,Z)}var Fe=function(pe){(0,B.c)(Se,pe);function Se(Ne,Le){var Ke;return Ke=pe.call(this)||this,Ke.client=Ne,Ke.queries=[],Ke.result=[],Ke.observers=[],Ke.observersMap={},Le&&Ke.setQueries(Le),Ke}var _e=Se.prototype;return _e.onSubscribe=function(){var Le=this;this.listeners.length===1&&this.observers.forEach(function(Ke){Ke.subscribe(function(bt){Le.onUpdate(Ke,bt)})})},_e.onUnsubscribe=function(){this.listeners.length||this.destroy()},_e.destroy=function(){this.listeners=[],this.observers.forEach(function(Le){Le.destroy()})},_e.setQueries=function(Le,Ke){this.queries=Le,this.updateObservers(Ke)},_e.getCurrentResult=function(){return this.result},_e.getOptimisticResult=function(Le){return this.findMatchingObservers(Le).map(function(Ke){return Ke.observer.getOptimisticResult(Ke.defaultedQueryOptions)})},_e.findMatchingObservers=function(Le){var Ke=this,bt=this.observers,yt=Le.map(function(jt){return Ke.client.defaultQueryObserverOptions(jt)}),It=yt.flatMap(function(jt){var sn=bt.find(function(dt){return dt.options.queryHash===jt.queryHash});return sn!=null?[{defaultedQueryOptions:jt,observer:sn}]:[]}),_t=It.map(function(jt){return jt.defaultedQueryOptions.queryHash}),zt=yt.filter(function(jt){return!_t.includes(jt.queryHash)}),Vt=bt.filter(function(jt){return!It.some(function(sn){return sn.observer===jt})}),St=zt.map(function(jt,sn){if(jt.keepPreviousData){var dt=Vt[sn];if(dt!==void 0)return{defaultedQueryOptions:jt,observer:dt}}return{defaultedQueryOptions:jt,observer:Ke.getObserver(jt)}}),Xt=function(sn,dt){return yt.indexOf(sn.defaultedQueryOptions)-yt.indexOf(dt.defaultedQueryOptions)};return It.concat(St).sort(Xt)},_e.getObserver=function(Le){var Ke=this.client.defaultQueryObserverOptions(Le),bt=this.observersMap[Ke.queryHash];return bt??new Z(this.client,Ke)},_e.updateObservers=function(Le){var Ke=this;i.y.batch(function(){var bt=Ke.observers,yt=Ke.findMatchingObservers(Ke.queries);yt.forEach(function(St){return St.observer.setOptions(St.defaultedQueryOptions,Le)});var It=yt.map(function(St){return St.observer}),_t=Object.fromEntries(It.map(function(St){return[St.options.queryHash,St]})),zt=It.map(function(St){return St.getCurrentResult()}),Vt=It.some(function(St,Xt){return St!==bt[Xt]});bt.length===It.length&&!Vt||(Ke.observers=It,Ke.observersMap=_t,Ke.result=zt,Ke.hasListeners()&&((0,N.o1)(bt,It).forEach(function(St){St.destroy()}),(0,N.o1)(It,bt).forEach(function(St){St.subscribe(function(Xt){Ke.onUpdate(St,Xt)})}),Ke.notify()))})},_e.onUpdate=function(Le,Ke){var bt=this.observers.indexOf(Le);bt!==-1&&(this.result=(0,N.uA)(this.result,bt,Ke),this.notify())},_e.notify=function(){var Le=this;i.y.batch(function(){Le.listeners.forEach(function(Ke){Ke(Le.result)})})},Se}(z.Q);function Qe(pe){var Se=_.useRef(!1),_e=_.useState(0),Ne=_e[1],Le=P(),Ke=(0,_.useMemo)(function(){return pe.map(function(_t){var zt=Le.defaultQueryObserverOptions(_t);return zt.optimisticResults=!0,zt})},[pe,Le]),bt=_.useState(function(){return new Fe(Le,Ke)}),yt=bt[0],It=yt.getOptimisticResult(Ke);return _.useEffect(function(){Se.current=!0;var _t=yt.subscribe(i.y.batchCalls(function(){Se.current&&Ne(function(zt){return zt+1})}));return function(){Se.current=!1,_t()}},[yt]),_.useEffect(function(){yt.setQueries(Ke,{listeners:!1})},[Ke,yt]),It}var ce=e(12188),Ge=function(pe){(0,B.c)(Se,pe);function Se(Ne,Le){return pe.call(this,Ne,Le)||this}var _e=Se.prototype;return _e.bindMethods=function(){pe.prototype.bindMethods.call(this),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)},_e.setOptions=function(Le,Ke){pe.prototype.setOptions.call(this,(0,O.c)({},Le,{behavior:(0,ce.Cg)()}),Ke)},_e.getOptimisticResult=function(Le){return Le.behavior=(0,ce.Cg)(),pe.prototype.getOptimisticResult.call(this,Le)},_e.fetchNextPage=function(Le){var Ke;return this.fetch({cancelRefetch:(Ke=Le?.cancelRefetch)!=null?Ke:!0,throwOnError:Le?.throwOnError,meta:{fetchMore:{direction:"forward",pageParam:Le?.pageParam}}})},_e.fetchPreviousPage=function(Le){var Ke;return this.fetch({cancelRefetch:(Ke=Le?.cancelRefetch)!=null?Ke:!0,throwOnError:Le?.throwOnError,meta:{fetchMore:{direction:"backward",pageParam:Le?.pageParam}}})},_e.createResult=function(Le,Ke){var bt,yt,It,_t,zt,Vt,St=Le.state,Xt=pe.prototype.createResult.call(this,Le,Ke);return(0,O.c)({},Xt,{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,ce.uq)(Ke,(bt=St.data)==null?void 0:bt.pages),hasPreviousPage:(0,ce.cJ)(Ke,(yt=St.data)==null?void 0:yt.pages),isFetchingNextPage:St.isFetching&&((It=St.fetchMeta)==null||(_t=It.fetchMore)==null?void 0:_t.direction)==="forward",isFetchingPreviousPage:St.isFetching&&((zt=St.fetchMeta)==null||(Vt=zt.fetchMore)==null?void 0:Vt.direction)==="backward"})},Se}(Z);function Pe(pe,Se,_e){var Ne=(0,N.O2)(pe,Se,_e);return ye(Ne,Ge)}},70516:(U,C,e)=>{"use strict";e.d(C,{C_:()=>Ke,wN:()=>l.unstable_batchedUpdates,G:()=>Vt,OY:()=>_t,w1:()=>Y,o3:()=>yt});var i=e(58392),a=e(71516),l=e(19632);function c(St){St()}let v=c;const _=St=>v=St,T=()=>v;var A=e(62552);const R=Symbol.for(`react-redux-context-${A.version}`),P=globalThis;function M(){let St=P[R];return St||(St=(0,A.createContext)(null),P[R]=St),St}const O=new Proxy({},new Proxy({},{get(St,Xt){const jt=M();return(sn,...dt)=>Reflect[Xt](jt,...dt)}})),N=null;function B(St=O){return function(){return(0,A.useContext)(St)}}const j=B();let W=()=>{throw new Error("uSES not initialized!")};const X=St=>{W=St},Q=(St,Xt)=>St===Xt;function K(St=O){const Xt=St===O?j:B(St);return function(sn,dt={}){const{equalityFn:Ln=Q,stabilityCheck:fn=void 0,noopCheck:cr=void 0}=typeof dt=="function"?{equalityFn:dt}:dt,{store:wr,subscription:Jn,getServerState:nn,stabilityCheck:or,noopCheck:bn}=Xt(),Sn=(0,A.useRef)(!0),Hn=(0,A.useCallback)({[sn.name](an){return sn(an)}}[sn.name],[sn,or,fn]),er=W(Jn.addNestedSub,wr.getState,nn||wr.getState,Hn,Ln);return(0,A.useDebugValue)(er),er}}const Y=K();var Z=e(35384),J=e(33112);function ee(){const St=T();let Xt=null,jt=null;return{clear(){Xt=null,jt=null},notify(){St(()=>{let sn=Xt;for(;sn;)sn.callback(),sn=sn.next})},get(){let sn=[],dt=Xt;for(;dt;)sn.push(dt),dt=dt.next;return sn},subscribe(sn){let dt=!0,Ln=jt={callback:sn,next:null,prev:jt};return Ln.prev?Ln.prev.next=Ln:Xt=Ln,function(){!dt||Xt===null||(dt=!1,Ln.next?Ln.next.prev=Ln.prev:jt=Ln.prev,Ln.prev?Ln.prev.next=Ln.next:Xt=Ln.next)}}}}const re={notify(){},get:()=>[]};function me(St,Xt){let jt,sn=re;function dt(or){return wr(),sn.subscribe(or)}function Ln(){sn.notify()}function fn(){nn.onStateChange&&nn.onStateChange()}function cr(){return Boolean(jt)}function wr(){jt||(jt=Xt?Xt.addNestedSub(fn):St.subscribe(fn),sn=ee())}function Jn(){jt&&(jt(),jt=void 0,sn.clear(),sn=re)}const nn={addNestedSub:dt,notifyNestedSubs:Ln,handleChangeWrapper:fn,isSubscribed:cr,trySubscribe:wr,tryUnsubscribe:Jn,getListeners:()=>sn};return nn}const le=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?A.useLayoutEffect:A.useEffect,Ve=null;let Ze=null;const Ce=St=>{Ze=St},ye=null,Ae=null,Fe=St=>{try{return JSON.stringify(St)}catch{return String(St)}};function Qe(St,Xt,jt){useIsomorphicLayoutEffect(()=>St(...Xt),jt)}function ce(St,Xt,jt,sn,dt,Ln){St.current=sn,jt.current=!1,dt.current&&(dt.current=null,Ln())}function Ge(St,Xt,jt,sn,dt,Ln,fn,cr,wr,Jn,nn){if(!St)return()=>{};let or=!1,bn=null;const Sn=()=>{if(or||!cr.current)return;const er=Xt.getState();let an,Cn;try{an=sn(er,dt.current)}catch(de){Cn=de,bn=de}Cn||(bn=null),an===Ln.current?fn.current||Jn():(Ln.current=an,wr.current=an,fn.current=!0,nn())};return jt.onStateChange=Sn,jt.trySubscribe(),Sn(),()=>{if(or=!0,jt.tryUnsubscribe(),jt.onStateChange=null,bn)throw bn}}const Pe=()=>ye;function pe(St,Xt){return St===Xt}let Se=!1;function _e(St,Xt,jt,{pure:sn,areStatesEqual:dt=pe,areOwnPropsEqual:Ln=shallowEqual,areStatePropsEqual:fn=shallowEqual,areMergedPropsEqual:cr=shallowEqual,forwardRef:wr=!1,context:Jn=ReactReduxContext}={}){const nn=Jn,or=mapStateToPropsFactory(St),bn=mapDispatchToPropsFactory(Xt),Sn=mergePropsFactory(jt),Hn=Boolean(St);return an=>{const Cn=an.displayName||an.name||"Component",de=`Connect(${Cn})`,oe={shouldHandleStateChanges:Hn,displayName:de,wrappedComponentName:Cn,WrappedComponent:an,initMapStateToProps:or,initMapDispatchToProps:bn,initMergeProps:Sn,areStatesEqual:dt,areStatePropsEqual:fn,areOwnPropsEqual:Ln,areMergedPropsEqual:cr};function Ye(Re){const[We,gt,Nt]=useMemo(()=>{const{reactReduxForwardedRef:kt}=Re,vn=_objectWithoutPropertiesLoose(Re,Ve);return[Re.context,kt,vn]},[Re]),Ct=useMemo(()=>We&&We.Consumer&&isContextConsumer(React.createElement(We.Consumer,null))?We:nn,[We,nn]),tn=useContext(Ct),ge=Boolean(Re.store)&&Boolean(Re.store.getState)&&Boolean(Re.store.dispatch),At=Boolean(tn)&&Boolean(tn.store),mn=ge?Re.store:tn.store,xn=At?tn.getServerState:mn.getState,Un=useMemo(()=>defaultSelectorFactory(mn.dispatch,oe),[mn]),[gr,Ur]=useMemo(()=>{if(!Hn)return Ae;const kt=createSubscription(mn,ge?void 0:tn.subscription),vn=kt.notifyNestedSubs.bind(kt);return[kt,vn]},[mn,ge,tn]),Or=useMemo(()=>ge?tn:_extends({},tn,{subscription:gr}),[ge,tn,gr]),ii=useRef(),Ui=useRef(Nt),rn=useRef(),$n=useRef(!1),yi=useRef(!1),Jr=useRef(!1),cn=useRef();useIsomorphicLayoutEffect(()=>(Jr.current=!0,()=>{Jr.current=!1}),[]);const mt=useMemo(()=>()=>rn.current&&Nt===Ui.current?rn.current:Un(mn.getState(),Nt),[mn,Nt]),we=useMemo(()=>vn=>gr?Ge(Hn,mn,gr,Un,Ui,ii,$n,Jr,rn,Ur,vn):()=>{},[gr]);Qe(ce,[Ui,ii,$n,Nt,rn,Ur]);let je;try{je=Ze(we,mt,xn?()=>Un(xn(),Nt):mt)}catch(kt){throw cn.current&&(kt.message+=`
The error may be correlated with this previous error:
${cn.current.stack}

`),kt}useIsomorphicLayoutEffect(()=>{cn.current=void 0,rn.current=void 0,ii.current=je});const pt=useMemo(()=>React.createElement(an,_extends({},je,{ref:gt})),[gt,an,je]);return useMemo(()=>Hn?React.createElement(Ct.Provider,{value:Or},pt):pt,[Ct,pt,Or])}const xe=React.memo(Ye);if(xe.WrappedComponent=an,xe.displayName=Ye.displayName=de,wr){const We=React.forwardRef(function(Nt,Ct){return React.createElement(xe,_extends({},Nt,{reactReduxForwardedRef:Ct}))});return We.displayName=de,We.WrappedComponent=an,hoistStatics(We,an)}return hoistStatics(xe,an)}}const Ne=null;function Le({store:St,context:Xt,children:jt,serverState:sn,stabilityCheck:dt="once",noopCheck:Ln="once"}){const fn=(0,A.useMemo)(()=>{const Jn=me(St);return{store:St,subscription:Jn,getServerState:sn?()=>sn:void 0,stabilityCheck:dt,noopCheck:Ln}},[St,sn,dt,Ln]),cr=(0,A.useMemo)(()=>St.getState(),[St]);le(()=>{const{subscription:Jn}=fn;return Jn.onStateChange=Jn.notifyNestedSubs,Jn.trySubscribe(),cr!==St.getState()&&Jn.notifyNestedSubs(),()=>{Jn.tryUnsubscribe(),Jn.onStateChange=void 0}},[fn,cr]);const wr=Xt||O;return A.createElement(wr.Provider,{value:fn},jt)}const Ke=Le;function bt(St=O){const Xt=St===O?j:B(St);return function(){const{store:sn}=Xt();return sn}}const yt=bt();function It(St=O){const Xt=St===O?yt:bt(St);return function(){return Xt().dispatch}}const _t=It();function zt(St,Xt){return St===Xt?St!==0||Xt!==0||1/St===1/Xt:St!==St&&Xt!==Xt}function Vt(St,Xt){if(zt(St,Xt))return!0;if(typeof St!="object"||St===null||typeof Xt!="object"||Xt===null)return!1;const jt=Object.keys(St),sn=Object.keys(Xt);if(jt.length!==sn.length)return!1;for(let dt=0;dt<jt.length;dt++)if(!Object.prototype.hasOwnProperty.call(Xt,jt[dt])||!zt(St[jt[dt]],Xt[jt[dt]]))return!1;return!0}X(a.useSyncExternalStoreWithSelector),Ce(i.useSyncExternalStore),_(l.unstable_batchedUpdates)},89184:(U,C,e)=>{"use strict";e.d(C,{AV:()=>c,Gy:()=>a,aI:()=>i,yD:()=>l});var i="right-scroll-bar-position",a="width-before-scroll-bar",l="with-scroll-bars-hidden",c="--removed-body-scroll-bar-size"},40216:(U,C,e)=>{"use strict";e.d(C,{UV:()=>P});var i=e(62552),a=e(10888),l=e(89184),c={left:0,top:0,right:0,gap:0},v=function(M){return parseInt(M||"",10)||0},_=function(M){var O=window.getComputedStyle(document.body),N=O[M==="padding"?"paddingLeft":"marginLeft"],B=O[M==="padding"?"paddingTop":"marginTop"],j=O[M==="padding"?"paddingRight":"marginRight"];return[v(N),v(B),v(j)]},T=function(M){if(M===void 0&&(M="margin"),typeof window>"u")return c;var O=_(M),N=document.documentElement.clientWidth,B=window.innerWidth;return{left:O[0],top:O[1],right:O[2],gap:Math.max(0,B-N+O[2]-O[0])}},A=(0,a.In)(),R=function(M,O,N,B){var j=M.left,z=M.top,W=M.right,X=M.gap;return N===void 0&&(N="margin"),`
  .`.concat(l.yD,` {
   overflow: hidden `).concat(B,`;
   padding-right: `).concat(X,"px ").concat(B,`;
  }
  body {
    overflow: hidden `).concat(B,`;
    overscroll-behavior: contain;
    `).concat([O&&"position: relative ".concat(B,";"),N==="margin"&&`
    padding-left: `.concat(j,`px;
    padding-top: `).concat(z,`px;
    padding-right: `).concat(W,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(X,"px ").concat(B,`;
    `),N==="padding"&&"padding-right: ".concat(X,"px ").concat(B,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(l.aI,` {
    right: `).concat(X,"px ").concat(B,`;
  }
  
  .`).concat(l.Gy,` {
    margin-right: `).concat(X,"px ").concat(B,`;
  }
  
  .`).concat(l.aI," .").concat(l.aI,` {
    right: 0 `).concat(B,`;
  }
  
  .`).concat(l.Gy," .").concat(l.Gy,` {
    margin-right: 0 `).concat(B,`;
  }
  
  body {
    `).concat(l.AV,": ").concat(X,`px;
  }
`)},P=function(M){var O=M.noRelative,N=M.noImportant,B=M.gapMode,j=B===void 0?"margin":B,z=i.useMemo(function(){return T(j)},[j]);return i.createElement(A,{styles:R(z,!O,j,N?"":"!important")})}},67160:(U,C,e)=>{"use strict";e.d(C,{c:()=>Ge});var i=e(7353),a=e(62552),l=e(89184),c=e(91088),v=e(22160),_=(0,v.Y)(),T=function(){},A=a.forwardRef(function(Pe,pe){var Se=a.useRef(null),_e=a.useState({onScrollCapture:T,onWheelCapture:T,onTouchMoveCapture:T}),Ne=_e[0],Le=_e[1],Ke=Pe.forwardProps,bt=Pe.children,yt=Pe.className,It=Pe.removeScrollBar,_t=Pe.enabled,zt=Pe.shards,Vt=Pe.sideCar,St=Pe.noIsolation,Xt=Pe.inert,jt=Pe.allowPinchZoom,sn=Pe.as,dt=sn===void 0?"div":sn,Ln=Pe.gapMode,fn=(0,i.sX)(Pe,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),cr=Vt,wr=(0,c.m)([Se,pe]),Jn=(0,i.C3)((0,i.C3)({},fn),Ne);return a.createElement(a.Fragment,null,_t&&a.createElement(cr,{sideCar:_,removeScrollBar:It,shards:zt,noIsolation:St,inert:Xt,setCallbacks:Le,allowPinchZoom:!!jt,lockRef:Se,gapMode:Ln}),Ke?a.cloneElement(a.Children.only(bt),(0,i.C3)((0,i.C3)({},Jn),{ref:wr})):a.createElement(dt,(0,i.C3)({},Jn,{className:yt,ref:wr}),bt))});A.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},A.classNames={fullWidth:l.Gy,zeroRight:l.aI};var R=e(11184),P=e(40216),M=e(10888),O=!1;if(typeof window<"u")try{var N=Object.defineProperty({},"passive",{get:function(){return O=!0,!0}});window.addEventListener("test",N,N),window.removeEventListener("test",N,N)}catch{O=!1}var B=O?{passive:!1}:!1,j=function(Pe){return Pe.tagName==="TEXTAREA"},z=function(Pe,pe){var Se=window.getComputedStyle(Pe);return Se[pe]!=="hidden"&&!(Se.overflowY===Se.overflowX&&!j(Pe)&&Se[pe]==="visible")},W=function(Pe){return z(Pe,"overflowY")},X=function(Pe){return z(Pe,"overflowX")},Q=function(Pe,pe){var Se=pe.ownerDocument,_e=pe;do{typeof ShadowRoot<"u"&&_e instanceof ShadowRoot&&(_e=_e.host);var Ne=Z(Pe,_e);if(Ne){var Le=J(Pe,_e),Ke=Le[1],bt=Le[2];if(Ke>bt)return!0}_e=_e.parentNode}while(_e&&_e!==Se.body);return!1},K=function(Pe){var pe=Pe.scrollTop,Se=Pe.scrollHeight,_e=Pe.clientHeight;return[pe,Se,_e]},Y=function(Pe){var pe=Pe.scrollLeft,Se=Pe.scrollWidth,_e=Pe.clientWidth;return[pe,Se,_e]},Z=function(Pe,pe){return Pe==="v"?W(pe):X(pe)},J=function(Pe,pe){return Pe==="v"?K(pe):Y(pe)},ee=function(Pe,pe){return Pe==="h"&&pe==="rtl"?-1:1},re=function(Pe,pe,Se,_e,Ne){var Le=ee(Pe,window.getComputedStyle(pe).direction),Ke=Le*_e,bt=Se.target,yt=pe.contains(bt),It=!1,_t=Ke>0,zt=0,Vt=0;do{var St=J(Pe,bt),Xt=St[0],jt=St[1],sn=St[2],dt=jt-sn-Le*Xt;(Xt||dt)&&Z(Pe,bt)&&(zt+=dt,Vt+=Xt),bt instanceof ShadowRoot?bt=bt.host:bt=bt.parentNode}while(!yt&&bt!==document.body||yt&&(pe.contains(bt)||pe===bt));return(_t&&(Ne&&Math.abs(zt)<1||!Ne&&Ke>zt)||!_t&&(Ne&&Math.abs(Vt)<1||!Ne&&-Ke>Vt))&&(It=!0),It},me=function(Pe){return"changedTouches"in Pe?[Pe.changedTouches[0].clientX,Pe.changedTouches[0].clientY]:[0,0]},fe=function(Pe){return[Pe.deltaX,Pe.deltaY]},le=function(Pe){return Pe&&"current"in Pe?Pe.current:Pe},Ve=function(Pe,pe){return Pe[0]===pe[0]&&Pe[1]===pe[1]},Ze=function(Pe){return`
  .block-interactivity-`.concat(Pe,` {pointer-events: none;}
  .allow-interactivity-`).concat(Pe,` {pointer-events: all;}
`)},Ce=0,ye=[];function Ae(Pe){var pe=a.useRef([]),Se=a.useRef([0,0]),_e=a.useRef(),Ne=a.useState(Ce++)[0],Le=a.useState(M.In)[0],Ke=a.useRef(Pe);a.useEffect(function(){Ke.current=Pe},[Pe]),a.useEffect(function(){if(Pe.inert){document.body.classList.add("block-interactivity-".concat(Ne));var jt=(0,i.Mt)([Pe.lockRef.current],(Pe.shards||[]).map(le),!0).filter(Boolean);return jt.forEach(function(sn){return sn.classList.add("allow-interactivity-".concat(Ne))}),function(){document.body.classList.remove("block-interactivity-".concat(Ne)),jt.forEach(function(sn){return sn.classList.remove("allow-interactivity-".concat(Ne))})}}},[Pe.inert,Pe.lockRef.current,Pe.shards]);var bt=a.useCallback(function(jt,sn){if("touches"in jt&&jt.touches.length===2)return!Ke.current.allowPinchZoom;var dt=me(jt),Ln=Se.current,fn="deltaX"in jt?jt.deltaX:Ln[0]-dt[0],cr="deltaY"in jt?jt.deltaY:Ln[1]-dt[1],wr,Jn=jt.target,nn=Math.abs(fn)>Math.abs(cr)?"h":"v";if("touches"in jt&&nn==="h"&&Jn.type==="range")return!1;var or=Q(nn,Jn);if(!or)return!0;if(or?wr=nn:(wr=nn==="v"?"h":"v",or=Q(nn,Jn)),!or)return!1;if(!_e.current&&"changedTouches"in jt&&(fn||cr)&&(_e.current=wr),!wr)return!0;var bn=_e.current||wr;return re(bn,sn,jt,bn==="h"?fn:cr,!0)},[]),yt=a.useCallback(function(jt){var sn=jt;if(!(!ye.length||ye[ye.length-1]!==Le)){var dt="deltaY"in sn?fe(sn):me(sn),Ln=pe.current.filter(function(wr){return wr.name===sn.type&&(wr.target===sn.target||sn.target===wr.shadowParent)&&Ve(wr.delta,dt)})[0];if(Ln&&Ln.should){sn.cancelable&&sn.preventDefault();return}if(!Ln){var fn=(Ke.current.shards||[]).map(le).filter(Boolean).filter(function(wr){return wr.contains(sn.target)}),cr=fn.length>0?bt(sn,fn[0]):!Ke.current.noIsolation;cr&&sn.cancelable&&sn.preventDefault()}}},[]),It=a.useCallback(function(jt,sn,dt,Ln){var fn={name:jt,delta:sn,target:dt,should:Ln,shadowParent:Fe(dt)};pe.current.push(fn),setTimeout(function(){pe.current=pe.current.filter(function(cr){return cr!==fn})},1)},[]),_t=a.useCallback(function(jt){Se.current=me(jt),_e.current=void 0},[]),zt=a.useCallback(function(jt){It(jt.type,fe(jt),jt.target,bt(jt,Pe.lockRef.current))},[]),Vt=a.useCallback(function(jt){It(jt.type,me(jt),jt.target,bt(jt,Pe.lockRef.current))},[]);a.useEffect(function(){return ye.push(Le),Pe.setCallbacks({onScrollCapture:zt,onWheelCapture:zt,onTouchMoveCapture:Vt}),document.addEventListener("wheel",yt,B),document.addEventListener("touchmove",yt,B),document.addEventListener("touchstart",_t,B),function(){ye=ye.filter(function(jt){return jt!==Le}),document.removeEventListener("wheel",yt,B),document.removeEventListener("touchmove",yt,B),document.removeEventListener("touchstart",_t,B)}},[]);var St=Pe.removeScrollBar,Xt=Pe.inert;return a.createElement(a.Fragment,null,Xt?a.createElement(Le,{styles:Ze(Ne)}):null,St?a.createElement(P.UV,{gapMode:Pe.gapMode}):null)}function Fe(Pe){for(var pe=null;Pe!==null;)Pe instanceof ShadowRoot&&(pe=Pe.host,Pe=Pe.host),Pe=Pe.parentNode;return pe}const Qe=(0,R.y)(_,Ae);var ce=a.forwardRef(function(Pe,pe){return a.createElement(A,(0,i.C3)({},Pe,{ref:pe,sideCar:Qe}))});ce.classNames=A.classNames;const Ge=ce},39380:(U,C,e)=>{"use strict";e.d(C,{Af:()=>Z,cH:()=>z,kn:()=>A});var i=e(49008),a=e(56384),l=e(62552),c=e(53232),v=e(59056),_=e(54e3),T=e(58664),A=function(ee){(0,a.c)(re,ee);function re(){for(var fe,le=arguments.length,Ve=new Array(le),Ze=0;Ze<le;Ze++)Ve[Ze]=arguments[Ze];return fe=ee.call.apply(ee,[this].concat(Ve))||this,fe.history=(0,c.iU)(fe.props),fe}var me=re.prototype;return me.render=function(){return l.createElement(i.E5,{history:this.history,children:this.props.children})},re}(l.Component),R=function(ee){(0,a.c)(re,ee);function re(){for(var fe,le=arguments.length,Ve=new Array(le),Ze=0;Ze<le;Ze++)Ve[Ze]=arguments[Ze];return fe=ee.call.apply(ee,[this].concat(Ve))||this,fe.history=(0,c.Yf)(fe.props),fe}var me=re.prototype;return me.render=function(){return l.createElement(i.E5,{history:this.history,children:this.props.children})},re}(l.Component),P=function(re,me){return typeof re=="function"?re(me):re},M=function(re,me){return typeof re=="string"?(0,c.gh)(re,null,null,me):re},O=function(re){return re},N=l.forwardRef;typeof N>"u"&&(N=O);function B(ee){return!!(ee.metaKey||ee.altKey||ee.ctrlKey||ee.shiftKey)}var j=N(function(ee,re){var me=ee.innerRef,fe=ee.navigate,le=ee.onClick,Ve=(0,_.c)(ee,["innerRef","navigate","onClick"]),Ze=Ve.target,Ce=(0,v.c)({},Ve,{onClick:function(Ae){try{le&&le(Ae)}catch(Fe){throw Ae.preventDefault(),Fe}!Ae.defaultPrevented&&Ae.button===0&&(!Ze||Ze==="_self")&&!B(Ae)&&(Ae.preventDefault(),fe())}});return O!==N?Ce.ref=re||me:Ce.ref=me,l.createElement("a",Ce)}),z=N(function(ee,re){var me=ee.component,fe=me===void 0?j:me,le=ee.replace,Ve=ee.to,Ze=ee.innerRef,Ce=(0,_.c)(ee,["component","replace","to","innerRef"]);return l.createElement(i.Os.Consumer,null,function(ye){ye||(0,T.c)(!1);var Ae=ye.history,Fe=M(P(Ve,ye.location),ye.location),Qe=Fe?Ae.createHref(Fe):"",ce=(0,v.c)({},Ce,{href:Qe,navigate:function(){var Pe=P(Ve,ye.location),pe=(0,c.Ep)(ye.location)===(0,c.Ep)(M(Pe)),Se=le||pe?Ae.replace:Ae.push;Se(Pe)}});return O!==N?ce.ref=re||Ze:ce.innerRef=Ze,l.createElement(fe,ce)})});if(!1)var W,X;var Q=function(re){return re},K=l.forwardRef;typeof K>"u"&&(K=Q);function Y(){for(var ee=arguments.length,re=new Array(ee),me=0;me<ee;me++)re[me]=arguments[me];return re.filter(function(fe){return fe}).join(" ")}var Z=K(function(ee,re){var me=ee["aria-current"],fe=me===void 0?"page":me,le=ee.activeClassName,Ve=le===void 0?"active":le,Ze=ee.activeStyle,Ce=ee.className,ye=ee.exact,Ae=ee.isActive,Fe=ee.location,Qe=ee.sensitive,ce=ee.strict,Ge=ee.style,Pe=ee.to,pe=ee.innerRef,Se=(0,_.c)(ee,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return l.createElement(i.Os.Consumer,null,function(_e){_e||(0,T.c)(!1);var Ne=Fe||_e.location,Le=M(P(Pe,Ne),Ne),Ke=Le.pathname,bt=Ke&&Ke.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),yt=bt?(0,i.ot)(Ne.pathname,{path:bt,exact:ye,sensitive:Qe,strict:ce}):null,It=!!(Ae?Ae(yt,Ne):yt),_t=typeof Ce=="function"?Ce(It):Ce,zt=typeof Ge=="function"?Ge(It):Ge;It&&(_t=Y(_t,Ve),zt=(0,v.c)({},zt,Ze));var Vt=(0,v.c)({"aria-current":It&&fe||null,className:_t,style:zt,to:Le},Se);return Q!==K?Vt.ref=re||pe:Vt.innerRef=pe,l.createElement(z,Vt)})});if(!1)var J},49008:(U,C,e)=>{"use strict";e.d(C,{E5:()=>re,IT:()=>dt,K2:()=>le,Os:()=>ee,SU:()=>fn,Uz:()=>sn,W4:()=>Ln,Wk:()=>St,YJ:()=>Qe,kX:()=>Le,ot:()=>Se});var i=e(56384),a=e(62552),l=e(33104),c=e.n(l),v=e(53232),_=e(58664),T=e(59056),A=e(53564),R=e.n(A),P=e(33112),M=e(54e3),O=e(35384),N=e.n(O),B=1073741823,j=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof e.g<"u"?e.g:{};function z(){var bn="__global_unique_id__";return j[bn]=(j[bn]||0)+1}function W(bn,Sn){return bn===Sn?bn!==0||1/bn===1/Sn:bn!==bn&&Sn!==Sn}function X(bn){var Sn=[];return{on:function(er){Sn.push(er)},off:function(er){Sn=Sn.filter(function(an){return an!==er})},get:function(){return bn},set:function(er,an){bn=er,Sn.forEach(function(Cn){return Cn(bn,an)})}}}function Q(bn){return Array.isArray(bn)?bn[0]:bn}function K(bn,Sn){var Hn,er,an="__create-react-context-"+z()+"__",Cn=function(oe){(0,i.c)(Ye,oe);function Ye(){for(var xe,Re=arguments.length,We=new Array(Re),gt=0;gt<Re;gt++)We[gt]=arguments[gt];return xe=oe.call.apply(oe,[this].concat(We))||this,xe.emitter=X(xe.props.value),xe}var Et=Ye.prototype;return Et.getChildContext=function(){var Re;return Re={},Re[an]=this.emitter,Re},Et.componentWillReceiveProps=function(Re){if(this.props.value!==Re.value){var We=this.props.value,gt=Re.value,Nt;W(We,gt)?Nt=0:(Nt=typeof Sn=="function"?Sn(We,gt):B,Nt|=0,Nt!==0&&this.emitter.set(Re.value,Nt))}},Et.render=function(){return this.props.children},Ye}(a.Component);Cn.childContextTypes=(Hn={},Hn[an]=c().object.isRequired,Hn);var de=function(oe){(0,i.c)(Ye,oe);function Ye(){for(var xe,Re=arguments.length,We=new Array(Re),gt=0;gt<Re;gt++)We[gt]=arguments[gt];return xe=oe.call.apply(oe,[this].concat(We))||this,xe.observedBits=void 0,xe.state={value:xe.getValue()},xe.onUpdate=function(Nt,Ct){var tn=xe.observedBits|0;tn&Ct&&xe.setState({value:xe.getValue()})},xe}var Et=Ye.prototype;return Et.componentWillReceiveProps=function(Re){var We=Re.observedBits;this.observedBits=We??B},Et.componentDidMount=function(){this.context[an]&&this.context[an].on(this.onUpdate);var Re=this.props.observedBits;this.observedBits=Re??B},Et.componentWillUnmount=function(){this.context[an]&&this.context[an].off(this.onUpdate)},Et.getValue=function(){return this.context[an]?this.context[an].get():bn},Et.render=function(){return Q(this.props.children)(this.state.value)},Ye}(a.Component);return de.contextTypes=(er={},er[an]=c().object,er),{Provider:Cn,Consumer:de}}var Y=a.createContext||K,Z=function(Sn){var Hn=Y();return Hn.displayName=Sn,Hn},J=Z("Router-History"),ee=Z("Router"),re=function(bn){(0,i.c)(Sn,bn),Sn.computeRootMatch=function(an){return{path:"/",url:"/",params:{},isExact:an==="/"}};function Sn(er){var an;return an=bn.call(this,er)||this,an.state={location:er.history.location},an._isMounted=!1,an._pendingLocation=null,er.staticContext||(an.unlisten=er.history.listen(function(Cn){an._pendingLocation=Cn})),an}var Hn=Sn.prototype;return Hn.componentDidMount=function(){var an=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen(function(Cn){an._isMounted&&an.setState({location:Cn})})),this._pendingLocation&&this.setState({location:this._pendingLocation})},Hn.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},Hn.render=function(){return a.createElement(ee.Provider,{value:{history:this.props.history,location:this.state.location,match:Sn.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.createElement(J.Provider,{children:this.props.children||null,value:this.props.history}))},Sn}(a.Component),me=function(bn){(0,i.c)(Sn,bn);function Sn(){for(var er,an=arguments.length,Cn=new Array(an),de=0;de<an;de++)Cn[de]=arguments[de];return er=bn.call.apply(bn,[this].concat(Cn))||this,er.history=(0,v.Wi)(er.props),er}var Hn=Sn.prototype;return Hn.render=function(){return a.createElement(re,{history:this.history,children:this.props.children})},Sn}(a.Component),fe=function(bn){(0,i.c)(Sn,bn);function Sn(){return bn.apply(this,arguments)||this}var Hn=Sn.prototype;return Hn.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},Hn.componentDidUpdate=function(an){this.props.onUpdate&&this.props.onUpdate.call(this,this,an)},Hn.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},Hn.render=function(){return null},Sn}(a.Component);function le(bn){var Sn=bn.message,Hn=bn.when,er=Hn===void 0?!0:Hn;return a.createElement(ee.Consumer,null,function(an){if(an||(0,_.c)(!1),!er||an.staticContext)return null;var Cn=an.history.block;return a.createElement(fe,{onMount:function(oe){oe.release=Cn(Sn)},onUpdate:function(oe,Ye){Ye.message!==Sn&&(oe.release(),oe.release=Cn(Sn))},onUnmount:function(oe){oe.release()},message:Sn})})}if(!1)var Ve;var Ze={},Ce=1e4,ye=0;function Ae(bn){if(Ze[bn])return Ze[bn];var Sn=R().compile(bn);return ye<Ce&&(Ze[bn]=Sn,ye++),Sn}function Fe(bn,Sn){return bn===void 0&&(bn="/"),Sn===void 0&&(Sn={}),bn==="/"?bn:Ae(bn)(Sn,{pretty:!0})}function Qe(bn){var Sn=bn.computedMatch,Hn=bn.to,er=bn.push,an=er===void 0?!1:er;return a.createElement(ee.Consumer,null,function(Cn){Cn||(0,_.c)(!1);var de=Cn.history,oe=Cn.staticContext,Ye=an?de.push:de.replace,Et=(0,v.gh)(Sn?typeof Hn=="string"?Fe(Hn,Sn.params):(0,T.c)({},Hn,{pathname:Fe(Hn.pathname,Sn.params)}):Hn);return oe?(Ye(Et),null):a.createElement(fe,{onMount:function(){Ye(Et)},onUpdate:function(Re,We){var gt=(0,v.gh)(We.to);(0,v.gx)(gt,(0,T.c)({},Et,{key:gt.key}))||Ye(Et)},to:Hn})})}var ce={},Ge=1e4,Pe=0;function pe(bn,Sn){var Hn=""+Sn.end+Sn.strict+Sn.sensitive,er=ce[Hn]||(ce[Hn]={});if(er[bn])return er[bn];var an=[],Cn=R()(bn,an,Sn),de={regexp:Cn,keys:an};return Pe<Ge&&(er[bn]=de,Pe++),de}function Se(bn,Sn){Sn===void 0&&(Sn={}),(typeof Sn=="string"||Array.isArray(Sn))&&(Sn={path:Sn});var Hn=Sn,er=Hn.path,an=Hn.exact,Cn=an===void 0?!1:an,de=Hn.strict,oe=de===void 0?!1:de,Ye=Hn.sensitive,Et=Ye===void 0?!1:Ye,xe=[].concat(er);return xe.reduce(function(Re,We){if(!We&&We!=="")return null;if(Re)return Re;var gt=pe(We,{end:Cn,strict:oe,sensitive:Et}),Nt=gt.regexp,Ct=gt.keys,tn=Nt.exec(bn);if(!tn)return null;var ge=tn[0],At=tn.slice(1),mn=bn===ge;return Cn&&!mn?null:{path:We,url:We==="/"&&ge===""?"/":ge,isExact:mn,params:Ct.reduce(function(xn,Un,gr){return xn[Un.name]=At[gr],xn},{})}},null)}function _e(bn){return a.Children.count(bn)===0}function Ne(bn,Sn,Hn){var er=bn(Sn);return er||null}var Le=function(bn){(0,i.c)(Sn,bn);function Sn(){return bn.apply(this,arguments)||this}var Hn=Sn.prototype;return Hn.render=function(){var an=this;return a.createElement(ee.Consumer,null,function(Cn){Cn||(0,_.c)(!1);var de=an.props.location||Cn.location,oe=an.props.computedMatch?an.props.computedMatch:an.props.path?Se(de.pathname,an.props):Cn.match,Ye=(0,T.c)({},Cn,{location:de,match:oe}),Et=an.props,xe=Et.children,Re=Et.component,We=Et.render;return Array.isArray(xe)&&_e(xe)&&(xe=null),a.createElement(ee.Provider,{value:Ye},Ye.match?xe?typeof xe=="function"?xe(Ye):xe:Re?a.createElement(Re,Ye):We?We(Ye):null:typeof xe=="function"?xe(Ye):null)})},Sn}(a.Component);function Ke(bn){return bn.charAt(0)==="/"?bn:"/"+bn}function bt(bn,Sn){return bn?(0,T.c)({},Sn,{pathname:Ke(bn)+Sn.pathname}):Sn}function yt(bn,Sn){if(!bn)return Sn;var Hn=Ke(bn);return Sn.pathname.indexOf(Hn)!==0?Sn:(0,T.c)({},Sn,{pathname:Sn.pathname.substr(Hn.length)})}function It(bn){return typeof bn=="string"?bn:(0,v.Ep)(bn)}function _t(bn){return function(){(0,_.c)(!1)}}function zt(){}var Vt=function(bn){(0,i.c)(Sn,bn);function Sn(){for(var er,an=arguments.length,Cn=new Array(an),de=0;de<an;de++)Cn[de]=arguments[de];return er=bn.call.apply(bn,[this].concat(Cn))||this,er.handlePush=function(oe){return er.navigateTo(oe,"PUSH")},er.handleReplace=function(oe){return er.navigateTo(oe,"REPLACE")},er.handleListen=function(){return zt},er.handleBlock=function(){return zt},er}var Hn=Sn.prototype;return Hn.navigateTo=function(an,Cn){var de=this.props,oe=de.basename,Ye=oe===void 0?"":oe,Et=de.context,xe=Et===void 0?{}:Et;xe.action=Cn,xe.location=bt(Ye,(0,v.gh)(an)),xe.url=It(xe.location)},Hn.render=function(){var an=this.props,Cn=an.basename,de=Cn===void 0?"":Cn,oe=an.context,Ye=oe===void 0?{}:oe,Et=an.location,xe=Et===void 0?"/":Et,Re=(0,M.c)(an,["basename","context","location"]),We={createHref:function(Nt){return Ke(de+It(Nt))},action:"POP",location:yt(de,(0,v.gh)(xe)),push:this.handlePush,replace:this.handleReplace,go:_t("go"),goBack:_t("goBack"),goForward:_t("goForward"),listen:this.handleListen,block:this.handleBlock};return a.createElement(re,(0,T.c)({},Re,{history:We,staticContext:Ye}))},Sn}(a.Component),St=function(bn){(0,i.c)(Sn,bn);function Sn(){return bn.apply(this,arguments)||this}var Hn=Sn.prototype;return Hn.render=function(){var an=this;return a.createElement(ee.Consumer,null,function(Cn){Cn||(0,_.c)(!1);var de=an.props.location||Cn.location,oe,Ye;return a.Children.forEach(an.props.children,function(Et){if(Ye==null&&a.isValidElement(Et)){oe=Et;var xe=Et.props.path||Et.props.from;Ye=xe?Se(de.pathname,(0,T.c)({},Et.props,{path:xe})):Cn.match}}),Ye?a.cloneElement(oe,{location:de,computedMatch:Ye}):null})},Sn}(a.Component);function Xt(bn){var Sn="withRouter("+(bn.displayName||bn.name)+")",Hn=function(an){var Cn=an.wrappedComponentRef,de=_objectWithoutPropertiesLoose(an,["wrappedComponentRef"]);return React.createElement(ee.Consumer,null,function(oe){return oe||invariant(!1),React.createElement(bn,_extends({},de,oe,{ref:Cn}))})};return Hn.displayName=Sn,Hn.WrappedComponent=bn,hoistStatics(Hn,bn)}var jt=a.useContext;function sn(){return jt(J)}function dt(){return jt(ee).location}function Ln(){var bn=jt(ee).match;return bn?bn.params:{}}function fn(bn){var Sn=dt(),Hn=jt(ee).match;return bn?Se(Sn.pathname,bn):Hn}if(!1)var cr,wr,Jn,nn,or},53564:(U,C,e)=>{var i=e(61852);U.exports=z,U.exports.parse=l,U.exports.compile=c,U.exports.tokensToFunction=T,U.exports.tokensToRegExp=j;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function l(W,X){for(var Q=[],K=0,Y=0,Z="",J=X&&X.delimiter||"/",ee;(ee=a.exec(W))!=null;){var re=ee[0],me=ee[1],fe=ee.index;if(Z+=W.slice(Y,fe),Y=fe+re.length,me){Z+=me[1];continue}var le=W[Y],Ve=ee[2],Ze=ee[3],Ce=ee[4],ye=ee[5],Ae=ee[6],Fe=ee[7];Z&&(Q.push(Z),Z="");var Qe=Ve!=null&&le!=null&&le!==Ve,ce=Ae==="+"||Ae==="*",Ge=Ae==="?"||Ae==="*",Pe=ee[2]||J,pe=Ce||ye;Q.push({name:Ze||K++,prefix:Ve||"",delimiter:Pe,optional:Ge,repeat:ce,partial:Qe,asterisk:!!Fe,pattern:pe?R(pe):Fe?".*":"[^"+A(Pe)+"]+?"})}return Y<W.length&&(Z+=W.substr(Y)),Z&&Q.push(Z),Q}function c(W,X){return T(l(W,X),X)}function v(W){return encodeURI(W).replace(/[\/?#]/g,function(X){return"%"+X.charCodeAt(0).toString(16).toUpperCase()})}function _(W){return encodeURI(W).replace(/[?#]/g,function(X){return"%"+X.charCodeAt(0).toString(16).toUpperCase()})}function T(W,X){for(var Q=new Array(W.length),K=0;K<W.length;K++)typeof W[K]=="object"&&(Q[K]=new RegExp("^(?:"+W[K].pattern+")$",M(X)));return function(Y,Z){for(var J="",ee=Y||{},re=Z||{},me=re.pretty?v:encodeURIComponent,fe=0;fe<W.length;fe++){var le=W[fe];if(typeof le=="string"){J+=le;continue}var Ve=ee[le.name],Ze;if(Ve==null)if(le.optional){le.partial&&(J+=le.prefix);continue}else throw new TypeError('Expected "'+le.name+'" to be defined');if(i(Ve)){if(!le.repeat)throw new TypeError('Expected "'+le.name+'" to not repeat, but received `'+JSON.stringify(Ve)+"`");if(Ve.length===0){if(le.optional)continue;throw new TypeError('Expected "'+le.name+'" to not be empty')}for(var Ce=0;Ce<Ve.length;Ce++){if(Ze=me(Ve[Ce]),!Q[fe].test(Ze))throw new TypeError('Expected all "'+le.name+'" to match "'+le.pattern+'", but received `'+JSON.stringify(Ze)+"`");J+=(Ce===0?le.prefix:le.delimiter)+Ze}continue}if(Ze=le.asterisk?_(Ve):me(Ve),!Q[fe].test(Ze))throw new TypeError('Expected "'+le.name+'" to match "'+le.pattern+'", but received "'+Ze+'"');J+=le.prefix+Ze}return J}}function A(W){return W.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function R(W){return W.replace(/([=!:$\/()])/g,"\\$1")}function P(W,X){return W.keys=X,W}function M(W){return W&&W.sensitive?"":"i"}function O(W,X){var Q=W.source.match(/\((?!\?)/g);if(Q)for(var K=0;K<Q.length;K++)X.push({name:K,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return P(W,X)}function N(W,X,Q){for(var K=[],Y=0;Y<W.length;Y++)K.push(z(W[Y],X,Q).source);var Z=new RegExp("(?:"+K.join("|")+")",M(Q));return P(Z,X)}function B(W,X,Q){return j(l(W,Q),X,Q)}function j(W,X,Q){i(X)||(Q=X||Q,X=[]),Q=Q||{};for(var K=Q.strict,Y=Q.end!==!1,Z="",J=0;J<W.length;J++){var ee=W[J];if(typeof ee=="string")Z+=A(ee);else{var re=A(ee.prefix),me="(?:"+ee.pattern+")";X.push(ee),ee.repeat&&(me+="(?:"+re+me+")*"),ee.optional?ee.partial?me=re+"("+me+")?":me="(?:"+re+"("+me+"))?":me=re+"("+me+")",Z+=me}}var fe=A(Q.delimiter||"/"),le=Z.slice(-fe.length)===fe;return K||(Z=(le?Z.slice(0,-fe.length):Z)+"(?:"+fe+"(?=$))?"),Y?Z+="$":Z+=K&&le?"":"(?="+fe+"|$)",P(new RegExp("^"+Z,M(Q)),X)}function z(W,X,Q){return i(X)||(Q=X||Q,X=[]),Q=Q||{},W instanceof RegExp?O(W,X):i(W)?N(W,X,Q):B(W,X,Q)}},4320:(U,C,e)=>{"use strict";e.d(C,{A:()=>Ce,B:()=>Se,C:()=>pe,D:()=>Pe,E:()=>z,F:()=>on,G:()=>ce,H:()=>Y,I:()=>W,J:()=>le,K:()=>B,M:()=>It,a:()=>Re,b:()=>cr,c:()=>An,d:()=>mn,e:()=>Et,f:()=>Or,g:()=>gr,h:()=>gt,i:()=>or,j:()=>rn,k:()=>jt,l:()=>tn,m:()=>bt,n:()=>zt,o:()=>Ln,p:()=>mt,q:()=>we,r:()=>_e,s:()=>Qe,t:()=>je,u:()=>Xt,v:()=>nr,w:()=>Ot,x:()=>Pt,y:()=>Jn,z:()=>Ze});var i=e(56688),a=e(59056),l=e(40496),c=e(80280),v=e(18232),_=e(12200);function T(dn,$e){return $e||($e=dn.slice(0)),Object.freeze(Object.defineProperties(dn,{raw:{value:Object.freeze($e)}}))}var A=e(98732),R=e(62552),P=e(19632),M=e(21496),O=e(83056),N=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],B=function(){};function j(dn,$e){return $e?$e[0]==="-"?dn+$e:dn+"__"+$e:dn}function z(dn,$e){for(var Yt=arguments.length,$t=new Array(Yt>2?Yt-2:0),Jt=2;Jt<Yt;Jt++)$t[Jt-2]=arguments[Jt];var Lt=[].concat($t);if($e&&dn)for(var yn in $e)$e.hasOwnProperty(yn)&&$e[yn]&&Lt.push("".concat(j(dn,yn)));return Lt.filter(function(In){return In}).map(function(In){return String(In).trim()}).join(" ")}var W=function($e){return Ge($e)?$e.filter(Boolean):(0,_.c)($e)==="object"&&$e!==null?[$e]:[]},X=function($e){$e.className,$e.clearValue,$e.cx,$e.getStyles,$e.getClassNames,$e.getValue,$e.hasValue,$e.isMulti,$e.isRtl,$e.options,$e.selectOption,$e.selectProps,$e.setValue,$e.theme;var Yt=(0,v.c)($e,N);return(0,i.c)({},Yt)},Q=function($e,Yt,$t){var Jt=$e.cx,Lt=$e.getStyles,yn=$e.getClassNames,In=$e.className;return{css:Lt(Yt,$e),className:Jt($t??{},yn(Yt,$e),In)}};function K(dn,$e,Yt){if(Yt){var $t=Yt(dn,$e);if(typeof $t=="string")return $t}return dn}function Y(dn){return[document.documentElement,document.body,window].indexOf(dn)>-1}function Z(dn){return Y(dn)?window.innerHeight:dn.clientHeight}function J(dn){return Y(dn)?window.pageYOffset:dn.scrollTop}function ee(dn,$e){if(Y(dn)){window.scrollTo(0,$e);return}dn.scrollTop=$e}function re(dn){var $e=getComputedStyle(dn),Yt=$e.position==="absolute",$t=/(auto|scroll)/;if($e.position==="fixed")return document.documentElement;for(var Jt=dn;Jt=Jt.parentElement;)if($e=getComputedStyle(Jt),!(Yt&&$e.position==="static")&&$t.test($e.overflow+$e.overflowY+$e.overflowX))return Jt;return document.documentElement}function me(dn,$e,Yt,$t){return Yt*((dn=dn/$t-1)*dn*dn+1)+$e}function fe(dn,$e){var Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,$t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:B,Jt=J(dn),Lt=$e-Jt,yn=10,In=0;function yr(){In+=yn;var Rr=me(In,Jt,Lt,Yt);ee(dn,Rr),In<Yt?window.requestAnimationFrame(yr):$t(dn)}yr()}function le(dn,$e){var Yt=dn.getBoundingClientRect(),$t=$e.getBoundingClientRect(),Jt=$e.offsetHeight/3;$t.bottom+Jt>Yt.bottom?ee(dn,Math.min($e.offsetTop+$e.clientHeight-dn.offsetHeight+Jt,dn.scrollHeight)):$t.top-Jt<Yt.top&&ee(dn,Math.max($e.offsetTop-Jt,0))}function Ve(dn){var $e=dn.getBoundingClientRect();return{bottom:$e.bottom,height:$e.height,left:$e.left,right:$e.right,top:$e.top,width:$e.width}}function Ze(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Ce(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var ye=!1,Ae={get passive(){return ye=!0}},Fe=typeof window<"u"?window:{};Fe.addEventListener&&Fe.removeEventListener&&(Fe.addEventListener("p",B,Ae),Fe.removeEventListener("p",B,!1));var Qe=ye;function ce(dn){return dn!=null}function Ge(dn){return Array.isArray(dn)}function Pe(dn,$e,Yt){return dn?$e:Yt}function pe(dn){return dn}function Se(dn){return dn}var _e=function($e){for(var Yt=arguments.length,$t=new Array(Yt>1?Yt-1:0),Jt=1;Jt<Yt;Jt++)$t[Jt-1]=arguments[Jt];var Lt=Object.entries($e).filter(function(yn){var In=(0,c.c)(yn,1),yr=In[0];return!$t.includes(yr)});return Lt.reduce(function(yn,In){var yr=(0,c.c)(In,2),Rr=yr[0],Xr=yr[1];return yn[Rr]=Xr,yn},{})};function Ne(dn){var $e=dn.maxHeight,Yt=dn.menuEl,$t=dn.minHeight,Jt=dn.placement,Lt=dn.shouldScroll,yn=dn.isFixedPosition,In=dn.controlHeight,yr=re(Yt),Rr={placement:"bottom",maxHeight:$e};if(!Yt||!Yt.offsetParent)return Rr;var Xr=yr.getBoundingClientRect(),ci=Xr.height,Hr=Yt.getBoundingClientRect(),un=Hr.bottom,ct=Hr.height,Ut=Hr.top,wt=Yt.offsetParent.getBoundingClientRect(),kn=wt.top,wn=yn?window.innerHeight:Z(yr),Qn=J(yr),ur=parseInt(getComputedStyle(Yt).marginBottom,10),fi=parseInt(getComputedStyle(Yt).marginTop,10),ot=kn-fi,ft=wn-Ut,Mt=ot+Qn,qt=ci-Qn-Ut,sr=un-wn+Qn+ur,lr=Qn+Ut-fi,Cr=160;switch(Jt){case"auto":case"bottom":if(ft>=ct)return{placement:"bottom",maxHeight:$e};if(qt>=ct&&!yn)return Lt&&fe(yr,sr,Cr),{placement:"bottom",maxHeight:$e};if(!yn&&qt>=$t||yn&&ft>=$t){Lt&&fe(yr,sr,Cr);var xr=yn?ft-ur:qt-ur;return{placement:"bottom",maxHeight:xr}}if(Jt==="auto"||yn){var qr=$e,jr=yn?ot:Mt;return jr>=$t&&(qr=Math.min(jr-ur-In,$e)),{placement:"top",maxHeight:qr}}if(Jt==="bottom")return Lt&&ee(yr,sr),{placement:"bottom",maxHeight:$e};break;case"top":if(ot>=ct)return{placement:"top",maxHeight:$e};if(Mt>=ct&&!yn)return Lt&&fe(yr,lr,Cr),{placement:"top",maxHeight:$e};if(!yn&&Mt>=$t||yn&&ot>=$t){var vr=$e;return(!yn&&Mt>=$t||yn&&ot>=$t)&&(vr=yn?ot-fi:Mt-fi),Lt&&fe(yr,lr,Cr),{placement:"top",maxHeight:vr}}return{placement:"bottom",maxHeight:$e};default:throw new Error('Invalid placement provided "'.concat(Jt,'".'))}return Rr}function Le(dn){var $e={bottom:"top",top:"bottom"};return dn?$e[dn]:"bottom"}var Ke=function($e){return $e==="auto"?"bottom":$e},bt=function($e,Yt){var $t,Jt=$e.placement,Lt=$e.theme,yn=Lt.borderRadius,In=Lt.spacing,yr=Lt.colors;return(0,i.c)(($t={label:"menu"},(0,A.c)($t,Le(Jt),"100%"),(0,A.c)($t,"position","absolute"),(0,A.c)($t,"width","100%"),(0,A.c)($t,"zIndex",1),$t),Yt?{}:{backgroundColor:yr.neutral0,borderRadius:yn,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:In.menuGutter,marginTop:In.menuGutter})},yt=(0,R.createContext)(null),It=function($e){var Yt=$e.children,$t=$e.minMenuHeight,Jt=$e.maxMenuHeight,Lt=$e.menuPlacement,yn=$e.menuPosition,In=$e.menuShouldScrollIntoView,yr=$e.theme,Rr=(0,R.useContext)(yt)||{},Xr=Rr.setPortalPlacement,ci=(0,R.useRef)(null),Hr=(0,R.useState)(Jt),un=(0,c.c)(Hr,2),ct=un[0],Ut=un[1],wt=(0,R.useState)(null),kn=(0,c.c)(wt,2),wn=kn[0],Qn=kn[1],ur=yr.spacing.controlHeight;return(0,O.c)(function(){var fi=ci.current;if(fi){var ot=yn==="fixed",ft=In&&!ot,Mt=Ne({maxHeight:Jt,menuEl:fi,minHeight:$t,placement:Lt,shouldScroll:ft,isFixedPosition:ot,controlHeight:ur});Ut(Mt.maxHeight),Qn(Mt.placement),Xr?.(Mt.placement)}},[Jt,Lt,yn,In,$t,Xr,ur]),Yt({ref:ci,placerProps:(0,i.c)((0,i.c)({},$e),{},{placement:wn||Ke(Lt),maxHeight:ct})})},_t=function($e){var Yt=$e.children,$t=$e.innerRef,Jt=$e.innerProps;return(0,l.im)("div",(0,a.c)({},Q($e,"menu",{menu:!0}),{ref:$t},Jt),Yt)},zt=function($e,Yt){var $t=$e.maxHeight,Jt=$e.theme.spacing.baseUnit;return(0,i.c)({maxHeight:$t,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},Yt?{}:{paddingBottom:Jt,paddingTop:Jt})},Vt=function($e){var Yt=$e.children,$t=$e.innerProps,Jt=$e.innerRef,Lt=$e.isMulti;return(0,l.im)("div",(0,a.c)({},Q($e,"menuList",{"menu-list":!0,"menu-list--is-multi":Lt}),{ref:Jt},$t),Yt)},St=function($e,Yt){var $t=$e.theme,Jt=$t.spacing.baseUnit,Lt=$t.colors;return(0,i.c)({textAlign:"center"},Yt?{}:{color:Lt.neutral40,padding:"".concat(Jt*2,"px ").concat(Jt*3,"px")})},Xt=St,jt=St,sn=function($e){var Yt=$e.children,$t=$e.innerProps;return(0,l.im)("div",(0,a.c)({},Q($e,"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),$t),Yt)};sn.defaultProps={children:"No options"};var dt=function($e){var Yt=$e.children,$t=$e.innerProps;return(0,l.im)("div",(0,a.c)({},Q($e,"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),$t),Yt)};dt.defaultProps={children:"Loading..."};var Ln=function($e){var Yt=$e.rect,$t=$e.offset,Jt=$e.position;return{left:Yt.left,position:Jt,top:$t,width:Yt.width,zIndex:1}},fn=function($e){var Yt=$e.appendTo,$t=$e.children,Jt=$e.controlElement,Lt=$e.innerProps,yn=$e.menuPlacement,In=$e.menuPosition,yr=(0,R.useRef)(null),Rr=(0,R.useRef)(null),Xr=(0,R.useState)(Ke(yn)),ci=(0,c.c)(Xr,2),Hr=ci[0],un=ci[1],ct=(0,R.useMemo)(function(){return{setPortalPlacement:un}},[]),Ut=(0,R.useState)(null),wt=(0,c.c)(Ut,2),kn=wt[0],wn=wt[1],Qn=(0,R.useCallback)(function(){if(Jt){var ft=Ve(Jt),Mt=In==="fixed"?0:window.pageYOffset,qt=ft[Hr]+Mt;(qt!==kn?.offset||ft.left!==kn?.rect.left||ft.width!==kn?.rect.width)&&wn({offset:qt,rect:ft})}},[Jt,In,Hr,kn?.offset,kn?.rect.left,kn?.rect.width]);(0,O.c)(function(){Qn()},[Qn]);var ur=(0,R.useCallback)(function(){typeof Rr.current=="function"&&(Rr.current(),Rr.current=null),Jt&&yr.current&&(Rr.current=(0,M.kN)(Jt,yr.current,Qn,{elementResize:"ResizeObserver"in window}))},[Jt,Qn]);(0,O.c)(function(){ur()},[ur]);var fi=(0,R.useCallback)(function(ft){yr.current=ft,ur()},[ur]);if(!Yt&&In!=="fixed"||!kn)return null;var ot=(0,l.im)("div",(0,a.c)({ref:fi},Q((0,i.c)((0,i.c)({},$e),{},{offset:kn.offset,position:In,rect:kn.rect}),"menuPortal",{"menu-portal":!0}),Lt),$t);return(0,l.im)(yt.Provider,{value:ct},Yt?(0,P.createPortal)(ot,Yt):ot)},cr=function($e){var Yt=$e.isDisabled,$t=$e.isRtl;return{label:"container",direction:$t?"rtl":void 0,pointerEvents:Yt?"none":void 0,position:"relative"}},wr=function($e){var Yt=$e.children,$t=$e.innerProps,Jt=$e.isDisabled,Lt=$e.isRtl;return(0,l.im)("div",(0,a.c)({},Q($e,"container",{"--is-disabled":Jt,"--is-rtl":Lt}),$t),Yt)},Jn=function($e,Yt){var $t=$e.theme.spacing,Jt=$e.isMulti,Lt=$e.hasValue,yn=$e.selectProps.controlShouldRenderValue;return(0,i.c)({alignItems:"center",display:Jt&&Lt&&yn?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},Yt?{}:{padding:"".concat($t.baseUnit/2,"px ").concat($t.baseUnit*2,"px")})},nn=function($e){var Yt=$e.children,$t=$e.innerProps,Jt=$e.isMulti,Lt=$e.hasValue;return(0,l.im)("div",(0,a.c)({},Q($e,"valueContainer",{"value-container":!0,"value-container--is-multi":Jt,"value-container--has-value":Lt}),$t),Yt)},or=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},bn=function($e){var Yt=$e.children,$t=$e.innerProps;return(0,l.im)("div",(0,a.c)({},Q($e,"indicatorsContainer",{indicators:!0}),$t),Yt)},Sn,Hn=["size"];function er(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var an={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Cn=function($e){var Yt=$e.size,$t=(0,v.c)($e,Hn);return(0,l.im)("svg",(0,a.c)({height:Yt,width:Yt,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:an},$t))},de=function($e){return(0,l.im)(Cn,(0,a.c)({size:20},$e),(0,l.im)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},oe=function($e){return(0,l.im)(Cn,(0,a.c)({size:20},$e),(0,l.im)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Ye=function($e,Yt){var $t=$e.isFocused,Jt=$e.theme,Lt=Jt.spacing.baseUnit,yn=Jt.colors;return(0,i.c)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},Yt?{}:{color:$t?yn.neutral60:yn.neutral20,padding:Lt*2,":hover":{color:$t?yn.neutral80:yn.neutral40}})},Et=Ye,xe=function($e){var Yt=$e.children,$t=$e.innerProps;return(0,l.im)("div",(0,a.c)({},Q($e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),$t),Yt||(0,l.im)(oe,null))},Re=Ye,We=function($e){var Yt=$e.children,$t=$e.innerProps;return(0,l.im)("div",(0,a.c)({},Q($e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),$t),Yt||(0,l.im)(de,null))},gt=function($e,Yt){var $t=$e.isDisabled,Jt=$e.theme,Lt=Jt.spacing.baseUnit,yn=Jt.colors;return(0,i.c)({label:"indicatorSeparator",alignSelf:"stretch",width:1},Yt?{}:{backgroundColor:$t?yn.neutral10:yn.neutral20,marginBottom:Lt*2,marginTop:Lt*2})},Nt=function($e){var Yt=$e.innerProps;return(0,l.im)("span",(0,a.c)({},Yt,Q($e,"indicatorSeparator",{"indicator-separator":!0})))},Ct=(0,l.xZ)(Sn||(Sn=T([`
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
`]))),tn=function($e,Yt){var $t=$e.isFocused,Jt=$e.size,Lt=$e.theme,yn=Lt.colors,In=Lt.spacing.baseUnit;return(0,i.c)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:Jt,lineHeight:1,marginRight:Jt,textAlign:"center",verticalAlign:"middle"},Yt?{}:{color:$t?yn.neutral60:yn.neutral20,padding:In*2})},ge=function($e){var Yt=$e.delay,$t=$e.offset;return(0,l.im)("span",{css:(0,l.gV)({animation:"".concat(Ct," 1s ease-in-out ").concat(Yt,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:$t?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},At=function($e){var Yt=$e.innerProps,$t=$e.isRtl;return(0,l.im)("div",(0,a.c)({},Q($e,"loadingIndicator",{indicator:!0,"loading-indicator":!0}),Yt),(0,l.im)(ge,{delay:0,offset:$t}),(0,l.im)(ge,{delay:160,offset:!0}),(0,l.im)(ge,{delay:320,offset:!$t}))};At.defaultProps={size:4};var mn=function($e,Yt){var $t=$e.isDisabled,Jt=$e.isFocused,Lt=$e.theme,yn=Lt.colors,In=Lt.borderRadius,yr=Lt.spacing;return(0,i.c)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:yr.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},Yt?{}:{backgroundColor:$t?yn.neutral5:yn.neutral0,borderColor:$t?yn.neutral10:Jt?yn.primary:yn.neutral20,borderRadius:In,borderStyle:"solid",borderWidth:1,boxShadow:Jt?"0 0 0 1px ".concat(yn.primary):void 0,"&:hover":{borderColor:Jt?yn.primary:yn.neutral30}})},xn=function($e){var Yt=$e.children,$t=$e.isDisabled,Jt=$e.isFocused,Lt=$e.innerRef,yn=$e.innerProps,In=$e.menuIsOpen;return(0,l.im)("div",(0,a.c)({ref:Lt},Q($e,"control",{control:!0,"control--is-disabled":$t,"control--is-focused":Jt,"control--menu-is-open":In}),yn),Yt)},Un=["data"],gr=function($e,Yt){var $t=$e.theme.spacing;return Yt?{}:{paddingBottom:$t.baseUnit*2,paddingTop:$t.baseUnit*2}},Ur=function($e){var Yt=$e.children,$t=$e.cx,Jt=$e.getStyles,Lt=$e.getClassNames,yn=$e.Heading,In=$e.headingProps,yr=$e.innerProps,Rr=$e.label,Xr=$e.theme,ci=$e.selectProps;return(0,l.im)("div",(0,a.c)({},Q($e,"group",{group:!0}),yr),(0,l.im)(yn,(0,a.c)({},In,{selectProps:ci,theme:Xr,getStyles:Jt,getClassNames:Lt,cx:$t}),Rr),(0,l.im)("div",null,Yt))},Or=function($e,Yt){var $t=$e.theme,Jt=$t.colors,Lt=$t.spacing;return(0,i.c)({label:"group",cursor:"default",display:"block"},Yt?{}:{color:Jt.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:Lt.baseUnit*3,paddingRight:Lt.baseUnit*3,textTransform:"uppercase"})},ii=function($e){var Yt=X($e);Yt.data;var $t=(0,v.c)(Yt,Un);return(0,l.im)("div",(0,a.c)({},Q($e,"groupHeading",{"group-heading":!0}),$t))},Ui=["innerRef","isDisabled","isHidden","inputClassName"],rn=function($e,Yt){var $t=$e.isDisabled,Jt=$e.value,Lt=$e.theme,yn=Lt.spacing,In=Lt.colors;return(0,i.c)((0,i.c)({visibility:$t?"hidden":"visible",transform:Jt?"translateZ(0)":""},yi),Yt?{}:{margin:yn.baseUnit/2,paddingBottom:yn.baseUnit/2,paddingTop:yn.baseUnit/2,color:In.neutral80})},$n={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},yi={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,i.c)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},$n)},Jr=function($e){return(0,i.c)({label:"input",color:"inherit",background:0,opacity:$e?0:1,width:"100%"},$n)},cn=function($e){var Yt=$e.cx,$t=$e.value,Jt=X($e),Lt=Jt.innerRef,yn=Jt.isDisabled,In=Jt.isHidden,yr=Jt.inputClassName,Rr=(0,v.c)(Jt,Ui);return(0,l.im)("div",(0,a.c)({},Q($e,"input",{"input-container":!0}),{"data-value":$t||""}),(0,l.im)("input",(0,a.c)({className:Yt({input:!0},yr),ref:Lt,style:Jr(In),disabled:yn},Rr)))},mt=function($e,Yt){var $t=$e.theme,Jt=$t.spacing,Lt=$t.borderRadius,yn=$t.colors;return(0,i.c)({label:"multiValue",display:"flex",minWidth:0},Yt?{}:{backgroundColor:yn.neutral10,borderRadius:Lt/2,margin:Jt.baseUnit/2})},we=function($e,Yt){var $t=$e.theme,Jt=$t.borderRadius,Lt=$t.colors,yn=$e.cropWithEllipsis;return(0,i.c)({overflow:"hidden",textOverflow:yn||yn===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},Yt?{}:{borderRadius:Jt/2,color:Lt.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},je=function($e,Yt){var $t=$e.theme,Jt=$t.spacing,Lt=$t.borderRadius,yn=$t.colors,In=$e.isFocused;return(0,i.c)({alignItems:"center",display:"flex"},Yt?{}:{borderRadius:Lt/2,backgroundColor:In?yn.dangerLight:void 0,paddingLeft:Jt.baseUnit,paddingRight:Jt.baseUnit,":hover":{backgroundColor:yn.dangerLight,color:yn.danger}})},pt=function($e){var Yt=$e.children,$t=$e.innerProps;return(0,l.im)("div",$t,Yt)},at=pt,kt=pt;function vn(dn){var $e=dn.children,Yt=dn.innerProps;return(0,l.im)("div",(0,a.c)({role:"button"},Yt),$e||(0,l.im)(de,{size:14}))}var Wn=function($e){var Yt=$e.children,$t=$e.components,Jt=$e.data,Lt=$e.innerProps,yn=$e.isDisabled,In=$e.removeProps,yr=$e.selectProps,Rr=$t.Container,Xr=$t.Label,ci=$t.Remove;return(0,l.im)(Rr,{data:Jt,innerProps:(0,i.c)((0,i.c)({},Q($e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":yn})),Lt),selectProps:yr},(0,l.im)(Xr,{data:Jt,innerProps:(0,i.c)({},Q($e,"multiValueLabel",{"multi-value__label":!0})),selectProps:yr},Yt),(0,l.im)(ci,{data:Jt,innerProps:(0,i.c)((0,i.c)({},Q($e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(Yt||"option")},In),selectProps:yr}))},nr=function($e,Yt){var $t=$e.isDisabled,Jt=$e.isFocused,Lt=$e.isSelected,yn=$e.theme,In=yn.spacing,yr=yn.colors;return(0,i.c)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},Yt?{}:{backgroundColor:Lt?yr.primary:Jt?yr.primary25:"transparent",color:$t?yr.neutral20:Lt?yr.neutral0:"inherit",padding:"".concat(In.baseUnit*2,"px ").concat(In.baseUnit*3,"px"),":active":{backgroundColor:$t?void 0:Lt?yr.primary:yr.primary50}})},rr=function($e){var Yt=$e.children,$t=$e.isDisabled,Jt=$e.isFocused,Lt=$e.isSelected,yn=$e.innerRef,In=$e.innerProps;return(0,l.im)("div",(0,a.c)({},Q($e,"option",{option:!0,"option--is-disabled":$t,"option--is-focused":Jt,"option--is-selected":Lt}),{ref:yn,"aria-disabled":$t},In),Yt)},Ot=function($e,Yt){var $t=$e.theme,Jt=$t.spacing,Lt=$t.colors;return(0,i.c)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},Yt?{}:{color:Lt.neutral50,marginLeft:Jt.baseUnit/2,marginRight:Jt.baseUnit/2})},Gt=function($e){var Yt=$e.children,$t=$e.innerProps;return(0,l.im)("div",(0,a.c)({},Q($e,"placeholder",{placeholder:!0}),$t),Yt)},Pt=function($e,Yt){var $t=$e.isDisabled,Jt=$e.theme,Lt=Jt.spacing,yn=Jt.colors;return(0,i.c)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},Yt?{}:{color:$t?yn.neutral40:yn.neutral80,marginLeft:Lt.baseUnit/2,marginRight:Lt.baseUnit/2})},Tt=function($e){var Yt=$e.children,$t=$e.isDisabled,Jt=$e.innerProps;return(0,l.im)("div",(0,a.c)({},Q($e,"singleValue",{"single-value":!0,"single-value--is-disabled":$t}),Jt),Yt)},An={ClearIndicator:We,Control:xn,DropdownIndicator:xe,DownChevron:oe,CrossIcon:de,Group:Ur,GroupHeading:ii,IndicatorsContainer:bn,IndicatorSeparator:Nt,Input:cn,LoadingIndicator:At,Menu:_t,MenuList:Vt,MenuPortal:fn,LoadingMessage:dt,NoOptionsMessage:sn,MultiValue:Wn,MultiValueContainer:at,MultiValueLabel:kt,MultiValueRemove:vn,Option:rr,Placeholder:Gt,SelectContainer:wr,SingleValue:Tt,ValueContainer:nn},on=function($e){return(0,i.c)((0,i.c)({},An),$e.components)}},80352:(U,C,e)=>{"use strict";function i(A){return A&&typeof A=="object"&&"default"in A?A.default:A}var a=e(62552),l=i(a);function c(A,R,P){return R in A?Object.defineProperty(A,R,{value:P,enumerable:!0,configurable:!0,writable:!0}):A[R]=P,A}function v(A,R){A.prototype=Object.create(R.prototype),A.prototype.constructor=A,A.__proto__=R}var _=!!(typeof window<"u"&&window.document&&window.document.createElement);function T(A,R,P){if(typeof A!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof R!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof P<"u"&&typeof P!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function M(O){return O.displayName||O.name||"Component"}return function(N){if(typeof N!="function")throw new Error("Expected WrappedComponent to be a React component.");var B=[],j;function z(){j=A(B.map(function(X){return X.props})),W.canUseDOM?R(j):P&&(j=P(j))}var W=function(X){v(Q,X);function Q(){return X.apply(this,arguments)||this}Q.peek=function(){return j},Q.rewind=function(){if(Q.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var Z=j;return j=void 0,B=[],Z};var K=Q.prototype;return K.UNSAFE_componentWillMount=function(){B.push(this),z()},K.componentDidUpdate=function(){z()},K.componentWillUnmount=function(){var Z=B.indexOf(this);B.splice(Z,1),z()},K.render=function(){return l.createElement(N,this.props)},Q}(a.PureComponent);return c(W,"displayName","SideEffect("+M(N)+")"),c(W,"canUseDOM",_),W}}U.exports=T},10888:(U,C,e)=>{"use strict";e.d(C,{In:()=>P});var i=e(62552),a,l=function(M){a=M},c=function(){return a||e.nc};function v(){if(!document)return null;var M=document.createElement("style");M.type="text/css";var O=c();return O&&M.setAttribute("nonce",O),M}function _(M,O){M.styleSheet?M.styleSheet.cssText=O:M.appendChild(document.createTextNode(O))}function T(M){var O=document.head||document.getElementsByTagName("head")[0];O.appendChild(M)}var A=function(){var M=0,O=null;return{add:function(N){M==0&&(O=v())&&(_(O,N),T(O)),M++},remove:function(){M--,!M&&O&&(O.parentNode&&O.parentNode.removeChild(O),O=null)}}},R=function(){var M=A();return function(O,N){i.useEffect(function(){return M.add(O),function(){M.remove()}},[O&&N])}},P=function(){var M=R(),O=function(N){var B=N.styles,j=N.dynamic;return M(B,j),null};return O}},78952:(U,C,e)=>{"use strict";/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var i=e(62552),a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,v=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,_={key:!0,ref:!0,__self:!0,__source:!0};function T(A,R,P){var M,O={},N=null,B=null;P!==void 0&&(N=""+P),R.key!==void 0&&(N=""+R.key),R.ref!==void 0&&(B=R.ref);for(M in R)c.call(R,M)&&!_.hasOwnProperty(M)&&(O[M]=R[M]);if(A&&A.defaultProps)for(M in R=A.defaultProps,R)O[M]===void 0&&(O[M]=R[M]);return{$$typeof:a,type:A,key:N,ref:B,props:O,_owner:v.current}}C.Fragment=l,C.jsx=T,C.jsxs=T},96920:(U,C)=>{"use strict";/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var e=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),v=Symbol.for("react.provider"),_=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),R=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),M=Symbol.iterator;function O(ce){return ce===null||typeof ce!="object"?null:(ce=M&&ce[M]||ce["@@iterator"],typeof ce=="function"?ce:null)}var N={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,j={};function z(ce,Ge,Pe){this.props=ce,this.context=Ge,this.refs=j,this.updater=Pe||N}z.prototype.isReactComponent={},z.prototype.setState=function(ce,Ge){if(typeof ce!="object"&&typeof ce!="function"&&ce!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,ce,Ge,"setState")},z.prototype.forceUpdate=function(ce){this.updater.enqueueForceUpdate(this,ce,"forceUpdate")};function W(){}W.prototype=z.prototype;function X(ce,Ge,Pe){this.props=ce,this.context=Ge,this.refs=j,this.updater=Pe||N}var Q=X.prototype=new W;Q.constructor=X,B(Q,z.prototype),Q.isPureReactComponent=!0;var K=Array.isArray,Y=Object.prototype.hasOwnProperty,Z={current:null},J={key:!0,ref:!0,__self:!0,__source:!0};function ee(ce,Ge,Pe){var pe,Se={},_e=null,Ne=null;if(Ge!=null)for(pe in Ge.ref!==void 0&&(Ne=Ge.ref),Ge.key!==void 0&&(_e=""+Ge.key),Ge)Y.call(Ge,pe)&&!J.hasOwnProperty(pe)&&(Se[pe]=Ge[pe]);var Le=arguments.length-2;if(Le===1)Se.children=Pe;else if(1<Le){for(var Ke=Array(Le),bt=0;bt<Le;bt++)Ke[bt]=arguments[bt+2];Se.children=Ke}if(ce&&ce.defaultProps)for(pe in Le=ce.defaultProps,Le)Se[pe]===void 0&&(Se[pe]=Le[pe]);return{$$typeof:e,type:ce,key:_e,ref:Ne,props:Se,_owner:Z.current}}function re(ce,Ge){return{$$typeof:e,type:ce.type,key:Ge,ref:ce.ref,props:ce.props,_owner:ce._owner}}function me(ce){return typeof ce=="object"&&ce!==null&&ce.$$typeof===e}function fe(ce){var Ge={"=":"=0",":":"=2"};return"$"+ce.replace(/[=:]/g,function(Pe){return Ge[Pe]})}var le=/\/+/g;function Ve(ce,Ge){return typeof ce=="object"&&ce!==null&&ce.key!=null?fe(""+ce.key):Ge.toString(36)}function Ze(ce,Ge,Pe,pe,Se){var _e=typeof ce;(_e==="undefined"||_e==="boolean")&&(ce=null);var Ne=!1;if(ce===null)Ne=!0;else switch(_e){case"string":case"number":Ne=!0;break;case"object":switch(ce.$$typeof){case e:case i:Ne=!0}}if(Ne)return Ne=ce,Se=Se(Ne),ce=pe===""?"."+Ve(Ne,0):pe,K(Se)?(Pe="",ce!=null&&(Pe=ce.replace(le,"$&/")+"/"),Ze(Se,Ge,Pe,"",function(bt){return bt})):Se!=null&&(me(Se)&&(Se=re(Se,Pe+(!Se.key||Ne&&Ne.key===Se.key?"":(""+Se.key).replace(le,"$&/")+"/")+ce)),Ge.push(Se)),1;if(Ne=0,pe=pe===""?".":pe+":",K(ce))for(var Le=0;Le<ce.length;Le++){_e=ce[Le];var Ke=pe+Ve(_e,Le);Ne+=Ze(_e,Ge,Pe,Ke,Se)}else if(Ke=O(ce),typeof Ke=="function")for(ce=Ke.call(ce),Le=0;!(_e=ce.next()).done;)_e=_e.value,Ke=pe+Ve(_e,Le++),Ne+=Ze(_e,Ge,Pe,Ke,Se);else if(_e==="object")throw Ge=String(ce),Error("Objects are not valid as a React child (found: "+(Ge==="[object Object]"?"object with keys {"+Object.keys(ce).join(", ")+"}":Ge)+"). If you meant to render a collection of children, use an array instead.");return Ne}function Ce(ce,Ge,Pe){if(ce==null)return ce;var pe=[],Se=0;return Ze(ce,pe,"","",function(_e){return Ge.call(Pe,_e,Se++)}),pe}function ye(ce){if(ce._status===-1){var Ge=ce._result;Ge=Ge(),Ge.then(function(Pe){(ce._status===0||ce._status===-1)&&(ce._status=1,ce._result=Pe)},function(Pe){(ce._status===0||ce._status===-1)&&(ce._status=2,ce._result=Pe)}),ce._status===-1&&(ce._status=0,ce._result=Ge)}if(ce._status===1)return ce._result.default;throw ce._result}var Ae={current:null},Fe={transition:null},Qe={ReactCurrentDispatcher:Ae,ReactCurrentBatchConfig:Fe,ReactCurrentOwner:Z};C.Children={map:Ce,forEach:function(ce,Ge,Pe){Ce(ce,function(){Ge.apply(this,arguments)},Pe)},count:function(ce){var Ge=0;return Ce(ce,function(){Ge++}),Ge},toArray:function(ce){return Ce(ce,function(Ge){return Ge})||[]},only:function(ce){if(!me(ce))throw Error("React.Children.only expected to receive a single React element child.");return ce}},C.Component=z,C.Fragment=a,C.Profiler=c,C.PureComponent=X,C.StrictMode=l,C.Suspense=A,C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Qe,C.cloneElement=function(ce,Ge,Pe){if(ce==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+ce+".");var pe=B({},ce.props),Se=ce.key,_e=ce.ref,Ne=ce._owner;if(Ge!=null){if(Ge.ref!==void 0&&(_e=Ge.ref,Ne=Z.current),Ge.key!==void 0&&(Se=""+Ge.key),ce.type&&ce.type.defaultProps)var Le=ce.type.defaultProps;for(Ke in Ge)Y.call(Ge,Ke)&&!J.hasOwnProperty(Ke)&&(pe[Ke]=Ge[Ke]===void 0&&Le!==void 0?Le[Ke]:Ge[Ke])}var Ke=arguments.length-2;if(Ke===1)pe.children=Pe;else if(1<Ke){Le=Array(Ke);for(var bt=0;bt<Ke;bt++)Le[bt]=arguments[bt+2];pe.children=Le}return{$$typeof:e,type:ce.type,key:Se,ref:_e,props:pe,_owner:Ne}},C.createContext=function(ce){return ce={$$typeof:_,_currentValue:ce,_currentValue2:ce,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},ce.Provider={$$typeof:v,_context:ce},ce.Consumer=ce},C.createElement=ee,C.createFactory=function(ce){var Ge=ee.bind(null,ce);return Ge.type=ce,Ge},C.createRef=function(){return{current:null}},C.forwardRef=function(ce){return{$$typeof:T,render:ce}},C.isValidElement=me,C.lazy=function(ce){return{$$typeof:P,_payload:{_status:-1,_result:ce},_init:ye}},C.memo=function(ce,Ge){return{$$typeof:R,type:ce,compare:Ge===void 0?null:Ge}},C.startTransition=function(ce){var Ge=Fe.transition;Fe.transition={};try{ce()}finally{Fe.transition=Ge}},C.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},C.useCallback=function(ce,Ge){return Ae.current.useCallback(ce,Ge)},C.useContext=function(ce){return Ae.current.useContext(ce)},C.useDebugValue=function(){},C.useDeferredValue=function(ce){return Ae.current.useDeferredValue(ce)},C.useEffect=function(ce,Ge){return Ae.current.useEffect(ce,Ge)},C.useId=function(){return Ae.current.useId()},C.useImperativeHandle=function(ce,Ge,Pe){return Ae.current.useImperativeHandle(ce,Ge,Pe)},C.useInsertionEffect=function(ce,Ge){return Ae.current.useInsertionEffect(ce,Ge)},C.useLayoutEffect=function(ce,Ge){return Ae.current.useLayoutEffect(ce,Ge)},C.useMemo=function(ce,Ge){return Ae.current.useMemo(ce,Ge)},C.useReducer=function(ce,Ge,Pe){return Ae.current.useReducer(ce,Ge,Pe)},C.useRef=function(ce){return Ae.current.useRef(ce)},C.useState=function(ce){return Ae.current.useState(ce)},C.useSyncExternalStore=function(ce,Ge,Pe){return Ae.current.useSyncExternalStore(ce,Ge,Pe)},C.useTransition=function(){return Ae.current.useTransition()},C.version="18.2.0"},62552:(U,C,e)=>{"use strict";U.exports=e(96920)},19968:(U,C,e)=>{"use strict";U.exports=e(78952)},21160:(U,C,e)=>{"use strict";e.d(C,{Jn:()=>K,TL:()=>W,d4:()=>Y,eC:()=>O});var i=e(56688);function a(Z){return"Minified Redux error #"+Z+"; visit https://redux.js.org/Errors?code="+Z+" for the full message or use the non-minified dev environment for full errors. "}var l=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),c=function(){return Math.random().toString(36).substring(7).split("").join(".")},v={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function _(Z){if(typeof Z!="object"||Z===null)return!1;for(var J=Z;Object.getPrototypeOf(J)!==null;)J=Object.getPrototypeOf(J);return Object.getPrototypeOf(Z)===J}function T(Z){if(Z===void 0)return"undefined";if(Z===null)return"null";var J=typeof Z;switch(J){case"boolean":case"string":case"number":case"symbol":case"function":return J}if(Array.isArray(Z))return"array";if(P(Z))return"date";if(R(Z))return"error";var ee=A(Z);switch(ee){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return ee}return J.slice(8,-1).toLowerCase().replace(/\s/g,"")}function A(Z){return typeof Z.constructor=="function"?Z.constructor.name:null}function R(Z){return Z instanceof Error||typeof Z.message=="string"&&Z.constructor&&typeof Z.constructor.stackTraceLimit=="number"}function P(Z){return Z instanceof Date?!0:typeof Z.toDateString=="function"&&typeof Z.getDate=="function"&&typeof Z.setDate=="function"}function M(Z){var J=typeof Z;return J}function O(Z,J,ee){var re;if(typeof J=="function"&&typeof ee=="function"||typeof ee=="function"&&typeof arguments[3]=="function")throw new Error(a(0));if(typeof J=="function"&&typeof ee>"u"&&(ee=J,J=void 0),typeof ee<"u"){if(typeof ee!="function")throw new Error(a(1));return ee(O)(Z,J)}if(typeof Z!="function")throw new Error(a(2));var me=Z,fe=J,le=[],Ve=le,Ze=!1;function Ce(){Ve===le&&(Ve=le.slice())}function ye(){if(Ze)throw new Error(a(3));return fe}function Ae(Ge){if(typeof Ge!="function")throw new Error(a(4));if(Ze)throw new Error(a(5));var Pe=!0;return Ce(),Ve.push(Ge),function(){if(Pe){if(Ze)throw new Error(a(6));Pe=!1,Ce();var Se=Ve.indexOf(Ge);Ve.splice(Se,1),le=null}}}function Fe(Ge){if(!_(Ge))throw new Error(a(7));if(typeof Ge.type>"u")throw new Error(a(8));if(Ze)throw new Error(a(9));try{Ze=!0,fe=me(fe,Ge)}finally{Ze=!1}for(var Pe=le=Ve,pe=0;pe<Pe.length;pe++){var Se=Pe[pe];Se()}return Ge}function Qe(Ge){if(typeof Ge!="function")throw new Error(a(10));me=Ge,Fe({type:v.REPLACE})}function ce(){var Ge,Pe=Ae;return Ge={subscribe:function(Se){if(typeof Se!="object"||Se===null)throw new Error(a(11));function _e(){Se.next&&Se.next(ye())}_e();var Ne=Pe(_e);return{unsubscribe:Ne}}},Ge[l]=function(){return this},Ge}return Fe({type:v.INIT}),re={dispatch:Fe,subscribe:Ae,getState:ye,replaceReducer:Qe},re[l]=ce,re}var N=null;function B(Z){typeof console<"u"&&typeof console.error=="function"&&console.error(Z);try{throw new Error(Z)}catch{}}function j(Z,J,ee,re){var me=Object.keys(J),fe=ee&&ee.type===v.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(me.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!_(Z))return"The "+fe+' has unexpected type of "'+M(Z)+'". Expected argument to be an object with the following '+('keys: "'+me.join('", "')+'"');var le=Object.keys(Z).filter(function(Ve){return!J.hasOwnProperty(Ve)&&!re[Ve]});if(le.forEach(function(Ve){re[Ve]=!0}),!(ee&&ee.type===v.REPLACE)&&le.length>0)return"Unexpected "+(le.length>1?"keys":"key")+" "+('"'+le.join('", "')+'" found in '+fe+". ")+"Expected to find one of the known reducer keys instead: "+('"'+me.join('", "')+'". Unexpected keys will be ignored.')}function z(Z){Object.keys(Z).forEach(function(J){var ee=Z[J],re=ee(void 0,{type:v.INIT});if(typeof re>"u")throw new Error(a(12));if(typeof ee(void 0,{type:v.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(a(13))})}function W(Z){for(var J=Object.keys(Z),ee={},re=0;re<J.length;re++){var me=J[re];typeof Z[me]=="function"&&(ee[me]=Z[me])}var fe=Object.keys(ee),le,Ve;try{z(ee)}catch(Ze){Ve=Ze}return function(Ce,ye){if(Ce===void 0&&(Ce={}),Ve)throw Ve;if(!1)var Ae;for(var Fe=!1,Qe={},ce=0;ce<fe.length;ce++){var Ge=fe[ce],Pe=ee[Ge],pe=Ce[Ge],Se=Pe(pe,ye);if(typeof Se>"u"){var _e=ye&&ye.type;throw new Error(a(14))}Qe[Ge]=Se,Fe=Fe||Se!==pe}return Fe=Fe||fe.length!==Object.keys(Ce).length,Fe?Qe:Ce}}function X(Z,J){return function(){return J(Z.apply(this,arguments))}}function Q(Z,J){if(typeof Z=="function")return X(Z,J);if(typeof Z!="object"||Z===null)throw new Error(a(16));var ee={};for(var re in Z){var me=Z[re];typeof me=="function"&&(ee[re]=X(me,J))}return ee}function K(){for(var Z=arguments.length,J=new Array(Z),ee=0;ee<Z;ee++)J[ee]=arguments[ee];return J.length===0?function(re){return re}:J.length===1?J[0]:J.reduce(function(re,me){return function(){return re(me.apply(void 0,arguments))}})}function Y(){for(var Z=arguments.length,J=new Array(Z),ee=0;ee<Z;ee++)J[ee]=arguments[ee];return function(re){return function(){var me=re.apply(void 0,arguments),fe=function(){throw new Error(a(15))},le={getState:me.getState,dispatch:function(){return fe.apply(void 0,arguments)}},Ve=J.map(function(Ze){return Ze(le)});return fe=K.apply(void 0,Ve)(me.dispatch),(0,i.c)((0,i.c)({},me),{},{dispatch:fe})}}}},5028:(U,C,e)=>{"use strict";e.d(C,{Aj:()=>_});var i="NOT_FOUND";function a(T){var A;return{get:function(P){return A&&T(A.key,P)?A.value:i},put:function(P,M){A={key:P,value:M}},getEntries:function(){return A?[A]:[]},clear:function(){A=void 0}}}function l(T,A){var R=[];function P(B){var j=R.findIndex(function(W){return A(B,W.key)});if(j>-1){var z=R[j];return j>0&&(R.splice(j,1),R.unshift(z)),z.value}return i}function M(B,j){P(B)===i&&(R.unshift({key:B,value:j}),R.length>T&&R.pop())}function O(){return R}function N(){R=[]}return{get:P,put:M,getEntries:O,clear:N}}var c=function(A,R){return A===R};function v(T){return function(R,P){if(R===null||P===null||R.length!==P.length)return!1;for(var M=R.length,O=0;O<M;O++)if(!T(R[O],P[O]))return!1;return!0}}function _(T,A){var R=typeof A=="object"?A:{equalityCheck:A},P=R.equalityCheck,M=P===void 0?c:P,O=R.maxSize,N=O===void 0?1:O,B=R.resultEqualityCheck,j=v(M),z=N===1?a(j):l(N,j);function W(){var X=z.get(arguments);if(X===i){if(X=T.apply(null,arguments),B){var Q=z.getEntries(),K=Q.find(function(Y){return B(Y.value,X)});K&&(X=K.value)}z.put(arguments,X)}return X}return W.clearCache=function(){return z.clear()},W}},67432:(U,C,e)=>{"use strict";e.d(C,{M3:()=>c});var i=e(5028);function a(_){var T=Array.isArray(_[0])?_[0]:_;if(!T.every(function(R){return typeof R=="function"})){var A=T.map(function(R){return typeof R=="function"?"function "+(R.name||"unnamed")+"()":typeof R}).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+A+"]")}return T}function l(_){for(var T=arguments.length,A=new Array(T>1?T-1:0),R=1;R<T;R++)A[R-1]=arguments[R];var P=function(){for(var O=arguments.length,N=new Array(O),B=0;B<O;B++)N[B]=arguments[B];var j=0,z,W={memoizeOptions:void 0},X=N.pop();if(typeof X=="object"&&(W=X,X=N.pop()),typeof X!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof X+"]");var Q=W,K=Q.memoizeOptions,Y=K===void 0?A:K,Z=Array.isArray(Y)?Y:[Y],J=a(N),ee=_.apply(void 0,[function(){return j++,X.apply(null,arguments)}].concat(Z)),re=_(function(){for(var fe=[],le=J.length,Ve=0;Ve<le;Ve++)fe.push(J[Ve].apply(null,arguments));return z=ee.apply(null,fe),z});return Object.assign(re,{resultFunc:X,memoizedResultFunc:ee,dependencies:J,lastResult:function(){return z},recomputations:function(){return j},resetRecomputations:function(){return j=0}}),re};return P}var c=l(i.Aj),v=function(T,A){if(A===void 0&&(A=c),typeof T!="object")throw new Error("createStructuredSelector expects first argument to be an object "+("where each property is a selector, instead received a "+typeof T));var R=Object.keys(T),P=A(R.map(function(M){return T[M]}),function(){for(var M=arguments.length,O=new Array(M),N=0;N<M;N++)O[N]=arguments[N];return O.reduce(function(B,j,z){return B[R[z]]=j,B},{})});return P}},81748:(U,C,e)=>{const i=e(43200),a=e(43228),{isPlainObject:l}=e(21532),c=e(84531),v=e(81216),{parse:_}=e(2900),T=["img","audio","video","picture","svg","object","map","iframe","embed"],A=["script","style"];function R(W,X){W&&Object.keys(W).forEach(function(Q){X(W[Q],Q)})}function P(W,X){return{}.hasOwnProperty.call(W,X)}function M(W,X){const Q=[];return R(W,function(K){X(K)&&Q.push(K)}),Q}function O(W){for(const X in W)if(P(W,X))return!1;return!0}function N(W){return W.map(function(X){if(!X.url)throw new Error("URL missing");return X.url+(X.w?` ${X.w}w`:"")+(X.h?` ${X.h}h`:"")+(X.d?` ${X.d}x`:"")}).join(", ")}U.exports=j;const B=/^[^\0\t\n\f\r /<=>]+$/;function j(W,X,Q){if(W==null)return"";typeof W=="number"&&(W=W.toString());let K="",Y="";function Z(_t,zt){const Vt=this;this.tag=_t,this.attribs=zt||{},this.tagPosition=K.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(Ae.length){const St=Ae[Ae.length-1];St.text+=Vt.text}},this.updateParentNodeMediaChildren=function(){Ae.length&&T.includes(this.tag)&&Ae[Ae.length-1].mediaChildren.push(this.tag)}}X=Object.assign({},j.defaults,X),X.parser=Object.assign({},z,X.parser);const J=function(_t){return X.allowedTags===!1||(X.allowedTags||[]).indexOf(_t)>-1};A.forEach(function(_t){J(_t)&&!X.allowVulnerableTags&&console.warn(`

\u26A0\uFE0F Your \`allowedTags\` option includes, \`${_t}\`, which is inherently
vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
Or, to disable this warning, add the \`allowVulnerableTags\` option
and ensure you are accounting for this risk.

`)});const ee=X.nonTextTags||["script","style","textarea","option"];let re,me;X.allowedAttributes&&(re={},me={},R(X.allowedAttributes,function(_t,zt){re[zt]=[];const Vt=[];_t.forEach(function(St){typeof St=="string"&&St.indexOf("*")>=0?Vt.push(a(St).replace(/\\\*/g,".*")):re[zt].push(St)}),Vt.length&&(me[zt]=new RegExp("^("+Vt.join("|")+")$"))}));const fe={},le={},Ve={};R(X.allowedClasses,function(_t,zt){if(re&&(P(re,zt)||(re[zt]=[]),re[zt].push("class")),fe[zt]=_t,Array.isArray(_t)){const Vt=[];fe[zt]=[],Ve[zt]=[],_t.forEach(function(St){typeof St=="string"&&St.indexOf("*")>=0?Vt.push(a(St).replace(/\\\*/g,".*")):St instanceof RegExp?Ve[zt].push(St):fe[zt].push(St)}),Vt.length&&(le[zt]=new RegExp("^("+Vt.join("|")+")$"))}});const Ze={};let Ce;R(X.transformTags,function(_t,zt){let Vt;typeof _t=="function"?Vt=_t:typeof _t=="string"&&(Vt=j.simpleTransform(_t)),zt==="*"?Ce=Vt:Ze[zt]=Vt});let ye,Ae,Fe,Qe,ce,Ge,Pe=!1;Se();const pe=new i.Parser({onopentag:function(_t,zt){if(X.enforceHtmlBoundary&&_t==="html"&&Se(),ce){Ge++;return}const Vt=new Z(_t,zt);Ae.push(Vt);let St=!1;const Xt=!!Vt.text;let jt;if(P(Ze,_t)&&(jt=Ze[_t](_t,zt),Vt.attribs=zt=jt.attribs,jt.text!==void 0&&(Vt.innerText=jt.text),_t!==jt.tagName&&(Vt.name=_t=jt.tagName,Qe[ye]=jt.tagName)),Ce&&(jt=Ce(_t,zt),Vt.attribs=zt=jt.attribs,_t!==jt.tagName&&(Vt.name=_t=jt.tagName,Qe[ye]=jt.tagName)),(!J(_t)||X.disallowedTagsMode==="recursiveEscape"&&!O(Fe)||X.nestingLimit!=null&&ye>=X.nestingLimit)&&(St=!0,Fe[ye]=!0,X.disallowedTagsMode==="discard"&&ee.indexOf(_t)!==-1&&(ce=!0,Ge=1),Fe[ye]=!0),ye++,St){if(X.disallowedTagsMode==="discard")return;Y=K,K=""}K+="<"+_t,_t==="script"&&(X.allowedScriptHostnames||X.allowedScriptDomains)&&(Vt.innerText=""),(!re||P(re,_t)||re["*"])&&R(zt,function(sn,dt){if(!B.test(dt)){delete Vt.attribs[dt];return}if(sn===""&&(X.nonBooleanAttributes.includes(dt)||X.nonBooleanAttributes.includes("*"))){delete Vt.attribs[dt];return}let Ln=!1;if(!re||P(re,_t)&&re[_t].indexOf(dt)!==-1||re["*"]&&re["*"].indexOf(dt)!==-1||P(me,_t)&&me[_t].test(dt)||me["*"]&&me["*"].test(dt))Ln=!0;else if(re&&re[_t]){for(const fn of re[_t])if(l(fn)&&fn.name&&fn.name===dt){Ln=!0;let cr="";if(fn.multiple===!0){const wr=sn.split(" ");for(const Jn of wr)fn.values.indexOf(Jn)!==-1&&(cr===""?cr=Jn:cr+=" "+Jn)}else fn.values.indexOf(sn)>=0&&(cr=sn);sn=cr}}if(Ln){if(X.allowedSchemesAppliedToAttributes.indexOf(dt)!==-1&&Ne(_t,sn)){delete Vt.attribs[dt];return}if(_t==="script"&&dt==="src"){let fn=!0;try{const cr=Le(sn);if(X.allowedScriptHostnames||X.allowedScriptDomains){const wr=(X.allowedScriptHostnames||[]).find(function(nn){return nn===cr.url.hostname}),Jn=(X.allowedScriptDomains||[]).find(function(nn){return cr.url.hostname===nn||cr.url.hostname.endsWith(`.${nn}`)});fn=wr||Jn}}catch{fn=!1}if(!fn){delete Vt.attribs[dt];return}}if(_t==="iframe"&&dt==="src"){let fn=!0;try{const cr=Le(sn);if(cr.isRelativeUrl)fn=P(X,"allowIframeRelativeUrls")?X.allowIframeRelativeUrls:!X.allowedIframeHostnames&&!X.allowedIframeDomains;else if(X.allowedIframeHostnames||X.allowedIframeDomains){const wr=(X.allowedIframeHostnames||[]).find(function(nn){return nn===cr.url.hostname}),Jn=(X.allowedIframeDomains||[]).find(function(nn){return cr.url.hostname===nn||cr.url.hostname.endsWith(`.${nn}`)});fn=wr||Jn}}catch{fn=!1}if(!fn){delete Vt.attribs[dt];return}}if(dt==="srcset")try{let fn=v(sn);if(fn.forEach(function(cr){Ne("srcset",cr.url)&&(cr.evil=!0)}),fn=M(fn,function(cr){return!cr.evil}),fn.length)sn=N(M(fn,function(cr){return!cr.evil})),Vt.attribs[dt]=sn;else{delete Vt.attribs[dt];return}}catch{delete Vt.attribs[dt];return}if(dt==="class"){const fn=fe[_t],cr=fe["*"],wr=le[_t],Jn=Ve[_t],nn=le["*"],or=[wr,nn].concat(Jn).filter(function(bn){return bn});if(fn&&cr?sn=It(sn,c(fn,cr),or):sn=It(sn,fn||cr,or),!sn.length){delete Vt.attribs[dt];return}}if(dt==="style"){if(X.parseStyleAttributes)try{const fn=_(_t+" {"+sn+"}"),cr=Ke(fn,X.allowedStyles);if(sn=bt(cr),sn.length===0){delete Vt.attribs[dt];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+_t+" {"+sn+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete Vt.attribs[dt];return}else if(X.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}K+=" "+dt,sn&&sn.length&&(K+='="'+_e(sn,!0)+'"')}else delete Vt.attribs[dt]}),X.selfClosing.indexOf(_t)!==-1?K+=" />":(K+=">",Vt.innerText&&!Xt&&!X.textFilter&&(K+=_e(Vt.innerText),Pe=!0)),St&&(K=Y+_e(K),Y="")},ontext:function(_t){if(ce)return;const zt=Ae[Ae.length-1];let Vt;if(zt&&(Vt=zt.tag,_t=zt.innerText!==void 0?zt.innerText:_t),X.disallowedTagsMode==="discard"&&(Vt==="script"||Vt==="style"))K+=_t;else{const St=_e(_t,!1);X.textFilter&&!Pe?K+=X.textFilter(St,Vt):Pe||(K+=St)}if(Ae.length){const St=Ae[Ae.length-1];St.text+=_t}},onclosetag:function(_t,zt){if(ce)if(Ge--,!Ge)ce=!1;else return;const Vt=Ae.pop();if(!Vt)return;if(Vt.tag!==_t){Ae.push(Vt);return}ce=X.enforceHtmlBoundary?_t==="html":!1,ye--;const St=Fe[ye];if(St){if(delete Fe[ye],X.disallowedTagsMode==="discard"){Vt.updateParentNodeText();return}Y=K,K=""}if(Qe[ye]&&(_t=Qe[ye],delete Qe[ye]),X.exclusiveFilter&&X.exclusiveFilter(Vt)){K=K.substr(0,Vt.tagPosition);return}if(Vt.updateParentNodeMediaChildren(),Vt.updateParentNodeText(),X.selfClosing.indexOf(_t)!==-1||zt&&!J(_t)&&["escape","recursiveEscape"].indexOf(X.disallowedTagsMode)>=0){St&&(K=Y,Y="");return}K+="</"+_t+">",St&&(K=Y+_e(K),Y=""),Pe=!1}},X.parser);return pe.write(W),pe.end(),K;function Se(){K="",ye=0,Ae=[],Fe={},Qe={},ce=!1,Ge=0}function _e(_t,zt){return typeof _t!="string"&&(_t=_t+""),X.parser.decodeEntities&&(_t=_t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),zt&&(_t=_t.replace(/"/g,"&quot;"))),_t=_t.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),zt&&(_t=_t.replace(/"/g,"&quot;")),_t}function Ne(_t,zt){for(zt=zt.replace(/[\x00-\x20]+/g,"");;){const Xt=zt.indexOf("<!--");if(Xt===-1)break;const jt=zt.indexOf("-->",Xt+4);if(jt===-1)break;zt=zt.substring(0,Xt)+zt.substring(jt+3)}const Vt=zt.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!Vt)return zt.match(/^[/\\]{2}/)?!X.allowProtocolRelative:!1;const St=Vt[1].toLowerCase();return P(X.allowedSchemesByTag,_t)?X.allowedSchemesByTag[_t].indexOf(St)===-1:!X.allowedSchemes||X.allowedSchemes.indexOf(St)===-1}function Le(_t){if(_t=_t.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),_t.startsWith("relative:"))throw new Error("relative: exploit attempt");let zt="relative://relative-site";for(let Xt=0;Xt<100;Xt++)zt+=`/${Xt}`;const Vt=new URL(_t,zt);return{isRelativeUrl:Vt&&Vt.hostname==="relative-site"&&Vt.protocol==="relative:",url:Vt}}function Ke(_t,zt){if(!zt)return _t;const Vt=_t.nodes[0];let St;return zt[Vt.selector]&&zt["*"]?St=c(zt[Vt.selector],zt["*"]):St=zt[Vt.selector]||zt["*"],St&&(_t.nodes[0].nodes=Vt.nodes.reduce(yt(St),[])),_t}function bt(_t){return _t.nodes[0].nodes.reduce(function(zt,Vt){return zt.push(`${Vt.prop}:${Vt.value}${Vt.important?" !important":""}`),zt},[]).join(";")}function yt(_t){return function(zt,Vt){return P(_t,Vt.prop)&&_t[Vt.prop].some(function(Xt){return Xt.test(Vt.value)})&&zt.push(Vt),zt}}function It(_t,zt,Vt){return zt?(_t=_t.split(/\s+/),_t.filter(function(St){return zt.indexOf(St)!==-1||Vt.some(function(Xt){return Xt.test(St)})}).join(" ")):_t}}const z={decodeEntities:!0};j.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0},j.simpleTransform=function(W,X,Q){return Q=Q===void 0?!0:Q,X=X||{},function(K,Y){let Z;if(Q)for(Z in X)Y[Z]=X[Z];else Y=X;return{tagName:W,attribs:Y}}}},70484:(U,C)=>{"use strict";/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */function e(Ae,Fe){var Qe=Ae.length;Ae.push(Fe);e:for(;0<Qe;){var ce=Qe-1>>>1,Ge=Ae[ce];if(0<l(Ge,Fe))Ae[ce]=Fe,Ae[Qe]=Ge,Qe=ce;else break e}}function i(Ae){return Ae.length===0?null:Ae[0]}function a(Ae){if(Ae.length===0)return null;var Fe=Ae[0],Qe=Ae.pop();if(Qe!==Fe){Ae[0]=Qe;e:for(var ce=0,Ge=Ae.length,Pe=Ge>>>1;ce<Pe;){var pe=2*(ce+1)-1,Se=Ae[pe],_e=pe+1,Ne=Ae[_e];if(0>l(Se,Qe))_e<Ge&&0>l(Ne,Se)?(Ae[ce]=Ne,Ae[_e]=Qe,ce=_e):(Ae[ce]=Se,Ae[pe]=Qe,ce=pe);else if(_e<Ge&&0>l(Ne,Qe))Ae[ce]=Ne,Ae[_e]=Qe,ce=_e;else break e}}return Fe}function l(Ae,Fe){var Qe=Ae.sortIndex-Fe.sortIndex;return Qe!==0?Qe:Ae.id-Fe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;C.unstable_now=function(){return c.now()}}else{var v=Date,_=v.now();C.unstable_now=function(){return v.now()-_}}var T=[],A=[],R=1,P=null,M=3,O=!1,N=!1,B=!1,j=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function X(Ae){for(var Fe=i(A);Fe!==null;){if(Fe.callback===null)a(A);else if(Fe.startTime<=Ae)a(A),Fe.sortIndex=Fe.expirationTime,e(T,Fe);else break;Fe=i(A)}}function Q(Ae){if(B=!1,X(Ae),!N)if(i(T)!==null)N=!0,Ce(K);else{var Fe=i(A);Fe!==null&&ye(Q,Fe.startTime-Ae)}}function K(Ae,Fe){N=!1,B&&(B=!1,z(J),J=-1),O=!0;var Qe=M;try{for(X(Fe),P=i(T);P!==null&&(!(P.expirationTime>Fe)||Ae&&!me());){var ce=P.callback;if(typeof ce=="function"){P.callback=null,M=P.priorityLevel;var Ge=ce(P.expirationTime<=Fe);Fe=C.unstable_now(),typeof Ge=="function"?P.callback=Ge:P===i(T)&&a(T),X(Fe)}else a(T);P=i(T)}if(P!==null)var Pe=!0;else{var pe=i(A);pe!==null&&ye(Q,pe.startTime-Fe),Pe=!1}return Pe}finally{P=null,M=Qe,O=!1}}var Y=!1,Z=null,J=-1,ee=5,re=-1;function me(){return!(C.unstable_now()-re<ee)}function fe(){if(Z!==null){var Ae=C.unstable_now();re=Ae;var Fe=!0;try{Fe=Z(!0,Ae)}finally{Fe?le():(Y=!1,Z=null)}}else Y=!1}var le;if(typeof W=="function")le=function(){W(fe)};else if(typeof MessageChannel<"u"){var Ve=new MessageChannel,Ze=Ve.port2;Ve.port1.onmessage=fe,le=function(){Ze.postMessage(null)}}else le=function(){j(fe,0)};function Ce(Ae){Z=Ae,Y||(Y=!0,le())}function ye(Ae,Fe){J=j(function(){Ae(C.unstable_now())},Fe)}C.unstable_IdlePriority=5,C.unstable_ImmediatePriority=1,C.unstable_LowPriority=4,C.unstable_NormalPriority=3,C.unstable_Profiling=null,C.unstable_UserBlockingPriority=2,C.unstable_cancelCallback=function(Ae){Ae.callback=null},C.unstable_continueExecution=function(){N||O||(N=!0,Ce(K))},C.unstable_forceFrameRate=function(Ae){0>Ae||125<Ae?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ee=0<Ae?Math.floor(1e3/Ae):5},C.unstable_getCurrentPriorityLevel=function(){return M},C.unstable_getFirstCallbackNode=function(){return i(T)},C.unstable_next=function(Ae){switch(M){case 1:case 2:case 3:var Fe=3;break;default:Fe=M}var Qe=M;M=Fe;try{return Ae()}finally{M=Qe}},C.unstable_pauseExecution=function(){},C.unstable_requestPaint=function(){},C.unstable_runWithPriority=function(Ae,Fe){switch(Ae){case 1:case 2:case 3:case 4:case 5:break;default:Ae=3}var Qe=M;M=Ae;try{return Fe()}finally{M=Qe}},C.unstable_scheduleCallback=function(Ae,Fe,Qe){var ce=C.unstable_now();switch(typeof Qe=="object"&&Qe!==null?(Qe=Qe.delay,Qe=typeof Qe=="number"&&0<Qe?ce+Qe:ce):Qe=ce,Ae){case 1:var Ge=-1;break;case 2:Ge=250;break;case 5:Ge=1073741823;break;case 4:Ge=1e4;break;default:Ge=5e3}return Ge=Qe+Ge,Ae={id:R++,callback:Fe,priorityLevel:Ae,startTime:Qe,expirationTime:Ge,sortIndex:-1},Qe>ce?(Ae.sortIndex=Qe,e(A,Ae),i(T)===null&&Ae===i(A)&&(B?(z(J),J=-1):B=!0,ye(Q,Qe-ce))):(Ae.sortIndex=Ge,e(T,Ae),N||O||(N=!0,Ce(K))),Ae},C.unstable_shouldYield=me,C.unstable_wrapCallback=function(Ae){var Fe=M;return function(){var Qe=M;M=Fe;try{return Ae.apply(this,arguments)}finally{M=Qe}}}},41016:(U,C,e)=>{"use strict";U.exports=e(70484)},47304:(U,C,e)=>{"use strict";var i=e(6968),a=e(62264),l=e(86216)(),c=e(7488),v=i("%TypeError%"),_=i("%Math.floor%");U.exports=function(A,R){if(typeof A!="function")throw new v("`fn` is not a function");if(typeof R!="number"||R<0||R>4294967295||_(R)!==R)throw new v("`length` must be a positive 32-bit integer");var P=arguments.length>2&&!!arguments[2],M=!0,O=!0;if("length"in A&&c){var N=c(A,"length");N&&!N.configurable&&(M=!1),N&&!N.writable&&(O=!1)}return(M||O||!P)&&(l?a(A,"length",R,!0,!0):a(A,"length",R)),A}},42480:U=>{U.exports=function(e,i,a,l){var c=a?a.call(l,e,i):void 0;if(c!==void 0)return!!c;if(e===i)return!0;if(typeof e!="object"||!e||typeof i!="object"||!i)return!1;var v=Object.keys(e),_=Object.keys(i);if(v.length!==_.length)return!1;for(var T=Object.prototype.hasOwnProperty.bind(i),A=0;A<v.length;A++){var R=v[A];if(!T(R))return!1;var P=e[R],M=i[R];if(c=a?a.call(l,P,M,R):void 0,c===!1||c===void 0&&P!==M)return!1}return!0}},37260:(U,C,e)=>{"use strict";var i=e(6968),a=e(45424),l=e(52916),c=i("%TypeError%"),v=i("%WeakMap%",!0),_=i("%Map%",!0),T=a("WeakMap.prototype.get",!0),A=a("WeakMap.prototype.set",!0),R=a("WeakMap.prototype.has",!0),P=a("Map.prototype.get",!0),M=a("Map.prototype.set",!0),O=a("Map.prototype.has",!0),N=function(W,X){for(var Q=W,K;(K=Q.next)!==null;Q=K)if(K.key===X)return Q.next=K.next,K.next=W.next,W.next=K,K},B=function(W,X){var Q=N(W,X);return Q&&Q.value},j=function(W,X,Q){var K=N(W,X);K?K.value=Q:W.next={key:X,next:W.next,value:Q}},z=function(W,X){return!!N(W,X)};U.exports=function(){var X,Q,K,Y={assert:function(Z){if(!Y.has(Z))throw new c("Side channel does not contain "+l(Z))},get:function(Z){if(v&&Z&&(typeof Z=="object"||typeof Z=="function")){if(X)return T(X,Z)}else if(_){if(Q)return P(Q,Z)}else if(K)return B(K,Z)},has:function(Z){if(v&&Z&&(typeof Z=="object"||typeof Z=="function")){if(X)return R(X,Z)}else if(_){if(Q)return O(Q,Z)}else if(K)return z(K,Z);return!1},set:function(Z,J){v&&Z&&(typeof Z=="object"||typeof Z=="function")?(X||(X=new v),A(X,Z,J)):_?(Q||(Q=new _),M(Q,Z,J)):(K||(K={key:{},next:null}),j(K,Z,J))}};return Y}},26516:(U,C,e)=>{"use strict";U.exports=e(18216).default},3704:(U,C,e)=>{"use strict";e.d(C,{Mp:()=>Jr,Ud:()=>pt,gV:()=>Nt,cp:()=>rr,xZ:()=>at,qG:()=>Wn});var i=e(33112),a=e(62552),l=e(42480),c=e.n(l);function v(Ot){function Gt(vr,$r,Wr,be,Ue){for(var ut=0,Ht=0,Fn=0,ln=0,jn,Nr,Mi=0,Oi=0,ni,rs=ni=jn=0,Qi=0,la=0,as=0,bs=0,Za=Wr.length,za=Za-1,wo,ca="",Uo="",ru="",di="",wi;Qi<Za;){if(Nr=Wr.charCodeAt(Qi),Qi===za&&Ht+ln+Fn+ut!==0&&(Ht!==0&&(Nr=Ht===47?10:47),ln=Fn=ut=0,Za++,za++),Ht+ln+Fn+ut===0){if(Qi===za&&(0<la&&(ca=ca.replace(yn,"")),0<ca.trim().length)){switch(Nr){case 32:case 9:case 59:case 13:case 10:break;default:ca+=Wr.charAt(Qi)}Nr=59}switch(Nr){case 123:for(ca=ca.trim(),jn=ca.charCodeAt(0),ni=1,bs=++Qi;Qi<Za;){switch(Nr=Wr.charCodeAt(Qi)){case 123:ni++;break;case 125:ni--;break;case 47:switch(Nr=Wr.charCodeAt(Qi+1)){case 42:case 47:e:{for(rs=Qi+1;rs<za;++rs)switch(Wr.charCodeAt(rs)){case 47:if(Nr===42&&Wr.charCodeAt(rs-1)===42&&Qi+2!==rs){Qi=rs+1;break e}break;case 10:if(Nr===47){Qi=rs+1;break e}}Qi=rs}}break;case 91:Nr++;case 40:Nr++;case 34:case 39:for(;Qi++<za&&Wr.charCodeAt(Qi)!==Nr;);}if(ni===0)break;Qi++}switch(ni=Wr.substring(bs,Qi),jn===0&&(jn=(ca=ca.replace(Lt,"").trim()).charCodeAt(0)),jn){case 64:switch(0<la&&(ca=ca.replace(yn,"")),Nr=ca.charCodeAt(1),Nr){case 100:case 109:case 115:case 45:la=$r;break;default:la=sr}if(ni=Gt($r,la,ni,Nr,Ue+1),bs=ni.length,0<Cr&&(la=Pt(sr,ca,as),wi=$e(3,ni,la,$r,ft,ot,bs,Nr,Ue,be),ca=la.join(""),wi!==void 0&&(bs=(ni=wi.trim()).length)===0&&(Nr=0,ni="")),0<bs)switch(Nr){case 115:ca=ca.replace(wt,dn);case 100:case 109:case 45:ni=ca+"{"+ni+"}";break;case 107:ca=ca.replace(Hr,"$1 $2"),ni=ca+"{"+ni+"}",ni=qt===1||qt===2&&on("@"+ni,3)?"@-webkit-"+ni+"@"+ni:"@"+ni;break;default:ni=ca+ni,be===112&&(ni=(Uo+=ni,""))}else ni="";break;default:ni=Gt($r,Pt($r,ca,as),ni,be,Ue+1)}ru+=ni,ni=as=la=rs=jn=0,ca="",Nr=Wr.charCodeAt(++Qi);break;case 125:case 59:if(ca=(0<la?ca.replace(yn,""):ca).trim(),1<(bs=ca.length))switch(rs===0&&(jn=ca.charCodeAt(0),jn===45||96<jn&&123>jn)&&(bs=(ca=ca.replace(" ",":")).length),0<Cr&&(wi=$e(1,ca,$r,vr,ft,ot,Uo.length,be,Ue,be))!==void 0&&(bs=(ca=wi.trim()).length)===0&&(ca="\0\0"),jn=ca.charCodeAt(0),Nr=ca.charCodeAt(1),jn){case 0:break;case 64:if(Nr===105||Nr===99){di+=ca+Wr.charAt(Qi);break}default:ca.charCodeAt(bs-1)!==58&&(Uo+=An(ca,jn,Nr,ca.charCodeAt(2)))}as=la=rs=jn=0,ca="",Nr=Wr.charCodeAt(++Qi)}}switch(Nr){case 13:case 10:Ht===47?Ht=0:1+jn===0&&be!==107&&0<ca.length&&(la=1,ca+="\0"),0<Cr*qr&&$e(0,ca,$r,vr,ft,ot,Uo.length,be,Ue,be),ot=1,ft++;break;case 59:case 125:if(Ht+ln+Fn+ut===0){ot++;break}default:switch(ot++,wo=Wr.charAt(Qi),Nr){case 9:case 32:if(ln+ut+Ht===0)switch(Mi){case 44:case 58:case 9:case 32:wo="";break;default:Nr!==32&&(wo=" ")}break;case 0:wo="\\0";break;case 12:wo="\\f";break;case 11:wo="\\v";break;case 38:ln+Ht+ut===0&&(la=as=1,wo="\f"+wo);break;case 108:if(ln+Ht+ut+Mt===0&&0<rs)switch(Qi-rs){case 2:Mi===112&&Wr.charCodeAt(Qi-3)===58&&(Mt=Mi);case 8:Oi===111&&(Mt=Oi)}break;case 58:ln+Ht+ut===0&&(rs=Qi);break;case 44:Ht+Fn+ln+ut===0&&(la=1,wo+="\r");break;case 34:case 39:Ht===0&&(ln=ln===Nr?0:ln===0?Nr:ln);break;case 91:ln+Ht+Fn===0&&ut++;break;case 93:ln+Ht+Fn===0&&ut--;break;case 41:ln+Ht+ut===0&&Fn--;break;case 40:if(ln+Ht+ut===0){if(jn===0)switch(2*Mi+3*Oi){case 533:break;default:jn=1}Fn++}break;case 64:Ht+Fn+ln+ut+rs+ni===0&&(ni=1);break;case 42:case 47:if(!(0<ln+ut+Fn))switch(Ht){case 0:switch(2*Nr+3*Wr.charCodeAt(Qi+1)){case 235:Ht=47;break;case 220:bs=Qi,Ht=42}break;case 42:Nr===47&&Mi===42&&bs+2!==Qi&&(Wr.charCodeAt(bs+2)===33&&(Uo+=Wr.substring(bs,Qi+1)),wo="",Ht=0)}}Ht===0&&(ca+=wo)}Oi=Mi,Mi=Nr,Qi++}if(bs=Uo.length,0<bs){if(la=$r,0<Cr&&(wi=$e(2,Uo,la,vr,ft,ot,bs,be,Ue,be),wi!==void 0&&(Uo=wi).length===0))return di+Uo+ru;if(Uo=la.join(",")+"{"+Uo+"}",qt*Mt!==0){switch(qt!==2||on(Uo,2)||(Mt=0),Mt){case 111:Uo=Uo.replace(ct,":-moz-$1")+Uo;break;case 112:Uo=Uo.replace(un,"::-webkit-input-$1")+Uo.replace(un,"::-moz-$1")+Uo.replace(un,":-ms-input-$1")+Uo}Mt=0}}return di+Uo+ru}function Pt(vr,$r,Wr){var be=$r.trim().split(Xr);$r=be;var Ue=be.length,ut=vr.length;switch(ut){case 0:case 1:var Ht=0;for(vr=ut===0?"":vr[0]+" ";Ht<Ue;++Ht)$r[Ht]=Tt(vr,$r[Ht],Wr).trim();break;default:var Fn=Ht=0;for($r=[];Ht<Ue;++Ht)for(var ln=0;ln<ut;++ln)$r[Fn++]=Tt(vr[ln]+" ",be[Ht],Wr).trim()}return $r}function Tt(vr,$r,Wr){var be=$r.charCodeAt(0);switch(33>be&&(be=($r=$r.trim()).charCodeAt(0)),be){case 38:return $r.replace(ci,"$1"+vr.trim());case 58:return vr.trim()+$r.replace(ci,"$1"+vr.trim());default:if(0<1*Wr&&0<$r.indexOf("\f"))return $r.replace(ci,(vr.charCodeAt(0)===58?"":"$1")+vr.trim())}return vr+$r}function An(vr,$r,Wr,be){var Ue=vr+";",ut=2*$r+3*Wr+4*be;if(ut===944){vr=Ue.indexOf(":",9)+1;var Ht=Ue.substring(vr,Ue.length-1).trim();return Ht=Ue.substring(0,vr).trim()+Ht+";",qt===1||qt===2&&on(Ht,1)?"-webkit-"+Ht+Ht:Ht}if(qt===0||qt===2&&!on(Ue,1))return Ue;switch(ut){case 1015:return Ue.charCodeAt(10)===97?"-webkit-"+Ue+Ue:Ue;case 951:return Ue.charCodeAt(3)===116?"-webkit-"+Ue+Ue:Ue;case 963:return Ue.charCodeAt(5)===110?"-webkit-"+Ue+Ue:Ue;case 1009:if(Ue.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+Ue+Ue;case 978:return"-webkit-"+Ue+"-moz-"+Ue+Ue;case 1019:case 983:return"-webkit-"+Ue+"-moz-"+Ue+"-ms-"+Ue+Ue;case 883:if(Ue.charCodeAt(8)===45)return"-webkit-"+Ue+Ue;if(0<Ue.indexOf("image-set(",11))return Ue.replace(fi,"$1-webkit-$2")+Ue;break;case 932:if(Ue.charCodeAt(4)===45)switch(Ue.charCodeAt(5)){case 103:return"-webkit-box-"+Ue.replace("-grow","")+"-webkit-"+Ue+"-ms-"+Ue.replace("grow","positive")+Ue;case 115:return"-webkit-"+Ue+"-ms-"+Ue.replace("shrink","negative")+Ue;case 98:return"-webkit-"+Ue+"-ms-"+Ue.replace("basis","preferred-size")+Ue}return"-webkit-"+Ue+"-ms-"+Ue+Ue;case 964:return"-webkit-"+Ue+"-ms-flex-"+Ue+Ue;case 1023:if(Ue.charCodeAt(8)!==99)break;return Ht=Ue.substring(Ue.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+Ht+"-webkit-"+Ue+"-ms-flex-pack"+Ht+Ue;case 1005:return yr.test(Ue)?Ue.replace(In,":-webkit-")+Ue.replace(In,":-moz-")+Ue:Ue;case 1e3:switch(Ht=Ue.substring(13).trim(),$r=Ht.indexOf("-")+1,Ht.charCodeAt(0)+Ht.charCodeAt($r)){case 226:Ht=Ue.replace(Ut,"tb");break;case 232:Ht=Ue.replace(Ut,"tb-rl");break;case 220:Ht=Ue.replace(Ut,"lr");break;default:return Ue}return"-webkit-"+Ue+"-ms-"+Ht+Ue;case 1017:if(Ue.indexOf("sticky",9)===-1)break;case 975:switch($r=(Ue=vr).length-10,Ht=(Ue.charCodeAt($r)===33?Ue.substring(0,$r):Ue).substring(vr.indexOf(":",7)+1).trim(),ut=Ht.charCodeAt(0)+(Ht.charCodeAt(7)|0)){case 203:if(111>Ht.charCodeAt(8))break;case 115:Ue=Ue.replace(Ht,"-webkit-"+Ht)+";"+Ue;break;case 207:case 102:Ue=Ue.replace(Ht,"-webkit-"+(102<ut?"inline-":"")+"box")+";"+Ue.replace(Ht,"-webkit-"+Ht)+";"+Ue.replace(Ht,"-ms-"+Ht+"box")+";"+Ue}return Ue+";";case 938:if(Ue.charCodeAt(5)===45)switch(Ue.charCodeAt(6)){case 105:return Ht=Ue.replace("-items",""),"-webkit-"+Ue+"-webkit-box-"+Ht+"-ms-flex-"+Ht+Ue;case 115:return"-webkit-"+Ue+"-ms-flex-item-"+Ue.replace(wn,"")+Ue;default:return"-webkit-"+Ue+"-ms-flex-line-pack"+Ue.replace("align-content","").replace(wn,"")+Ue}break;case 973:case 989:if(Ue.charCodeAt(3)!==45||Ue.charCodeAt(4)===122)break;case 931:case 953:if(ur.test(vr)===!0)return(Ht=vr.substring(vr.indexOf(":")+1)).charCodeAt(0)===115?An(vr.replace("stretch","fill-available"),$r,Wr,be).replace(":fill-available",":stretch"):Ue.replace(Ht,"-webkit-"+Ht)+Ue.replace(Ht,"-moz-"+Ht.replace("fill-",""))+Ue;break;case 962:if(Ue="-webkit-"+Ue+(Ue.charCodeAt(5)===102?"-ms-"+Ue:"")+Ue,Wr+be===211&&Ue.charCodeAt(13)===105&&0<Ue.indexOf("transform",10))return Ue.substring(0,Ue.indexOf(";",27)+1).replace(Rr,"$1-webkit-$2")+Ue}return Ue}function on(vr,$r){var Wr=vr.indexOf($r===1?":":"{"),be=vr.substring(0,$r!==3?Wr:10);return Wr=vr.substring(Wr+1,vr.length-1),xr($r!==2?be:be.replace(Qn,"$1"),Wr,$r)}function dn(vr,$r){var Wr=An($r,$r.charCodeAt(0),$r.charCodeAt(1),$r.charCodeAt(2));return Wr!==$r+";"?Wr.replace(kn," or ($1)").substring(4):"("+$r+")"}function $e(vr,$r,Wr,be,Ue,ut,Ht,Fn,ln,jn){for(var Nr=0,Mi=$r,Oi;Nr<Cr;++Nr)switch(Oi=lr[Nr].call(Jt,vr,Mi,Wr,be,Ue,ut,Ht,Fn,ln,jn)){case void 0:case!1:case!0:case null:break;default:Mi=Oi}if(Mi!==$r)return Mi}function Yt(vr){switch(vr){case void 0:case null:Cr=lr.length=0;break;default:if(typeof vr=="function")lr[Cr++]=vr;else if(typeof vr=="object")for(var $r=0,Wr=vr.length;$r<Wr;++$r)Yt(vr[$r]);else qr=!!vr|0}return Yt}function $t(vr){return vr=vr.prefix,vr!==void 0&&(xr=null,vr?typeof vr!="function"?qt=1:(qt=2,xr=vr):qt=0),$t}function Jt(vr,$r){var Wr=vr;if(33>Wr.charCodeAt(0)&&(Wr=Wr.trim()),jr=Wr,Wr=[jr],0<Cr){var be=$e(-1,$r,Wr,Wr,ft,ot,0,0,0,0);be!==void 0&&typeof be=="string"&&($r=be)}var Ue=Gt(sr,Wr,$r,0,0);return 0<Cr&&(be=$e(-2,Ue,Wr,Wr,ft,ot,Ue.length,0,0,0),be!==void 0&&(Ue=be)),jr="",Mt=0,ot=ft=1,Ue}var Lt=/^\0+/g,yn=/[\0\r\f]/g,In=/: */g,yr=/zoo|gra/,Rr=/([,: ])(transform)/g,Xr=/,\r+?/g,ci=/([\t\r\n ])*\f?&/g,Hr=/@(k\w+)\s*(\S*)\s*/,un=/::(place)/g,ct=/:(read-only)/g,Ut=/[svh]\w+-[tblr]{2}/,wt=/\(\s*(.*)\s*\)/g,kn=/([\s\S]*?);/g,wn=/-self|flex-/g,Qn=/[^]*?(:[rp][el]a[\w-]+)[^]*/,ur=/stretch|:\s*\w+\-(?:conte|avail)/,fi=/([^-])(image-set\()/,ot=1,ft=1,Mt=0,qt=1,sr=[],lr=[],Cr=0,xr=null,qr=0,jr="";return Jt.use=Yt,Jt.set=$t,Ot!==void 0&&$t(Ot),Jt}const _=v;var T={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const A=T;var R=e(3196),P=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,M=(0,R.c)(function(Ot){return P.test(Ot)||Ot.charCodeAt(0)===111&&Ot.charCodeAt(1)===110&&Ot.charCodeAt(2)<91}),O=e(35384),N=e.n(O);function B(){return(B=Object.assign||function(Ot){for(var Gt=1;Gt<arguments.length;Gt++){var Pt=arguments[Gt];for(var Tt in Pt)Object.prototype.hasOwnProperty.call(Pt,Tt)&&(Ot[Tt]=Pt[Tt])}return Ot}).apply(this,arguments)}var j=function(Ot,Gt){for(var Pt=[Ot[0]],Tt=0,An=Gt.length;Tt<An;Tt+=1)Pt.push(Gt[Tt],Ot[Tt+1]);return Pt},z=function(Ot){return Ot!==null&&typeof Ot=="object"&&(Ot.toString?Ot.toString():Object.prototype.toString.call(Ot))==="[object Object]"&&!(0,i.typeOf)(Ot)},W=Object.freeze([]),X=Object.freeze({});function Q(Ot){return typeof Ot=="function"}function K(Ot){return Ot.displayName||Ot.name||"Component"}function Y(Ot){return Ot&&typeof Ot.styledComponentId=="string"}var Z=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",J="5.3.11",ee=typeof window<"u"&&"HTMLElement"in window,re=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:!1)),me={},fe={};function le(){for(var Ot=arguments.length<=0?void 0:arguments[0],Gt=[],Pt=1,Tt=arguments.length;Pt<Tt;Pt+=1)Gt.push(Pt<0||arguments.length<=Pt?void 0:arguments[Pt]);return Gt.forEach(function(An){Ot=Ot.replace(/%[a-z]/,An)}),Ot}function Ve(Ot){for(var Gt=arguments.length,Pt=new Array(Gt>1?Gt-1:0),Tt=1;Tt<Gt;Tt++)Pt[Tt-1]=arguments[Tt];throw new Error("An error occurred. See https://git.io/JUIaE#"+Ot+" for more information."+(Pt.length>0?" Args: "+Pt.join(", "):""))}var Ze=function(){function Ot(Pt){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=Pt}var Gt=Ot.prototype;return Gt.indexOfGroup=function(Pt){for(var Tt=0,An=0;An<Pt;An++)Tt+=this.groupSizes[An];return Tt},Gt.insertRules=function(Pt,Tt){if(Pt>=this.groupSizes.length){for(var An=this.groupSizes,on=An.length,dn=on;Pt>=dn;)(dn<<=1)<0&&Ve(16,""+Pt);this.groupSizes=new Uint32Array(dn),this.groupSizes.set(An),this.length=dn;for(var $e=on;$e<dn;$e++)this.groupSizes[$e]=0}for(var Yt=this.indexOfGroup(Pt+1),$t=0,Jt=Tt.length;$t<Jt;$t++)this.tag.insertRule(Yt,Tt[$t])&&(this.groupSizes[Pt]++,Yt++)},Gt.clearGroup=function(Pt){if(Pt<this.length){var Tt=this.groupSizes[Pt],An=this.indexOfGroup(Pt),on=An+Tt;this.groupSizes[Pt]=0;for(var dn=An;dn<on;dn++)this.tag.deleteRule(An)}},Gt.getGroup=function(Pt){var Tt="";if(Pt>=this.length||this.groupSizes[Pt]===0)return Tt;for(var An=this.groupSizes[Pt],on=this.indexOfGroup(Pt),dn=on+An,$e=on;$e<dn;$e++)Tt+=this.tag.getRule($e)+`/*!sc*/
`;return Tt},Ot}(),Ce=new Map,ye=new Map,Ae=1,Fe=function(Ot){if(Ce.has(Ot))return Ce.get(Ot);for(;ye.has(Ae);)Ae++;var Gt=Ae++;return Ce.set(Ot,Gt),ye.set(Gt,Ot),Gt},Qe=function(Ot){return ye.get(Ot)},ce=function(Ot,Gt){Gt>=Ae&&(Ae=Gt+1),Ce.set(Ot,Gt),ye.set(Gt,Ot)},Ge="style["+Z+'][data-styled-version="5.3.11"]',Pe=new RegExp("^"+Z+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),pe=function(Ot,Gt,Pt){for(var Tt,An=Pt.split(","),on=0,dn=An.length;on<dn;on++)(Tt=An[on])&&Ot.registerName(Gt,Tt)},Se=function(Ot,Gt){for(var Pt=(Gt.textContent||"").split(`/*!sc*/
`),Tt=[],An=0,on=Pt.length;An<on;An++){var dn=Pt[An].trim();if(dn){var $e=dn.match(Pe);if($e){var Yt=0|parseInt($e[1],10),$t=$e[2];Yt!==0&&(ce($t,Yt),pe(Ot,$t,$e[3]),Ot.getTag().insertRules(Yt,Tt)),Tt.length=0}else Tt.push(dn)}}},_e=function(){return e.nc},Ne=function(Ot){var Gt=document.head,Pt=Ot||Gt,Tt=document.createElement("style"),An=function($e){for(var Yt=$e.childNodes,$t=Yt.length;$t>=0;$t--){var Jt=Yt[$t];if(Jt&&Jt.nodeType===1&&Jt.hasAttribute(Z))return Jt}}(Pt),on=An!==void 0?An.nextSibling:null;Tt.setAttribute(Z,"active"),Tt.setAttribute("data-styled-version","5.3.11");var dn=_e();return dn&&Tt.setAttribute("nonce",dn),Pt.insertBefore(Tt,on),Tt},Le=function(){function Ot(Pt){var Tt=this.element=Ne(Pt);Tt.appendChild(document.createTextNode("")),this.sheet=function(An){if(An.sheet)return An.sheet;for(var on=document.styleSheets,dn=0,$e=on.length;dn<$e;dn++){var Yt=on[dn];if(Yt.ownerNode===An)return Yt}Ve(17)}(Tt),this.length=0}var Gt=Ot.prototype;return Gt.insertRule=function(Pt,Tt){try{return this.sheet.insertRule(Tt,Pt),this.length++,!0}catch{return!1}},Gt.deleteRule=function(Pt){this.sheet.deleteRule(Pt),this.length--},Gt.getRule=function(Pt){var Tt=this.sheet.cssRules[Pt];return Tt!==void 0&&typeof Tt.cssText=="string"?Tt.cssText:""},Ot}(),Ke=function(){function Ot(Pt){var Tt=this.element=Ne(Pt);this.nodes=Tt.childNodes,this.length=0}var Gt=Ot.prototype;return Gt.insertRule=function(Pt,Tt){if(Pt<=this.length&&Pt>=0){var An=document.createTextNode(Tt),on=this.nodes[Pt];return this.element.insertBefore(An,on||null),this.length++,!0}return!1},Gt.deleteRule=function(Pt){this.element.removeChild(this.nodes[Pt]),this.length--},Gt.getRule=function(Pt){return Pt<this.length?this.nodes[Pt].textContent:""},Ot}(),bt=function(){function Ot(Pt){this.rules=[],this.length=0}var Gt=Ot.prototype;return Gt.insertRule=function(Pt,Tt){return Pt<=this.length&&(this.rules.splice(Pt,0,Tt),this.length++,!0)},Gt.deleteRule=function(Pt){this.rules.splice(Pt,1),this.length--},Gt.getRule=function(Pt){return Pt<this.length?this.rules[Pt]:""},Ot}(),yt=ee,It={isServer:!ee,useCSSOMInjection:!re},_t=function(){function Ot(Pt,Tt,An){Pt===void 0&&(Pt=X),Tt===void 0&&(Tt={}),this.options=B({},It,{},Pt),this.gs=Tt,this.names=new Map(An),this.server=!!Pt.isServer,!this.server&&ee&&yt&&(yt=!1,function(on){for(var dn=document.querySelectorAll(Ge),$e=0,Yt=dn.length;$e<Yt;$e++){var $t=dn[$e];$t&&$t.getAttribute(Z)!=="active"&&(Se(on,$t),$t.parentNode&&$t.parentNode.removeChild($t))}}(this))}Ot.registerId=function(Pt){return Fe(Pt)};var Gt=Ot.prototype;return Gt.reconstructWithOptions=function(Pt,Tt){return Tt===void 0&&(Tt=!0),new Ot(B({},this.options,{},Pt),this.gs,Tt&&this.names||void 0)},Gt.allocateGSInstance=function(Pt){return this.gs[Pt]=(this.gs[Pt]||0)+1},Gt.getTag=function(){return this.tag||(this.tag=(An=(Tt=this.options).isServer,on=Tt.useCSSOMInjection,dn=Tt.target,Pt=An?new bt(dn):on?new Le(dn):new Ke(dn),new Ze(Pt)));var Pt,Tt,An,on,dn},Gt.hasNameForId=function(Pt,Tt){return this.names.has(Pt)&&this.names.get(Pt).has(Tt)},Gt.registerName=function(Pt,Tt){if(Fe(Pt),this.names.has(Pt))this.names.get(Pt).add(Tt);else{var An=new Set;An.add(Tt),this.names.set(Pt,An)}},Gt.insertRules=function(Pt,Tt,An){this.registerName(Pt,Tt),this.getTag().insertRules(Fe(Pt),An)},Gt.clearNames=function(Pt){this.names.has(Pt)&&this.names.get(Pt).clear()},Gt.clearRules=function(Pt){this.getTag().clearGroup(Fe(Pt)),this.clearNames(Pt)},Gt.clearTag=function(){this.tag=void 0},Gt.toString=function(){return function(Pt){for(var Tt=Pt.getTag(),An=Tt.length,on="",dn=0;dn<An;dn++){var $e=Qe(dn);if($e!==void 0){var Yt=Pt.names.get($e),$t=Tt.getGroup(dn);if(Yt&&$t&&Yt.size){var Jt=Z+".g"+dn+'[id="'+$e+'"]',Lt="";Yt!==void 0&&Yt.forEach(function(yn){yn.length>0&&(Lt+=yn+",")}),on+=""+$t+Jt+'{content:"'+Lt+`"}/*!sc*/
`}}}return on}(this)},Ot}(),zt=/(a)(d)/gi,Vt=function(Ot){return String.fromCharCode(Ot+(Ot>25?39:97))};function St(Ot){var Gt,Pt="";for(Gt=Math.abs(Ot);Gt>52;Gt=Gt/52|0)Pt=Vt(Gt%52)+Pt;return(Vt(Gt%52)+Pt).replace(zt,"$1-$2")}var Xt=function(Ot,Gt){for(var Pt=Gt.length;Pt;)Ot=33*Ot^Gt.charCodeAt(--Pt);return Ot},jt=function(Ot){return Xt(5381,Ot)};function sn(Ot){for(var Gt=0;Gt<Ot.length;Gt+=1){var Pt=Ot[Gt];if(Q(Pt)&&!Y(Pt))return!1}return!0}var dt=jt("5.3.11"),Ln=function(){function Ot(Gt,Pt,Tt){this.rules=Gt,this.staticRulesId="",this.isStatic=(Tt===void 0||Tt.isStatic)&&sn(Gt),this.componentId=Pt,this.baseHash=Xt(dt,Pt),this.baseStyle=Tt,_t.registerId(Pt)}return Ot.prototype.generateAndInjectStyles=function(Gt,Pt,Tt){var An=this.componentId,on=[];if(this.baseStyle&&on.push(this.baseStyle.generateAndInjectStyles(Gt,Pt,Tt)),this.isStatic&&!Tt.hash)if(this.staticRulesId&&Pt.hasNameForId(An,this.staticRulesId))on.push(this.staticRulesId);else{var dn=We(this.rules,Gt,Pt,Tt).join(""),$e=St(Xt(this.baseHash,dn)>>>0);if(!Pt.hasNameForId(An,$e)){var Yt=Tt(dn,"."+$e,void 0,An);Pt.insertRules(An,$e,Yt)}on.push($e),this.staticRulesId=$e}else{for(var $t=this.rules.length,Jt=Xt(this.baseHash,Tt.hash),Lt="",yn=0;yn<$t;yn++){var In=this.rules[yn];if(typeof In=="string")Lt+=In;else if(In){var yr=We(In,Gt,Pt,Tt),Rr=Array.isArray(yr)?yr.join(""):yr;Jt=Xt(Jt,Rr+yn),Lt+=Rr}}if(Lt){var Xr=St(Jt>>>0);if(!Pt.hasNameForId(An,Xr)){var ci=Tt(Lt,"."+Xr,void 0,An);Pt.insertRules(An,Xr,ci)}on.push(Xr)}}return on.join(" ")},Ot}(),fn=/^\s*\/\/.*$/gm,cr=[":","[",".","#"];function wr(Ot){var Gt,Pt,Tt,An,on=Ot===void 0?X:Ot,dn=on.options,$e=dn===void 0?X:dn,Yt=on.plugins,$t=Yt===void 0?W:Yt,Jt=new _($e),Lt=[],yn=function(Rr){function Xr(ci){if(ci)try{Rr(ci+"}")}catch{}}return function(ci,Hr,un,ct,Ut,wt,kn,wn,Qn,ur){switch(ci){case 1:if(Qn===0&&Hr.charCodeAt(0)===64)return Rr(Hr+";"),"";break;case 2:if(wn===0)return Hr+"/*|*/";break;case 3:switch(wn){case 102:case 112:return Rr(un[0]+Hr),"";default:return Hr+(ur===0?"/*|*/":"")}case-2:Hr.split("/*|*/}").forEach(Xr)}}}(function(Rr){Lt.push(Rr)}),In=function(Rr,Xr,ci){return Xr===0&&cr.indexOf(ci[Pt.length])!==-1||ci.match(An)?Rr:"."+Gt};function yr(Rr,Xr,ci,Hr){Hr===void 0&&(Hr="&");var un=Rr.replace(fn,""),ct=Xr&&ci?ci+" "+Xr+" { "+un+" }":un;return Gt=Hr,Pt=Xr,Tt=new RegExp("\\"+Pt+"\\b","g"),An=new RegExp("(\\"+Pt+"\\b){2,}"),Jt(ci||!Xr?"":Xr,ct)}return Jt.use([].concat($t,[function(Rr,Xr,ci){Rr===2&&ci.length&&ci[0].lastIndexOf(Pt)>0&&(ci[0]=ci[0].replace(Tt,In))},yn,function(Rr){if(Rr===-2){var Xr=Lt;return Lt=[],Xr}}])),yr.hash=$t.length?$t.reduce(function(Rr,Xr){return Xr.name||Ve(15),Xt(Rr,Xr.name)},5381).toString():"",yr}var Jn=a.createContext(),nn=Jn.Consumer,or=a.createContext(),bn=(or.Consumer,new _t),Sn=wr();function Hn(){return(0,a.useContext)(Jn)||bn}function er(){return(0,a.useContext)(or)||Sn}function an(Ot){var Gt=(0,a.useState)(Ot.stylisPlugins),Pt=Gt[0],Tt=Gt[1],An=Hn(),on=(0,a.useMemo)(function(){var $e=An;return Ot.sheet?$e=Ot.sheet:Ot.target&&($e=$e.reconstructWithOptions({target:Ot.target},!1)),Ot.disableCSSOMInjection&&($e=$e.reconstructWithOptions({useCSSOMInjection:!1})),$e},[Ot.disableCSSOMInjection,Ot.sheet,Ot.target]),dn=(0,a.useMemo)(function(){return wr({options:{prefix:!Ot.disableVendorPrefixes},plugins:Pt})},[Ot.disableVendorPrefixes,Pt]);return(0,a.useEffect)(function(){c()(Pt,Ot.stylisPlugins)||Tt(Ot.stylisPlugins)},[Ot.stylisPlugins]),a.createElement(Jn.Provider,{value:on},a.createElement(or.Provider,{value:dn},Ot.children))}var Cn=function(){function Ot(Gt,Pt){var Tt=this;this.inject=function(An,on){on===void 0&&(on=Sn);var dn=Tt.name+on.hash;An.hasNameForId(Tt.id,dn)||An.insertRules(Tt.id,dn,on(Tt.rules,dn,"@keyframes"))},this.toString=function(){return Ve(12,String(Tt.name))},this.name=Gt,this.id="sc-keyframes-"+Gt,this.rules=Pt}return Ot.prototype.getName=function(Gt){return Gt===void 0&&(Gt=Sn),this.name+Gt.hash},Ot}(),de=/([A-Z])/,oe=/([A-Z])/g,Ye=/^ms-/,Et=function(Ot){return"-"+Ot.toLowerCase()};function xe(Ot){return de.test(Ot)?Ot.replace(oe,Et).replace(Ye,"-ms-"):Ot}var Re=function(Ot){return Ot==null||Ot===!1||Ot===""};function We(Ot,Gt,Pt,Tt){if(Array.isArray(Ot)){for(var An,on=[],dn=0,$e=Ot.length;dn<$e;dn+=1)(An=We(Ot[dn],Gt,Pt,Tt))!==""&&(Array.isArray(An)?on.push.apply(on,An):on.push(An));return on}if(Re(Ot))return"";if(Y(Ot))return"."+Ot.styledComponentId;if(Q(Ot)){if(typeof($t=Ot)!="function"||$t.prototype&&$t.prototype.isReactComponent||!Gt)return Ot;var Yt=Ot(Gt);return We(Yt,Gt,Pt,Tt)}var $t;return Ot instanceof Cn?Pt?(Ot.inject(Pt,Tt),Ot.getName(Tt)):Ot:z(Ot)?function Jt(Lt,yn){var In,yr,Rr=[];for(var Xr in Lt)Lt.hasOwnProperty(Xr)&&!Re(Lt[Xr])&&(Array.isArray(Lt[Xr])&&Lt[Xr].isCss||Q(Lt[Xr])?Rr.push(xe(Xr)+":",Lt[Xr],";"):z(Lt[Xr])?Rr.push.apply(Rr,Jt(Lt[Xr],Xr)):Rr.push(xe(Xr)+": "+(In=Xr,(yr=Lt[Xr])==null||typeof yr=="boolean"||yr===""?"":typeof yr!="number"||yr===0||In in A||In.startsWith("--")?String(yr).trim():yr+"px")+";"));return yn?[yn+" {"].concat(Rr,["}"]):Rr}(Ot):Ot.toString()}var gt=function(Ot){return Array.isArray(Ot)&&(Ot.isCss=!0),Ot};function Nt(Ot){for(var Gt=arguments.length,Pt=new Array(Gt>1?Gt-1:0),Tt=1;Tt<Gt;Tt++)Pt[Tt-1]=arguments[Tt];return Q(Ot)||z(Ot)?gt(We(j(W,[Ot].concat(Pt)))):Pt.length===0&&Ot.length===1&&typeof Ot[0]=="string"?Ot:gt(We(j(Ot,Pt)))}var Ct=/invalid hook call/i,tn=new Set,ge=function(Ot,Gt){if(!1)var Pt,Tt,An},At=function(Ot,Gt,Pt){return Pt===void 0&&(Pt=X),Ot.theme!==Pt.theme&&Ot.theme||Gt||Pt.theme},mn=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xn=/(^-|-$)/g;function Un(Ot){return Ot.replace(mn,"-").replace(xn,"")}var gr=function(Ot){return St(jt(Ot)>>>0)};function Ur(Ot){return typeof Ot=="string"&&!0}var Or=function(Ot){return typeof Ot=="function"||typeof Ot=="object"&&Ot!==null&&!Array.isArray(Ot)},ii=function(Ot){return Ot!=="__proto__"&&Ot!=="constructor"&&Ot!=="prototype"};function Ui(Ot,Gt,Pt){var Tt=Ot[Pt];Or(Gt)&&Or(Tt)?rn(Tt,Gt):Ot[Pt]=Gt}function rn(Ot){for(var Gt=arguments.length,Pt=new Array(Gt>1?Gt-1:0),Tt=1;Tt<Gt;Tt++)Pt[Tt-1]=arguments[Tt];for(var An=0,on=Pt;An<on.length;An++){var dn=on[An];if(Or(dn))for(var $e in dn)ii($e)&&Ui(Ot,dn[$e],$e)}return Ot}var $n=a.createContext(),yi=$n.Consumer;function Jr(Ot){var Gt=(0,a.useContext)($n),Pt=(0,a.useMemo)(function(){return function(Tt,An){if(!Tt)return Ve(14);if(Q(Tt)){var on=Tt(An);return on}return Array.isArray(Tt)||typeof Tt!="object"?Ve(8):An?B({},An,{},Tt):Tt}(Ot.theme,Gt)},[Ot.theme,Gt]);return Ot.children?a.createElement($n.Provider,{value:Pt},Ot.children):null}var cn={};function mt(Ot,Gt,Pt){var Tt=Y(Ot),An=!Ur(Ot),on=Gt.attrs,dn=on===void 0?W:on,$e=Gt.componentId,Yt=$e===void 0?function(Hr,un){var ct=typeof Hr!="string"?"sc":Un(Hr);cn[ct]=(cn[ct]||0)+1;var Ut=ct+"-"+gr("5.3.11"+ct+cn[ct]);return un?un+"-"+Ut:Ut}(Gt.displayName,Gt.parentComponentId):$e,$t=Gt.displayName,Jt=$t===void 0?function(Hr){return Ur(Hr)?"styled."+Hr:"Styled("+K(Hr)+")"}(Ot):$t,Lt=Gt.displayName&&Gt.componentId?Un(Gt.displayName)+"-"+Gt.componentId:Gt.componentId||Yt,yn=Tt&&Ot.attrs?Array.prototype.concat(Ot.attrs,dn).filter(Boolean):dn,In=Gt.shouldForwardProp;Tt&&Ot.shouldForwardProp&&(In=Gt.shouldForwardProp?function(Hr,un,ct){return Ot.shouldForwardProp(Hr,un,ct)&&Gt.shouldForwardProp(Hr,un,ct)}:Ot.shouldForwardProp);var yr,Rr=new Ln(Pt,Lt,Tt?Ot.componentStyle:void 0),Xr=Rr.isStatic&&dn.length===0,ci=function(Hr,un){return function(ct,Ut,wt,kn){var wn=ct.attrs,Qn=ct.componentStyle,ur=ct.defaultProps,fi=ct.foldedComponentIds,ot=ct.shouldForwardProp,ft=ct.styledComponentId,Mt=ct.target,qt=function(be,Ue,ut){be===void 0&&(be=X);var Ht=B({},Ue,{theme:be}),Fn={};return ut.forEach(function(ln){var jn,Nr,Mi,Oi=ln;for(jn in Q(Oi)&&(Oi=Oi(Ht)),Oi)Ht[jn]=Fn[jn]=jn==="className"?(Nr=Fn[jn],Mi=Oi[jn],Nr&&Mi?Nr+" "+Mi:Nr||Mi):Oi[jn]}),[Ht,Fn]}(At(Ut,(0,a.useContext)($n),ur)||X,Ut,wn),sr=qt[0],lr=qt[1],Cr=function(be,Ue,ut,Ht){var Fn=Hn(),ln=er(),jn=Ue?be.generateAndInjectStyles(X,Fn,ln):be.generateAndInjectStyles(ut,Fn,ln);return jn}(Qn,kn,sr,void 0),xr=wt,qr=lr.$as||Ut.$as||lr.as||Ut.as||Mt,jr=Ur(qr),vr=lr!==Ut?B({},Ut,{},lr):Ut,$r={};for(var Wr in vr)Wr[0]!=="$"&&Wr!=="as"&&(Wr==="forwardedAs"?$r.as=vr[Wr]:(ot?ot(Wr,M,qr):!jr||M(Wr))&&($r[Wr]=vr[Wr]));return Ut.style&&lr.style!==Ut.style&&($r.style=B({},Ut.style,{},lr.style)),$r.className=Array.prototype.concat(fi,ft,Cr!==ft?Cr:null,Ut.className,lr.className).filter(Boolean).join(" "),$r.ref=xr,(0,a.createElement)(qr,$r)}(yr,Hr,un,Xr)};return ci.displayName=Jt,(yr=a.forwardRef(ci)).attrs=yn,yr.componentStyle=Rr,yr.displayName=Jt,yr.shouldForwardProp=In,yr.foldedComponentIds=Tt?Array.prototype.concat(Ot.foldedComponentIds,Ot.styledComponentId):W,yr.styledComponentId=Lt,yr.target=Tt?Ot.target:Ot,yr.withComponent=function(Hr){var un=Gt.componentId,ct=function(wt,kn){if(wt==null)return{};var wn,Qn,ur={},fi=Object.keys(wt);for(Qn=0;Qn<fi.length;Qn++)wn=fi[Qn],kn.indexOf(wn)>=0||(ur[wn]=wt[wn]);return ur}(Gt,["componentId"]),Ut=un&&un+"-"+(Ur(Hr)?Hr:Un(K(Hr)));return mt(Hr,B({},ct,{attrs:yn,componentId:Ut}),Pt)},Object.defineProperty(yr,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(Hr){this._foldedDefaultProps=Tt?rn({},Ot.defaultProps,Hr):Hr}}),Object.defineProperty(yr,"toString",{value:function(){return"."+yr.styledComponentId}}),An&&N()(yr,Ot,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),yr}var we=function(Ot){return function Gt(Pt,Tt,An){if(An===void 0&&(An=X),!(0,i.isValidElementType)(Tt))return Ve(1,String(Tt));var on=function(){return Pt(Tt,An,Nt.apply(void 0,arguments))};return on.withConfig=function(dn){return Gt(Pt,Tt,B({},An,{},dn))},on.attrs=function(dn){return Gt(Pt,Tt,B({},An,{attrs:Array.prototype.concat(An.attrs,dn).filter(Boolean)}))},on}(mt,Ot)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(Ot){we[Ot]=we(Ot)});var je=function(){function Ot(Pt,Tt){this.rules=Pt,this.componentId=Tt,this.isStatic=sn(Pt),_t.registerId(this.componentId+1)}var Gt=Ot.prototype;return Gt.createStyles=function(Pt,Tt,An,on){var dn=on(We(this.rules,Tt,An,on).join(""),""),$e=this.componentId+Pt;An.insertRules($e,$e,dn)},Gt.removeStyles=function(Pt,Tt){Tt.clearRules(this.componentId+Pt)},Gt.renderStyles=function(Pt,Tt,An,on){Pt>2&&_t.registerId(this.componentId+Pt),this.removeStyles(Pt,An),this.createStyles(Pt,Tt,An,on)},Ot}();function pt(Ot){for(var Gt=arguments.length,Pt=new Array(Gt>1?Gt-1:0),Tt=1;Tt<Gt;Tt++)Pt[Tt-1]=arguments[Tt];var An=Nt.apply(void 0,[Ot].concat(Pt)),on="sc-global-"+gr(JSON.stringify(An)),dn=new je(An,on);function $e($t){var Jt=Hn(),Lt=er(),yn=(0,a.useContext)($n),In=(0,a.useRef)(Jt.allocateGSInstance(on)).current;return Jt.server&&Yt(In,$t,Jt,yn,Lt),(0,a.useLayoutEffect)(function(){if(!Jt.server)return Yt(In,$t,Jt,yn,Lt),function(){return dn.removeStyles(In,Jt)}},[In,$t,Jt,yn,Lt]),null}function Yt($t,Jt,Lt,yn,In){if(dn.isStatic)dn.renderStyles($t,me,Lt,In);else{var yr=B({},Jt,{theme:At(Jt,yn,$e.defaultProps)});dn.renderStyles($t,yr,Lt,In)}}return a.memo($e)}function at(Ot){for(var Gt=arguments.length,Pt=new Array(Gt>1?Gt-1:0),Tt=1;Tt<Gt;Tt++)Pt[Tt-1]=arguments[Tt];var An=Nt.apply(void 0,[Ot].concat(Pt)).join(""),on=gr(An);return new Cn(on,An)}var kt=function(){function Ot(){var Pt=this;this._emitSheetCSS=function(){var Tt=Pt.instance.toString();if(!Tt)return"";var An=_e();return"<style "+[An&&'nonce="'+An+'"',Z+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+Tt+"</style>"},this.getStyleTags=function(){return Pt.sealed?Ve(2):Pt._emitSheetCSS()},this.getStyleElement=function(){var Tt;if(Pt.sealed)return Ve(2);var An=((Tt={})[Z]="",Tt["data-styled-version"]="5.3.11",Tt.dangerouslySetInnerHTML={__html:Pt.instance.toString()},Tt),on=_e();return on&&(An.nonce=on),[a.createElement("style",B({},An,{key:"sc-0-0"}))]},this.seal=function(){Pt.sealed=!0},this.instance=new _t({isServer:!0}),this.sealed=!1}var Gt=Ot.prototype;return Gt.collectStyles=function(Pt){return this.sealed?Ve(2):a.createElement(an,{sheet:this.instance},Pt)},Gt.interleaveWithNodeStream=function(Pt){return Ve(3)},Ot}(),vn=function(Ot){var Gt=r.forwardRef(function(Pt,Tt){var An=s($n),on=Ot.defaultProps,dn=At(Pt,An,on);return r.createElement(Ot,B({},Pt,{theme:dn,ref:Tt}))});return m(Gt,Ot),Gt.displayName="WithTheme("+K(Ot)+")",Gt},Wn=function(){return(0,a.useContext)($n)},nr={StyleSheet:_t,masterSheet:bn};const rr=we},35720:U=>{U.exports=function(l){return C(e(l),l)},U.exports.array=C;function C(l,c){var v=l.length,_=new Array(v),T={},A=v,R=i(c),P=a(l);for(c.forEach(function(O){if(!P.has(O[0])||!P.has(O[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});A--;)T[A]||M(l[A],A,new Set);return _;function M(O,N,B){if(B.has(O)){var j;try{j=", node was:"+JSON.stringify(O)}catch{j=""}throw new Error("Cyclic dependency"+j)}if(!P.has(O))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(O));if(!T[N]){T[N]=!0;var z=R.get(O)||new Set;if(z=Array.from(z),N=z.length){B.add(O);do{var W=z[--N];M(W,P.get(W),B)}while(N);B.delete(O)}_[--v]=O}}}function e(l){for(var c=new Set,v=0,_=l.length;v<_;v++){var T=l[v];c.add(T[0]),c.add(T[1])}return Array.from(c)}function i(l){for(var c=new Map,v=0,_=l.length;v<_;v++){var T=l[v];c.has(T[0])||c.set(T[0],new Set),c.has(T[1])||c.set(T[1],new Set),c.get(T[0]).add(T[1])}return c}function a(l){for(var c=new Map,v=0,_=l.length;v<_;v++)c.set(l[v],v);return c}},83016:U=>{U.exports=/[\0-\x1F\x7F-\x9F]/},74184:U=>{U.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},47328:U=>{U.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},68444:U=>{U.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},34788:(U,C,e)=>{"use strict";C.Any=e(59688),C.Cc=e(83016),C.Cf=e(74184),C.P=e(47328),C.Z=e(68444)},59688:U=>{U.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},91088:(U,C,e)=>{"use strict";e.d(C,{m:()=>v});var i=e(62552);function a(_,T){return typeof _=="function"?_(T):_&&(_.current=T),_}function l(_,T){var A=(0,i.useState)(function(){return{value:_,callback:T,facade:{get current(){return A.value},set current(R){var P=A.value;P!==R&&(A.value=R,A.callback(R,P))}}}})[0];return A.callback=T,A.facade}var c=new WeakMap;function v(_,T){var A=l(T||null,function(R){return _.forEach(function(P){return a(P,R)})});return i.useLayoutEffect(function(){var R=c.get(A);if(R){var P=new Set(R),M=new Set(_),O=A.current;P.forEach(function(N){M.has(N)||a(N,null)}),M.forEach(function(N){P.has(N)||a(N,O)})}c.set(A,_)},[_]),A}},83056:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(62552),a=i.useLayoutEffect;const l=a},11184:(U,C,e)=>{"use strict";e.d(C,{y:()=>c});var i=e(7353),a=e(62552),l=function(v){var _=v.sideCar,T=(0,i.sX)(v,["sideCar"]);if(!_)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var A=_.read();if(!A)throw new Error("Sidecar medium not found");return a.createElement(A,(0,i.C3)({},T))};l.isSideCarExport=!0;function c(v,_){return v.useMedium(_),l}},22160:(U,C,e)=>{"use strict";e.d(C,{Y:()=>v});var i=e(7353);function a(_){return _}function l(_,T){T===void 0&&(T=a);var A=[],R=!1,P={read:function(){if(R)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return A.length?A[A.length-1]:_},useMedium:function(M){var O=T(M,R);return A.push(O),function(){A=A.filter(function(N){return N!==O})}},assignSyncMedium:function(M){for(R=!0;A.length;){var O=A;A=[],O.forEach(M)}A={push:function(N){return M(N)},filter:function(){return A}}},assignMedium:function(M){R=!0;var O=[];if(A.length){var N=A;A=[],N.forEach(M),O=A}var B=function(){var z=O;O=[],z.forEach(M)},j=function(){return Promise.resolve().then(B)};j(),A={push:function(z){O.push(z),j()},filter:function(z){return O=O.filter(z),A}}}};return P}function c(_,T){return T===void 0&&(T=a),l(_,T)}function v(_){_===void 0&&(_={});var T=l(null);return T.options=(0,i.C3)({async:!0,ssr:!1},_),T}},28628:(U,C,e)=>{"use strict";/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var i=e(62552);function a(O,N){return O===N&&(O!==0||1/O===1/N)||O!==O&&N!==N}var l=typeof Object.is=="function"?Object.is:a,c=i.useState,v=i.useEffect,_=i.useLayoutEffect,T=i.useDebugValue;function A(O,N){var B=N(),j=c({inst:{value:B,getSnapshot:N}}),z=j[0].inst,W=j[1];return _(function(){z.value=B,z.getSnapshot=N,R(z)&&W({inst:z})},[O,B,N]),v(function(){return R(z)&&W({inst:z}),O(function(){R(z)&&W({inst:z})})},[O]),T(B),B}function R(O){var N=O.getSnapshot;O=O.value;try{var B=N();return!l(O,B)}catch{return!0}}function P(O,N){return N()}var M=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?P:A;C.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:M},90235:(U,C,e)=>{"use strict";/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var i=e(62552),a=e(58392);function l(P,M){return P===M&&(P!==0||1/P===1/M)||P!==P&&M!==M}var c=typeof Object.is=="function"?Object.is:l,v=a.useSyncExternalStore,_=i.useRef,T=i.useEffect,A=i.useMemo,R=i.useDebugValue;C.useSyncExternalStoreWithSelector=function(P,M,O,N,B){var j=_(null);if(j.current===null){var z={hasValue:!1,value:null};j.current=z}else z=j.current;j=A(function(){function X(J){if(!Q){if(Q=!0,K=J,J=N(J),B!==void 0&&z.hasValue){var ee=z.value;if(B(ee,J))return Y=ee}return Y=J}if(ee=Y,c(K,J))return ee;var re=N(J);return B!==void 0&&B(ee,re)?ee:(K=J,Y=re)}var Q=!1,K,Y,Z=O===void 0?null:O;return[function(){return X(M())},Z===null?void 0:function(){return X(Z())}]},[M,O,N,B]);var W=v(P,j[0],j[1]);return T(function(){z.hasValue=!0,z.value=W},[W]),R(W),W}},58392:(U,C,e)=>{"use strict";U.exports=e(28628)},71516:(U,C,e)=>{"use strict";U.exports=e(90235)},52540:(U,C,e)=>{"use strict";e.d(C,{$D:()=>Ve,eE:()=>cn,M$:()=>ii,SK:()=>Xt,cT:()=>Xt,tV:()=>Cn,Wk:()=>rn,Er:()=>Vt,CQ:()=>or,kt:()=>Ur,IL:()=>ce,Qb:()=>wr});var i;try{i=Map}catch{}var a;try{a=Set}catch{}function l(mt,we,je){if(!mt||typeof mt!="object"||typeof mt=="function")return mt;if(mt.nodeType&&"cloneNode"in mt)return mt.cloneNode(!0);if(mt instanceof Date)return new Date(mt.getTime());if(mt instanceof RegExp)return new RegExp(mt);if(Array.isArray(mt))return mt.map(c);if(i&&mt instanceof i)return new Map(Array.from(mt.entries()));if(a&&mt instanceof a)return new Set(Array.from(mt.values()));if(mt instanceof Object){we.push(mt);var pt=Object.create(mt);je.push(pt);for(var at in mt){var kt=we.findIndex(function(vn){return vn===mt[at]});pt[at]=kt>-1?je[kt]:l(mt[at],we,je)}return pt}return mt}function c(mt){return l(mt,[],[])}const v=Object.prototype.toString,_=Error.prototype.toString,T=RegExp.prototype.toString,A=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",R=/^Symbol\((.*)\)(.*)$/;function P(mt){return mt!=+mt?"NaN":mt===0&&1/mt<0?"-0":""+mt}function M(mt,we=!1){if(mt==null||mt===!0||mt===!1)return""+mt;const je=typeof mt;if(je==="number")return P(mt);if(je==="string")return we?`"${mt}"`:mt;if(je==="function")return"[Function "+(mt.name||"anonymous")+"]";if(je==="symbol")return A.call(mt).replace(R,"Symbol($1)");const pt=v.call(mt).slice(8,-1);return pt==="Date"?isNaN(mt.getTime())?""+mt:mt.toISOString(mt):pt==="Error"||mt instanceof Error?"["+_.call(mt)+"]":pt==="RegExp"?T.call(mt):null}function O(mt,we){let je=M(mt,we);return je!==null?je:JSON.stringify(mt,function(pt,at){let kt=M(this[pt],we);return kt!==null?kt:at},2)}let N={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:mt,type:we,value:je,originalValue:pt})=>{let at=pt!=null&&pt!==je,kt=`${mt} must be a \`${we}\` type, but the final value was: \`${O(je,!0)}\``+(at?` (cast from the value \`${O(pt,!0)}\`).`:".");return je===null&&(kt+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),kt},defined:"${path} must be defined"},B={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},j={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},z={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},W={isValue:"${path} field must be ${value}"},X={noUnknown:"${path} field has unspecified keys: ${unknown}"},Q={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must be have ${length} items"};const K=Object.assign(Object.create(null),{mixed:N,string:B,number:j,date:z,object:X,array:Q,boolean:W});var Y=e(56781),Z=e.n(Y);const J=mt=>mt&&mt.__isYupSchema__;class ee{constructor(we,je){if(this.refs=we,this.refs=we,typeof je=="function"){this.fn=je;return}if(!Z()(je,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!je.then&&!je.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:pt,then:at,otherwise:kt}=je,vn=typeof pt=="function"?pt:(...Wn)=>Wn.every(nr=>nr===pt);this.fn=function(...Wn){let nr=Wn.pop(),rr=Wn.pop(),Ot=vn(...Wn)?at:kt;if(Ot)return typeof Ot=="function"?Ot(rr):rr.concat(Ot.resolve(nr))}}resolve(we,je){let pt=this.refs.map(kt=>kt.getValue(je?.value,je?.parent,je?.context)),at=this.fn.apply(we,pt.concat(we,je));if(at===void 0||at===we)return we;if(!J(at))throw new TypeError("conditions must return a schema object");return at.resolve(je)}}const re=ee;function me(mt){return mt==null?[]:[].concat(mt)}function fe(){return fe=Object.assign||function(mt){for(var we=1;we<arguments.length;we++){var je=arguments[we];for(var pt in je)Object.prototype.hasOwnProperty.call(je,pt)&&(mt[pt]=je[pt])}return mt},fe.apply(this,arguments)}let le=/\$\{\s*(\w+)\s*\}/g;class Ve extends Error{static formatError(we,je){const pt=je.label||je.path||"this";return pt!==je.path&&(je=fe({},je,{path:pt})),typeof we=="string"?we.replace(le,(at,kt)=>O(je[kt])):typeof we=="function"?we(je):we}static isError(we){return we&&we.name==="ValidationError"}constructor(we,je,pt,at){super(),this.name="ValidationError",this.value=je,this.path=pt,this.type=at,this.errors=[],this.inner=[],me(we).forEach(kt=>{Ve.isError(kt)?(this.errors.push(...kt.errors),this.inner=this.inner.concat(kt.inner.length?kt.inner:kt)):this.errors.push(kt)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,Ve)}}const Ze=mt=>{let we=!1;return(...je)=>{we||(we=!0,mt(...je))}};function Ce(mt,we){let{endEarly:je,tests:pt,args:at,value:kt,errors:vn,sort:Wn,path:nr}=mt,rr=Ze(we),Ot=pt.length;const Gt=[];if(vn=vn||[],!Ot)return vn.length?rr(new Ve(vn,kt,nr)):rr(null,kt);for(let Pt=0;Pt<pt.length;Pt++){const Tt=pt[Pt];Tt(at,function(on){if(on){if(!Ve.isError(on))return rr(on,kt);if(je)return on.value=kt,rr(on,kt);Gt.push(on)}if(--Ot<=0){if(Gt.length&&(Wn&&Gt.sort(Wn),vn.length&&Gt.push(...vn),vn=Gt),vn.length){rr(new Ve(vn,kt,nr),kt);return}rr(null,kt)}})}}var ye=e(32123),Ae=e.n(ye),Fe=e(22044);const Qe={context:"$",value:"."};function ce(mt,we){return new Ge(mt,we)}class Ge{constructor(we,je={}){if(typeof we!="string")throw new TypeError("ref must be a string, got: "+we);if(this.key=we.trim(),we==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Qe.context,this.isValue=this.key[0]===Qe.value,this.isSibling=!this.isContext&&!this.isValue;let pt=this.isContext?Qe.context:this.isValue?Qe.value:"";this.path=this.key.slice(pt.length),this.getter=this.path&&(0,Fe.getter)(this.path,!0),this.map=je.map}getValue(we,je,pt){let at=this.isContext?pt:this.isValue?we:je;return this.getter&&(at=this.getter(at||{})),this.map&&(at=this.map(at)),at}cast(we,je){return this.getValue(we,je?.parent,je?.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(we){return we&&we.__isYupRef}}Ge.prototype.__isYupRef=!0;function Pe(){return Pe=Object.assign||function(mt){for(var we=1;we<arguments.length;we++){var je=arguments[we];for(var pt in je)Object.prototype.hasOwnProperty.call(je,pt)&&(mt[pt]=je[pt])}return mt},Pe.apply(this,arguments)}function pe(mt,we){if(mt==null)return{};var je={},pt=Object.keys(mt),at,kt;for(kt=0;kt<pt.length;kt++)at=pt[kt],!(we.indexOf(at)>=0)&&(je[at]=mt[at]);return je}function Se(mt){function we(je,pt){let{value:at,path:kt="",label:vn,options:Wn,originalValue:nr,sync:rr}=je,Ot=pe(je,["value","path","label","options","originalValue","sync"]);const{name:Gt,test:Pt,params:Tt,message:An}=mt;let{parent:on,context:dn}=Wn;function $e(yn){return Ge.isRef(yn)?yn.getValue(at,on,dn):yn}function Yt(yn={}){const In=Ae()(Pe({value:at,originalValue:nr,label:vn,path:yn.path||kt},Tt,yn.params),$e),yr=new Ve(Ve.formatError(yn.message||An,In),at,In.path,yn.type||Gt);return yr.params=In,yr}let $t=Pe({path:kt,parent:on,type:Gt,createError:Yt,resolve:$e,options:Wn,originalValue:nr},Ot);if(!rr){try{Promise.resolve(Pt.call($t,at,$t)).then(yn=>{Ve.isError(yn)?pt(yn):yn?pt(null,yn):pt(Yt())})}catch(yn){pt(yn)}return}let Jt;try{var Lt;if(Jt=Pt.call($t,at,$t),typeof((Lt=Jt)==null?void 0:Lt.then)=="function")throw new Error(`Validation test of type: "${$t.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(yn){pt(yn);return}Ve.isError(Jt)?pt(Jt):Jt?pt(null,Jt):pt(Yt())}return we.OPTIONS=mt,we}let _e=mt=>mt.substr(0,mt.length-1).substr(1);function Ne(mt,we,je,pt=je){let at,kt,vn;return we?((0,Fe.forEach)(we,(Wn,nr,rr)=>{let Ot=nr?_e(Wn):Wn;if(mt=mt.resolve({context:pt,parent:at,value:je}),mt.innerType){let Gt=rr?parseInt(Ot,10):0;if(je&&Gt>=je.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${Wn}, in the path: ${we}. because there is no value at that index. `);at=je,je=je&&je[Gt],mt=mt.innerType}if(!rr){if(!mt.fields||!mt.fields[Ot])throw new Error(`The schema does not contain the path: ${we}. (failed at: ${vn} which is a type: "${mt._type}")`);at=je,je=je&&je[Ot],mt=mt.fields[Ot]}kt=Ot,vn=nr?"["+Wn+"]":"."+Wn}),{schema:mt,parent:at,parentPath:kt}):{parent:at,parentPath:we,schema:mt}}const Le=(mt,we,je,pt)=>Ne(mt,we,je,pt).schema,Ke=null;class bt{constructor(){this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const we=[];for(const je of this.list)we.push(je);for(const[,je]of this.refs)we.push(je.describe());return we}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}add(we){Ge.isRef(we)?this.refs.set(we.key,we):this.list.add(we)}delete(we){Ge.isRef(we)?this.refs.delete(we.key):this.list.delete(we)}has(we,je){if(this.list.has(we))return!0;let pt,at=this.refs.values();for(;pt=at.next(),!pt.done;)if(je(pt.value)===we)return!0;return!1}clone(){const we=new bt;return we.list=new Set(this.list),we.refs=new Map(this.refs),we}merge(we,je){const pt=this.clone();return we.list.forEach(at=>pt.add(at)),we.refs.forEach(at=>pt.add(at)),je.list.forEach(at=>pt.delete(at)),je.refs.forEach(at=>pt.delete(at)),pt}}function yt(){return yt=Object.assign||function(mt){for(var we=1;we<arguments.length;we++){var je=arguments[we];for(var pt in je)Object.prototype.hasOwnProperty.call(je,pt)&&(mt[pt]=je[pt])}return mt},yt.apply(this,arguments)}class It{constructor(we){this.deps=[],this.conditions=[],this._whitelist=new bt,this._blacklist=new bt,this.exclusiveTests=Object.create(null),this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(N.notType)}),this.type=we?.type||"mixed",this.spec=yt({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},we?.spec)}get _type(){return this.type}_typeCheck(we){return!0}clone(we){if(this._mutate)return we&&Object.assign(this.spec,we),this;const je=Object.create(Object.getPrototypeOf(this));return je.type=this.type,je._typeError=this._typeError,je._whitelistError=this._whitelistError,je._blacklistError=this._blacklistError,je._whitelist=this._whitelist.clone(),je._blacklist=this._blacklist.clone(),je.exclusiveTests=yt({},this.exclusiveTests),je.deps=[...this.deps],je.conditions=[...this.conditions],je.tests=[...this.tests],je.transforms=[...this.transforms],je.spec=c(yt({},this.spec,we)),je}label(we){var je=this.clone();return je.spec.label=we,je}meta(...we){if(we.length===0)return this.spec.meta;let je=this.clone();return je.spec.meta=Object.assign(je.spec.meta||{},we[0]),je}withMutation(we){let je=this._mutate;this._mutate=!0;let pt=we(this);return this._mutate=je,pt}concat(we){if(!we||we===this)return this;if(we.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${we.type}`);let je=this,pt=we.clone();const at=yt({},je.spec,pt.spec);return pt.spec=at,pt._typeError||(pt._typeError=je._typeError),pt._whitelistError||(pt._whitelistError=je._whitelistError),pt._blacklistError||(pt._blacklistError=je._blacklistError),pt._whitelist=je._whitelist.merge(we._whitelist,we._blacklist),pt._blacklist=je._blacklist.merge(we._blacklist,we._whitelist),pt.tests=je.tests,pt.exclusiveTests=je.exclusiveTests,pt.withMutation(kt=>{we.tests.forEach(vn=>{kt.test(vn.OPTIONS)})}),pt}isType(we){return this.spec.nullable&&we===null?!0:this._typeCheck(we)}resolve(we){let je=this;if(je.conditions.length){let pt=je.conditions;je=je.clone(),je.conditions=[],je=pt.reduce((at,kt)=>kt.resolve(at,we),je),je=je.resolve(we)}return je}cast(we,je={}){let pt=this.resolve(yt({value:we},je)),at=pt._cast(we,je);if(we!==void 0&&je.assert!==!1&&pt.isType(at)!==!0){let kt=O(we),vn=O(at);throw new TypeError(`The value of ${je.path||"field"} could not be cast to a value that satisfies the schema type: "${pt._type}". 

attempted value: ${kt} 
`+(vn!==kt?`result of cast: ${vn}`:""))}return at}_cast(we,je){let pt=we===void 0?we:this.transforms.reduce((at,kt)=>kt.call(this,at,we,this),we);return pt===void 0&&(pt=this.getDefault()),pt}_validate(we,je={},pt){let{sync:at,path:kt,from:vn=[],originalValue:Wn=we,strict:nr=this.spec.strict,abortEarly:rr=this.spec.abortEarly}=je,Ot=we;nr||(Ot=this._cast(Ot,yt({assert:!1},je)));let Gt={value:Ot,path:kt,options:je,originalValue:Wn,schema:this,label:this.spec.label,sync:at,from:vn},Pt=[];this._typeError&&Pt.push(this._typeError),this._whitelistError&&Pt.push(this._whitelistError),this._blacklistError&&Pt.push(this._blacklistError),Ce({args:Gt,value:Ot,path:kt,sync:at,tests:Pt,endEarly:rr},Tt=>{if(Tt)return void pt(Tt,Ot);Ce({tests:this.tests,args:Gt,path:kt,sync:at,value:Ot,endEarly:rr},pt)})}validate(we,je,pt){let at=this.resolve(yt({},je,{value:we}));return typeof pt=="function"?at._validate(we,je,pt):new Promise((kt,vn)=>at._validate(we,je,(Wn,nr)=>{Wn?vn(Wn):kt(nr)}))}validateSync(we,je){let pt=this.resolve(yt({},je,{value:we})),at;return pt._validate(we,yt({},je,{sync:!0}),(kt,vn)=>{if(kt)throw kt;at=vn}),at}isValid(we,je){return this.validate(we,je).then(()=>!0,pt=>{if(Ve.isError(pt))return!1;throw pt})}isValidSync(we,je){try{return this.validateSync(we,je),!0}catch(pt){if(Ve.isError(pt))return!1;throw pt}}_getDefault(){let we=this.spec.default;return we==null?we:typeof we=="function"?we.call(this):c(we)}getDefault(we){return this.resolve(we||{})._getDefault()}default(we){return arguments.length===0?this._getDefault():this.clone({default:we})}strict(we=!0){var je=this.clone();return je.spec.strict=we,je}_isPresent(we){return we!=null}defined(we=N.defined){return this.test({message:we,name:"defined",exclusive:!0,test(je){return je!==void 0}})}required(we=N.required){return this.clone({presence:"required"}).withMutation(je=>je.test({message:we,name:"required",exclusive:!0,test(pt){return this.schema._isPresent(pt)}}))}notRequired(){var we=this.clone({presence:"optional"});return we.tests=we.tests.filter(je=>je.OPTIONS.name!=="required"),we}nullable(we=!0){var je=this.clone({nullable:we!==!1});return je}transform(we){var je=this.clone();return je.transforms.push(we),je}test(...we){let je;if(we.length===1?typeof we[0]=="function"?je={test:we[0]}:je=we[0]:we.length===2?je={name:we[0],test:we[1]}:je={name:we[0],message:we[1],test:we[2]},je.message===void 0&&(je.message=N.default),typeof je.test!="function")throw new TypeError("`test` is a required parameters");let pt=this.clone(),at=Se(je),kt=je.exclusive||je.name&&pt.exclusiveTests[je.name]===!0;if(je.exclusive&&!je.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return je.name&&(pt.exclusiveTests[je.name]=!!je.exclusive),pt.tests=pt.tests.filter(vn=>!(vn.OPTIONS.name===je.name&&(kt||vn.OPTIONS.test===at.OPTIONS.test))),pt.tests.push(at),pt}when(we,je){!Array.isArray(we)&&typeof we!="string"&&(je=we,we=".");let pt=this.clone(),at=me(we).map(kt=>new Ge(kt));return at.forEach(kt=>{kt.isSibling&&pt.deps.push(kt.key)}),pt.conditions.push(new re(at,je)),pt}typeError(we){var je=this.clone();return je._typeError=Se({message:we,name:"typeError",test(pt){return pt!==void 0&&!this.schema.isType(pt)?this.createError({params:{type:this.schema._type}}):!0}}),je}oneOf(we,je=N.oneOf){var pt=this.clone();return we.forEach(at=>{pt._whitelist.add(at),pt._blacklist.delete(at)}),pt._whitelistError=Se({message:je,name:"oneOf",test(at){if(at===void 0)return!0;let kt=this.schema._whitelist;return kt.has(at,this.resolve)?!0:this.createError({params:{values:kt.toArray().join(", ")}})}}),pt}notOneOf(we,je=N.notOneOf){var pt=this.clone();return we.forEach(at=>{pt._blacklist.add(at),pt._whitelist.delete(at)}),pt._blacklistError=Se({message:je,name:"notOneOf",test(at){let kt=this.schema._blacklist;return kt.has(at,this.resolve)?this.createError({params:{values:kt.toArray().join(", ")}}):!0}}),pt}strip(we=!0){let je=this.clone();return je.spec.strip=we,je}describe(){const we=this.clone(),{label:je,meta:pt}=we.spec;return{meta:pt,label:je,type:we.type,oneOf:we._whitelist.describe(),notOneOf:we._blacklist.describe(),tests:we.tests.map(kt=>({name:kt.OPTIONS.name,params:kt.OPTIONS.params})).filter((kt,vn,Wn)=>Wn.findIndex(nr=>nr.name===kt.name)===vn)}}}It.prototype.__isYupSchema__=!0;for(const mt of["validate","validateSync"])It.prototype[`${mt}At`]=function(we,je,pt={}){const{parent:at,parentPath:kt,schema:vn}=Ne(this,we,je,pt.context);return vn[mt](at&&at[kt],yt({},pt,{parent:at,path:we}))};for(const mt of["equals","is"])It.prototype[mt]=It.prototype.oneOf;for(const mt of["not","nope"])It.prototype[mt]=It.prototype.notOneOf;It.prototype.optional=It.prototype.notRequired;const _t=It,zt=null;function Vt(){return new _t}Vt.prototype=_t.prototype;const St=mt=>mt==null;function Xt(){return new jt}class jt extends It{constructor(){super({type:"boolean"}),this.withMutation(()=>{this.transform(function(we){if(!this.isType(we)){if(/^(true|1)$/i.test(String(we)))return!0;if(/^(false|0)$/i.test(String(we)))return!1}return we})})}_typeCheck(we){return we instanceof Boolean&&(we=we.valueOf()),typeof we=="boolean"}isTrue(we=W.isValue){return this.test({message:we,name:"is-value",exclusive:!0,params:{value:"true"},test(je){return St(je)||je===!0}})}isFalse(we=W.isValue){return this.test({message:we,name:"is-value",exclusive:!0,params:{value:"false"},test(je){return St(je)||je===!1}})}}Xt.prototype=jt.prototype;let sn=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,dt=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Ln=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,fn=mt=>St(mt)||mt===mt.trim(),cr={}.toString();function wr(){return new Jn}class Jn extends It{constructor(){super({type:"string"}),this.withMutation(()=>{this.transform(function(we){if(this.isType(we)||Array.isArray(we))return we;const je=we!=null&&we.toString?we.toString():we;return je===cr?we:je})})}_typeCheck(we){return we instanceof String&&(we=we.valueOf()),typeof we=="string"}_isPresent(we){return super._isPresent(we)&&!!we.length}length(we,je=B.length){return this.test({message:je,name:"length",exclusive:!0,params:{length:we},test(pt){return St(pt)||pt.length===this.resolve(we)}})}min(we,je=B.min){return this.test({message:je,name:"min",exclusive:!0,params:{min:we},test(pt){return St(pt)||pt.length>=this.resolve(we)}})}max(we,je=B.max){return this.test({name:"max",exclusive:!0,message:je,params:{max:we},test(pt){return St(pt)||pt.length<=this.resolve(we)}})}matches(we,je){let pt=!1,at,kt;return je&&(typeof je=="object"?{excludeEmptyString:pt=!1,message:at,name:kt}=je:at=je),this.test({name:kt||"matches",message:at||B.matches,params:{regex:we},test:vn=>St(vn)||vn===""&&pt||vn.search(we)!==-1})}email(we=B.email){return this.matches(sn,{name:"email",message:we,excludeEmptyString:!0})}url(we=B.url){return this.matches(dt,{name:"url",message:we,excludeEmptyString:!0})}uuid(we=B.uuid){return this.matches(Ln,{name:"uuid",message:we,excludeEmptyString:!1})}ensure(){return this.default("").transform(we=>we===null?"":we)}trim(we=B.trim){return this.transform(je=>je!=null?je.trim():je).test({message:we,name:"trim",test:fn})}lowercase(we=B.lowercase){return this.transform(je=>St(je)?je:je.toLowerCase()).test({message:we,name:"string_case",exclusive:!0,test:je=>St(je)||je===je.toLowerCase()})}uppercase(we=B.uppercase){return this.transform(je=>St(je)?je:je.toUpperCase()).test({message:we,name:"string_case",exclusive:!0,test:je=>St(je)||je===je.toUpperCase()})}}wr.prototype=Jn.prototype;let nn=mt=>mt!=+mt;function or(){return new bn}class bn extends It{constructor(){super({type:"number"}),this.withMutation(()=>{this.transform(function(we){let je=we;if(typeof je=="string"){if(je=je.replace(/\s/g,""),je==="")return NaN;je=+je}return this.isType(je)?je:parseFloat(je)})})}_typeCheck(we){return we instanceof Number&&(we=we.valueOf()),typeof we=="number"&&!nn(we)}min(we,je=j.min){return this.test({message:je,name:"min",exclusive:!0,params:{min:we},test(pt){return St(pt)||pt>=this.resolve(we)}})}max(we,je=j.max){return this.test({message:je,name:"max",exclusive:!0,params:{max:we},test(pt){return St(pt)||pt<=this.resolve(we)}})}lessThan(we,je=j.lessThan){return this.test({message:je,name:"max",exclusive:!0,params:{less:we},test(pt){return St(pt)||pt<this.resolve(we)}})}moreThan(we,je=j.moreThan){return this.test({message:je,name:"min",exclusive:!0,params:{more:we},test(pt){return St(pt)||pt>this.resolve(we)}})}positive(we=j.positive){return this.moreThan(0,we)}negative(we=j.negative){return this.lessThan(0,we)}integer(we=j.integer){return this.test({name:"integer",message:we,test:je=>St(je)||Number.isInteger(je)})}truncate(){return this.transform(we=>St(we)?we:we|0)}round(we){var je,pt=["ceil","floor","round","trunc"];if(we=((je=we)==null?void 0:je.toLowerCase())||"round",we==="trunc")return this.truncate();if(pt.indexOf(we.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+pt.join(", "));return this.transform(at=>St(at)?at:Math[we](at))}}or.prototype=bn.prototype;var Sn=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;function Hn(mt){var we=[1,4,5,6,7,10,11],je=0,pt,at;if(at=Sn.exec(mt)){for(var kt=0,vn;vn=we[kt];++kt)at[vn]=+at[vn]||0;at[2]=(+at[2]||1)-1,at[3]=+at[3]||1,at[7]=at[7]?String(at[7]).substr(0,3):0,(at[8]===void 0||at[8]==="")&&(at[9]===void 0||at[9]==="")?pt=+new Date(at[1],at[2],at[3],at[4],at[5],at[6],at[7]):(at[8]!=="Z"&&at[9]!==void 0&&(je=at[10]*60+at[11],at[9]==="+"&&(je=0-je)),pt=Date.UTC(at[1],at[2],at[3],at[4],at[5]+je,at[6],at[7]))}else pt=Date.parse?Date.parse(mt):NaN;return pt}let er=new Date(""),an=mt=>Object.prototype.toString.call(mt)==="[object Date]";function Cn(){return new de}class de extends It{constructor(){super({type:"date"}),this.withMutation(()=>{this.transform(function(we){return this.isType(we)?we:(we=Hn(we),isNaN(we)?er:new Date(we))})})}_typeCheck(we){return an(we)&&!isNaN(we.getTime())}prepareParam(we,je){let pt;if(Ge.isRef(we))pt=we;else{let at=this.cast(we);if(!this._typeCheck(at))throw new TypeError(`\`${je}\` must be a Date or a value that can be \`cast()\` to a Date`);pt=at}return pt}min(we,je=z.min){let pt=this.prepareParam(we,"min");return this.test({message:je,name:"min",exclusive:!0,params:{min:we},test(at){return St(at)||at>=this.resolve(pt)}})}max(we,je=z.max){var pt=this.prepareParam(we,"max");return this.test({message:je,name:"max",exclusive:!0,params:{max:we},test(at){return St(at)||at<=this.resolve(pt)}})}}de.INVALID_DATE=er,Cn.prototype=de.prototype,Cn.INVALID_DATE=er;var oe=e(57520),Ye=e.n(oe),Et=e(18424),xe=e.n(Et),Re=e(26368),We=e.n(Re),gt=e(35720),Nt=e.n(gt);function Ct(mt,we=[]){let je=[],pt=[];function at(kt,vn){var Wn=(0,Fe.split)(kt)[0];~pt.indexOf(Wn)||pt.push(Wn),~we.indexOf(`${vn}-${Wn}`)||je.push([vn,Wn])}for(const kt in mt)if(Z()(mt,kt)){let vn=mt[kt];~pt.indexOf(kt)||pt.push(kt),Ge.isRef(vn)&&vn.isSibling?at(vn.path,kt):J(vn)&&"deps"in vn&&vn.deps.forEach(Wn=>at(Wn,kt))}return Nt().array(pt,je).reverse()}function tn(mt,we){let je=1/0;return mt.some((pt,at)=>{var kt;if(((kt=we.path)==null?void 0:kt.indexOf(pt))!==-1)return je=at,!0}),je}function ge(mt){return(we,je)=>tn(mt,we)-tn(mt,je)}function At(){return At=Object.assign||function(mt){for(var we=1;we<arguments.length;we++){var je=arguments[we];for(var pt in je)Object.prototype.hasOwnProperty.call(je,pt)&&(mt[pt]=je[pt])}return mt},At.apply(this,arguments)}let mn=mt=>Object.prototype.toString.call(mt)==="[object Object]";function xn(mt,we){let je=Object.keys(mt.fields);return Object.keys(we).filter(pt=>je.indexOf(pt)===-1)}const Un=ge([]);class gr extends It{constructor(we){super({type:"object"}),this.fields=Object.create(null),this._sortErrors=Un,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{this.transform(function(pt){if(typeof pt=="string")try{pt=JSON.parse(pt)}catch{pt=null}return this.isType(pt)?pt:null}),we&&this.shape(we)})}_typeCheck(we){return mn(we)||typeof we=="function"}_cast(we,je={}){var pt;let at=super._cast(we,je);if(at===void 0)return this.getDefault();if(!this._typeCheck(at))return at;let kt=this.fields,vn=(pt=je.stripUnknown)!=null?pt:this.spec.noUnknown,Wn=this._nodes.concat(Object.keys(at).filter(Gt=>this._nodes.indexOf(Gt)===-1)),nr={},rr=At({},je,{parent:nr,__validating:je.__validating||!1}),Ot=!1;for(const Gt of Wn){let Pt=kt[Gt],Tt=Z()(at,Gt);if(Pt){let An,on=at[Gt];rr.path=(je.path?`${je.path}.`:"")+Gt,Pt=Pt.resolve({value:on,context:je.context,parent:nr});let dn="spec"in Pt?Pt.spec:void 0,$e=dn?.strict;if(dn?.strip){Ot=Ot||Gt in at;continue}An=!je.__validating||!$e?Pt.cast(at[Gt],rr):at[Gt],An!==void 0&&(nr[Gt]=An)}else Tt&&!vn&&(nr[Gt]=at[Gt]);nr[Gt]!==at[Gt]&&(Ot=!0)}return Ot?nr:at}_validate(we,je={},pt){let at=[],{sync:kt,from:vn=[],originalValue:Wn=we,abortEarly:nr=this.spec.abortEarly,recursive:rr=this.spec.recursive}=je;vn=[{schema:this,value:Wn},...vn],je.__validating=!0,je.originalValue=Wn,je.from=vn,super._validate(we,je,(Ot,Gt)=>{if(Ot){if(!Ve.isError(Ot)||nr)return void pt(Ot,Gt);at.push(Ot)}if(!rr||!mn(Gt)){pt(at[0]||null,Gt);return}Wn=Wn||Gt;let Pt=this._nodes.map(Tt=>(An,on)=>{let dn=Tt.indexOf(".")===-1?(je.path?`${je.path}.`:"")+Tt:`${je.path||""}["${Tt}"]`,$e=this.fields[Tt];if($e&&"validate"in $e){$e.validate(Gt[Tt],At({},je,{path:dn,from:vn,strict:!0,parent:Gt,originalValue:Wn[Tt]}),on);return}on(null)});Ce({sync:kt,tests:Pt,value:Gt,errors:at,endEarly:nr,sort:this._sortErrors,path:je.path},pt)})}clone(we){const je=super.clone(we);return je.fields=At({},this.fields),je._nodes=this._nodes,je._excludedEdges=this._excludedEdges,je._sortErrors=this._sortErrors,je}concat(we){let je=super.concat(we),pt=je.fields;for(let[at,kt]of Object.entries(this.fields)){const vn=pt[at];vn===void 0?pt[at]=kt:vn instanceof It&&kt instanceof It&&(pt[at]=kt.concat(vn))}return je.withMutation(()=>je.shape(pt))}getDefaultFromShape(){let we={};return this._nodes.forEach(je=>{const pt=this.fields[je];we[je]="default"in pt?pt.getDefault():void 0}),we}_getDefault(){if("default"in this.spec)return super._getDefault();if(this._nodes.length)return this.getDefaultFromShape()}shape(we,je=[]){let pt=this.clone(),at=Object.assign(pt.fields,we);if(pt.fields=at,pt._sortErrors=ge(Object.keys(at)),je.length){Array.isArray(je[0])||(je=[je]);let kt=je.map(([vn,Wn])=>`${vn}-${Wn}`);pt._excludedEdges=pt._excludedEdges.concat(kt)}return pt._nodes=Ct(at,pt._excludedEdges),pt}pick(we){const je={};for(const pt of we)this.fields[pt]&&(je[pt]=this.fields[pt]);return this.clone().withMutation(pt=>(pt.fields={},pt.shape(je)))}omit(we){const je=this.clone(),pt=je.fields;je.fields={};for(const at of we)delete pt[at];return je.withMutation(()=>je.shape(pt))}from(we,je,pt){let at=(0,Fe.getter)(we,!0);return this.transform(kt=>{if(kt==null)return kt;let vn=kt;return Z()(kt,we)&&(vn=At({},kt),pt||delete vn[we],vn[je]=at(kt)),vn})}noUnknown(we=!0,je=X.noUnknown){typeof we=="string"&&(je=we,we=!0);let pt=this.test({name:"noUnknown",exclusive:!0,message:je,test(at){if(at==null)return!0;const kt=xn(this.schema,at);return!we||kt.length===0||this.createError({params:{unknown:kt.join(", ")}})}});return pt.spec.noUnknown=we,pt}unknown(we=!0,je=X.noUnknown){return this.noUnknown(!we,je)}transformKeys(we){return this.transform(je=>je&&We()(je,(pt,at)=>we(at)))}camelCase(){return this.transformKeys(xe())}snakeCase(){return this.transformKeys(Ye())}constantCase(){return this.transformKeys(we=>Ye()(we).toUpperCase())}describe(){let we=super.describe();return we.fields=Ae()(this.fields,je=>je.describe()),we}}function Ur(mt){return new gr(mt)}Ur.prototype=gr.prototype;function Or(){return Or=Object.assign||function(mt){for(var we=1;we<arguments.length;we++){var je=arguments[we];for(var pt in je)Object.prototype.hasOwnProperty.call(je,pt)&&(mt[pt]=je[pt])}return mt},Or.apply(this,arguments)}function ii(mt){return new Ui(mt)}class Ui extends It{constructor(we){super({type:"array"}),this.innerType=we,this.withMutation(()=>{this.transform(function(je){if(typeof je=="string")try{je=JSON.parse(je)}catch{je=null}return this.isType(je)?je:null})})}_typeCheck(we){return Array.isArray(we)}get _subType(){return this.innerType}_cast(we,je){const pt=super._cast(we,je);if(!this._typeCheck(pt)||!this.innerType)return pt;let at=!1;const kt=pt.map((vn,Wn)=>{const nr=this.innerType.cast(vn,Or({},je,{path:`${je.path||""}[${Wn}]`}));return nr!==vn&&(at=!0),nr});return at?kt:pt}_validate(we,je={},pt){var at,kt;let vn=[],Wn=je.sync,nr=je.path,rr=this.innerType,Ot=(at=je.abortEarly)!=null?at:this.spec.abortEarly,Gt=(kt=je.recursive)!=null?kt:this.spec.recursive,Pt=je.originalValue!=null?je.originalValue:we;super._validate(we,je,(Tt,An)=>{if(Tt){if(!Ve.isError(Tt)||Ot)return void pt(Tt,An);vn.push(Tt)}if(!Gt||!rr||!this._typeCheck(An)){pt(vn[0]||null,An);return}Pt=Pt||An;let on=new Array(An.length);for(let dn=0;dn<An.length;dn++){let $e=An[dn],Yt=`${je.path||""}[${dn}]`,$t=Or({},je,{path:Yt,strict:!0,parent:An,index:dn,originalValue:Pt[dn]});on[dn]=(Jt,Lt)=>rr.validate($e,$t,Lt)}Ce({sync:Wn,path:nr,value:An,errors:vn,endEarly:Ot,tests:on},pt)})}clone(we){const je=super.clone(we);return je.innerType=this.innerType,je}concat(we){let je=super.concat(we);return je.innerType=this.innerType,we.innerType&&(je.innerType=je.innerType?je.innerType.concat(we.innerType):we.innerType),je}of(we){let je=this.clone();if(!J(we))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+O(we));return je.innerType=we,je}length(we,je=Q.length){return this.test({message:je,name:"length",exclusive:!0,params:{length:we},test(pt){return St(pt)||pt.length===this.resolve(we)}})}min(we,je){return je=je||Q.min,this.test({message:je,name:"min",exclusive:!0,params:{min:we},test(pt){return St(pt)||pt.length>=this.resolve(we)}})}max(we,je){return je=je||Q.max,this.test({message:je,name:"max",exclusive:!0,params:{max:we},test(pt){return St(pt)||pt.length<=this.resolve(we)}})}ensure(){return this.default(()=>[]).transform((we,je)=>this._typeCheck(we)?we:je==null?[]:[].concat(je))}compact(we){let je=we?(pt,at,kt)=>!we(pt,at,kt):pt=>!!pt;return this.transform(pt=>pt!=null?pt.filter(je):pt)}describe(){let we=super.describe();return this.innerType&&(we.innerType=this.innerType.describe()),we}nullable(we=!0){return super.nullable(we)}defined(){return super.defined()}required(we){return super.required(we)}}ii.prototype=Ui.prototype;function rn(mt){return new $n(mt)}class $n{constructor(we){this.type="lazy",this.__isYupSchema__=!0,this._resolve=(je,pt={})=>{let at=this.builder(je,pt);if(!J(at))throw new TypeError("lazy() functions must return a valid schema");return at.resolve(pt)},this.builder=we}resolve(we){return this._resolve(we.value,we)}cast(we,je){return this._resolve(we,je).cast(we,je)}validate(we,je,pt){return this._resolve(we,je).validate(we,je,pt)}validateSync(we,je){return this._resolve(we,je).validateSync(we,je)}validateAt(we,je,pt){return this._resolve(je,pt).validateAt(we,je,pt)}validateSyncAt(we,je,pt){return this._resolve(je,pt).validateSyncAt(we,je,pt)}describe(){return null}isValid(we,je){return this._resolve(we,je).isValid(we,je)}isValidSync(we,je){return this._resolve(we,je).isValidSync(we,je)}}const yi=null;function Jr(mt){Object.keys(mt).forEach(we=>{Object.keys(mt[we]).forEach(je=>{locale[we][je]=mt[we][je]})})}function cn(mt,we,je){if(!mt||!J(mt.prototype))throw new TypeError("You must provide a yup schema constructor function");if(typeof we!="string")throw new TypeError("A Method name must be provided");if(typeof je!="function")throw new TypeError("Method function must be provided");mt.prototype[we]=je}},73984:(U,C,e)=>{var i={"./en.json":[73944,3944],"./fr.json":[99352,9352]};function a(l){if(!e.o(i,l))return Promise.resolve().then(()=>{var _=new Error("Cannot find module '"+l+"'");throw _.code="MODULE_NOT_FOUND",_});var c=i[l],v=c[0];return e.e(c[1]).then(()=>e.t(v,19))}a.keys=()=>Object.keys(i),a.id=73984,U.exports=a},3396:(U,C,e)=>{"use strict";var i=e(14596),a=e.n(i),l=e(86520),c=e.n(l),v=e(36176),_=e.n(v),T=e(65120),A=e.n(T),R=e(66808),P=e.n(R),M=e(61936),O=e.n(M),N=e(55360),B={};B.styleTagTransform=O(),B.setAttributes=A(),B.insert=_().bind(null,"head"),B.domAPI=c(),B.insertStyleElement=P();var j=a()(N.c,B),z=N.c&&N.c.locals?N.c.locals:void 0},40960:(U,C,e)=>{"use strict";var i=e(14596),a=e.n(i),l=e(86520),c=e.n(l),v=e(36176),_=e.n(v),T=e(65120),A=e.n(T),R=e(66808),P=e.n(R),M=e(61936),O=e.n(M),N=e(11936),B={};B.styleTagTransform=O(),B.setAttributes=A(),B.insert=_().bind(null,"head"),B.domAPI=c(),B.insertStyleElement=P();var j=a()(N.c,B),z=N.c&&N.c.locals?N.c.locals:void 0},14596:U=>{"use strict";var C=[];function e(l){for(var c=-1,v=0;v<C.length;v++)if(C[v].identifier===l){c=v;break}return c}function i(l,c){for(var v={},_=[],T=0;T<l.length;T++){var A=l[T],R=c.base?A[0]+c.base:A[0],P=v[R]||0,M="".concat(R," ").concat(P);v[R]=P+1;var O=e(M),N={css:A[1],media:A[2],sourceMap:A[3],supports:A[4],layer:A[5]};if(O!==-1)C[O].references++,C[O].updater(N);else{var B=a(N,c);c.byIndex=T,C.splice(T,0,{identifier:M,updater:B,references:1})}_.push(M)}return _}function a(l,c){var v=c.domAPI(c);v.update(l);var _=function(A){if(A){if(A.css===l.css&&A.media===l.media&&A.sourceMap===l.sourceMap&&A.supports===l.supports&&A.layer===l.layer)return;v.update(l=A)}else v.remove()};return _}U.exports=function(l,c){c=c||{},l=l||[];var v=i(l,c);return function(T){T=T||[];for(var A=0;A<v.length;A++){var R=v[A],P=e(R);C[P].references--}for(var M=i(T,c),O=0;O<v.length;O++){var N=v[O],B=e(N);C[B].references===0&&(C[B].updater(),C.splice(B,1))}v=M}}},36176:U=>{"use strict";var C={};function e(a){if(typeof C[a]>"u"){var l=document.querySelector(a);if(window.HTMLIFrameElement&&l instanceof window.HTMLIFrameElement)try{l=l.contentDocument.head}catch{l=null}C[a]=l}return C[a]}function i(a,l){var c=e(a);if(!c)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");c.appendChild(l)}U.exports=i},66808:U=>{"use strict";function C(e){var i=document.createElement("style");return e.setAttributes(i,e.attributes),e.insert(i,e.options),i}U.exports=C},65120:(U,C,e)=>{"use strict";function i(a){var l=e.nc;l&&a.setAttribute("nonce",l)}U.exports=i},86520:U=>{"use strict";function C(a,l,c){var v="";c.supports&&(v+="@supports (".concat(c.supports,") {")),c.media&&(v+="@media ".concat(c.media," {"));var _=typeof c.layer<"u";_&&(v+="@layer".concat(c.layer.length>0?" ".concat(c.layer):""," {")),v+=c.css,_&&(v+="}"),c.media&&(v+="}"),c.supports&&(v+="}");var T=c.sourceMap;T&&typeof btoa<"u"&&(v+=`
/*# sourceMappingURL=data:application/json;base64,`.concat(btoa(unescape(encodeURIComponent(JSON.stringify(T))))," */")),l.styleTagTransform(v,a,l.options)}function e(a){if(a.parentNode===null)return!1;a.parentNode.removeChild(a)}function i(a){if(typeof document>"u")return{update:function(){},remove:function(){}};var l=a.insertStyleElement(a);return{update:function(v){C(l,a,v)},remove:function(){e(l)}}}U.exports=i},61936:U=>{"use strict";function C(e,i){if(i.styleSheet)i.styleSheet.cssText=e;else{for(;i.firstChild;)i.removeChild(i.firstChild);i.appendChild(document.createTextNode(e))}}U.exports=C},11920:U=>{"use strict";U.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC"},16204:()=>{},30468:()=>{},41868:()=>{},40360:()=>{},89608:()=>{},43088:()=>{},16788:U=>{let C="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",e=(a,l=21)=>(c=l)=>{let v="",_=c;for(;_--;)v+=a[Math.random()*a.length|0];return v},i=(a=21)=>{let l="",c=a;for(;c--;)l+=C[Math.random()*64|0];return l};U.exports={nanoid:i,customAlphabet:e}},7507:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a,l){(l==null||l>a.length)&&(l=a.length);for(var c=0,v=new Array(l);c<l;c++)v[c]=a[c];return v}},27220:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}},85132:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a,l){if(!(a instanceof l))throw new TypeError("Cannot call a class as a function")}},38980:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(71448);function a(c,v){for(var _=0;_<v.length;_++){var T=v[_];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(c,(0,i.c)(T.key),T)}}function l(c,v,_){return v&&a(c.prototype,v),_&&a(c,_),Object.defineProperty(c,"prototype",{writable:!1}),c}},504:(U,C,e)=>{"use strict";e.d(C,{c:()=>_});function i(T){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(R){return R.__proto__||Object.getPrototypeOf(R)},i(T)}function a(){try{var T=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(a=function(){return!!T})()}var l=e(12200),c=e(27220);function v(T,A){if(A&&((0,l.c)(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,c.c)(T)}function _(T){var A=a();return function(){var P=i(T),M;if(A){var O=i(this).constructor;M=Reflect.construct(P,arguments,O)}else M=P.apply(this,arguments);return v(this,M)}}},98732:(U,C,e)=>{"use strict";e.d(C,{c:()=>a});var i=e(71448);function a(l,c,v){return c=(0,i.c)(c),c in l?Object.defineProperty(l,c,{value:v,enumerable:!0,configurable:!0,writable:!0}):l[c]=v,l}},59056:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(){return i=Object.assign?Object.assign.bind():function(a){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var v in c)Object.prototype.hasOwnProperty.call(c,v)&&(a[v]=c[v])}return a},i.apply(this,arguments)}},65376:(U,C,e)=>{"use strict";e.d(C,{c:()=>a});var i=e(9556);function a(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),c&&(0,i.c)(l,c)}},56384:(U,C,e)=>{"use strict";e.d(C,{c:()=>a});var i=e(9556);function a(l,c){l.prototype=Object.create(c.prototype),l.prototype.constructor=l,(0,i.c)(l,c)}},56688:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(98732);function a(c,v){var _=Object.keys(c);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(c);v&&(T=T.filter(function(A){return Object.getOwnPropertyDescriptor(c,A).enumerable})),_.push.apply(_,T)}return _}function l(c){for(var v=1;v<arguments.length;v++){var _=arguments[v]!=null?arguments[v]:{};v%2?a(Object(_),!0).forEach(function(T){(0,i.c)(c,T,_[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(_)):a(Object(_)).forEach(function(T){Object.defineProperty(c,T,Object.getOwnPropertyDescriptor(_,T))})}return c}},18232:(U,C,e)=>{"use strict";e.d(C,{c:()=>a});var i=e(54e3);function a(l,c){if(l==null)return{};var v=(0,i.c)(l,c),_,T;if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(l);for(T=0;T<A.length;T++)_=A[T],!(c.indexOf(_)>=0)&&Object.prototype.propertyIsEnumerable.call(l,_)&&(v[_]=l[_])}return v}},54e3:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a,l){if(a==null)return{};var c={},v=Object.keys(a),_,T;for(T=0;T<v.length;T++)_=v[T],!(l.indexOf(_)>=0)&&(c[_]=a[_]);return c}},9556:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a,l){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,_){return v.__proto__=_,v},i(a,l)}},80280:(U,C,e)=>{"use strict";e.d(C,{c:()=>v});function i(_){if(Array.isArray(_))return _}function a(_,T){var A=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(A!=null){var R,P,M,O,N=[],B=!0,j=!1;try{if(M=(A=A.call(_)).next,T===0){if(Object(A)!==A)return;B=!1}else for(;!(B=(R=M.call(A)).done)&&(N.push(R.value),N.length!==T);B=!0);}catch(z){j=!0,P=z}finally{try{if(!B&&A.return!=null&&(O=A.return(),Object(O)!==O))return}finally{if(j)throw P}}return N}}var l=e(80200);function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function v(_,T){return i(_)||a(_,T)||(0,l.c)(_,T)||c()}},71448:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(12200);function a(c,v){if((0,i.c)(c)!="object"||!c)return c;var _=c[Symbol.toPrimitive];if(_!==void 0){var T=_.call(c,v||"default");if((0,i.c)(T)!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return(v==="string"?String:Number)(c)}function l(c){var v=a(c,"string");return(0,i.c)(v)=="symbol"?v:String(v)}},12200:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});function i(a){return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},i(a)}},80200:(U,C,e)=>{"use strict";e.d(C,{c:()=>a});var i=e(7507);function a(l,c){if(l){if(typeof l=="string")return(0,i.c)(l,c);var v=Object.prototype.toString.call(l).slice(8,-1);if(v==="Object"&&l.constructor&&(v=l.constructor.name),v==="Map"||v==="Set")return Array.from(l);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return(0,i.c)(l,c)}}},92548:(U,C,e)=>{"use strict";e.d(C,{CA:()=>W,E3:()=>z,EB:()=>A,EJ:()=>X,Ml:()=>l,WS:()=>M,eC:()=>Q,eo:()=>v});var i=e(76680);function a(K,Y,Z){let{reference:J,floating:ee}=K;const re=(0,i.oR)(Y),me=(0,i.Al)(Y),fe=(0,i.ig)(me),le=(0,i.QL)(Y),Ve=re==="y",Ze=J.x+J.width/2-ee.width/2,Ce=J.y+J.height/2-ee.height/2,ye=J[fe]/2-ee[fe]/2;let Ae;switch(le){case"top":Ae={x:Ze,y:J.y-ee.height};break;case"bottom":Ae={x:Ze,y:J.y+J.height};break;case"right":Ae={x:J.x+J.width,y:Ce};break;case"left":Ae={x:J.x-ee.width,y:Ce};break;default:Ae={x:J.x,y:J.y}}switch((0,i.W6)(Y)){case"start":Ae[me]-=ye*(Z&&Ve?-1:1);break;case"end":Ae[me]+=ye*(Z&&Ve?-1:1);break}return Ae}const l=async(K,Y,Z)=>{const{placement:J="bottom",strategy:ee="absolute",middleware:re=[],platform:me}=Z,fe=re.filter(Boolean),le=await(me.isRTL==null?void 0:me.isRTL(Y));let Ve=await me.getElementRects({reference:K,floating:Y,strategy:ee}),{x:Ze,y:Ce}=a(Ve,J,le),ye=J,Ae={},Fe=0;for(let Qe=0;Qe<fe.length;Qe++){const{name:ce,fn:Ge}=fe[Qe],{x:Pe,y:pe,data:Se,reset:_e}=await Ge({x:Ze,y:Ce,initialPlacement:J,placement:ye,strategy:ee,middlewareData:Ae,rects:Ve,platform:me,elements:{reference:K,floating:Y}});if(Ze=Pe??Ze,Ce=pe??Ce,Ae={...Ae,[ce]:{...Ae[ce],...Se}},_e&&Fe<=50){Fe++,typeof _e=="object"&&(_e.placement&&(ye=_e.placement),_e.rects&&(Ve=_e.rects===!0?await me.getElementRects({reference:K,floating:Y,strategy:ee}):_e.rects),{x:Ze,y:Ce}=a(Ve,ye,le)),Qe=-1;continue}}return{x:Ze,y:Ce,placement:ye,strategy:ee,middlewareData:Ae}};async function c(K,Y){var Z;Y===void 0&&(Y={});const{x:J,y:ee,platform:re,rects:me,elements:fe,strategy:le}=K,{boundary:Ve="clippingAncestors",rootBoundary:Ze="viewport",elementContext:Ce="floating",altBoundary:ye=!1,padding:Ae=0}=(0,i.NV)(Y,K),Fe=(0,i.cZ)(Ae),ce=fe[ye?Ce==="floating"?"reference":"floating":Ce],Ge=(0,i.Ab)(await re.getClippingRect({element:(Z=await(re.isElement==null?void 0:re.isElement(ce)))==null||Z?ce:ce.contextElement||await(re.getDocumentElement==null?void 0:re.getDocumentElement(fe.floating)),boundary:Ve,rootBoundary:Ze,strategy:le})),Pe=Ce==="floating"?{...me.floating,x:J,y:ee}:me.reference,pe=await(re.getOffsetParent==null?void 0:re.getOffsetParent(fe.floating)),Se=await(re.isElement==null?void 0:re.isElement(pe))?await(re.getScale==null?void 0:re.getScale(pe))||{x:1,y:1}:{x:1,y:1},_e=(0,i.Ab)(re.convertOffsetParentRelativeRectToViewportRelativeRect?await re.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Pe,offsetParent:pe,strategy:le}):Pe);return{top:(Ge.top-_e.top+Fe.top)/Se.y,bottom:(_e.bottom-Ge.bottom+Fe.bottom)/Se.y,left:(Ge.left-_e.left+Fe.left)/Se.x,right:(_e.right-Ge.right+Fe.right)/Se.x}}const v=K=>({name:"arrow",options:K,async fn(Y){const{x:Z,y:J,placement:ee,rects:re,platform:me,elements:fe,middlewareData:le}=Y,{element:Ve,padding:Ze=0}=(0,i.NV)(K,Y)||{};if(Ve==null)return{};const Ce=(0,i.cZ)(Ze),ye={x:Z,y:J},Ae=(0,i.Al)(ee),Fe=(0,i.ig)(Ae),Qe=await me.getDimensions(Ve),ce=Ae==="y",Ge=ce?"top":"left",Pe=ce?"bottom":"right",pe=ce?"clientHeight":"clientWidth",Se=re.reference[Fe]+re.reference[Ae]-ye[Ae]-re.floating[Fe],_e=ye[Ae]-re.reference[Ae],Ne=await(me.getOffsetParent==null?void 0:me.getOffsetParent(Ve));let Le=Ne?Ne[pe]:0;(!Le||!await(me.isElement==null?void 0:me.isElement(Ne)))&&(Le=fe.floating[pe]||re.floating[Fe]);const Ke=Se/2-_e/2,bt=Le/2-Qe[Fe]/2-1,yt=(0,i.SY)(Ce[Ge],bt),It=(0,i.SY)(Ce[Pe],bt),_t=yt,zt=Le-Qe[Fe]-It,Vt=Le/2-Qe[Fe]/2+Ke,St=(0,i.qk)(_t,Vt,zt),Xt=!le.arrow&&(0,i.W6)(ee)!=null&&Vt!=St&&re.reference[Fe]/2-(Vt<_t?yt:It)-Qe[Fe]/2<0,jt=Xt?Vt<_t?Vt-_t:Vt-zt:0;return{[Ae]:ye[Ae]+jt,data:{[Ae]:St,centerOffset:Vt-St-jt,...Xt&&{alignmentOffset:jt}},reset:Xt}}});function _(K,Y,Z){return(K?[...Z.filter(ee=>getAlignment(ee)===K),...Z.filter(ee=>getAlignment(ee)!==K)]:Z.filter(ee=>getSide(ee)===ee)).filter(ee=>K?getAlignment(ee)===K||(Y?getOppositeAlignmentPlacement(ee)!==ee:!1):!0)}const T=function(K){return K===void 0&&(K={}),{name:"autoPlacement",options:K,async fn(Y){var Z,J,ee;const{rects:re,middlewareData:me,placement:fe,platform:le,elements:Ve}=Y,{crossAxis:Ze=!1,alignment:Ce,allowedPlacements:ye=placements,autoAlignment:Ae=!0,...Fe}=evaluate(K,Y),Qe=Ce!==void 0||ye===placements?_(Ce||null,Ae,ye):ye,ce=await c(Y,Fe),Ge=((Z=me.autoPlacement)==null?void 0:Z.index)||0,Pe=Qe[Ge];if(Pe==null)return{};const pe=getAlignmentSides(Pe,re,await(le.isRTL==null?void 0:le.isRTL(Ve.floating)));if(fe!==Pe)return{reset:{placement:Qe[0]}};const Se=[ce[getSide(Pe)],ce[pe[0]],ce[pe[1]]],_e=[...((J=me.autoPlacement)==null?void 0:J.overflows)||[],{placement:Pe,overflows:Se}],Ne=Qe[Ge+1];if(Ne)return{data:{index:Ge+1,overflows:_e},reset:{placement:Ne}};const Le=_e.map(yt=>{const It=getAlignment(yt.placement);return[yt.placement,It&&Ze?yt.overflows.slice(0,2).reduce((_t,zt)=>_t+zt,0):yt.overflows[0],yt.overflows]}).sort((yt,It)=>yt[1]-It[1]),bt=((ee=Le.filter(yt=>yt[2].slice(0,getAlignment(yt[0])?2:3).every(It=>It<=0))[0])==null?void 0:ee[0])||Le[0][0];return bt!==fe?{data:{index:Ge+1,overflows:_e},reset:{placement:bt}}:{}}}},A=function(K){return K===void 0&&(K={}),{name:"flip",options:K,async fn(Y){var Z,J;const{placement:ee,middlewareData:re,rects:me,initialPlacement:fe,platform:le,elements:Ve}=Y,{mainAxis:Ze=!0,crossAxis:Ce=!0,fallbackPlacements:ye,fallbackStrategy:Ae="bestFit",fallbackAxisSideDirection:Fe="none",flipAlignment:Qe=!0,...ce}=(0,i.NV)(K,Y);if((Z=re.arrow)!=null&&Z.alignmentOffset)return{};const Ge=(0,i.QL)(ee),Pe=(0,i.QL)(fe)===fe,pe=await(le.isRTL==null?void 0:le.isRTL(Ve.floating)),Se=ye||(Pe||!Qe?[(0,i.uC)(fe)]:(0,i.W_)(fe));!ye&&Fe!=="none"&&Se.push(...(0,i.c7)(fe,Qe,Fe,pe));const _e=[fe,...Se],Ne=await c(Y,ce),Le=[];let Ke=((J=re.flip)==null?void 0:J.overflows)||[];if(Ze&&Le.push(Ne[Ge]),Ce){const _t=(0,i.YN)(ee,me,pe);Le.push(Ne[_t[0]],Ne[_t[1]])}if(Ke=[...Ke,{placement:ee,overflows:Le}],!Le.every(_t=>_t<=0)){var bt,yt;const _t=(((bt=re.flip)==null?void 0:bt.index)||0)+1,zt=_e[_t];if(zt)return{data:{index:_t,overflows:Ke},reset:{placement:zt}};let Vt=(yt=Ke.filter(St=>St.overflows[0]<=0).sort((St,Xt)=>St.overflows[1]-Xt.overflows[1])[0])==null?void 0:yt.placement;if(!Vt)switch(Ae){case"bestFit":{var It;const St=(It=Ke.map(Xt=>[Xt.placement,Xt.overflows.filter(jt=>jt>0).reduce((jt,sn)=>jt+sn,0)]).sort((Xt,jt)=>Xt[1]-jt[1])[0])==null?void 0:It[0];St&&(Vt=St);break}case"initialPlacement":Vt=fe;break}if(ee!==Vt)return{reset:{placement:Vt}}}return{}}}};function R(K,Y){return{top:K.top-Y.height,right:K.right-Y.width,bottom:K.bottom-Y.height,left:K.left-Y.width}}function P(K){return i.E5.some(Y=>K[Y]>=0)}const M=function(K){return K===void 0&&(K={}),{name:"hide",options:K,async fn(Y){const{rects:Z}=Y,{strategy:J="referenceHidden",...ee}=(0,i.NV)(K,Y);switch(J){case"referenceHidden":{const re=await c(Y,{...ee,elementContext:"reference"}),me=R(re,Z.reference);return{data:{referenceHiddenOffsets:me,referenceHidden:P(me)}}}case"escaped":{const re=await c(Y,{...ee,altBoundary:!0}),me=R(re,Z.floating);return{data:{escapedOffsets:me,escaped:P(me)}}}default:return{}}}}};function O(K){const Y=min(...K.map(re=>re.left)),Z=min(...K.map(re=>re.top)),J=max(...K.map(re=>re.right)),ee=max(...K.map(re=>re.bottom));return{x:Y,y:Z,width:J-Y,height:ee-Z}}function N(K){const Y=K.slice().sort((ee,re)=>ee.y-re.y),Z=[];let J=null;for(let ee=0;ee<Y.length;ee++){const re=Y[ee];!J||re.y-J.y>J.height/2?Z.push([re]):Z[Z.length-1].push(re),J=re}return Z.map(ee=>rectToClientRect(O(ee)))}const B=function(K){return K===void 0&&(K={}),{name:"inline",options:K,async fn(Y){const{placement:Z,elements:J,rects:ee,platform:re,strategy:me}=Y,{padding:fe=2,x:le,y:Ve}=evaluate(K,Y),Ze=Array.from(await(re.getClientRects==null?void 0:re.getClientRects(J.reference))||[]),Ce=N(Ze),ye=rectToClientRect(O(Ze)),Ae=getPaddingObject(fe);function Fe(){if(Ce.length===2&&Ce[0].left>Ce[1].right&&le!=null&&Ve!=null)return Ce.find(ce=>le>ce.left-Ae.left&&le<ce.right+Ae.right&&Ve>ce.top-Ae.top&&Ve<ce.bottom+Ae.bottom)||ye;if(Ce.length>=2){if(getSideAxis(Z)==="y"){const yt=Ce[0],It=Ce[Ce.length-1],_t=getSide(Z)==="top",zt=yt.top,Vt=It.bottom,St=_t?yt.left:It.left,Xt=_t?yt.right:It.right,jt=Xt-St,sn=Vt-zt;return{top:zt,bottom:Vt,left:St,right:Xt,width:jt,height:sn,x:St,y:zt}}const ce=getSide(Z)==="left",Ge=max(...Ce.map(yt=>yt.right)),Pe=min(...Ce.map(yt=>yt.left)),pe=Ce.filter(yt=>ce?yt.left===Pe:yt.right===Ge),Se=pe[0].top,_e=pe[pe.length-1].bottom,Ne=Pe,Le=Ge,Ke=Le-Ne,bt=_e-Se;return{top:Se,bottom:_e,left:Ne,right:Le,width:Ke,height:bt,x:Ne,y:Se}}return ye}const Qe=await re.getElementRects({reference:{getBoundingClientRect:Fe},floating:J.floating,strategy:me});return ee.reference.x!==Qe.reference.x||ee.reference.y!==Qe.reference.y||ee.reference.width!==Qe.reference.width||ee.reference.height!==Qe.reference.height?{reset:{rects:Qe}}:{}}}};async function j(K,Y){const{placement:Z,platform:J,elements:ee}=K,re=await(J.isRTL==null?void 0:J.isRTL(ee.floating)),me=(0,i.QL)(Z),fe=(0,i.W6)(Z),le=(0,i.oR)(Z)==="y",Ve=["left","top"].includes(me)?-1:1,Ze=re&&le?-1:1,Ce=(0,i.NV)(Y,K);let{mainAxis:ye,crossAxis:Ae,alignmentAxis:Fe}=typeof Ce=="number"?{mainAxis:Ce,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...Ce};return fe&&typeof Fe=="number"&&(Ae=fe==="end"?Fe*-1:Fe),le?{x:Ae*Ze,y:ye*Ve}:{x:ye*Ve,y:Ae*Ze}}const z=function(K){return K===void 0&&(K=0),{name:"offset",options:K,async fn(Y){var Z,J;const{x:ee,y:re,placement:me,middlewareData:fe}=Y,le=await j(Y,K);return me===((Z=fe.offset)==null?void 0:Z.placement)&&(J=fe.arrow)!=null&&J.alignmentOffset?{}:{x:ee+le.x,y:re+le.y,data:{...le,placement:me}}}}},W=function(K){return K===void 0&&(K={}),{name:"shift",options:K,async fn(Y){const{x:Z,y:J,placement:ee}=Y,{mainAxis:re=!0,crossAxis:me=!1,limiter:fe={fn:ce=>{let{x:Ge,y:Pe}=ce;return{x:Ge,y:Pe}}},...le}=(0,i.NV)(K,Y),Ve={x:Z,y:J},Ze=await c(Y,le),Ce=(0,i.oR)((0,i.QL)(ee)),ye=(0,i.I7)(Ce);let Ae=Ve[ye],Fe=Ve[Ce];if(re){const ce=ye==="y"?"top":"left",Ge=ye==="y"?"bottom":"right",Pe=Ae+Ze[ce],pe=Ae-Ze[Ge];Ae=(0,i.qk)(Pe,Ae,pe)}if(me){const ce=Ce==="y"?"top":"left",Ge=Ce==="y"?"bottom":"right",Pe=Fe+Ze[ce],pe=Fe-Ze[Ge];Fe=(0,i.qk)(Pe,Fe,pe)}const Qe=fe.fn({...Y,[ye]:Ae,[Ce]:Fe});return{...Qe,data:{x:Qe.x-Z,y:Qe.y-J}}}}},X=function(K){return K===void 0&&(K={}),{options:K,fn(Y){const{x:Z,y:J,placement:ee,rects:re,middlewareData:me}=Y,{offset:fe=0,mainAxis:le=!0,crossAxis:Ve=!0}=(0,i.NV)(K,Y),Ze={x:Z,y:J},Ce=(0,i.oR)(ee),ye=(0,i.I7)(Ce);let Ae=Ze[ye],Fe=Ze[Ce];const Qe=(0,i.NV)(fe,Y),ce=typeof Qe=="number"?{mainAxis:Qe,crossAxis:0}:{mainAxis:0,crossAxis:0,...Qe};if(le){const pe=ye==="y"?"height":"width",Se=re.reference[ye]-re.floating[pe]+ce.mainAxis,_e=re.reference[ye]+re.reference[pe]-ce.mainAxis;Ae<Se?Ae=Se:Ae>_e&&(Ae=_e)}if(Ve){var Ge,Pe;const pe=ye==="y"?"width":"height",Se=["top","left"].includes((0,i.QL)(ee)),_e=re.reference[Ce]-re.floating[pe]+(Se&&((Ge=me.offset)==null?void 0:Ge[Ce])||0)+(Se?0:ce.crossAxis),Ne=re.reference[Ce]+re.reference[pe]+(Se?0:((Pe=me.offset)==null?void 0:Pe[Ce])||0)-(Se?ce.crossAxis:0);Fe<_e?Fe=_e:Fe>Ne&&(Fe=Ne)}return{[ye]:Ae,[Ce]:Fe}}}},Q=function(K){return K===void 0&&(K={}),{name:"size",options:K,async fn(Y){const{placement:Z,rects:J,platform:ee,elements:re}=Y,{apply:me=()=>{},...fe}=(0,i.NV)(K,Y),le=await c(Y,fe),Ve=(0,i.QL)(Z),Ze=(0,i.W6)(Z),Ce=(0,i.oR)(Z)==="y",{width:ye,height:Ae}=J.floating;let Fe,Qe;Ve==="top"||Ve==="bottom"?(Fe=Ve,Qe=Ze===(await(ee.isRTL==null?void 0:ee.isRTL(re.floating))?"start":"end")?"left":"right"):(Qe=Ve,Fe=Ze==="end"?"top":"bottom");const ce=Ae-le[Fe],Ge=ye-le[Qe],Pe=!Y.middlewareData.shift;let pe=ce,Se=Ge;if(Ce){const Ne=ye-le.left-le.right;Se=Ze||Pe?(0,i.SY)(Ge,Ne):Ne}else{const Ne=Ae-le.top-le.bottom;pe=Ze||Pe?(0,i.SY)(ce,Ne):Ne}if(Pe&&!Ze){const Ne=(0,i.kv)(le.left,0),Le=(0,i.kv)(le.right,0),Ke=(0,i.kv)(le.top,0),bt=(0,i.kv)(le.bottom,0);Ce?Se=ye-2*(Ne!==0||Le!==0?Ne+Le:(0,i.kv)(le.left,le.right)):pe=Ae-2*(Ke!==0||bt!==0?Ke+bt:(0,i.kv)(le.top,le.bottom))}await me({...Y,availableWidth:Se,availableHeight:pe});const _e=await ee.getDimensions(re.floating);return ye!==_e.width||Ae!==_e.height?{reset:{rects:!0}}:{}}}}},21496:(U,C,e)=>{"use strict";e.d(C,{CA:()=>Ce,EB:()=>ye,EJ:()=>Ge,Ml:()=>Pe,WS:()=>Fe,eC:()=>Ae,eo:()=>Qe,kN:()=>Ve});var i=e(76680),a=e(92548),l=e(23837);function c(pe){const Se=(0,l.EL)(pe);let _e=parseFloat(Se.width)||0,Ne=parseFloat(Se.height)||0;const Le=(0,l._e)(pe),Ke=Le?pe.offsetWidth:_e,bt=Le?pe.offsetHeight:Ne,yt=(0,i.kL)(_e)!==Ke||(0,i.kL)(Ne)!==bt;return yt&&(_e=Ke,Ne=bt),{width:_e,height:Ne,$:yt}}function v(pe){return(0,l.KI)(pe)?pe:pe.contextElement}function _(pe){const Se=v(pe);if(!(0,l._e)(Se))return(0,i.Cg)(1);const _e=Se.getBoundingClientRect(),{width:Ne,height:Le,$:Ke}=c(Se);let bt=(Ke?(0,i.kL)(_e.width):_e.width)/Ne,yt=(Ke?(0,i.kL)(_e.height):_e.height)/Le;return(!bt||!Number.isFinite(bt))&&(bt=1),(!yt||!Number.isFinite(yt))&&(yt=1),{x:bt,y:yt}}const T=(0,i.Cg)(0);function A(pe){const Se=(0,l.IT)(pe);return!(0,l.Gm)()||!Se.visualViewport?T:{x:Se.visualViewport.offsetLeft,y:Se.visualViewport.offsetTop}}function R(pe,Se,_e){return Se===void 0&&(Se=!1),!_e||Se&&_e!==(0,l.IT)(pe)?!1:Se}function P(pe,Se,_e,Ne){Se===void 0&&(Se=!1),_e===void 0&&(_e=!1);const Le=pe.getBoundingClientRect(),Ke=v(pe);let bt=(0,i.Cg)(1);Se&&(Ne?(0,l.KI)(Ne)&&(bt=_(Ne)):bt=_(pe));const yt=R(Ke,_e,Ne)?A(Ke):(0,i.Cg)(0);let It=(Le.left+yt.x)/bt.x,_t=(Le.top+yt.y)/bt.y,zt=Le.width/bt.x,Vt=Le.height/bt.y;if(Ke){const St=(0,l.IT)(Ke),Xt=Ne&&(0,l.KI)(Ne)?(0,l.IT)(Ne):Ne;let jt=St.frameElement;for(;jt&&Ne&&Xt!==St;){const sn=_(jt),dt=jt.getBoundingClientRect(),Ln=(0,l.EL)(jt),fn=dt.left+(jt.clientLeft+parseFloat(Ln.paddingLeft))*sn.x,cr=dt.top+(jt.clientTop+parseFloat(Ln.paddingTop))*sn.y;It*=sn.x,_t*=sn.y,zt*=sn.x,Vt*=sn.y,It+=fn,_t+=cr,jt=(0,l.IT)(jt).frameElement}}return(0,i.Ab)({width:zt,height:Vt,x:It,y:_t})}function M(pe){let{rect:Se,offsetParent:_e,strategy:Ne}=pe;const Le=(0,l._e)(_e),Ke=(0,l._m)(_e);if(_e===Ke)return Se;let bt={scrollLeft:0,scrollTop:0},yt=(0,i.Cg)(1);const It=(0,i.Cg)(0);if((Le||!Le&&Ne!=="fixed")&&(((0,l.GC)(_e)!=="body"||(0,l.wl)(Ke))&&(bt=(0,l.cp)(_e)),(0,l._e)(_e))){const _t=P(_e);yt=_(_e),It.x=_t.x+_e.clientLeft,It.y=_t.y+_e.clientTop}return{width:Se.width*yt.x,height:Se.height*yt.y,x:Se.x*yt.x-bt.scrollLeft*yt.x+It.x,y:Se.y*yt.y-bt.scrollTop*yt.y+It.y}}function O(pe){return Array.from(pe.getClientRects())}function N(pe){return P((0,l._m)(pe)).left+(0,l.cp)(pe).scrollLeft}function B(pe){const Se=(0,l._m)(pe),_e=(0,l.cp)(pe),Ne=pe.ownerDocument.body,Le=(0,i.kv)(Se.scrollWidth,Se.clientWidth,Ne.scrollWidth,Ne.clientWidth),Ke=(0,i.kv)(Se.scrollHeight,Se.clientHeight,Ne.scrollHeight,Ne.clientHeight);let bt=-_e.scrollLeft+N(pe);const yt=-_e.scrollTop;return(0,l.EL)(Ne).direction==="rtl"&&(bt+=(0,i.kv)(Se.clientWidth,Ne.clientWidth)-Le),{width:Le,height:Ke,x:bt,y:yt}}function j(pe,Se){const _e=(0,l.IT)(pe),Ne=(0,l._m)(pe),Le=_e.visualViewport;let Ke=Ne.clientWidth,bt=Ne.clientHeight,yt=0,It=0;if(Le){Ke=Le.width,bt=Le.height;const _t=(0,l.Gm)();(!_t||_t&&Se==="fixed")&&(yt=Le.offsetLeft,It=Le.offsetTop)}return{width:Ke,height:bt,x:yt,y:It}}function z(pe,Se){const _e=P(pe,!0,Se==="fixed"),Ne=_e.top+pe.clientTop,Le=_e.left+pe.clientLeft,Ke=(0,l._e)(pe)?_(pe):(0,i.Cg)(1),bt=pe.clientWidth*Ke.x,yt=pe.clientHeight*Ke.y,It=Le*Ke.x,_t=Ne*Ke.y;return{width:bt,height:yt,x:It,y:_t}}function W(pe,Se,_e){let Ne;if(Se==="viewport")Ne=j(pe,_e);else if(Se==="document")Ne=B((0,l._m)(pe));else if((0,l.KI)(Se))Ne=z(Se,_e);else{const Le=A(pe);Ne={...Se,x:Se.x-Le.x,y:Se.y-Le.y}}return(0,i.Ab)(Ne)}function X(pe,Se){const _e=(0,l.Kk)(pe);return _e===Se||!(0,l.KI)(_e)||(0,l.I3)(_e)?!1:(0,l.EL)(_e).position==="fixed"||X(_e,Se)}function Q(pe,Se){const _e=Se.get(pe);if(_e)return _e;let Ne=(0,l.MV)(pe,[],!1).filter(yt=>(0,l.KI)(yt)&&(0,l.GC)(yt)!=="body"),Le=null;const Ke=(0,l.EL)(pe).position==="fixed";let bt=Ke?(0,l.Kk)(pe):pe;for(;(0,l.KI)(bt)&&!(0,l.I3)(bt);){const yt=(0,l.EL)(bt),It=(0,l.s1)(bt);!It&&yt.position==="fixed"&&(Le=null),(Ke?!It&&!Le:!It&&yt.position==="static"&&!!Le&&["absolute","fixed"].includes(Le.position)||(0,l.wl)(bt)&&!It&&X(pe,bt))?Ne=Ne.filter(zt=>zt!==bt):Le=yt,bt=(0,l.Kk)(bt)}return Se.set(pe,Ne),Ne}function K(pe){let{element:Se,boundary:_e,rootBoundary:Ne,strategy:Le}=pe;const bt=[..._e==="clippingAncestors"?Q(Se,this._c):[].concat(_e),Ne],yt=bt[0],It=bt.reduce((_t,zt)=>{const Vt=W(Se,zt,Le);return _t.top=(0,i.kv)(Vt.top,_t.top),_t.right=(0,i.SY)(Vt.right,_t.right),_t.bottom=(0,i.SY)(Vt.bottom,_t.bottom),_t.left=(0,i.kv)(Vt.left,_t.left),_t},W(Se,yt,Le));return{width:It.right-It.left,height:It.bottom-It.top,x:It.left,y:It.top}}function Y(pe){const{width:Se,height:_e}=c(pe);return{width:Se,height:_e}}function Z(pe,Se,_e){const Ne=(0,l._e)(Se),Le=(0,l._m)(Se),Ke=_e==="fixed",bt=P(pe,!0,Ke,Se);let yt={scrollLeft:0,scrollTop:0};const It=(0,i.Cg)(0);if(Ne||!Ne&&!Ke)if(((0,l.GC)(Se)!=="body"||(0,l.wl)(Le))&&(yt=(0,l.cp)(Se)),Ne){const _t=P(Se,!0,Ke,Se);It.x=_t.x+Se.clientLeft,It.y=_t.y+Se.clientTop}else Le&&(It.x=N(Le));return{x:bt.left+yt.scrollLeft-It.x,y:bt.top+yt.scrollTop-It.y,width:bt.width,height:bt.height}}function J(pe,Se){return!(0,l._e)(pe)||(0,l.EL)(pe).position==="fixed"?null:Se?Se(pe):pe.offsetParent}function ee(pe,Se){const _e=(0,l.IT)(pe);if(!(0,l._e)(pe))return _e;let Ne=J(pe,Se);for(;Ne&&(0,l.ae)(Ne)&&(0,l.EL)(Ne).position==="static";)Ne=J(Ne,Se);return Ne&&((0,l.GC)(Ne)==="html"||(0,l.GC)(Ne)==="body"&&(0,l.EL)(Ne).position==="static"&&!(0,l.s1)(Ne))?_e:Ne||(0,l.ie)(pe)||_e}const re=async function(pe){let{reference:Se,floating:_e,strategy:Ne}=pe;const Le=this.getOffsetParent||ee,Ke=this.getDimensions;return{reference:Z(Se,await Le(_e),Ne),floating:{x:0,y:0,...await Ke(_e)}}};function me(pe){return(0,l.EL)(pe).direction==="rtl"}const fe={convertOffsetParentRelativeRectToViewportRelativeRect:M,getDocumentElement:l._m,getClippingRect:K,getOffsetParent:ee,getElementRects:re,getClientRects:O,getDimensions:Y,getScale:_,isElement:l.KI,isRTL:me};function le(pe,Se){let _e=null,Ne;const Le=(0,l._m)(pe);function Ke(){clearTimeout(Ne),_e&&_e.disconnect(),_e=null}function bt(yt,It){yt===void 0&&(yt=!1),It===void 0&&(It=1),Ke();const{left:_t,top:zt,width:Vt,height:St}=pe.getBoundingClientRect();if(yt||Se(),!Vt||!St)return;const Xt=(0,i.wx)(zt),jt=(0,i.wx)(Le.clientWidth-(_t+Vt)),sn=(0,i.wx)(Le.clientHeight-(zt+St)),dt=(0,i.wx)(_t),fn={rootMargin:-Xt+"px "+-jt+"px "+-sn+"px "+-dt+"px",threshold:(0,i.kv)(0,(0,i.SY)(1,It))||1};let cr=!0;function wr(Jn){const nn=Jn[0].intersectionRatio;if(nn!==It){if(!cr)return bt();nn?bt(!1,nn):Ne=setTimeout(()=>{bt(!1,1e-7)},100)}cr=!1}try{_e=new IntersectionObserver(wr,{...fn,root:Le.ownerDocument})}catch{_e=new IntersectionObserver(wr,fn)}_e.observe(pe)}return bt(!0),Ke}function Ve(pe,Se,_e,Ne){Ne===void 0&&(Ne={});const{ancestorScroll:Le=!0,ancestorResize:Ke=!0,elementResize:bt=typeof ResizeObserver=="function",layoutShift:yt=typeof IntersectionObserver=="function",animationFrame:It=!1}=Ne,_t=v(pe),zt=Le||Ke?[..._t?(0,l.MV)(_t):[],...(0,l.MV)(Se)]:[];zt.forEach(Ln=>{Le&&Ln.addEventListener("scroll",_e,{passive:!0}),Ke&&Ln.addEventListener("resize",_e)});const Vt=_t&&yt?le(_t,_e):null;let St=-1,Xt=null;bt&&(Xt=new ResizeObserver(Ln=>{let[fn]=Ln;fn&&fn.target===_t&&Xt&&(Xt.unobserve(Se),cancelAnimationFrame(St),St=requestAnimationFrame(()=>{Xt&&Xt.observe(Se)})),_e()}),_t&&!It&&Xt.observe(_t),Xt.observe(Se));let jt,sn=It?P(pe):null;It&&dt();function dt(){const Ln=P(pe);sn&&(Ln.x!==sn.x||Ln.y!==sn.y||Ln.width!==sn.width||Ln.height!==sn.height)&&_e(),sn=Ln,jt=requestAnimationFrame(dt)}return _e(),()=>{zt.forEach(Ln=>{Le&&Ln.removeEventListener("scroll",_e),Ke&&Ln.removeEventListener("resize",_e)}),Vt&&Vt(),Xt&&Xt.disconnect(),Xt=null,It&&cancelAnimationFrame(jt)}}const Ze=null,Ce=a.CA,ye=a.EB,Ae=a.eC,Fe=a.WS,Qe=a.eo,ce=null,Ge=a.EJ,Pe=(pe,Se,_e)=>{const Ne=new Map,Le={platform:fe,..._e},Ke={...Le.platform,_c:Ne};return(0,a.Ml)(pe,Se,{...Le,platform:Ke})}},23837:(U,C,e)=>{"use strict";e.d(C,{EL:()=>B,GC:()=>i,Gm:()=>O,I3:()=>N,IT:()=>a,KI:()=>v,Kk:()=>z,MV:()=>X,_e:()=>_,_m:()=>l,ae:()=>R,cp:()=>j,ie:()=>M,s1:()=>P,wl:()=>A});function i(Q){return c(Q)?(Q.nodeName||"").toLowerCase():"#document"}function a(Q){var K;return(Q==null||(K=Q.ownerDocument)==null?void 0:K.defaultView)||window}function l(Q){var K;return(K=(c(Q)?Q.ownerDocument:Q.document)||window.document)==null?void 0:K.documentElement}function c(Q){return Q instanceof Node||Q instanceof a(Q).Node}function v(Q){return Q instanceof Element||Q instanceof a(Q).Element}function _(Q){return Q instanceof HTMLElement||Q instanceof a(Q).HTMLElement}function T(Q){return typeof ShadowRoot>"u"?!1:Q instanceof ShadowRoot||Q instanceof a(Q).ShadowRoot}function A(Q){const{overflow:K,overflowX:Y,overflowY:Z,display:J}=B(Q);return/auto|scroll|overlay|hidden|clip/.test(K+Z+Y)&&!["inline","contents"].includes(J)}function R(Q){return["table","td","th"].includes(i(Q))}function P(Q){const K=O(),Y=B(Q);return Y.transform!=="none"||Y.perspective!=="none"||(Y.containerType?Y.containerType!=="normal":!1)||!K&&(Y.backdropFilter?Y.backdropFilter!=="none":!1)||!K&&(Y.filter?Y.filter!=="none":!1)||["transform","perspective","filter"].some(Z=>(Y.willChange||"").includes(Z))||["paint","layout","strict","content"].some(Z=>(Y.contain||"").includes(Z))}function M(Q){let K=z(Q);for(;_(K)&&!N(K);){if(P(K))return K;K=z(K)}return null}function O(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function N(Q){return["html","body","#document"].includes(i(Q))}function B(Q){return a(Q).getComputedStyle(Q)}function j(Q){return v(Q)?{scrollLeft:Q.scrollLeft,scrollTop:Q.scrollTop}:{scrollLeft:Q.pageXOffset,scrollTop:Q.pageYOffset}}function z(Q){if(i(Q)==="html")return Q;const K=Q.assignedSlot||Q.parentNode||T(Q)&&Q.host||l(Q);return T(K)?K.host:K}function W(Q){const K=z(Q);return N(K)?Q.ownerDocument?Q.ownerDocument.body:Q.body:_(K)&&A(K)?K:W(K)}function X(Q,K,Y){var Z;K===void 0&&(K=[]),Y===void 0&&(Y=!0);const J=W(Q),ee=J===((Z=Q.ownerDocument)==null?void 0:Z.body),re=a(J);return ee?K.concat(re,re.visualViewport||[],A(J)?J:[],re.frameElement&&Y?X(re.frameElement):[]):K.concat(J,X(J,[],Y))}},76680:(U,C,e)=>{"use strict";e.d(C,{Ab:()=>fe,Al:()=>X,Cg:()=>A,E5:()=>i,I7:()=>j,NV:()=>O,QL:()=>N,SY:()=>c,W6:()=>B,W_:()=>K,YN:()=>Q,c7:()=>J,cZ:()=>me,ig:()=>z,kL:()=>_,kv:()=>v,oR:()=>W,qk:()=>M,uC:()=>ee,wx:()=>T});const i=["top","right","bottom","left"],a=null,l=null,c=Math.min,v=Math.max,_=Math.round,T=Math.floor,A=le=>({x:le,y:le}),R={left:"right",right:"left",bottom:"top",top:"bottom"},P={start:"end",end:"start"};function M(le,Ve,Ze){return v(le,c(Ve,Ze))}function O(le,Ve){return typeof le=="function"?le(Ve):le}function N(le){return le.split("-")[0]}function B(le){return le.split("-")[1]}function j(le){return le==="x"?"y":"x"}function z(le){return le==="y"?"height":"width"}function W(le){return["top","bottom"].includes(N(le))?"y":"x"}function X(le){return j(W(le))}function Q(le,Ve,Ze){Ze===void 0&&(Ze=!1);const Ce=B(le),ye=X(le),Ae=z(ye);let Fe=ye==="x"?Ce===(Ze?"end":"start")?"right":"left":Ce==="start"?"bottom":"top";return Ve.reference[Ae]>Ve.floating[Ae]&&(Fe=ee(Fe)),[Fe,ee(Fe)]}function K(le){const Ve=ee(le);return[Y(le),Ve,Y(Ve)]}function Y(le){return le.replace(/start|end/g,Ve=>P[Ve])}function Z(le,Ve,Ze){const Ce=["left","right"],ye=["right","left"],Ae=["top","bottom"],Fe=["bottom","top"];switch(le){case"top":case"bottom":return Ze?Ve?ye:Ce:Ve?Ce:ye;case"left":case"right":return Ve?Ae:Fe;default:return[]}}function J(le,Ve,Ze,Ce){const ye=B(le);let Ae=Z(N(le),Ze==="start",Ce);return ye&&(Ae=Ae.map(Fe=>Fe+"-"+ye),Ve&&(Ae=Ae.concat(Ae.map(Y)))),Ae}function ee(le){return le.replace(/left|right|bottom|top/g,Ve=>R[Ve])}function re(le){return{top:0,right:0,bottom:0,left:0,...le}}function me(le){return typeof le!="number"?re(le):{top:le,right:le,bottom:le,left:le}}function fe(le){return{...le,top:le.y,left:le.x,right:le.x+le.width,bottom:le.y+le.height}}},13375:(U,C,e)=>{"use strict";e.d(C,{GM:()=>Ou,Gm:()=>Ce,SG:()=>Y,ae:()=>Ve,W:()=>B,kV:()=>Le,Mf:()=>Ne,s7:()=>Pt,_M:()=>Tt,GO:()=>Ze,Mn:()=>ce,s5:()=>nn,KS:()=>Sn,UN:()=>J});function i(ke,Ie){if(Ie.has(ke))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(ke,Ie,Wt){i(ke,Ie),Ie.set(ke,Wt)}function l(ke,Ie){return ke-Ie*Math.floor(ke/Ie)}function c(ke){return ke.era?new In(ke.calendar,ke.era,ke.year,ke.month,ke.day):new In(ke.calendar,ke.year,ke.month,ke.day)}function v(ke){return ke.era?new ci(ke.calendar,ke.era,ke.year,ke.month,ke.day,ke.hour,ke.minute,ke.second,ke.millisecond):new ci(ke.calendar,ke.year,ke.month,ke.day,ke.hour,ke.minute,ke.second)}const _=1721426;function T(ke,Ie,Wt,Nn){Ie=R(ke,Ie);let ei=Ie-1,bi=-2;return Wt<=2?bi=0:A(Ie)&&(bi=-1),_-1+365*ei+Math.floor(ei/4)-Math.floor(ei/100)+Math.floor(ei/400)+Math.floor((367*Wt-362)/12+bi+Nn)}function A(ke){return ke%4===0&&(ke%100!==0||ke%400===0)}function R(ke,Ie){return ke==="BC"?1-Ie:Ie}function P(ke){let Ie="AD";return ke<=0&&(Ie="BC",ke=1-ke),[Ie,ke]}const M={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class O{fromJulianDay(Ie){let Wt=Ie,Nn=Wt-_,ei=Math.floor(Nn/146097),bi=l(Nn,146097),Cs=Math.floor(bi/36524),Bs=l(bi,36524),Xs=Math.floor(Bs/1461),_a=l(Bs,1461),ga=Math.floor(_a/365),Vs=ei*400+Cs*100+Xs*4+ga+(Cs!==4&&ga!==4?1:0),[Va,io]=P(Vs),ya=Wt-T(Va,io,1,1),oo=2;Wt<T(Va,io,3,1)?oo=0:A(io)&&(oo=1);let ka=Math.floor(((ya+oo)*12+373)/367),Su=Wt-T(Va,io,ka,1)+1;return new In(Va,io,ka,Su)}toJulianDay(Ie){return T(Ie.era,Ie.year,Ie.month,Ie.day)}getDaysInMonth(Ie){return M[A(Ie.year)?"leapyear":"standard"][Ie.month-1]}getMonthsInYear(Ie){return 12}getDaysInYear(Ie){return A(Ie.year)?366:365}getYearsInEra(Ie){return 9999}getEras(){return["BC","AD"]}isInverseEra(Ie){return Ie.era==="BC"}balanceDate(Ie){Ie.year<=0&&(Ie.era=Ie.era==="BC"?"AD":"BC",Ie.year=1-Ie.year)}constructor(){this.identifier="gregory"}}const N={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function B(ke,Ie){return Ie=er(Ie,ke.calendar),ke.era===Ie.era&&ke.year===Ie.year&&ke.month===Ie.month&&ke.day===Ie.day}function j(ke,Ie){return Ie=er(Ie,ke.calendar),ke=Ze(ke),Ie=Ze(Ie),ke.era===Ie.era&&ke.year===Ie.year&&ke.month===Ie.month}function z(ke,Ie){return Ie=er(Ie,ke.calendar),ke=ye(ke),Ie=ye(Ie),ke.era===Ie.era&&ke.year===Ie.year}function W(ke,Ie){return ke.calendar.identifier===Ie.calendar.identifier&&ke.era===Ie.era&&ke.year===Ie.year&&ke.month===Ie.month&&ke.day===Ie.day}function X(ke,Ie){return ke=Ze(ke),Ie=Ze(Ie),ke.calendar.identifier===Ie.calendar.identifier&&ke.era===Ie.era&&ke.year===Ie.year&&ke.month===Ie.month}function Q(ke,Ie){return ke=ye(ke),Ie=ye(Ie),ke.calendar.identifier===Ie.calendar.identifier&&ke.era===Ie.era&&ke.year===Ie.year}function K(ke,Ie){return B(ke,J(Ie))}function Y(ke,Ie){let Wt=ke.calendar.toJulianDay(ke),Nn=Math.ceil(Wt+1-Se(Ie))%7;return Nn<0&&(Nn+=7),Nn}function Z(ke){return cr(Date.now(),ke)}function J(ke){return nn(Z(ke))}function ee(ke,Ie){return ke.calendar.toJulianDay(ke)-Ie.calendar.toJulianDay(Ie)}function re(ke,Ie){return me(ke)-me(Ie)}function me(ke){return ke.hour*36e5+ke.minute*6e4+ke.second*1e3+ke.millisecond}function fe(ke,Ie){let Wt=Ln(ke,Ie),Nn=ke.add({days:1});return(Ln(Nn,Ie)-Wt)/36e5}let le=null;function Ve(){return le==null&&(le=new Intl.DateTimeFormat().resolvedOptions().timeZone),le}function Ze(ke){return ke.subtract({days:ke.day-1})}function Ce(ke){return ke.add({days:ke.calendar.getDaysInMonth(ke)-ke.day})}function ye(ke){return Ze(ke.subtract({months:ke.month-1}))}function Ae(ke){return Ce(ke.add({months:ke.calendar.getMonthsInYear(ke)-ke.month}))}function Fe(ke){return ke.calendar.getMinimumMonthInYear?ke.calendar.getMinimumMonthInYear(ke):1}function Qe(ke){return ke.calendar.getMinimumDayInMonth?ke.calendar.getMinimumDayInMonth(ke):1}function ce(ke,Ie){let Wt=Y(ke,Ie);return ke.subtract({days:Wt})}function Ge(ke,Ie){return ce(ke,Ie).add({days:6})}const Pe=new Map;function pe(ke){if(Intl.Locale){let Wt=Pe.get(ke);return Wt||(Wt=new Intl.Locale(ke).maximize().region,Wt&&Pe.set(ke,Wt)),Wt}let Ie=ke.split("-")[1];return Ie==="u"?void 0:Ie}function Se(ke){let Ie=pe(ke);return Ie&&N[Ie]||0}function _e(ke,Ie){let Wt=ke.calendar.getDaysInMonth(ke);return Math.ceil((Y(Ze(ke),Ie)+Wt)/7)}function Ne(ke,Ie){return ke&&Ie?ke.compare(Ie)<=0?ke:Ie:ke||Ie}function Le(ke,Ie){return ke&&Ie?ke.compare(Ie)>=0?ke:Ie:ke||Ie}const Ke={AF:[4,5],AE:[5,6],BH:[5,6],DZ:[5,6],EG:[5,6],IL:[5,6],IQ:[5,6],IR:[5,5],JO:[5,6],KW:[5,6],LY:[5,6],OM:[5,6],QA:[5,6],SA:[5,6],SD:[5,6],SY:[5,6],YE:[5,6]};function bt(ke,Ie){let Wt=ke.calendar.toJulianDay(ke),Nn=Math.ceil(Wt+1)%7;Nn<0&&(Nn+=7);let ei=pe(Ie),[bi,Cs]=Ke[ei]||[6,0];return Nn===bi||Nn===Cs}function yt(ke,Ie){return!bt(ke,Ie)}function It(ke){ke=er(ke,new O);let Ie=R(ke.era,ke.year);return _t(Ie,ke.month,ke.day,ke.hour,ke.minute,ke.second,ke.millisecond)}function _t(ke,Ie,Wt,Nn,ei,bi,Cs){let Bs=new Date;return Bs.setUTCHours(Nn,ei,bi,Cs),Bs.setUTCFullYear(ke,Ie-1,Wt),Bs.getTime()}function zt(ke,Ie){if(Ie==="UTC")return 0;if(ke>0&&Ie===Ve())return new Date(ke).getTimezoneOffset()*-6e4;let{year:Wt,month:Nn,day:ei,hour:bi,minute:Cs,second:Bs}=St(ke,Ie);return _t(Wt,Nn,ei,bi,Cs,Bs,0)-Math.floor(ke/1e3)*1e3}const Vt=new Map;function St(ke,Ie){let Wt=Vt.get(Ie);Wt||(Wt=new Intl.DateTimeFormat("en-US",{timeZone:Ie,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Vt.set(Ie,Wt));let Nn=Wt.formatToParts(new Date(ke)),ei={};for(let bi of Nn)bi.type!=="literal"&&(ei[bi.type]=bi.value);return{year:ei.era==="BC"||ei.era==="B"?-ei.year+1:+ei.year,month:+ei.month,day:+ei.day,hour:ei.hour==="24"?0:+ei.hour,minute:+ei.minute,second:+ei.second}}const Xt=864e5;function jt(ke,Ie){let Wt=It(ke),Nn=Wt-zt(Wt-Xt,Ie),ei=Wt-zt(Wt+Xt,Ie);return sn(ke,Ie,Nn,ei)}function sn(ke,Ie,Wt,Nn){return(Wt===Nn?[Wt]:[Wt,Nn]).filter(bi=>dt(ke,Ie,bi))}function dt(ke,Ie,Wt){let Nn=St(Wt,Ie);return ke.year===Nn.year&&ke.month===Nn.month&&ke.day===Nn.day&&ke.hour===Nn.hour&&ke.minute===Nn.minute&&ke.second===Nn.second}function Ln(ke,Ie,Wt="compatible"){let Nn=Sn(ke);if(Ie==="UTC")return It(Nn);if(Ie===Ve()&&Wt==="compatible"){Nn=er(Nn,new O);let Xs=new Date,_a=R(Nn.era,Nn.year);return Xs.setFullYear(_a,Nn.month-1,Nn.day),Xs.setHours(Nn.hour,Nn.minute,Nn.second,Nn.millisecond),Xs.getTime()}let ei=It(Nn),bi=zt(ei-Xt,Ie),Cs=zt(ei+Xt,Ie),Bs=sn(Nn,Ie,ei-bi,ei-Cs);if(Bs.length===1)return Bs[0];if(Bs.length>1)switch(Wt){case"compatible":case"earlier":return Bs[0];case"later":return Bs[Bs.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(Wt){case"earlier":return Math.min(ei-bi,ei-Cs);case"compatible":case"later":return Math.max(ei-bi,ei-Cs);case"reject":throw new RangeError("No such absolute time found")}}function fn(ke,Ie,Wt="compatible"){return new Date(Ln(ke,Ie,Wt))}function cr(ke,Ie){let Wt=zt(ke,Ie),Nn=new Date(ke+Wt),ei=Nn.getUTCFullYear(),bi=Nn.getUTCMonth()+1,Cs=Nn.getUTCDate(),Bs=Nn.getUTCHours(),Xs=Nn.getUTCMinutes(),_a=Nn.getUTCSeconds(),ga=Nn.getUTCMilliseconds();return new un(ei,bi,Cs,Ie,Wt,Bs,Xs,_a,ga)}function wr(ke,Ie){return cr(ke.getTime(),Ie)}function Jn(ke){return wr(ke,Ve())}function nn(ke){return new In(ke.calendar,ke.era,ke.year,ke.month,ke.day)}function or(ke){return{era:ke.era,year:ke.year,month:ke.month,day:ke.day}}function bn(ke){return{hour:ke.hour,minute:ke.minute,second:ke.second,millisecond:ke.millisecond}}function Sn(ke,Ie){let Wt=0,Nn=0,ei=0,bi=0;if("timeZone"in ke)({hour:Wt,minute:Nn,second:ei,millisecond:bi}=ke);else if("hour"in ke&&!Ie)return ke;return Ie&&({hour:Wt,minute:Nn,second:ei,millisecond:bi}=Ie),new ci(ke.calendar,ke.era,ke.year,ke.month,ke.day,Wt,Nn,ei,bi)}function Hn(ke){return new Rr(ke.hour,ke.minute,ke.second,ke.millisecond)}function er(ke,Ie){if(ke.calendar.identifier===Ie.identifier)return ke;let Wt=Ie.fromJulianDay(ke.calendar.toJulianDay(ke)),Nn=ke.copy();return Nn.calendar=Ie,Nn.era=Wt.era,Nn.year=Wt.year,Nn.month=Wt.month,Nn.day=Wt.day,Nt(Nn),Nn}function an(ke,Ie,Wt){if(ke instanceof un)return ke.timeZone===Ie?ke:de(ke,Ie);let Nn=Ln(ke,Ie,Wt);return cr(Nn,Ie)}function Cn(ke){let Ie=It(ke)-ke.offset;return new Date(Ie)}function de(ke,Ie){let Wt=It(ke)-ke.offset;return er(cr(Wt,Ie),ke.calendar)}function oe(ke){return de(ke,Ve())}const Ye=36e5;function Et(ke,Ie){let Wt=ke.copy(),Nn="hour"in Wt?gr(Wt,Ie):0;xe(Wt,Ie.years||0),Wt.calendar.balanceYearMonth&&Wt.calendar.balanceYearMonth(Wt,ke),Wt.month+=Ie.months||0,Re(Wt),gt(Wt),Wt.day+=(Ie.weeks||0)*7,Wt.day+=Ie.days||0,Wt.day+=Nn,We(Wt),Wt.calendar.balanceDate&&Wt.calendar.balanceDate(Wt),Wt.year<1&&(Wt.year=1,Wt.month=1,Wt.day=1);let ei=Wt.calendar.getYearsInEra(Wt);if(Wt.year>ei){var bi,Cs;let Xs=(bi=(Cs=Wt.calendar).isInverseEra)===null||bi===void 0?void 0:bi.call(Cs,Wt);Wt.year=ei,Wt.month=Xs?1:Wt.calendar.getMonthsInYear(Wt),Wt.day=Xs?1:Wt.calendar.getDaysInMonth(Wt)}Wt.month<1&&(Wt.month=1,Wt.day=1);let Bs=Wt.calendar.getMonthsInYear(Wt);return Wt.month>Bs&&(Wt.month=Bs,Wt.day=Wt.calendar.getDaysInMonth(Wt)),Wt.day=Math.max(1,Math.min(Wt.calendar.getDaysInMonth(Wt),Wt.day)),Wt}function xe(ke,Ie){var Wt,Nn;!((Wt=(Nn=ke.calendar).isInverseEra)===null||Wt===void 0)&&Wt.call(Nn,ke)&&(Ie=-Ie),ke.year+=Ie}function Re(ke){for(;ke.month<1;)xe(ke,-1),ke.month+=ke.calendar.getMonthsInYear(ke);let Ie=0;for(;ke.month>(Ie=ke.calendar.getMonthsInYear(ke));)ke.month-=Ie,xe(ke,1)}function We(ke){for(;ke.day<1;)ke.month--,Re(ke),ke.day+=ke.calendar.getDaysInMonth(ke);for(;ke.day>ke.calendar.getDaysInMonth(ke);)ke.day-=ke.calendar.getDaysInMonth(ke),ke.month++,Re(ke)}function gt(ke){ke.month=Math.max(1,Math.min(ke.calendar.getMonthsInYear(ke),ke.month)),ke.day=Math.max(1,Math.min(ke.calendar.getDaysInMonth(ke),ke.day))}function Nt(ke){ke.calendar.constrainDate&&ke.calendar.constrainDate(ke),ke.year=Math.max(1,Math.min(ke.calendar.getYearsInEra(ke),ke.year)),gt(ke)}function Ct(ke){let Ie={};for(let Wt in ke)typeof ke[Wt]=="number"&&(Ie[Wt]=-ke[Wt]);return Ie}function tn(ke,Ie){return Et(ke,Ct(Ie))}function ge(ke,Ie){let Wt=ke.copy();return Ie.era!=null&&(Wt.era=Ie.era),Ie.year!=null&&(Wt.year=Ie.year),Ie.month!=null&&(Wt.month=Ie.month),Ie.day!=null&&(Wt.day=Ie.day),Nt(Wt),Wt}function At(ke,Ie){let Wt=ke.copy();return Ie.hour!=null&&(Wt.hour=Ie.hour),Ie.minute!=null&&(Wt.minute=Ie.minute),Ie.second!=null&&(Wt.second=Ie.second),Ie.millisecond!=null&&(Wt.millisecond=Ie.millisecond),xn(Wt),Wt}function mn(ke){ke.second+=Math.floor(ke.millisecond/1e3),ke.millisecond=Un(ke.millisecond,1e3),ke.minute+=Math.floor(ke.second/60),ke.second=Un(ke.second,60),ke.hour+=Math.floor(ke.minute/60),ke.minute=Un(ke.minute,60);let Ie=Math.floor(ke.hour/24);return ke.hour=Un(ke.hour,24),Ie}function xn(ke){ke.millisecond=Math.max(0,Math.min(ke.millisecond,1e3)),ke.second=Math.max(0,Math.min(ke.second,59)),ke.minute=Math.max(0,Math.min(ke.minute,59)),ke.hour=Math.max(0,Math.min(ke.hour,23))}function Un(ke,Ie){let Wt=ke%Ie;return Wt<0&&(Wt+=Ie),Wt}function gr(ke,Ie){return ke.hour+=Ie.hours||0,ke.minute+=Ie.minutes||0,ke.second+=Ie.seconds||0,ke.millisecond+=Ie.milliseconds||0,mn(ke)}function Ur(ke,Ie){let Wt=ke.copy();return gr(Wt,Ie),Wt}function Or(ke,Ie){return Ur(ke,Ct(Ie))}function ii(ke,Ie,Wt,Nn){let ei=ke.copy();switch(Ie){case"era":{let Bs=ke.calendar.getEras(),Xs=Bs.indexOf(ke.era);if(Xs<0)throw new Error("Invalid era: "+ke.era);Xs=rn(Xs,Wt,0,Bs.length-1,Nn?.round),ei.era=Bs[Xs],Nt(ei);break}case"year":var bi,Cs;!((bi=(Cs=ei.calendar).isInverseEra)===null||bi===void 0)&&bi.call(Cs,ei)&&(Wt=-Wt),ei.year=rn(ke.year,Wt,-1/0,9999,Nn?.round),ei.year===-1/0&&(ei.year=1),ei.calendar.balanceYearMonth&&ei.calendar.balanceYearMonth(ei,ke);break;case"month":ei.month=rn(ke.month,Wt,1,ke.calendar.getMonthsInYear(ke),Nn?.round);break;case"day":ei.day=rn(ke.day,Wt,1,ke.calendar.getDaysInMonth(ke),Nn?.round);break;default:throw new Error("Unsupported field "+Ie)}return ke.calendar.balanceDate&&ke.calendar.balanceDate(ei),Nt(ei),ei}function Ui(ke,Ie,Wt,Nn){let ei=ke.copy();switch(Ie){case"hour":{let bi=ke.hour,Cs=0,Bs=23;if(Nn?.hourCycle===12){let Xs=bi>=12;Cs=Xs?12:0,Bs=Xs?23:11}ei.hour=rn(bi,Wt,Cs,Bs,Nn?.round);break}case"minute":ei.minute=rn(ke.minute,Wt,0,59,Nn?.round);break;case"second":ei.second=rn(ke.second,Wt,0,59,Nn?.round);break;case"millisecond":ei.millisecond=rn(ke.millisecond,Wt,0,999,Nn?.round);break;default:throw new Error("Unsupported field "+Ie)}return ei}function rn(ke,Ie,Wt,Nn,ei=!1){if(ei){ke+=Math.sign(Ie),ke<Wt&&(ke=Nn);let bi=Math.abs(Ie);Ie>0?ke=Math.ceil(ke/bi)*bi:ke=Math.floor(ke/bi)*bi,ke>Nn&&(ke=Wt)}else ke+=Ie,ke<Wt?ke=Nn-(Wt-ke-1):ke>Nn&&(ke=Wt+(ke-Nn-1));return ke}function $n(ke,Ie){let Wt;if(Ie.years!=null&&Ie.years!==0||Ie.months!=null&&Ie.months!==0||Ie.weeks!=null&&Ie.weeks!==0||Ie.days!=null&&Ie.days!==0){let ei=Et(Sn(ke),{years:Ie.years,months:Ie.months,weeks:Ie.weeks,days:Ie.days});Wt=Ln(ei,ke.timeZone)}else Wt=It(ke)-ke.offset;Wt+=Ie.milliseconds||0,Wt+=(Ie.seconds||0)*1e3,Wt+=(Ie.minutes||0)*6e4,Wt+=(Ie.hours||0)*36e5;let Nn=cr(Wt,ke.timeZone);return er(Nn,ke.calendar)}function yi(ke,Ie){return $n(ke,Ct(Ie))}function Jr(ke,Ie,Wt,Nn){switch(Ie){case"hour":{let ei=0,bi=23;if(Nn?.hourCycle===12){let ya=ke.hour>=12;ei=ya?12:0,bi=ya?23:11}let Cs=Sn(ke),Bs=er(At(Cs,{hour:ei}),new O),Xs=[Ln(Bs,ke.timeZone,"earlier"),Ln(Bs,ke.timeZone,"later")].filter(ya=>cr(ya,ke.timeZone).day===Bs.day)[0],_a=er(At(Cs,{hour:bi}),new O),ga=[Ln(_a,ke.timeZone,"earlier"),Ln(_a,ke.timeZone,"later")].filter(ya=>cr(ya,ke.timeZone).day===_a.day).pop(),Vs=It(ke)-ke.offset,Va=Math.floor(Vs/Ye),io=Vs%Ye;return Vs=rn(Va,Wt,Math.floor(Xs/Ye),Math.floor(ga/Ye),Nn?.round)*Ye+io,er(cr(Vs,ke.timeZone),ke.calendar)}case"minute":case"second":case"millisecond":return Ui(ke,Ie,Wt,Nn);case"era":case"year":case"month":case"day":{let ei=ii(Sn(ke),Ie,Wt,Nn),bi=Ln(ei,ke.timeZone);return er(cr(bi,ke.timeZone),ke.calendar)}default:throw new Error("Unsupported field "+Ie)}}function cn(ke,Ie,Wt){let Nn=Sn(ke),ei=At(ge(Nn,Ie),Ie);if(ei.compare(Nn)===0)return ke;let bi=Ln(ei,ke.timeZone,Wt);return er(cr(bi,ke.timeZone),ke.calendar)}const mt=/^(\d{2})(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,we=/^(\d{4})-(\d{2})-(\d{2})$/,je=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?$/,pt=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:([+-]\d{2})(?::?(\d{2}))?)?\[(.*?)\]$/,at=/^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/,kt=/^((?<negative>-)|\+)?P((?<years>\d*)Y)?((?<months>\d*)M)?((?<weeks>\d*)W)?((?<days>\d*)D)?((?<time>T)((?<hours>\d*[.,]?\d{1,9})H)?((?<minutes>\d*[.,]?\d{1,9})M)?((?<seconds>\d*[.,]?\d{1,9})S)?)?$/,vn=["hours","minutes","seconds"],Wn=["years","months","weeks","days",...vn];function nr(ke){let Ie=ke.match(mt);if(!Ie)throw new Error("Invalid ISO 8601 time string: "+ke);return new Rr(An(Ie[1],0,23),Ie[2]?An(Ie[2],0,59):0,Ie[3]?An(Ie[3],0,59):0,Ie[4]?An(Ie[4],0,1/0)*1e3:0)}function rr(ke){let Ie=ke.match(we);if(!Ie)throw new Error("Invalid ISO 8601 date string: "+ke);let Wt=new In(An(Ie[1],0,9999),An(Ie[2],1,12),1);return Wt.day=An(Ie[3],0,Wt.calendar.getDaysInMonth(Wt)),Wt}function Ot(ke){let Ie=ke.match(je);if(!Ie)throw new Error("Invalid ISO 8601 date time string: "+ke);let Wt=new ci(An(Ie[1],1,9999),An(Ie[2],1,12),1,Ie[4]?An(Ie[4],0,23):0,Ie[5]?An(Ie[5],0,59):0,Ie[6]?An(Ie[6],0,59):0,Ie[7]?An(Ie[7],0,1/0)*1e3:0);return Wt.day=An(Ie[3],0,Wt.calendar.getDaysInMonth(Wt)),Wt}function Gt(ke,Ie){let Wt=ke.match(pt);if(!Wt)throw new Error("Invalid ISO 8601 date time string: "+ke);let Nn=new un(An(Wt[1],1,9999),An(Wt[2],1,12),1,Wt[10],0,Wt[4]?An(Wt[4],0,23):0,Wt[5]?An(Wt[5],0,59):0,Wt[6]?An(Wt[6],0,59):0,Wt[7]?An(Wt[7],0,1/0)*1e3:0);Nn.day=An(Wt[3],0,Nn.calendar.getDaysInMonth(Nn));let ei=Sn(Nn),bi;if(Wt[8]){var Cs;if(Nn.offset=An(Wt[8],-23,23)*36e5+An((Cs=Wt[9])!==null&&Cs!==void 0?Cs:"0",0,59)*6e4,bi=It(Nn)-Nn.offset,!jt(ei,Nn.timeZone).includes(bi))throw new Error(`Offset ${Yt(Nn.offset)} is invalid for ${$e(Nn)} in ${Nn.timeZone}`)}else bi=Ln(Sn(ei),Nn.timeZone,Ie);return cr(bi,Nn.timeZone)}function Pt(ke,Ie){let Wt=ke.match(at);if(!Wt)throw new Error("Invalid ISO 8601 date time string: "+ke);let Nn=new un(An(Wt[1],1,9999),An(Wt[2],1,12),1,Ie,0,Wt[4]?An(Wt[4],0,23):0,Wt[5]?An(Wt[5],0,59):0,Wt[6]?An(Wt[6],0,59):0,Wt[7]?An(Wt[7],0,1/0)*1e3:0);Nn.day=An(Wt[3],0,Nn.calendar.getDaysInMonth(Nn));var ei;return Wt[8]&&(Nn.offset=An(Wt[8],-23,23)*36e5+An((ei=Wt[9])!==null&&ei!==void 0?ei:"0",0,59)*6e4),de(Nn,Ie)}function Tt(ke){return Pt(ke,Ve())}function An(ke,Ie,Wt){let Nn=Number(ke);if(Nn<Ie||Nn>Wt)throw new RangeError(`Value out of range: ${Ie} <= ${Nn} <= ${Wt}`);return Nn}function on(ke){return`${String(ke.hour).padStart(2,"0")}:${String(ke.minute).padStart(2,"0")}:${String(ke.second).padStart(2,"0")}${ke.millisecond?String(ke.millisecond/1e3).slice(1):""}`}function dn(ke){let Ie=er(ke,new O);return`${String(Ie.year).padStart(4,"0")}-${String(Ie.month).padStart(2,"0")}-${String(Ie.day).padStart(2,"0")}`}function $e(ke){return`${dn(ke)}T${on(ke)}`}function Yt(ke){let Ie=Math.sign(ke)<0?"-":"+";ke=Math.abs(ke);let Wt=Math.floor(ke/36e5),Nn=ke%36e5/6e4;return`${Ie}${String(Wt).padStart(2,"0")}:${String(Nn).padStart(2,"0")}`}function $t(ke){return`${$e(ke)}${Yt(ke.offset)}[${ke.timeZone}]`}function Jt(ke){var Ie,Wt,Nn,ei,bi,Cs,Bs,Xs,_a;const ga=ke.match(kt);if(!ga)throw new Error(`Invalid ISO 8601 Duration string: ${ke}`);const Vs=(ka,Su,Ru,Ko)=>{if(!ka)return 0;try{return(Su?-1:1)*An(ka.replace(",","."),Ru,Ko)}catch{throw new Error(`Invalid ISO 8601 Duration string: ${ke}`)}},Va=!!(!((Ie=ga.groups)===null||Ie===void 0)&&Ie.negative);if(!Wn.some(ka=>{var Su;return(Su=ga.groups)===null||Su===void 0?void 0:Su[ka]}))throw new Error(`Invalid ISO 8601 Duration string: ${ke}`);if(((Wt=ga.groups)===null||Wt===void 0?void 0:Wt.time)&&!vn.some(Su=>{var Ru;return(Ru=ga.groups)===null||Ru===void 0?void 0:Ru[Su]}))throw new Error(`Invalid ISO 8601 Duration string: ${ke}`);const oo={years:Vs((Nn=ga.groups)===null||Nn===void 0?void 0:Nn.years,Va,0,9999),months:Vs((ei=ga.groups)===null||ei===void 0?void 0:ei.months,Va,0,12),weeks:Vs((bi=ga.groups)===null||bi===void 0?void 0:bi.weeks,Va,0,1/0),days:Vs((Cs=ga.groups)===null||Cs===void 0?void 0:Cs.days,Va,0,31),hours:Vs((Bs=ga.groups)===null||Bs===void 0?void 0:Bs.hours,Va,0,23),minutes:Vs((Xs=ga.groups)===null||Xs===void 0?void 0:Xs.minutes,Va,0,59),seconds:Vs((_a=ga.groups)===null||_a===void 0?void 0:_a.seconds,Va,0,59)};if(oo.hours!==void 0&&oo.hours%1!==0&&(oo.minutes||oo.seconds))throw new Error(`Invalid ISO 8601 Duration string: ${ke} - only the smallest unit can be fractional`);if(oo.minutes!==void 0&&oo.minutes%1!==0&&oo.seconds)throw new Error(`Invalid ISO 8601 Duration string: ${ke} - only the smallest unit can be fractional`);return oo}function Lt(ke){let Ie=typeof ke[0]=="object"?ke.shift():new O,Wt;if(typeof ke[0]=="string")Wt=ke.shift();else{let Cs=Ie.getEras();Wt=Cs[Cs.length-1]}let Nn=ke.shift(),ei=ke.shift(),bi=ke.shift();return[Ie,Wt,Nn,ei,bi]}var yn=new WeakMap;class In{copy(){return this.era?new In(this.calendar,this.era,this.year,this.month,this.day):new In(this.calendar,this.year,this.month,this.day)}add(Ie){return Et(this,Ie)}subtract(Ie){return tn(this,Ie)}set(Ie){return ge(this,Ie)}cycle(Ie,Wt,Nn){return ii(this,Ie,Wt,Nn)}toDate(Ie){return fn(this,Ie)}toString(){return dn(this)}compare(Ie){return ee(this,Ie)}constructor(...Ie){a(this,yn,{writable:!0,value:void 0});let[Wt,Nn,ei,bi,Cs]=Lt(Ie);this.calendar=Wt,this.era=Nn,this.year=ei,this.month=bi,this.day=Cs,Nt(this)}}var yr=new WeakMap;class Rr{copy(){return new Rr(this.hour,this.minute,this.second,this.millisecond)}add(Ie){return Ur(this,Ie)}subtract(Ie){return Or(this,Ie)}set(Ie){return At(this,Ie)}cycle(Ie,Wt,Nn){return Ui(this,Ie,Wt,Nn)}toString(){return on(this)}compare(Ie){return re(this,Ie)}constructor(Ie=0,Wt=0,Nn=0,ei=0){$cUVuN$_(this,yr,{writable:!0,value:void 0}),this.hour=Ie,this.minute=Wt,this.second=Nn,this.millisecond=ei,xn(this)}}var Xr=new WeakMap;class ci{copy(){return this.era?new ci(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new ci(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(Ie){return Et(this,Ie)}subtract(Ie){return tn(this,Ie)}set(Ie){return ge(At(this,Ie),Ie)}cycle(Ie,Wt,Nn){switch(Ie){case"era":case"year":case"month":case"day":return ii(this,Ie,Wt,Nn);default:return Ui(this,Ie,Wt,Nn)}}toDate(Ie,Wt){return fn(this,Ie,Wt)}toString(){return $e(this)}compare(Ie){let Wt=ee(this,Ie);return Wt===0?re(this,Sn(Ie)):Wt}constructor(...Ie){a(this,Xr,{writable:!0,value:void 0});let[Wt,Nn,ei,bi,Cs]=Lt(Ie);this.calendar=Wt,this.era=Nn,this.year=ei,this.month=bi,this.day=Cs,this.hour=Ie.shift()||0,this.minute=Ie.shift()||0,this.second=Ie.shift()||0,this.millisecond=Ie.shift()||0,Nt(this)}}var Hr=new WeakMap;class un{copy(){return this.era?new un(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new un(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(Ie){return $n(this,Ie)}subtract(Ie){return yi(this,Ie)}set(Ie,Wt){return cn(this,Ie,Wt)}cycle(Ie,Wt,Nn){return Jr(this,Ie,Wt,Nn)}toDate(){return Cn(this)}toString(){return $t(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(Ie){return this.toDate().getTime()-an(Ie,this.timeZone).toDate().getTime()}constructor(...Ie){a(this,Hr,{writable:!0,value:void 0});let[Wt,Nn,ei,bi,Cs]=Lt(Ie),Bs=Ie.shift(),Xs=Ie.shift();this.calendar=Wt,this.era=Nn,this.year=ei,this.month=bi,this.day=Cs,this.timeZone=Bs,this.offset=Xs,this.hour=Ie.shift()||0,this.minute=Ie.shift()||0,this.second=Ie.shift()||0,this.millisecond=Ie.shift()||0,Nt(this)}}const ct=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],Ut=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],wt=[1867,1911,1925,1988,2018],kn=["meiji","taisho","showa","heisei","reiwa"];function wn(ke){const Ie=ct.findIndex(([Wt,Nn,ei])=>ke.year<Wt||ke.year===Wt&&ke.month<Nn||ke.year===Wt&&ke.month===Nn&&ke.day<ei);return Ie===-1?ct.length-1:Ie===0?0:Ie-1}function Qn(ke){let Ie=wt[kn.indexOf(ke.era)];if(!Ie)throw new Error("Unknown era: "+ke.era);return new In(ke.year+Ie,ke.month,ke.day)}class ur extends O{fromJulianDay(Ie){let Wt=super.fromJulianDay(Ie),Nn=wn(Wt);return new In(this,kn[Nn],Wt.year-wt[Nn],Wt.month,Wt.day)}toJulianDay(Ie){return super.toJulianDay(Qn(Ie))}balanceDate(Ie){let Wt=Qn(Ie),Nn=wn(Wt);kn[Nn]!==Ie.era&&(Ie.era=kn[Nn],Ie.year=Wt.year-wt[Nn]),this.constrainDate(Ie)}constrainDate(Ie){let Wt=kn.indexOf(Ie.era),Nn=Ut[Wt];if(Nn!=null){let[ei,bi,Cs]=Nn,Bs=ei-wt[Wt];Ie.year=Math.max(1,Math.min(Bs,Ie.year)),Ie.year===Bs&&(Ie.month=Math.min(bi,Ie.month),Ie.month===bi&&(Ie.day=Math.min(Cs,Ie.day)))}if(Ie.year===1&&Wt>=0){let[,ei,bi]=ct[Wt];Ie.month=Math.max(ei,Ie.month),Ie.month===ei&&(Ie.day=Math.max(bi,Ie.day))}}getEras(){return kn}getYearsInEra(Ie){let Wt=kn.indexOf(Ie.era),Nn=ct[Wt],ei=ct[Wt+1];if(ei==null)return 9999-Nn[0]+1;let bi=ei[0]-Nn[0];return(Ie.month<ei[1]||Ie.month===ei[1]&&Ie.day<ei[2])&&bi++,bi}getDaysInMonth(Ie){return super.getDaysInMonth(Qn(Ie))}getMinimumMonthInYear(Ie){let Wt=fi(Ie);return Wt?Wt[1]:1}getMinimumDayInMonth(Ie){let Wt=fi(Ie);return Wt&&Ie.month===Wt[1]?Wt[2]:1}constructor(...Ie){super(...Ie),this.identifier="japanese"}}function fi(ke){if(ke.year===1){let Ie=kn.indexOf(ke.era);return ct[Ie]}}const ot=-543;class ft extends O{fromJulianDay(Ie){let Wt=super.fromJulianDay(Ie),Nn=R(Wt.era,Wt.year);return new In(this,Nn-ot,Wt.month,Wt.day)}toJulianDay(Ie){return super.toJulianDay(Mt(Ie))}getEras(){return["BE"]}getDaysInMonth(Ie){return super.getDaysInMonth(Mt(Ie))}balanceDate(){}constructor(...Ie){super(...Ie),this.identifier="buddhist"}}function Mt(ke){let[Ie,Wt]=P(ke.year+ot);return new In(Ie,Wt,ke.month,ke.day)}const qt=1911;function sr(ke){return ke.era==="minguo"?ke.year+qt:1-ke.year+qt}function lr(ke){let Ie=ke-qt;return Ie>0?["minguo",Ie]:["before_minguo",1-Ie]}class Cr extends O{fromJulianDay(Ie){let Wt=super.fromJulianDay(Ie),Nn=R(Wt.era,Wt.year),[ei,bi]=lr(Nn);return new In(this,ei,bi,Wt.month,Wt.day)}toJulianDay(Ie){return super.toJulianDay(xr(Ie))}getEras(){return["before_minguo","minguo"]}balanceDate(Ie){let[Wt,Nn]=lr(sr(Ie));Ie.era=Wt,Ie.year=Nn}isInverseEra(Ie){return Ie.era==="before_minguo"}getDaysInMonth(Ie){return super.getDaysInMonth(xr(Ie))}getYearsInEra(Ie){return Ie.era==="before_minguo"?9999:9999-qt}constructor(...Ie){super(...Ie),this.identifier="roc"}}function xr(ke){let[Ie,Wt]=P(sr(ke));return new In(Ie,Wt,ke.month,ke.day)}const qr=1948321;function jr(ke){let Ie=ke>0?ke-474:ke-473,Wt=l(Ie,2820)+474;return l((Wt+38)*31,128)<31}function vr(ke,Ie,Wt){let Nn=ke>0?ke-474:ke-473,ei=l(Nn,2820)+474,bi=Ie<=7?31*(Ie-1):30*(Ie-1)+6;return qr-1+1029983*Math.floor(Nn/2820)+365*(ei-1)+Math.floor((31*ei-5)/128)+bi+Wt}class $r{fromJulianDay(Ie){let Wt=Ie-vr(475,1,1),Nn=Math.floor(Wt/1029983),ei=l(Wt,1029983),bi=ei===1029982?2820:Math.floor((128*ei+46878)/46751),Cs=474+2820*Nn+bi;Cs<=0&&Cs--;let Bs=Ie-vr(Cs,1,1)+1,Xs=Bs<=186?Math.ceil(Bs/31):Math.ceil((Bs-6)/31),_a=Ie-vr(Cs,Xs,1)+1;return new In(this,Cs,Xs,_a)}toJulianDay(Ie){return vr(Ie.year,Ie.month,Ie.day)}getMonthsInYear(){return 12}getDaysInMonth(Ie){return Ie.month<=6?31:Ie.month<=11||jr(Ie.year)?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const Wr=78,be=80;class Ue extends O{fromJulianDay(Ie){let Wt=super.fromJulianDay(Ie),Nn=Wt.year-Wr,ei=Ie-T(Wt.era,Wt.year,1,1),bi;ei<be?(Nn--,bi=A(Wt.year-1)?31:30,ei+=bi+155+90+10):(bi=A(Wt.year)?31:30,ei-=be);let Cs,Bs;if(ei<bi)Cs=1,Bs=ei+1;else{let Xs=ei-bi;Xs<155?(Cs=Math.floor(Xs/31)+2,Bs=Xs%31+1):(Xs-=155,Cs=Math.floor(Xs/30)+7,Bs=Xs%30+1)}return new In(this,Nn,Cs,Bs)}toJulianDay(Ie){let Wt=Ie.year+Wr,[Nn,ei]=P(Wt),bi,Cs;return A(ei)?(bi=31,Cs=T(Nn,ei,3,21)):(bi=30,Cs=T(Nn,ei,3,22)),Ie.month===1?Cs+Ie.day-1:(Cs+=bi+Math.min(Ie.month-2,5)*31,Ie.month>=8&&(Cs+=(Ie.month-7)*30),Cs+=Ie.day-1,Cs)}getDaysInMonth(Ie){return Ie.month===1&&A(Ie.year+Wr)||Ie.month>=2&&Ie.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...Ie){super(...Ie),this.identifier="indian"}}const ut=1948440,Ht=1948439,Fn=1300,ln=1600,jn=460322;function Nr(ke,Ie,Wt,Nn){return Nn+Math.ceil(29.5*(Wt-1))+(Ie-1)*354+Math.floor((3+11*Ie)/30)+ke-1}function Mi(ke,Ie,Wt){let Nn=Math.floor((30*(Wt-Ie)+10646)/10631),ei=Math.min(12,Math.ceil((Wt-(29+Nr(Ie,Nn,1,1)))/29.5)+1),bi=Wt-Nr(Ie,Nn,ei,1)+1;return new In(ke,Nn,ei,bi)}function Oi(ke){return(14+11*ke)%30<11}class ni{fromJulianDay(Ie){return Mi(this,ut,Ie)}toJulianDay(Ie){return Nr(ut,Ie.year,Ie.month,Ie.day)}getDaysInMonth(Ie){let Wt=29+Ie.month%2;return Ie.month===12&&Oi(Ie.year)&&Wt++,Wt}getMonthsInYear(){return 12}getDaysInYear(Ie){return Oi(Ie.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class rs extends ni{fromJulianDay(Ie){return Mi(this,Ht,Ie)}toJulianDay(Ie){return Nr(Ht,Ie.year,Ie.month,Ie.day)}constructor(...Ie){super(...Ie),this.identifier="islamic-tbla"}}const Qi="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let la,as;function bs(ke){return jn+as[ke-Fn]}function Za(ke,Ie){let Wt=ke-Fn,Nn=1<<11-(Ie-1);return la[Wt]&Nn?30:29}function za(ke,Ie){let Wt=bs(ke);for(let Nn=1;Nn<Ie;Nn++)Wt+=Za(ke,Nn);return Wt}function wo(ke){return as[ke+1-Fn]-as[ke-Fn]}class ca extends ni{fromJulianDay(Ie){let Wt=Ie-ut,Nn=bs(Fn),ei=bs(ln);if(Wt<Nn||Wt>ei)return super.fromJulianDay(Ie);{let bi=Fn-1,Cs=1,Bs=1;for(;Bs>0;){bi++,Bs=Wt-bs(bi)+1;let Xs=wo(bi);if(Bs===Xs){Cs=12;break}else if(Bs<Xs){let _a=Za(bi,Cs);for(Cs=1;Bs>_a;)Bs-=_a,Cs++,_a=Za(bi,Cs);break}}return new In(this,bi,Cs,Wt-za(bi,Cs)+1)}}toJulianDay(Ie){return Ie.year<Fn||Ie.year>ln?super.toJulianDay(Ie):ut+za(Ie.year,Ie.month)+(Ie.day-1)}getDaysInMonth(Ie){return Ie.year<Fn||Ie.year>ln?super.getDaysInMonth(Ie):Za(Ie.year,Ie.month)}getDaysInYear(Ie){return Ie.year<Fn||Ie.year>ln?super.getDaysInYear(Ie):wo(Ie.year)}constructor(){if(super(),this.identifier="islamic-umalqura",la||(la=new Uint16Array(Uint8Array.from(atob(Qi),Ie=>Ie.charCodeAt(0)).buffer)),!as){as=new Uint32Array(ln-Fn+1);let Ie=0;for(let Wt=Fn;Wt<=ln;Wt++){as[Wt-Fn]=Ie;for(let Nn=1;Nn<=12;Nn++)Ie+=Za(Wt,Nn)}}}}const Uo=347997,ru=1080,di=24*ru,wi=29,dr=12*ru+793,hi=wi*di+dr;function Si(ke){return l(ke*7+1,19)<7}function Di(ke){let Ie=Math.floor((235*ke-234)/19),Wt=12084+13753*Ie,Nn=Ie*29+Math.floor(Wt/25920);return l(3*(Nn+1),7)<3&&(Nn+=1),Nn}function Xi(ke){let Ie=Di(ke-1),Wt=Di(ke);return Di(ke+1)-Wt===356?2:Wt-Ie===382?1:0}function zi(ke){return Di(ke)+Xi(ke)}function os(ke){return zi(ke+1)-zi(ke)}function js(ke){let Ie=os(ke);switch(Ie>380&&(Ie-=30),Ie){case 353:return 0;case 354:return 1;case 355:return 2}}function hs(ke,Ie){if(Ie>=6&&!Si(ke)&&Ie++,Ie===4||Ie===7||Ie===9||Ie===11||Ie===13)return 29;let Wt=js(ke);return Ie===2?Wt===2?30:29:Ie===3?Wt===0?29:30:Ie===6?Si(ke)?30:0:30}class Vi{fromJulianDay(Ie){let Wt=Ie-Uo,Nn=Wt*di/hi,ei=Math.floor((19*Nn+234)/235)+1,bi=zi(ei),Cs=Math.floor(Wt-bi);for(;Cs<1;)ei--,bi=zi(ei),Cs=Math.floor(Wt-bi);let Bs=1,Xs=0;for(;Xs<Cs;)Xs+=hs(ei,Bs),Bs++;Bs--,Xs-=hs(ei,Bs);let _a=Cs-Xs;return new In(this,ei,Bs,_a)}toJulianDay(Ie){let Wt=zi(Ie.year);for(let Nn=1;Nn<Ie.month;Nn++)Wt+=hs(Ie.year,Nn);return Wt+Ie.day+Uo}getDaysInMonth(Ie){return hs(Ie.year,Ie.month)}getMonthsInYear(Ie){return Si(Ie.year)?13:12}getDaysInYear(Ie){return os(Ie.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(Ie,Wt){Wt.year!==Ie.year&&(Si(Wt.year)&&!Si(Ie.year)&&Wt.month>6?Ie.month--:!Si(Wt.year)&&Si(Ie.year)&&Wt.month>6&&Ie.month++)}constructor(){this.identifier="hebrew"}}const ns=1723856,fs=1824665,Ks=5500;function ma(ke,Ie,Wt,Nn){return ke+365*Ie+Math.floor(Ie/4)+30*(Wt-1)+Nn-1}function da(ke,Ie){let Wt=Math.floor(4*(Ie-ke)/1461),Nn=1+Math.floor((Ie-ma(ke,Wt,1,1))/30),ei=Ie+1-ma(ke,Wt,Nn,1);return[Wt,Nn,ei]}function Da(ke){return Math.floor(ke%4/3)}function Ys(ke,Ie){return Ie%13!==0?30:Da(ke)+5}class Xa{fromJulianDay(Ie){let[Wt,Nn,ei]=da(ns,Ie),bi="AM";return Wt<=0&&(bi="AA",Wt+=Ks),new In(this,bi,Wt,Nn,ei)}toJulianDay(Ie){let Wt=Ie.year;return Ie.era==="AA"&&(Wt-=Ks),ma(ns,Wt,Ie.month,Ie.day)}getDaysInMonth(Ie){return Ys(Ie.year,Ie.month)}getMonthsInYear(){return 13}getDaysInYear(Ie){return 365+Da(Ie.year)}getYearsInEra(Ie){return Ie.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class Po extends Xa{fromJulianDay(Ie){let[Wt,Nn,ei]=da(ns,Ie);return Wt+=Ks,new In(this,"AA",Wt,Nn,ei)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...Ie){super(...Ie),this.identifier="ethioaa"}}class co extends Xa{fromJulianDay(Ie){let[Wt,Nn,ei]=da(fs,Ie),bi="CE";return Wt<=0&&(bi="BCE",Wt=1-Wt),new In(this,bi,Wt,Nn,ei)}toJulianDay(Ie){let Wt=Ie.year;return Ie.era==="BCE"&&(Wt=1-Wt),ma(fs,Wt,Ie.month,Ie.day)}getDaysInMonth(Ie){let Wt=Ie.year;return Ie.era==="BCE"&&(Wt=1-Wt),Ys(Wt,Ie.month)}isInverseEra(Ie){return Ie.era==="BCE"}balanceDate(Ie){Ie.year<=0&&(Ie.era=Ie.era==="BCE"?"CE":"BCE",Ie.year=1-Ie.year)}getEras(){return["BCE","CE"]}getYearsInEra(Ie){return Ie.era==="BCE"?9999:9715}constructor(...Ie){super(...Ie),this.identifier="coptic"}}function el(ke){switch(ke){case"buddhist":return new ft;case"ethiopic":return new Xa;case"ethioaa":return new Po;case"coptic":return new co;case"hebrew":return new Vi;case"indian":return new Ue;case"islamic-civil":return new ni;case"islamic-tbla":return new rs;case"islamic-umalqura":return new ca;case"japanese":return new ur;case"persian":return new $r;case"roc":return new Cr;case"gregory":default:return new O}}let Yo=new Map;class Ou{format(Ie){return this.formatter.format(Ie)}formatToParts(Ie){return this.formatter.formatToParts(Ie)}formatRange(Ie,Wt){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(Ie,Wt);if(Wt<Ie)throw new RangeError("End date must be >= start date");return`${this.formatter.format(Ie)} \u2013 ${this.formatter.format(Wt)}`}formatRangeToParts(Ie,Wt){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(Ie,Wt);if(Wt<Ie)throw new RangeError("End date must be >= start date");let Nn=this.formatter.formatToParts(Ie),ei=this.formatter.formatToParts(Wt);return[...Nn.map(bi=>({...bi,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...ei.map(bi=>({...bi,source:"endRange"}))]}resolvedOptions(){let Ie=this.formatter.resolvedOptions();return Nu()&&(this.resolvedHourCycle||(this.resolvedHourCycle=Kl(Ie.locale,this.options)),Ie.hourCycle=this.resolvedHourCycle,Ie.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),Ie.calendar==="ethiopic-amete-alem"&&(Ie.calendar="ethioaa"),Ie}constructor(Ie,Wt={}){this.formatter=Ha(Ie,Wt),this.options=Wt}}const Qo={true:{ja:"h11"},false:{}};function Ha(ke,Ie={}){if(typeof Ie.hour12=="boolean"&&qo()){Ie={...Ie};let ei=Qo[String(Ie.hour12)][ke.split("-")[0]],bi=Ie.hour12?"h12":"h23";Ie.hourCycle=ei??bi,delete Ie.hour12}let Wt=ke+(Ie?Object.entries(Ie).sort((ei,bi)=>ei[0]<bi[0]?-1:1).join():"");if(Yo.has(Wt))return Yo.get(Wt);let Nn=new Intl.DateTimeFormat(ke,Ie);return Yo.set(Wt,Nn),Nn}let Jo=null;function qo(){return Jo==null&&(Jo=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),Jo}let tl=null;function Nu(){return tl==null&&(tl=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),tl}function Kl(ke,Ie){if(!Ie.timeStyle&&!Ie.hour)return;ke=ke.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),ke+=(ke.includes("-u-")?"":"-u")+"-nu-latn";let Wt=Ha(ke,{...Ie,timeZone:void 0}),Nn=parseInt(Wt.formatToParts(new Date(2020,2,3,0)).find(bi=>bi.type==="hour").value,10),ei=parseInt(Wt.formatToParts(new Date(2020,2,3,23)).find(bi=>bi.type==="hour").value,10);if(Nn===0&&ei===23)return"h23";if(Nn===24&&ei===23)return"h24";if(Nn===0&&ei===11)return"h11";if(Nn===12&&ei===11)return"h12";throw new Error("Unexpected hour cycle result")}},4731:(U,C,e)=>{"use strict";e.d(C,{K:()=>i});function i(a,l,{checkForDefaultPrevented:c=!0}={}){return function(_){if(a?.(_),c===!1||!_.defaultPrevented)return l?.(_)}}},12640:(U,C,e)=>{"use strict";e.d(C,{o:()=>v});var i=e(62552),a=e(43164),l=e(76368),c=e(46784);function v(_){const T=_+"CollectionProvider",[A,R]=(0,a._)(T),[P,M]=A(T,{collectionRef:{current:null},itemMap:new Map}),O=Q=>{const{scope:K,children:Y}=Q,Z=i.useRef(null),J=i.useRef(new Map).current;return i.createElement(P,{scope:K,itemMap:J,collectionRef:Z},Y)},N=_+"CollectionSlot",B=i.forwardRef((Q,K)=>{const{scope:Y,children:Z}=Q,J=M(N,Y),ee=(0,l.q)(K,J.collectionRef);return i.createElement(c.k$,{ref:ee},Z)}),j=_+"CollectionItemSlot",z="data-radix-collection-item",W=i.forwardRef((Q,K)=>{const{scope:Y,children:Z,...J}=Q,ee=i.useRef(null),re=(0,l.q)(K,ee),me=M(j,Y);return i.useEffect(()=>(me.itemMap.set(ee,{ref:ee,...J}),()=>void me.itemMap.delete(ee))),i.createElement(c.k$,{[z]:"",ref:re},Z)});function X(Q){const K=M(_+"CollectionConsumer",Q);return i.useCallback(()=>{const Z=K.collectionRef.current;if(!Z)return[];const J=Array.from(Z.querySelectorAll(`[${z}]`));return Array.from(K.itemMap.values()).sort((me,fe)=>J.indexOf(me.ref.current)-J.indexOf(fe.ref.current))},[K.collectionRef,K.itemMap])}return[{Provider:O,Slot:B,ItemSlot:W},X,R]}},76368:(U,C,e)=>{"use strict";e.d(C,{c:()=>l,q:()=>c});var i=e(62552);function a(v,_){typeof v=="function"?v(_):v!=null&&(v.current=_)}function l(...v){return _=>v.forEach(T=>a(T,_))}function c(...v){return(0,i.useCallback)(l(...v),v)}},43164:(U,C,e)=>{"use strict";e.d(C,{G:()=>a,_:()=>l});var i=e(62552);function a(v,_){const T=(0,i.createContext)(_);function A(P){const{children:M,...O}=P,N=(0,i.useMemo)(()=>O,Object.values(O));return(0,i.createElement)(T.Provider,{value:N},M)}function R(P){const M=(0,i.useContext)(T);if(M)return M;if(_!==void 0)return _;throw new Error(`\`${P}\` must be used within \`${v}\``)}return A.displayName=v+"Provider",[A,R]}function l(v,_=[]){let T=[];function A(P,M){const O=(0,i.createContext)(M),N=T.length;T=[...T,M];function B(z){const{scope:W,children:X,...Q}=z,K=W?.[v][N]||O,Y=(0,i.useMemo)(()=>Q,Object.values(Q));return(0,i.createElement)(K.Provider,{value:Y},X)}function j(z,W){const X=W?.[v][N]||O,Q=(0,i.useContext)(X);if(Q)return Q;if(M!==void 0)return M;throw new Error(`\`${z}\` must be used within \`${P}\``)}return B.displayName=P+"Provider",[B,j]}const R=()=>{const P=T.map(M=>(0,i.createContext)(M));return function(O){const N=O?.[v]||P;return(0,i.useMemo)(()=>({[`__scope${v}`]:{...O,[v]:N}}),[O,N])}};return R.scopeName=v,[A,c(R,..._)]}function c(...v){const _=v[0];if(v.length===1)return _;const T=()=>{const A=v.map(R=>({useScope:R(),scopeName:R.scopeName}));return function(P){const M=A.reduce((O,{useScope:N,scopeName:B})=>{const z=N(P)[`__scope${B}`];return{...O,...z}},{});return(0,i.useMemo)(()=>({[`__scope${_.scopeName}`]:M}),[M])}};return T.scopeName=_.scopeName,T}},84088:(U,C,e)=>{"use strict";e.d(C,{cz:()=>c});var i=e(62552);const a=(0,i.createContext)(void 0),l=_=>{const{dir:T,children:A}=_;return $7Gjcd$createElement(a.Provider,{value:T},A)};function c(_){const T=(0,i.useContext)(a);return _||T||"ltr"}const v=null},31096:(U,C,e)=>{"use strict";e.d(C,{cb:()=>B,Ss:()=>Y});var i=e(59056),a=e(62552),l=e(4731),c=e(91224),v=e(76368),_=e(72312);function T(J,ee=globalThis?.document){const re=(0,_.Y)(J);(0,a.useEffect)(()=>{const me=fe=>{fe.key==="Escape"&&re(fe)};return ee.addEventListener("keydown",me),()=>ee.removeEventListener("keydown",me)},[re,ee])}const A="DismissableLayer",R="dismissableLayer.update",P="dismissableLayer.pointerDownOutside",M="dismissableLayer.focusOutside";let O;const N=(0,a.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),B=(0,a.forwardRef)((J,ee)=>{var re;const{disableOutsidePointerEvents:me=!1,onEscapeKeyDown:fe,onPointerDownOutside:le,onFocusOutside:Ve,onInteractOutside:Ze,onDismiss:Ce,...ye}=J,Ae=(0,a.useContext)(N),[Fe,Qe]=(0,a.useState)(null),ce=(re=Fe?.ownerDocument)!==null&&re!==void 0?re:globalThis?.document,[,Ge]=(0,a.useState)({}),Pe=(0,v.q)(ee,It=>Qe(It)),pe=Array.from(Ae.layers),[Se]=[...Ae.layersWithOutsidePointerEventsDisabled].slice(-1),_e=pe.indexOf(Se),Ne=Fe?pe.indexOf(Fe):-1,Le=Ae.layersWithOutsidePointerEventsDisabled.size>0,Ke=Ne>=_e,bt=W(It=>{const _t=It.target,zt=[...Ae.branches].some(Vt=>Vt.contains(_t));!Ke||zt||(le?.(It),Ze?.(It),It.defaultPrevented||Ce?.())},ce),yt=X(It=>{const _t=It.target;[...Ae.branches].some(Vt=>Vt.contains(_t))||(Ve?.(It),Ze?.(It),It.defaultPrevented||Ce?.())},ce);return T(It=>{Ne===Ae.layers.size-1&&(fe?.(It),!It.defaultPrevented&&Ce&&(It.preventDefault(),Ce()))},ce),(0,a.useEffect)(()=>{if(Fe)return me&&(Ae.layersWithOutsidePointerEventsDisabled.size===0&&(O=ce.body.style.pointerEvents,ce.body.style.pointerEvents="none"),Ae.layersWithOutsidePointerEventsDisabled.add(Fe)),Ae.layers.add(Fe),Q(),()=>{me&&Ae.layersWithOutsidePointerEventsDisabled.size===1&&(ce.body.style.pointerEvents=O)}},[Fe,ce,me,Ae]),(0,a.useEffect)(()=>()=>{Fe&&(Ae.layers.delete(Fe),Ae.layersWithOutsidePointerEventsDisabled.delete(Fe),Q())},[Fe,Ae]),(0,a.useEffect)(()=>{const It=()=>Ge({});return document.addEventListener(R,It),()=>document.removeEventListener(R,It)},[]),(0,a.createElement)(c.K0.div,(0,i.c)({},ye,{ref:Pe,style:{pointerEvents:Le?Ke?"auto":"none":void 0,...J.style},onFocusCapture:(0,l.K)(J.onFocusCapture,yt.onFocusCapture),onBlurCapture:(0,l.K)(J.onBlurCapture,yt.onBlurCapture),onPointerDownCapture:(0,l.K)(J.onPointerDownCapture,bt.onPointerDownCapture)}))}),j="DismissableLayerBranch",z=(0,a.forwardRef)((J,ee)=>{const re=(0,a.useContext)(N),me=(0,a.useRef)(null),fe=(0,v.q)(ee,me);return(0,a.useEffect)(()=>{const le=me.current;if(le)return re.branches.add(le),()=>{re.branches.delete(le)}},[re.branches]),(0,a.createElement)(c.K0.div,(0,i.c)({},J,{ref:fe}))});function W(J,ee=globalThis?.document){const re=(0,_.Y)(J),me=(0,a.useRef)(!1),fe=(0,a.useRef)(()=>{});return(0,a.useEffect)(()=>{const le=Ze=>{if(Ze.target&&!me.current){let Ce=function(){K(P,re,ye,{discrete:!0})};const ye={originalEvent:Ze};Ze.pointerType==="touch"?(ee.removeEventListener("click",fe.current),fe.current=Ce,ee.addEventListener("click",fe.current,{once:!0})):Ce()}else ee.removeEventListener("click",fe.current);me.current=!1},Ve=window.setTimeout(()=>{ee.addEventListener("pointerdown",le)},0);return()=>{window.clearTimeout(Ve),ee.removeEventListener("pointerdown",le),ee.removeEventListener("click",fe.current)}},[ee,re]),{onPointerDownCapture:()=>me.current=!0}}function X(J,ee=globalThis?.document){const re=(0,_.Y)(J),me=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{const fe=le=>{le.target&&!me.current&&K(M,re,{originalEvent:le},{discrete:!1})};return ee.addEventListener("focusin",fe),()=>ee.removeEventListener("focusin",fe)},[ee,re]),{onFocusCapture:()=>me.current=!0,onBlurCapture:()=>me.current=!1}}function Q(){const J=new CustomEvent(R);document.dispatchEvent(J)}function K(J,ee,re,{discrete:me}){const fe=re.originalEvent.target,le=new CustomEvent(J,{bubbles:!1,cancelable:!0,detail:re});ee&&fe.addEventListener(J,ee,{once:!0}),me?(0,c.G2)(fe,le):fe.dispatchEvent(le)}const Y=B,Z=null},59280:(U,C,e)=>{"use strict";e.d(C,{SS:()=>c});var i=e(62552);let a=0;function l(T){return c(),T.children}function c(){(0,i.useEffect)(()=>{var T,A;const R=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(T=R[0])!==null&&T!==void 0?T:v()),document.body.insertAdjacentElement("beforeend",(A=R[1])!==null&&A!==void 0?A:v()),a++,()=>{a===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(P=>P.remove()),a--}},[])}function v(){const T=document.createElement("span");return T.setAttribute("data-radix-focus-guard",""),T.tabIndex=0,T.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",T}const _=null},85480:(U,C,e)=>{"use strict";e.d(C,{w:()=>P});var i=e(59056),a=e(62552),l=e(76368),c=e(91224),v=e(72312);const _="focusScope.autoFocusOnMount",T="focusScope.autoFocusOnUnmount",A={bubbles:!1,cancelable:!0},R="FocusScope",P=(0,a.forwardRef)((J,ee)=>{const{loop:re=!1,trapped:me=!1,onMountAutoFocus:fe,onUnmountAutoFocus:le,...Ve}=J,[Ze,Ce]=(0,a.useState)(null),ye=(0,v.Y)(fe),Ae=(0,v.Y)(le),Fe=(0,a.useRef)(null),Qe=(0,l.q)(ee,Pe=>Ce(Pe)),ce=(0,a.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,a.useEffect)(()=>{if(me){let Pe=function(Ne){if(ce.paused||!Ze)return;const Le=Ne.target;Ze.contains(Le)?Fe.current=Le:W(Fe.current,{select:!0})},pe=function(Ne){if(ce.paused||!Ze)return;const Le=Ne.relatedTarget;Le!==null&&(Ze.contains(Le)||W(Fe.current,{select:!0}))},Se=function(Ne){if(document.activeElement===document.body)for(const Ke of Ne)Ke.removedNodes.length>0&&W(Ze)};document.addEventListener("focusin",Pe),document.addEventListener("focusout",pe);const _e=new MutationObserver(Se);return Ze&&_e.observe(Ze,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",Pe),document.removeEventListener("focusout",pe),_e.disconnect()}}},[me,Ze,ce.paused]),(0,a.useEffect)(()=>{if(Ze){X.add(ce);const Pe=document.activeElement;if(!Ze.contains(Pe)){const Se=new CustomEvent(_,A);Ze.addEventListener(_,ye),Ze.dispatchEvent(Se),Se.defaultPrevented||(M(Y(N(Ze)),{select:!0}),document.activeElement===Pe&&W(Ze))}return()=>{Ze.removeEventListener(_,ye),setTimeout(()=>{const Se=new CustomEvent(T,A);Ze.addEventListener(T,Ae),Ze.dispatchEvent(Se),Se.defaultPrevented||W(Pe??document.body,{select:!0}),Ze.removeEventListener(T,Ae),X.remove(ce)},0)}}},[Ze,ye,Ae,ce]);const Ge=(0,a.useCallback)(Pe=>{if(!re&&!me||ce.paused)return;const pe=Pe.key==="Tab"&&!Pe.altKey&&!Pe.ctrlKey&&!Pe.metaKey,Se=document.activeElement;if(pe&&Se){const _e=Pe.currentTarget,[Ne,Le]=O(_e);Ne&&Le?!Pe.shiftKey&&Se===Le?(Pe.preventDefault(),re&&W(Ne,{select:!0})):Pe.shiftKey&&Se===Ne&&(Pe.preventDefault(),re&&W(Le,{select:!0})):Se===_e&&Pe.preventDefault()}},[re,me,ce.paused]);return(0,a.createElement)(c.K0.div,(0,i.c)({tabIndex:-1},Ve,{ref:Qe,onKeyDown:Ge}))});function M(J,{select:ee=!1}={}){const re=document.activeElement;for(const me of J)if(W(me,{select:ee}),document.activeElement!==re)return}function O(J){const ee=N(J),re=B(ee,J),me=B(ee.reverse(),J);return[re,me]}function N(J){const ee=[],re=document.createTreeWalker(J,NodeFilter.SHOW_ELEMENT,{acceptNode:me=>{const fe=me.tagName==="INPUT"&&me.type==="hidden";return me.disabled||me.hidden||fe?NodeFilter.FILTER_SKIP:me.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;re.nextNode();)ee.push(re.currentNode);return ee}function B(J,ee){for(const re of J)if(!j(re,{upTo:ee}))return re}function j(J,{upTo:ee}){if(getComputedStyle(J).visibility==="hidden")return!0;for(;J;){if(ee!==void 0&&J===ee)return!1;if(getComputedStyle(J).display==="none")return!0;J=J.parentElement}return!1}function z(J){return J instanceof HTMLInputElement&&"select"in J}function W(J,{select:ee=!1}={}){if(J&&J.focus){const re=document.activeElement;J.focus({preventScroll:!0}),J!==re&&z(J)&&ee&&J.select()}}const X=Q();function Q(){let J=[];return{add(ee){const re=J[0];ee!==re&&re?.pause(),J=K(J,ee),J.unshift(ee)},remove(ee){var re;J=K(J,ee),(re=J[0])===null||re===void 0||re.resume()}}}function K(J,ee){const re=[...J],me=re.indexOf(ee);return me!==-1&&re.splice(me,1),re}function Y(J){return J.filter(ee=>ee.tagName!=="A")}const Z=null},42052:(U,C,e)=>{"use strict";var i;e.d(C,{I:()=>_});var a=e(62552),l=e(62308);const c=(i||(i=e.t(a,2)))["useId".toString()]||(()=>{});let v=0;function _(T){const[A,R]=a.useState(c());return(0,l.w)(()=>{T||R(P=>P??String(v++))},[T]),T||(A?`radix-${A}`:"")}},59308:(U,C,e)=>{"use strict";e.d(C,{iq:()=>Le,uM:()=>bt,kP:()=>Ke,Ss:()=>Ne,ao:()=>me});var i=e(59056),a=e(62552),l=e(21496),c=e(19632);const v=yt=>{function It(_t){return{}.hasOwnProperty.call(_t,"current")}return{name:"arrow",options:yt,fn(_t){const{element:zt,padding:Vt}=typeof yt=="function"?yt(_t):yt;return zt&&It(zt)?zt.current!=null?(0,l.eo)({element:zt.current,padding:Vt}).fn(_t):{}:zt?(0,l.eo)({element:zt,padding:Vt}).fn(_t):{}}}};var _=typeof document<"u"?a.useLayoutEffect:a.useEffect;function T(yt,It){if(yt===It)return!0;if(typeof yt!=typeof It)return!1;if(typeof yt=="function"&&yt.toString()===It.toString())return!0;let _t,zt,Vt;if(yt&&It&&typeof yt=="object"){if(Array.isArray(yt)){if(_t=yt.length,_t!==It.length)return!1;for(zt=_t;zt--!==0;)if(!T(yt[zt],It[zt]))return!1;return!0}if(Vt=Object.keys(yt),_t=Vt.length,_t!==Object.keys(It).length)return!1;for(zt=_t;zt--!==0;)if(!{}.hasOwnProperty.call(It,Vt[zt]))return!1;for(zt=_t;zt--!==0;){const St=Vt[zt];if(!(St==="_owner"&&yt.$$typeof)&&!T(yt[St],It[St]))return!1}return!0}return yt!==yt&&It!==It}function A(yt){return typeof window>"u"?1:(yt.ownerDocument.defaultView||window).devicePixelRatio||1}function R(yt,It){const _t=A(yt);return Math.round(It*_t)/_t}function P(yt){const It=a.useRef(yt);return _(()=>{It.current=yt}),It}function M(yt){yt===void 0&&(yt={});const{placement:It="bottom",strategy:_t="absolute",middleware:zt=[],platform:Vt,elements:{reference:St,floating:Xt}={},transform:jt=!0,whileElementsMounted:sn,open:dt}=yt,[Ln,fn]=a.useState({x:0,y:0,strategy:_t,placement:It,middlewareData:{},isPositioned:!1}),[cr,wr]=a.useState(zt);T(cr,zt)||wr(zt);const[Jn,nn]=a.useState(null),[or,bn]=a.useState(null),Sn=a.useCallback(tn=>{tn!==Cn.current&&(Cn.current=tn,nn(tn))},[]),Hn=a.useCallback(tn=>{tn!==de.current&&(de.current=tn,bn(tn))},[]),er=St||Jn,an=Xt||or,Cn=a.useRef(null),de=a.useRef(null),oe=a.useRef(Ln),Ye=sn!=null,Et=P(sn),xe=P(Vt),Re=a.useCallback(()=>{if(!Cn.current||!de.current)return;const tn={placement:It,strategy:_t,middleware:cr};xe.current&&(tn.platform=xe.current),(0,l.Ml)(Cn.current,de.current,tn).then(ge=>{const At={...ge,isPositioned:!0};We.current&&!T(oe.current,At)&&(oe.current=At,c.flushSync(()=>{fn(At)}))})},[cr,It,_t,xe]);_(()=>{dt===!1&&oe.current.isPositioned&&(oe.current.isPositioned=!1,fn(tn=>({...tn,isPositioned:!1})))},[dt]);const We=a.useRef(!1);_(()=>(We.current=!0,()=>{We.current=!1}),[]),_(()=>{if(er&&(Cn.current=er),an&&(de.current=an),er&&an){if(Et.current)return Et.current(er,an,Re);Re()}},[er,an,Re,Et,Ye]);const gt=a.useMemo(()=>({reference:Cn,floating:de,setReference:Sn,setFloating:Hn}),[Sn,Hn]),Nt=a.useMemo(()=>({reference:er,floating:an}),[er,an]),Ct=a.useMemo(()=>{const tn={position:_t,left:0,top:0};if(!Nt.floating)return tn;const ge=R(Nt.floating,Ln.x),At=R(Nt.floating,Ln.y);return jt?{...tn,transform:"translate("+ge+"px, "+At+"px)",...A(Nt.floating)>=1.5&&{willChange:"transform"}}:{position:_t,left:ge,top:At}},[_t,jt,Nt.floating,Ln.x,Ln.y]);return a.useMemo(()=>({...Ln,update:Re,refs:gt,elements:Nt,floatingStyles:Ct}),[Ln,Re,gt,Nt,Ct])}var O=e(92548),N=e(91224);const B="Arrow",j=(0,a.forwardRef)((yt,It)=>{const{children:_t,width:zt=10,height:Vt=5,...St}=yt;return(0,a.createElement)(N.K0.svg,(0,i.c)({},St,{ref:It,width:zt,height:Vt,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),yt.asChild?_t:(0,a.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),z=j;var W=e(76368),X=e(43164),Q=e(72312),K=e(62308);function Y(yt){const[It,_t]=(0,a.useState)(void 0);return(0,K.w)(()=>{if(yt){_t({width:yt.offsetWidth,height:yt.offsetHeight});const zt=new ResizeObserver(Vt=>{if(!Array.isArray(Vt)||!Vt.length)return;const St=Vt[0];let Xt,jt;if("borderBoxSize"in St){const sn=St.borderBoxSize,dt=Array.isArray(sn)?sn[0]:sn;Xt=dt.inlineSize,jt=dt.blockSize}else Xt=yt.offsetWidth,jt=yt.offsetHeight;_t({width:Xt,height:jt})});return zt.observe(yt,{box:"border-box"}),()=>zt.unobserve(yt)}else _t(void 0)},[yt]),It}const Z=null,J=null,ee="Popper",[re,me]=(0,X._)(ee),[fe,le]=re(ee),Ve=yt=>{const{__scopePopper:It,children:_t}=yt,[zt,Vt]=(0,a.useState)(null);return(0,a.createElement)(fe,{scope:It,anchor:zt,onAnchorChange:Vt},_t)},Ze="PopperAnchor",Ce=(0,a.forwardRef)((yt,It)=>{const{__scopePopper:_t,virtualRef:zt,...Vt}=yt,St=le(Ze,_t),Xt=(0,a.useRef)(null),jt=(0,W.q)(It,Xt);return(0,a.useEffect)(()=>{St.onAnchorChange(zt?.current||Xt.current)}),zt?null:(0,a.createElement)(N.K0.div,(0,i.c)({},Vt,{ref:jt}))}),ye="PopperContent",[Ae,Fe]=re(ye),Qe=(0,a.forwardRef)((yt,It)=>{var _t,zt,Vt,St,Xt,jt,sn,dt;const{__scopePopper:Ln,side:fn="bottom",sideOffset:cr=0,align:wr="center",alignOffset:Jn=0,arrowPadding:nn=0,avoidCollisions:or=!0,collisionBoundary:bn=[],collisionPadding:Sn=0,sticky:Hn="partial",hideWhenDetached:er=!1,updatePositionStrategy:an="optimized",onPlaced:Cn,...de}=yt,oe=le(ye,Ln),[Ye,Et]=(0,a.useState)(null),xe=(0,W.q)(It,je=>Et(je)),[Re,We]=(0,a.useState)(null),gt=Y(Re),Nt=(_t=gt?.width)!==null&&_t!==void 0?_t:0,Ct=(zt=gt?.height)!==null&&zt!==void 0?zt:0,tn=fn+(wr!=="center"?"-"+wr:""),ge=typeof Sn=="number"?Sn:{top:0,right:0,bottom:0,left:0,...Sn},At=Array.isArray(bn)?bn:[bn],mn=At.length>0,xn={padding:ge,boundary:At.filter(pe),altBoundary:mn},{refs:Un,floatingStyles:gr,placement:Ur,isPositioned:Or,middlewareData:ii}=M({strategy:"fixed",placement:tn,whileElementsMounted:(...je)=>(0,l.kN)(...je,{animationFrame:an==="always"}),elements:{reference:oe.anchor},middleware:[(0,O.E3)({mainAxis:cr+Ct,alignmentAxis:Jn}),or&&(0,l.CA)({mainAxis:!0,crossAxis:!1,limiter:Hn==="partial"?(0,l.EJ)():void 0,...xn}),or&&(0,l.EB)({...xn}),(0,l.eC)({...xn,apply:({elements:je,rects:pt,availableWidth:at,availableHeight:kt})=>{const{width:vn,height:Wn}=pt.reference,nr=je.floating.style;nr.setProperty("--radix-popper-available-width",`${at}px`),nr.setProperty("--radix-popper-available-height",`${kt}px`),nr.setProperty("--radix-popper-anchor-width",`${vn}px`),nr.setProperty("--radix-popper-anchor-height",`${Wn}px`)}}),Re&&v({element:Re,padding:nn}),Se({arrowWidth:Nt,arrowHeight:Ct}),er&&(0,l.WS)({strategy:"referenceHidden",...xn})]}),[Ui,rn]=_e(Ur),$n=(0,Q.Y)(Cn);(0,K.w)(()=>{Or&&$n?.()},[Or,$n]);const yi=(Vt=ii.arrow)===null||Vt===void 0?void 0:Vt.x,Jr=(St=ii.arrow)===null||St===void 0?void 0:St.y,cn=((Xt=ii.arrow)===null||Xt===void 0?void 0:Xt.centerOffset)!==0,[mt,we]=(0,a.useState)();return(0,K.w)(()=>{Ye&&we(window.getComputedStyle(Ye).zIndex)},[Ye]),(0,a.createElement)("div",{ref:Un.setFloating,"data-radix-popper-content-wrapper":"",style:{...gr,transform:Or?gr.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:mt,["--radix-popper-transform-origin"]:[(jt=ii.transformOrigin)===null||jt===void 0?void 0:jt.x,(sn=ii.transformOrigin)===null||sn===void 0?void 0:sn.y].join(" ")},dir:yt.dir},(0,a.createElement)(Ae,{scope:Ln,placedSide:Ui,onArrowChange:We,arrowX:yi,arrowY:Jr,shouldHideArrow:cn},(0,a.createElement)(N.K0.div,(0,i.c)({"data-side":Ui,"data-align":rn},de,{ref:xe,style:{...de.style,animation:Or?void 0:"none",opacity:(dt=ii.hide)!==null&&dt!==void 0&&dt.referenceHidden?0:void 0}}))))}),ce="PopperArrow",Ge={top:"bottom",right:"left",bottom:"top",left:"right"},Pe=(0,a.forwardRef)(function(It,_t){const{__scopePopper:zt,...Vt}=It,St=Fe(ce,zt),Xt=Ge[St.placedSide];return(0,a.createElement)("span",{ref:St.onArrowChange,style:{position:"absolute",left:St.arrowX,top:St.arrowY,[Xt]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[St.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[St.placedSide],visibility:St.shouldHideArrow?"hidden":void 0}},(0,a.createElement)(z,(0,i.c)({},Vt,{ref:_t,style:{...Vt.style,display:"block"}})))});function pe(yt){return yt!==null}const Se=yt=>({name:"transformOrigin",options:yt,fn(It){var _t,zt,Vt,St,Xt;const{placement:jt,rects:sn,middlewareData:dt}=It,fn=((_t=dt.arrow)===null||_t===void 0?void 0:_t.centerOffset)!==0,cr=fn?0:yt.arrowWidth,wr=fn?0:yt.arrowHeight,[Jn,nn]=_e(jt),or={start:"0%",center:"50%",end:"100%"}[nn],bn=((zt=(Vt=dt.arrow)===null||Vt===void 0?void 0:Vt.x)!==null&&zt!==void 0?zt:0)+cr/2,Sn=((St=(Xt=dt.arrow)===null||Xt===void 0?void 0:Xt.y)!==null&&St!==void 0?St:0)+wr/2;let Hn="",er="";return Jn==="bottom"?(Hn=fn?or:`${bn}px`,er=`${-wr}px`):Jn==="top"?(Hn=fn?or:`${bn}px`,er=`${sn.floating.height+wr}px`):Jn==="right"?(Hn=`${-wr}px`,er=fn?or:`${Sn}px`):Jn==="left"&&(Hn=`${sn.floating.width+wr}px`,er=fn?or:`${Sn}px`),{data:{x:Hn,y:er}}}});function _e(yt){const[It,_t="center"]=yt.split("-");return[It,_t]}const Ne=Ve,Le=Ce,Ke=Qe,bt=Pe},49944:(U,C,e)=>{"use strict";e.d(C,{a:()=>_});var i=e(59056),a=e(62552),l=e(19632),c=e(91224);const v="Portal",_=(0,a.forwardRef)((A,R)=>{var P;const{container:M=globalThis==null||(P=globalThis.document)===null||P===void 0?void 0:P.body,...O}=A;return M?l.createPortal((0,a.createElement)(c.K0.div,(0,i.c)({},O,{ref:R})),M):null}),T=null},91224:(U,C,e)=>{"use strict";e.d(C,{G2:()=>T,K0:()=>_});var i=e(59056),a=e(62552),l=e(19632),c=e(46784);const _=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((R,P)=>{const M=(0,a.forwardRef)((O,N)=>{const{asChild:B,...j}=O,z=B?c.k$:P;return(0,a.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,a.createElement)(z,(0,i.c)({},j,{ref:N}))});return M.displayName=`Primitive.${P}`,{...R,[P]:M}},{});function T(R,P){R&&(0,l.flushSync)(()=>R.dispatchEvent(P))}const A=null},38416:(U,C,e)=>{"use strict";e.d(C,{Ss:()=>Ce,iY:()=>ye,qo:()=>Q});var i=e(59056),a=e(62552),l=e(4731),c=e(12640),v=e(76368),_=e(43164),T=e(42052),A=e(91224),R=e(72312),P=e(75336),M=e(84088);const O="rovingFocusGroup.onEntryFocus",N={bubbles:!1,cancelable:!0},B="RovingFocusGroup",[j,z,W]=(0,c.o)(B),[X,Q]=(0,_._)(B,[W]),[K,Y]=X(B),Z=(0,a.forwardRef)((Ae,Fe)=>(0,a.createElement)(j.Provider,{scope:Ae.__scopeRovingFocusGroup},(0,a.createElement)(j.Slot,{scope:Ae.__scopeRovingFocusGroup},(0,a.createElement)(J,(0,i.c)({},Ae,{ref:Fe}))))),J=(0,a.forwardRef)((Ae,Fe)=>{const{__scopeRovingFocusGroup:Qe,orientation:ce,loop:Ge=!1,dir:Pe,currentTabStopId:pe,defaultCurrentTabStopId:Se,onCurrentTabStopIdChange:_e,onEntryFocus:Ne,...Le}=Ae,Ke=(0,a.useRef)(null),bt=(0,v.q)(Fe,Ke),yt=(0,M.cz)(Pe),[It=null,_t]=(0,P.W)({prop:pe,defaultProp:Se,onChange:_e}),[zt,Vt]=(0,a.useState)(!1),St=(0,R.Y)(Ne),Xt=z(Qe),jt=(0,a.useRef)(!1),[sn,dt]=(0,a.useState)(0);return(0,a.useEffect)(()=>{const Ln=Ke.current;if(Ln)return Ln.addEventListener(O,St),()=>Ln.removeEventListener(O,St)},[St]),(0,a.createElement)(K,{scope:Qe,orientation:ce,dir:yt,loop:Ge,currentTabStopId:It,onItemFocus:(0,a.useCallback)(Ln=>_t(Ln),[_t]),onItemShiftTab:(0,a.useCallback)(()=>Vt(!0),[]),onFocusableItemAdd:(0,a.useCallback)(()=>dt(Ln=>Ln+1),[]),onFocusableItemRemove:(0,a.useCallback)(()=>dt(Ln=>Ln-1),[])},(0,a.createElement)(A.K0.div,(0,i.c)({tabIndex:zt||sn===0?-1:0,"data-orientation":ce},Le,{ref:bt,style:{outline:"none",...Ae.style},onMouseDown:(0,l.K)(Ae.onMouseDown,()=>{jt.current=!0}),onFocus:(0,l.K)(Ae.onFocus,Ln=>{const fn=!jt.current;if(Ln.target===Ln.currentTarget&&fn&&!zt){const cr=new CustomEvent(O,N);if(Ln.currentTarget.dispatchEvent(cr),!cr.defaultPrevented){const wr=Xt().filter(Sn=>Sn.focusable),Jn=wr.find(Sn=>Sn.active),nn=wr.find(Sn=>Sn.id===It),bn=[Jn,nn,...wr].filter(Boolean).map(Sn=>Sn.ref.current);Ve(bn)}}jt.current=!1}),onBlur:(0,l.K)(Ae.onBlur,()=>Vt(!1))})))}),ee="RovingFocusGroupItem",re=(0,a.forwardRef)((Ae,Fe)=>{const{__scopeRovingFocusGroup:Qe,focusable:ce=!0,active:Ge=!1,tabStopId:Pe,...pe}=Ae,Se=(0,T.I)(),_e=Pe||Se,Ne=Y(ee,Qe),Le=Ne.currentTabStopId===_e,Ke=z(Qe),{onFocusableItemAdd:bt,onFocusableItemRemove:yt}=Ne;return(0,a.useEffect)(()=>{if(ce)return bt(),()=>yt()},[ce,bt,yt]),(0,a.createElement)(j.ItemSlot,{scope:Qe,id:_e,focusable:ce,active:Ge},(0,a.createElement)(A.K0.span,(0,i.c)({tabIndex:Le?0:-1,"data-orientation":Ne.orientation},pe,{ref:Fe,onMouseDown:(0,l.K)(Ae.onMouseDown,It=>{ce?Ne.onItemFocus(_e):It.preventDefault()}),onFocus:(0,l.K)(Ae.onFocus,()=>Ne.onItemFocus(_e)),onKeyDown:(0,l.K)(Ae.onKeyDown,It=>{if(It.key==="Tab"&&It.shiftKey){Ne.onItemShiftTab();return}if(It.target!==It.currentTarget)return;const _t=le(It,Ne.orientation,Ne.dir);if(_t!==void 0){It.preventDefault();let Vt=Ke().filter(St=>St.focusable).map(St=>St.ref.current);if(_t==="last")Vt.reverse();else if(_t==="prev"||_t==="next"){_t==="prev"&&Vt.reverse();const St=Vt.indexOf(It.currentTarget);Vt=Ne.loop?Ze(Vt,St+1):Vt.slice(St+1)}setTimeout(()=>Ve(Vt))}})})))}),me={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function fe(Ae,Fe){return Fe!=="rtl"?Ae:Ae==="ArrowLeft"?"ArrowRight":Ae==="ArrowRight"?"ArrowLeft":Ae}function le(Ae,Fe,Qe){const ce=fe(Ae.key,Qe);if(!(Fe==="vertical"&&["ArrowLeft","ArrowRight"].includes(ce))&&!(Fe==="horizontal"&&["ArrowUp","ArrowDown"].includes(ce)))return me[ce]}function Ve(Ae){const Fe=document.activeElement;for(const Qe of Ae)if(Qe===Fe||(Qe.focus(),document.activeElement!==Fe))return}function Ze(Ae,Fe){return Ae.map((Qe,ce)=>Ae[(Fe+ce)%Ae.length])}const Ce=Z,ye=re},46784:(U,C,e)=>{"use strict";e.d(C,{k$:()=>c});var i=e(59056),a=e(62552),l=e(76368);const c=(0,a.forwardRef)((P,M)=>{const{children:O,...N}=P,B=a.Children.toArray(O),j=B.find(T);if(j){const z=j.props.children,W=B.map(X=>X===j?a.Children.count(z)>1?a.Children.only(null):(0,a.isValidElement)(z)?z.props.children:null:X);return(0,a.createElement)(v,(0,i.c)({},N,{ref:M}),(0,a.isValidElement)(z)?(0,a.cloneElement)(z,void 0,W):null)}return(0,a.createElement)(v,(0,i.c)({},N,{ref:M}),O)});c.displayName="Slot";const v=(0,a.forwardRef)((P,M)=>{const{children:O,...N}=P;return(0,a.isValidElement)(O)?(0,a.cloneElement)(O,{...A(N,O.props),ref:M?(0,l.c)(M,O.ref):O.ref}):a.Children.count(O)>1?a.Children.only(null):null});v.displayName="SlotClone";const _=({children:P})=>(0,a.createElement)(a.Fragment,null,P);function T(P){return(0,a.isValidElement)(P)&&P.type===_}function A(P,M){const O={...M};for(const N in M){const B=P[N],j=M[N];/^on[A-Z]/.test(N)?B&&j?O[N]=(...W)=>{j(...W),B(...W)}:B&&(O[N]=B):N==="style"?O[N]={...B,...j}:N==="className"&&(O[N]=[B,j].filter(Boolean).join(" "))}return{...P,...O}}const R=null},72312:(U,C,e)=>{"use strict";e.d(C,{Y:()=>a});var i=e(62552);function a(l){const c=(0,i.useRef)(l);return(0,i.useEffect)(()=>{c.current=l}),(0,i.useMemo)(()=>(...v)=>{var _;return(_=c.current)===null||_===void 0?void 0:_.call(c,...v)},[])}},75336:(U,C,e)=>{"use strict";e.d(C,{W:()=>l});var i=e(62552),a=e(72312);function l({prop:v,defaultProp:_,onChange:T=()=>{}}){const[A,R]=c({defaultProp:_,onChange:T}),P=v!==void 0,M=P?v:A,O=(0,a.Y)(T),N=(0,i.useCallback)(B=>{if(P){const z=typeof B=="function"?B(v):B;z!==v&&O(z)}else R(B)},[P,v,R,O]);return[M,N]}function c({defaultProp:v,onChange:_}){const T=(0,i.useState)(v),[A]=T,R=(0,i.useRef)(A),P=(0,a.Y)(_);return(0,i.useEffect)(()=>{R.current!==A&&(P(A),R.current=A)},[A,R,P]),T}},62308:(U,C,e)=>{"use strict";e.d(C,{w:()=>a});var i=e(62552);const a=Boolean(globalThis?.document)?i.useLayoutEffect:()=>{}},72848:(U,C,e)=>{"use strict";e.d(C,{O:()=>i});function i(l,c,...v){if(a()&&c===void 0)throw new Error("invariant requires an error message argument");if(!l){let _;if(c===void 0)_=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let T=0;_=new Error(c.replace(/%s/g,function(){return v[T++]})),_.name="Invariant Violation"}throw _.framesToPop=1,_}}function a(){return typeof process<"u"&&!0}},48348:(U,C,e)=>{"use strict";e.d(C,{G:()=>i});function i(a,l,c,v){let _=c?c.call(v,a,l):void 0;if(_!==void 0)return!!_;if(a===l)return!0;if(typeof a!="object"||!a||typeof l!="object"||!l)return!1;const T=Object.keys(a),A=Object.keys(l);if(T.length!==A.length)return!1;const R=Object.prototype.hasOwnProperty.bind(l);for(let P=0;P<T.length;P++){const M=T[P];if(!R(M))return!1;const O=a[M],N=l[M];if(_=c?c.call(v,O,N,M):void 0,_===!1||_===void 0&&O!==N)return!1}return!0}},23792:(U,C,e)=>{"use strict";e.r(C),e.d(C,{$:()=>v1,A:()=>RS,B:()=>OS,C:()=>dp,D:()=>AS,E:()=>wS,F:()=>L3,G:()=>xS,H:()=>bS,I:()=>LE,J:()=>TS,K:()=>Wy,L:()=>d1,M:()=>SS,N:()=>Em,O:()=>Bp,P:()=>b3,Q:()=>QE,R:()=>w1,S:()=>_m,T:()=>R4,U:()=>fp,V:()=>$p,W:()=>R_,X:()=>w_,Y:()=>VT,Z:()=>eg,_:()=>zT,a:()=>gh,a0:()=>PT,b:()=>e_,c:()=>ZE,d:()=>Vd,e:()=>p3,f:()=>pm,g:()=>mh,h:()=>Hh,i:()=>vh,j:()=>Vu,k:()=>__,l:()=>Ag,m:()=>KT,n:()=>cp,o:()=>Ai,p:()=>vf,q:()=>Av,r:()=>ty,s:()=>gf,t:()=>n1,u:()=>Rv,v:()=>f3,w:()=>JE,x:()=>b4,y:()=>a1,z:()=>DS});var i=e(19968),a=e(95840),l=e(54320),c=e(5e3),v=e(48936),_=e(56104),T=e(17324),A=e(48112),R=e(63358),P=e(62492),M=e(32568),O=e(35676),N=e(95080),B=e(37340),j=e(23264),z=e(33128),W=e(35480),X=e(79672),Q=e(25352),K=e(28724),Y=e(70996),Z=e(28464),J=e(20436),ee=e(36132),re=e(81504),me=e(35933),fe=e(13384),le=e(82800),Ve=e(48560),Ze=e(59264),Ce=e(65092),ye=e(9544),Ae=e(55716),Fe=e(70544),Qe=e(3704);const ce=Qe.cp.div`
  margin-right: ${({theme:u})=>u.spaces[3]};
  width: ${6/16}rem;
  height: ${6/16}rem;
  border-radius: 50%;
  background: ${({theme:u,backgroundColor:f})=>u.colors[f]};
`,Ge=(0,Qe.cp)(c.k)`
  ${R.O} {
    color: ${({theme:u,textColor:f})=>u.colors[f]};
  }
`,Pe=({variant:u="primary",showBullet:f=!0,size:E="M",children:S,...w})=>{const q=`${u}100`,ne=`${u}200`,se=`${u}600`,Ee=`${u}600`,Te=E==="S"?2:5,Me=E==="S"?1:4;return(0,i.jsx)(Ge,{borderColor:ne,textColor:Ee,background:q,hasRadius:!0,paddingTop:Me,paddingBottom:Me,paddingLeft:Te,paddingRight:Te,...w,children:f?(0,i.jsxs)(v.C,{children:[(0,i.jsx)(ce,{backgroundColor:se}),S]}):S})};var pe=e(65280),Se=e(3400),_e=e(28216),Ne=e(11208),Le=e(2931),Ke=e(25824),bt=e(3548),yt=e(6912),It=e(67056),_t=e(42616),zt=e(34404),Vt=e(12248),St=e(83360),Xt=e(29176),jt=e(14448),sn=e(77872),dt=e(85820),Ln=e(70883),fn=e(84328),cr=e(20596),wr=e(19576),Jn=e(76512),nn=e(9752),or=e(89296),bn=e(37976),Sn=e(444),Hn=e(73256);const er=(0,Qe.cp)(v.C)`
  & > * + * {
    margin-left: -${Hn.s/2}px;
  }
`;var an=e(52051),Cn=e(15520);const de={color:{alternative100:"#181826",alternative200:"#4a4a6a",alternative500:"#ac73e6",alternative600:"#ac73e6",alternative700:"#e0c1f4",buttonNeutral0:"#ffffff",buttonPrimary500:"#7b79ff",buttonPrimary600:"#4945ff",danger100:"#181826",danger200:"#4a4a6a",danger500:"#ee5e52",danger600:"#ee5e52",danger700:"#ee5e52",neutral0:"#212134",neutral100:"#181826",neutral1000:"#ffffff",neutral150:"#32324d",neutral200:"#4a4a6a",neutral300:"#666687",neutral400:"#a5a5ba",neutral500:"#c0c0cf",neutral600:"#a5a5ba",neutral700:"#eaeaef",neutral800:"#ffffff",neutral900:"#ffffff",primary100:"#181826",primary200:"#4a4a6a",primary500:"#4945ff",primary600:"#7b79ff",primary700:"#7b79ff",secondary100:"#181826",secondary200:"#4a4a6a",secondary500:"#66b7f1",secondary600:"#66b7f1",secondary700:"#b8e1ff",success100:"#181826",success200:"#4a4a6a",success500:"#5cb176",success600:"#5cb176",success700:"#c6f0c2",warning100:"#181826",warning200:"#4a4a6a",warning500:"#f29d41",warning600:"#f29d41",warning700:"#fae7b9"}},oe={shadow:{filterShadow:"1px 1px 10px rgba(3, 3, 5, 0.35)",focus:"inset 2px 0px 0px rgb(39, 31, 224), inset 0px 2px 0px rgb(39, 31, 224), inset -2px 0px 0px rgb(39, 31, 224), inset 0px -2px 0px rgb(39, 31, 224)",focusShadow:"0px 0px 6px rgba(76, 191, 255, 0.75)",popupShadow:"1px 1px 10px rgba(3, 3, 5, 0.35)",tableShadow:"1px 1px 10px rgba(3, 3, 5, 0.2)"}};var Ye=e(35984);const Et={colors:de.color,shadows:oe.shadow,...Ye.M};var xe=e(5240),Re=e(91892),We=e(36196),gt=e(20880),Nt=e(21424),Ct=e(49008),tn=e(39380),ge=e(62552),At=e(14632),mn=e(7353),xn=e(46788),Un=e(31440),gr=e(97060),Ur=e(77208),Or=e(70716),ii=e(66484);function Ui(u,f){return Object.keys(u).reduce(function(E,S){return E[S]=(0,mn.C3)({timeZone:f},u[S]),E},{})}function rn(u,f){var E=Object.keys((0,mn.C3)((0,mn.C3)({},u),f));return E.reduce(function(S,w){return S[w]=(0,mn.C3)((0,mn.C3)({},u[w]||{}),f[w]||{}),S},{})}function $n(u,f){if(!f)return u;var E=Ur.W.formats;return(0,mn.C3)((0,mn.C3)((0,mn.C3)({},E),u),{date:rn(Ui(E.date,f),Ui(u.date||{},f)),time:rn(Ui(E.time,f),Ui(u.time||{},f))})}var yi=function(u,f,E,S,w){var q=u.locale,ne=u.formats,se=u.messages,Ee=u.defaultLocale,Te=u.defaultFormats,Me=u.fallbackOnEmptyString,nt=u.onError,ht=u.timeZone,Bt=u.defaultRichTextElements;E===void 0&&(E={id:""});var Ft=E.id,ze=E.defaultMessage;(0,gr.ON)(!!Ft,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var _n=String(Ft),On=se&&Object.prototype.hasOwnProperty.call(se,_n)&&se[_n];if(Array.isArray(On)&&On.length===1&&On[0].type===ii._M.literal)return On[0].value;if(!S&&On&&typeof On=="string"&&!Bt)return On.replace(/'\{(.*?)\}'/gi,"{$1}");if(S=(0,mn.C3)((0,mn.C3)({},Bt),S||{}),ne=$n(ne,ht),Te=$n(Te,ht),!On){if(Me===!1&&On==="")return On;if((!ze||q&&q.toLowerCase()!==Ee.toLowerCase())&&nt(new Or.Wq(E,q)),ze)try{var Gn=f.getMessageFormat(ze,Ee,Te,w);return Gn.format(S)}catch(Vn){return nt(new Or.Ub('Error formatting default message for: "'.concat(_n,'", rendering default message verbatim'),q,E,Vn)),typeof ze=="string"?ze:_n}return _n}try{var Gn=f.getMessageFormat(On,q,ne,(0,mn.C3)({formatters:f},w||{}));return Gn.format(S)}catch(Vn){nt(new Or.Ub('Error formatting message: "'.concat(_n,'", using ').concat(ze?"default message":"id"," as fallback."),q,E,Vn))}if(ze)try{var Gn=f.getMessageFormat(ze,Ee,Te,w);return Gn.format(S)}catch(Vn){nt(new Or.Ub('Error formatting the default message for: "'.concat(_n,'", rendering message verbatim'),q,E,Vn))}return typeof On=="string"?On:typeof ze=="string"?ze:_n},Jr=e(14600),cn=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function mt(u,f,E){var S=u.locale,w=u.formats,q=u.onError;E===void 0&&(E={});var ne=E.format,se=ne&&(0,Jr._u)(w,"number",ne,q)||{},Ee=(0,Jr.OY)(E,cn,se);return f(S,Ee)}function we(u,f,E,S){S===void 0&&(S={});try{return mt(u,f,S).format(E)}catch(w){u.onError(new Or.q2("Error formatting number.",u.locale,w))}return String(E)}function je(u,f,E,S){S===void 0&&(S={});try{return mt(u,f,S).formatToParts(E)}catch(w){u.onError(new Or.q2("Error formatting number.",u.locale,w))}return[]}var pt=e(56188),at=["numeric","style"];function kt(u,f,E){var S=u.locale,w=u.formats,q=u.onError;E===void 0&&(E={});var ne=E.format,se=!!ne&&(0,Jr._u)(w,"relative",ne,q)||{},Ee=(0,Jr.OY)(E,at,se);return f(S,Ee)}function vn(u,f,E,S,w){w===void 0&&(w={}),S||(S="second");var q=Intl.RelativeTimeFormat;q||u.onError(new pt.cn(`Intl.RelativeTimeFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-relativetimeformat"
`,pt.uI.MISSING_INTL_API));try{return kt(u,f,w).format(E,S)}catch(ne){u.onError(new Or.q2("Error formatting relative time.",u.locale,ne))}return String(E)}var Wn=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function nr(u,f,E,S){var w=u.locale,q=u.formats,ne=u.onError,se=u.timeZone;S===void 0&&(S={});var Ee=S.format,Te=(0,mn.C3)((0,mn.C3)({},se&&{timeZone:se}),Ee&&(0,Jr._u)(q,f,Ee,ne)),Me=(0,Jr.OY)(S,Wn,Te);return f==="time"&&!Me.hour&&!Me.minute&&!Me.second&&!Me.timeStyle&&!Me.dateStyle&&(Me=(0,mn.C3)((0,mn.C3)({},Me),{hour:"numeric",minute:"numeric"})),E(w,Me)}function rr(u,f){for(var E=[],S=2;S<arguments.length;S++)E[S-2]=arguments[S];var w=E[0],q=E[1],ne=q===void 0?{}:q,se=typeof w=="string"?new Date(w||0):w;try{return nr(u,"date",f,ne).format(se)}catch(Ee){u.onError(new Or.q2("Error formatting date.",u.locale,Ee))}return String(se)}function Ot(u,f){for(var E=[],S=2;S<arguments.length;S++)E[S-2]=arguments[S];var w=E[0],q=E[1],ne=q===void 0?{}:q,se=typeof w=="string"?new Date(w||0):w;try{return nr(u,"time",f,ne).format(se)}catch(Ee){u.onError(new Or.q2("Error formatting time.",u.locale,Ee))}return String(se)}function Gt(u,f){for(var E=[],S=2;S<arguments.length;S++)E[S-2]=arguments[S];var w=E[0],q=E[1],ne=E[2],se=ne===void 0?{}:ne,Ee=u.timeZone,Te=u.locale,Me=u.onError,nt=(0,Jr.OY)(se,Wn,Ee?{timeZone:Ee}:{});try{return f(Te,nt).formatRange(w,q)}catch(ht){Me(new Or.q2("Error formatting date time range.",u.locale,ht))}return String(w)}function Pt(u,f){for(var E=[],S=2;S<arguments.length;S++)E[S-2]=arguments[S];var w=E[0],q=E[1],ne=q===void 0?{}:q,se=typeof w=="string"?new Date(w||0):w;try{return nr(u,"date",f,ne).formatToParts(se)}catch(Ee){u.onError(new Or.q2("Error formatting date.",u.locale,Ee))}return[]}function Tt(u,f){for(var E=[],S=2;S<arguments.length;S++)E[S-2]=arguments[S];var w=E[0],q=E[1],ne=q===void 0?{}:q,se=typeof w=="string"?new Date(w||0):w;try{return nr(u,"time",f,ne).formatToParts(se)}catch(Ee){u.onError(new Or.q2("Error formatting time.",u.locale,Ee))}return[]}var An=["type"];function on(u,f,E,S){var w=u.locale,q=u.onError;S===void 0&&(S={}),Intl.PluralRules||q(new pt.cn(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`,pt.uI.MISSING_INTL_API));var ne=(0,Jr.OY)(S,An);try{return f(w,ne).select(E)}catch(se){q(new Or.q2("Error formatting plural.",w,se))}return"other"}var dn=["type","style"],$e=Date.now();function Yt(u){return"".concat($e,"_").concat(u,"_").concat($e)}function $t(u,f,E,S){S===void 0&&(S={});var w=Jt(u,f,E,S).reduce(function(q,ne){var se=ne.value;return typeof se!="string"?q.push(se):typeof q[q.length-1]=="string"?q[q.length-1]+=se:q.push(se),q},[]);return w.length===1?w[0]:w.length===0?"":w}function Jt(u,f,E,S){var w=u.locale,q=u.onError;S===void 0&&(S={});var ne=Intl.ListFormat;ne||q(new pt.cn(`Intl.ListFormat is not available in this environment.
Try polyfilling it using "@formatjs/intl-listformat"
`,pt.uI.MISSING_INTL_API));var se=(0,Jr.OY)(S,dn);try{var Ee={},Te=E.map(function(Me,nt){if(typeof Me=="object"){var ht=Yt(nt);return Ee[ht]=Me,ht}return String(Me)});return f(w,se).formatToParts(Te).map(function(Me){return Me.type==="literal"?Me:(0,mn.C3)((0,mn.C3)({},Me),{value:Ee[Me.value]||Me.value})})}catch(Me){q(new Or.q2("Error formatting list.",w,Me))}return E}var Lt=["style","type","fallback","languageDisplay"];function yn(u,f,E,S){var w=u.locale,q=u.onError,ne=Intl.DisplayNames;ne||q(new pt.cn(`Intl.DisplayNames is not available in this environment.
Try polyfilling it using "@formatjs/intl-displaynames"
`,pt.uI.MISSING_INTL_API));var se=(0,Jr.OY)(S,Lt);try{return f(w,se).of(E)}catch(Ee){q(new Or.q2("Error formatting display name.",w,Ee))}}function In(u){var f=u?u[Object.keys(u)[0]]:void 0;return typeof f=="string"}function yr(u){u.onWarn&&u.defaultRichTextElements&&In(u.messages||{})&&u.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. 
Please consider using "@formatjs/cli" to pre-compile your messages for performance.
For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function Rr(u,f){var E=(0,Jr.AH)(f),S=(0,mn.C3)((0,mn.C3)({},Jr.SI),u),w=S.locale,q=S.defaultLocale,ne=S.onError;return w?!Intl.NumberFormat.supportedLocalesOf(w).length&&ne?ne(new Or.yk('Missing locale data for locale: "'.concat(w,'" in Intl.NumberFormat. Using default locale: "').concat(q,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(w).length&&ne&&ne(new Or.yk('Missing locale data for locale: "'.concat(w,'" in Intl.DateTimeFormat. Using default locale: "').concat(q,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(ne&&ne(new Or.AQ('"locale" was not configured, using "'.concat(q,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),S.locale=S.defaultLocale||"en"),yr(S),(0,mn.C3)((0,mn.C3)({},S),{formatters:E,formatNumber:we.bind(null,S,E.getNumberFormat),formatNumberToParts:je.bind(null,S,E.getNumberFormat),formatRelativeTime:vn.bind(null,S,E.getRelativeTimeFormat),formatDate:rr.bind(null,S,E.getDateTimeFormat),formatDateToParts:Pt.bind(null,S,E.getDateTimeFormat),formatTime:Ot.bind(null,S,E.getDateTimeFormat),formatDateTimeRange:Gt.bind(null,S,E.getDateTimeFormat),formatTimeToParts:Tt.bind(null,S,E.getDateTimeFormat),formatPlural:on.bind(null,S,E.getPluralRules),formatMessage:yi.bind(null,S,E),$t:yi.bind(null,S,E),formatList:$t.bind(null,S,E.getListFormat),formatListToParts:Jt.bind(null,S,E.getListFormat),formatDisplayName:yn.bind(null,S,E.getDisplayNames)})}var Xr=e(89352);function ci(u){return{locale:u.locale,timeZone:u.timeZone,fallbackOnEmptyString:u.fallbackOnEmptyString,formats:u.formats,textComponent:u.textComponent,messages:u.messages,defaultLocale:u.defaultLocale,defaultFormats:u.defaultFormats,onError:u.onError,onWarn:u.onWarn,wrapRichTextChunksInFragment:u.wrapRichTextChunksInFragment,defaultRichTextElements:u.defaultRichTextElements}}function Hr(u){return u&&Object.keys(u).reduce(function(f,E){var S=u[E];return f[E]=(0,Xr.sT)(S)?(0,Un.Qp)(S):S,f},{})}var un=function(u,f,E,S){for(var w=[],q=4;q<arguments.length;q++)w[q-4]=arguments[q];var ne=Hr(S),se=yi.apply(void 0,(0,mn.Mt)([u,f,E,ne],w,!1));return Array.isArray(se)?ge.Children.toArray(se):se},ct=function(u,f){var E=u.defaultRichTextElements,S=(0,mn.sX)(u,["defaultRichTextElements"]),w=Hr(E),q=Rr((0,mn.C3)((0,mn.C3)((0,mn.C3)({},Un.SI),S),{defaultRichTextElements:w}),f),ne={locale:q.locale,timeZone:q.timeZone,fallbackOnEmptyString:q.fallbackOnEmptyString,formats:q.formats,defaultLocale:q.defaultLocale,defaultFormats:q.defaultFormats,messages:q.messages,onError:q.onError,defaultRichTextElements:w};return(0,mn.C3)((0,mn.C3)({},q),{formatMessage:un.bind(null,ne,q.formatters),$t:un.bind(null,ne,q.formatters)})},Ut=function(u){(0,mn.ct)(f,u);function f(){var E=u!==null&&u.apply(this,arguments)||this;return E.cache=(0,Jr.Se)(),E.state={cache:E.cache,intl:ct(ci(E.props),E.cache),prevConfig:ci(E.props)},E}return f.getDerivedStateFromProps=function(E,S){var w=S.prevConfig,q=S.cache,ne=ci(E);return(0,Un.G)(w,ne)?null:{intl:ct(ne,q),prevConfig:ne}},f.prototype.render=function(){return(0,Un.QB)(this.state.intl),ge.createElement(xn.C_,{value:this.state.intl},this.props.children)},f.displayName="IntlProvider",f.defaultProps=Un.SI,f}(ge.PureComponent);const wt=Ut;var kn=e(70516),wn=e(41016),Qn=e(19632);const ur=Symbol(),fi=Symbol(),ot=typeof window>"u"||/ServerSideRendering/.test(window.navigator&&window.navigator.userAgent)?ge.useEffect:ge.useLayoutEffect,ft=wn.unstable_runWithPriority?u=>(0,wn.unstable_runWithPriority)(wn.unstable_NormalPriority,u):u=>u(),Mt=u=>u;function qt(u){const f=(0,ge.createContext)({[ur]:{v:{current:u},n:{current:-1},l:new Set,u:S=>S()}});var E;return f[fi]=f.Provider,f.Provider=(E=f.Provider,({value:S,children:w})=>{const q=(0,ge.useRef)(S),ne=(0,ge.useRef)(0),[se,Ee]=(0,ge.useState)(null);se&&(se(S),Ee(null));const Te=(0,ge.useRef)();if(!Te.current){const Me=new Set,nt=(ht,Bt)=>{(0,Qn.unstable_batchedUpdates)(()=>{ne.current+=1;const Ft={n:ne.current};Bt!=null&&Bt.suspense&&(Ft.n*=-1,Ft.p=new Promise(ze=>{Ee(()=>_n=>{Ft.v=_n,delete Ft.p,ze(_n)})})),Me.forEach(ze=>ze(Ft)),ht()})};Te.current={[ur]:{v:q,n:ne,l:Me,u:nt}}}return ot(()=>{q.current=S,ne.current+=1,ft(()=>{Te.current[ur].l.forEach(Me=>{Me({n:ne.current,v:S})})})},[S]),(0,ge.createElement)(E,{value:Te.current},w)}),delete f.Consumer,f}function sr(u,f){const E=(0,ge.useContext)(u)[ur],{v:{current:S},n:{current:w},l:q}=E,ne=f(S),[se,Ee]=(0,ge.useReducer)((Te,Me)=>{if(!Me)return[S,ne];if("p"in Me)throw Me.p;if(Me.n===w)return Object.is(Te[1],ne)?Te:[S,ne];try{if("v"in Me){if(Object.is(Te[0],Me.v))return Te;const nt=f(Me.v);return Object.is(Te[1],nt)?Te:[Me.v,nt]}}catch{}return[...Te]},[S,ne]);return Object.is(se[1],ne)||Ee(),ot(()=>(q.add(Ee),()=>{q.delete(Ee)}),[q]),se[1]}function lr(u){return sr(u,Mt)}function Cr(u){const f=r(u)[ur],{u:E}=f;return E}const xr=({context:u,value:f,children:E})=>{const{[fi]:S}=u;return n(S,{value:f},E)},qr=u=>r(u);var jr=e(67432),vr=e(89592),$r=e(21160),Wr=e(87108),be=e(78164),Ue=e(17848),ut=e(43164),Ht=e(5540),Fn=e(53504),ln=e(57512),jn=e(87320),Nr=e(3240),Mi=e(89976),Oi=e(58756),ni=e(2165),rs=e(26272),Qi=e(58692),la=e(37100),as=e(27592),bs=e(73376),Za=e(15396),za=e(67576),wo=e(42760),ca=e(1984),Uo=e(11464),ru=e(47564),di=e(19960),wi=e(75384),dr=e(61924),hi=e(84084),Si=e(17032),Di=e(60780),Xi=e(69648),zi=e(44792),os=e(86304),js=e(43272),hs=e(53305),Vi=e(77080),ns=e(62584),fs=e(14456),Ks=e(46596),ma=e(95960),da=e(21508),Da=e(25024),Ys=e(92116),Xa=e(39560),Po=e(71640),co=e(54008),el=e(27548),Yo=e(57948),Ou=e(33016),Qo=e(41272),Ha=e(45236),Jo=e(36944),qo=e(99995),tl=e(81011),Nu=e(92508),Kl=e(59584),ke=e(84760),Ie=e(14032),Wt=e(50692),Nn=e(62736),ei=e(15800),bi=e(50452),Cs=e(60012),Bs=e(35828),Xs=e(60900),_a=e(28656),ga=e(37896),Vs=e(51768),Va=e(93048),io=e(97717),ya=e(83456),oo=e(24504),ka=e(48256),Su=e(42508),Ru=e(50616),Ko=e(30932),Yl=e(872),gu=e(98168),Ul=e(41724),Vc=e(96476),ll=e(66156),Kc=e(73560),wu=e(79136),Yc=e(89032),S0=e(53120),bc=e(70388),T0=e(80008),N0=e(76080),P0=e(67864),Ql=e(21024),Qc=e(6884),zn=e(88796),Kr=e(5556),gn=e(63472),tr=e(96508),st=e(76872),si=e(4928),Yi=e(90152),Ri=e(89940),ta=e(35492),fa=e(77347),Aa=e(85136),Es=e(68732),ha=e(76204),qa=e(64764),fo=e(48636),Wa=e(46460),Wo=e(53312),ou=e(89304),Io=e(92420),uu=e(51384),Ta=e(12324),fu=e(30076),Zl=e(35520),Pu=e(56280),Zc=e(43776),Yu=e(85088),Cc=e(63024),L0=e(37272),Xc=e(37576),rc=e(71844),Sl=e(88344),B0=e(7092),Tl=e(52928),z0=e(59512),Jc=e(24392),Ra=e(42296),xs=e(80196),hu=e(63180),cl=e(46672),Do=e(2064),D0=e(6472),jl=e(44504),nl=e(59964),Ml=e(80208),ic=e(76120),Qu=e(83820),l0=e(4176),qc=e(3608),dc=e(36632),c0=e(13872),fc=e(63648),Zu=e(39716),vu=e(42515),Tu=e(67516),vl=e(14520),Zo=e(71324),aa=e(44088),e0=e(57252),Ic=e(47912),kc=e(86108),eu=e(42260),Dl=e(35704),d0=e(46849),Al=e(22557),Sc=e(51855),Uc=e(7632),eo=e(50064),sc=e(13520),Eu=e(71692);const Lu=u=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...u,children:(0,i.jsx)("path",{fill:"#181826",d:"M13 20h-2v-7H4v7H2V4h2v7h7V4h2v16Zm8-12v12h-2v-9.796l-2 .536V8.67L19.5 8H21Z"})}),dl=Lu,rl=u=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...u,children:(0,i.jsx)("path",{fill:"#181826",d:"M4 4v7h7V4h2v16h-2v-7H4v7H2V4h2Zm14.5 4a3.75 3.75 0 0 1 2.978 6.03l-.148.18L18.034 18H22v2h-7v-1.556l4.82-5.546a1.75 1.75 0 1 0-3.065-1.292l-.005.144h-2A3.75 3.75 0 0 1 18.5 8Z"})}),Mc=rl,El=u=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...u,children:(0,i.jsx)("path",{fill:"#181826",d:"m22 8-.002 2-2.505 2.883a3.752 3.752 0 0 1-.993 7.367 3.751 3.751 0 0 1-3.682-3.033l1.964-.382a1.75 1.75 0 1 0 .924-1.895l-1.307-1.547L19.35 10H15V8h7ZM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2Z"})}),jc=El,td=u=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...u,children:(0,i.jsx)("path",{fill:"#181826",d:"M13 20h-2v-7H4v7H2V4h2v7h7V4h2v16Zm9-12v8h1.5v2H22v2h-2v-2h-5.5v-1.34l5-8.66H22Zm-2 3.133L17.19 16H20v-4.867Z"})}),Xl=td,Nc=u=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...u,children:(0,i.jsx)("path",{fill:"#181826",d:"M22 8v2h-4.323l-.464 2.636A4.006 4.006 0 0 1 22.25 16.5a4 4 0 0 1-7.846 1.103l1.923-.551a2 2 0 1 0 .363-1.804l-1.81-.904L16 8h6ZM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2Z"})}),Ho=Nc,Bu=u=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...u,children:(0,i.jsx)("path",{fill:"#181826",d:"m21.097 8-2.598 4.5a4 4 0 1 1-3.453 1.981L18.788 8h2.309ZM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2Zm14.5 10.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z"})}),iu=Bu,f0=u=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...u,children:(0,i.jsx)("path",{fill:"#32324D",d:"M3.74 2.7v3.85h1.04v.85H1.56v-.85H2.6V3.8H1.56v-.77l2.18-.33Zm-.72 10.92.01.04h1.75v.76H1.55v-.67l1.52-1.57c.19-.22.34-.41.43-.58a.99.99 0 0 0 .14-.45.64.64 0 0 0-.14-.43.51.51 0 0 0-.4-.16.43.43 0 0 0-.39.2.96.96 0 0 0-.14.53H1.52v-.02c-.02-.43.12-.79.41-1.09.3-.3.68-.44 1.16-.44.52 0 .91.12 1.2.37.29.25.43.6.43 1.04 0 .29-.08.55-.23.78-.15.22-.43.56-.84 1l-.63.7Zm1.63 5.85a1.25 1.25 0 0 0-.59-.42c.22-.1.4-.24.53-.41a1.16 1.16 0 0 0-.26-1.57c-.3-.23-.7-.35-1.21-.35-.43 0-.8.12-1.1.35-.31.23-.46.55-.45.92l.01.03h1.05c0-.19.05-.25.16-.33a.6.6 0 0 1 .37-.13c.18 0 .31.05.4.15.1.1.15.22.15.37a.6.6 0 0 1-.16.44.6.6 0 0 1-.45.17h-.5v.75h.5c.22 0 .39.07.5.17.12.1.18.28.18.5 0 .16-.05.3-.17.4a.64.64 0 0 1-.45.17.64.64 0 0 1-.42-.18.47.47 0 0 1-.18-.4H1.51l-.01.05c-.01.43.15.78.47 1 .33.23.71.35 1.15.35.5 0 .92-.12 1.25-.36.33-.24.49-.58.49-1 0-.26-.07-.48-.21-.67ZM8.4 3.97h14.1v2.38H8.4V3.98Zm14.1 6.9H8.4v2.37h14.1v-2.37Zm-14.1 6.9h14.1v2.37H8.4v-2.37Z"})}),_l=f0,Nl=u=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...u,children:(0,i.jsx)("path",{fill:"#181826",d:"M3 4h18v2H3V4Zm0 15h14v2H3v-2Zm0-5h18v2H3v-2Zm0-5h14v2H3V9Z"})}),$c=Nl;var hc=e(36133),il=e(30048),V0=e(24144),Wc=e(67636),A0=e(65816),t0=e(73200),Pl=e(32680),xl=e(24328),Pc=e(79848),Lc=e(31812),$l=e(18424),Ts=e(52540),Xu=e(21968),Iu=e(12132),Go=e(48632),zo=e(29088),Is=e(85676),xa=e(35184),Fu=e(99568),na=e(79644),pc=e(77552);function n0(u){const E=(0,pc.e)().getMonitor(),[S,w]=(0,na.y)(E,u);return(0,ge.useEffect)(()=>E.subscribeToOffsetChange(w)),(0,ge.useEffect)(()=>E.subscribeToStateChange(w)),S}var Wl=e(88908),et=e(7736),pn=e(65656),Tn=e(59056),Kn=e(27220),fr=e(56384),Sr=Number.isNaN||function(f){return typeof f=="number"&&f!==f};function br(u,f){return!!(u===f||Sr(u)&&Sr(f))}function li(u,f){if(u.length!==f.length)return!1;for(var E=0;E<u.length;E++)if(!br(u[E],f[E]))return!1;return!0}function pi(u,f){f===void 0&&(f=li);var E,S=[],w,q=!1;function ne(){for(var se=[],Ee=0;Ee<arguments.length;Ee++)se[Ee]=arguments[Ee];return q&&E===this&&f(se,S)||(w=u.apply(this,se),q=!0,E=this,S=se),w}return ne}const Bi=pi;var Fi=typeof performance=="object"&&typeof performance.now=="function",Ii=Fi?function(){return performance.now()}:function(){return Date.now()};function Ni(u){cancelAnimationFrame(u.id)}function Ds(u,f){var E=Ii();function S(){Ii()-E>=f?u.call(null):w.id=requestAnimationFrame(S)}var w={id:requestAnimationFrame(S)};return w}var ds=-1;function Gs(u){if(u===void 0&&(u=!1),ds===-1||u){var f=document.createElement("div"),E=f.style;E.width="50px",E.height="50px",E.overflow="scroll",document.body.appendChild(f),ds=f.offsetWidth-f.clientWidth,document.body.removeChild(f)}return ds}var Fs=null;function $s(u){if(u===void 0&&(u=!1),Fs===null||u){var f=document.createElement("div"),E=f.style;E.width="50px",E.height="50px",E.overflow="scroll",E.direction="rtl";var S=document.createElement("div"),w=S.style;return w.width="100px",w.height="100px",f.appendChild(S),document.body.appendChild(f),f.scrollLeft>0?Fs="positive-descending":(f.scrollLeft=1,f.scrollLeft===0?Fs="negative":Fs="positive-ascending"),document.body.removeChild(f),Fs}return Fs}var oa=150,to=function(f){var E=f.columnIndex,S=f.data,w=f.rowIndex;return w+":"+E},ba=null,pa=null,Lo=null;function su(u){var f,E=u.getColumnOffset,S=u.getColumnStartIndexForOffset,w=u.getColumnStopIndexForStartIndex,q=u.getColumnWidth,ne=u.getEstimatedTotalHeight,se=u.getEstimatedTotalWidth,Ee=u.getOffsetForColumnAndAlignment,Te=u.getOffsetForRowAndAlignment,Me=u.getRowHeight,nt=u.getRowOffset,ht=u.getRowStartIndexForOffset,Bt=u.getRowStopIndexForStartIndex,Ft=u.initInstanceProps,ze=u.shouldResetStyleCacheOnItemSizeChange,_n=u.validateProps;return f=function(On){(0,fr.c)(Gn,On);function Gn(mr){var Dn;return Dn=On.call(this,mr)||this,Dn._instanceProps=Ft(Dn.props,(0,Kn.c)(Dn)),Dn._resetIsScrollingTimeoutId=null,Dn._outerRef=void 0,Dn.state={instance:(0,Kn.c)(Dn),isScrolling:!1,horizontalScrollDirection:"forward",scrollLeft:typeof Dn.props.initialScrollLeft=="number"?Dn.props.initialScrollLeft:0,scrollTop:typeof Dn.props.initialScrollTop=="number"?Dn.props.initialScrollTop:0,scrollUpdateWasRequested:!1,verticalScrollDirection:"forward"},Dn._callOnItemsRendered=void 0,Dn._callOnItemsRendered=Bi(function(Ir,hr,Mr,_r,Br,oi,ri,kr){return Dn.props.onItemsRendered({overscanColumnStartIndex:Ir,overscanColumnStopIndex:hr,overscanRowStartIndex:Mr,overscanRowStopIndex:_r,visibleColumnStartIndex:Br,visibleColumnStopIndex:oi,visibleRowStartIndex:ri,visibleRowStopIndex:kr})}),Dn._callOnScroll=void 0,Dn._callOnScroll=Bi(function(Ir,hr,Mr,_r,Br){return Dn.props.onScroll({horizontalScrollDirection:Mr,scrollLeft:Ir,scrollTop:hr,verticalScrollDirection:_r,scrollUpdateWasRequested:Br})}),Dn._getItemStyle=void 0,Dn._getItemStyle=function(Ir,hr){var Mr=Dn.props,_r=Mr.columnWidth,Br=Mr.direction,oi=Mr.rowHeight,ri=Dn._getItemStyleCache(ze&&_r,ze&&Br,ze&&oi),kr=Ir+":"+hr,Zr;if(ri.hasOwnProperty(kr))Zr=ri[kr];else{var ai=E(Dn.props,hr,Dn._instanceProps),Vr=Br==="rtl";ri[kr]=Zr={position:"absolute",left:Vr?void 0:ai,right:Vr?ai:void 0,top:nt(Dn.props,Ir,Dn._instanceProps),height:Me(Dn.props,Ir,Dn._instanceProps),width:q(Dn.props,hr,Dn._instanceProps)}}return Zr},Dn._getItemStyleCache=void 0,Dn._getItemStyleCache=Bi(function(Ir,hr,Mr){return{}}),Dn._onScroll=function(Ir){var hr=Ir.currentTarget,Mr=hr.clientHeight,_r=hr.clientWidth,Br=hr.scrollLeft,oi=hr.scrollTop,ri=hr.scrollHeight,kr=hr.scrollWidth;Dn.setState(function(Zr){if(Zr.scrollLeft===Br&&Zr.scrollTop===oi)return null;var ai=Dn.props.direction,Vr=Br;if(ai==="rtl")switch($s()){case"negative":Vr=-Br;break;case"positive-descending":Vr=kr-_r-Br;break}Vr=Math.max(0,Math.min(Vr,kr-_r));var Ki=Math.max(0,Math.min(oi,ri-Mr));return{isScrolling:!0,horizontalScrollDirection:Zr.scrollLeft<Br?"forward":"backward",scrollLeft:Vr,scrollTop:Ki,verticalScrollDirection:Zr.scrollTop<oi?"forward":"backward",scrollUpdateWasRequested:!1}},Dn._resetIsScrollingDebounced)},Dn._outerRefSetter=function(Ir){var hr=Dn.props.outerRef;Dn._outerRef=Ir,typeof hr=="function"?hr(Ir):hr!=null&&typeof hr=="object"&&hr.hasOwnProperty("current")&&(hr.current=Ir)},Dn._resetIsScrollingDebounced=function(){Dn._resetIsScrollingTimeoutId!==null&&Ni(Dn._resetIsScrollingTimeoutId),Dn._resetIsScrollingTimeoutId=Ds(Dn._resetIsScrolling,oa)},Dn._resetIsScrolling=function(){Dn._resetIsScrollingTimeoutId=null,Dn.setState({isScrolling:!1},function(){Dn._getItemStyleCache(-1)})},Dn}Gn.getDerivedStateFromProps=function(Dn,Ir){return uo(Dn,Ir),_n(Dn),null};var Vn=Gn.prototype;return Vn.scrollTo=function(Dn){var Ir=Dn.scrollLeft,hr=Dn.scrollTop;Ir!==void 0&&(Ir=Math.max(0,Ir)),hr!==void 0&&(hr=Math.max(0,hr)),this.setState(function(Mr){return Ir===void 0&&(Ir=Mr.scrollLeft),hr===void 0&&(hr=Mr.scrollTop),Mr.scrollLeft===Ir&&Mr.scrollTop===hr?null:{horizontalScrollDirection:Mr.scrollLeft<Ir?"forward":"backward",scrollLeft:Ir,scrollTop:hr,scrollUpdateWasRequested:!0,verticalScrollDirection:Mr.scrollTop<hr?"forward":"backward"}},this._resetIsScrollingDebounced)},Vn.scrollToItem=function(Dn){var Ir=Dn.align,hr=Ir===void 0?"auto":Ir,Mr=Dn.columnIndex,_r=Dn.rowIndex,Br=this.props,oi=Br.columnCount,ri=Br.height,kr=Br.rowCount,Zr=Br.width,ai=this.state,Vr=ai.scrollLeft,Ki=ai.scrollTop,As=Gs();Mr!==void 0&&(Mr=Math.max(0,Math.min(Mr,oi-1))),_r!==void 0&&(_r=Math.max(0,Math.min(_r,kr-1)));var Gi=ne(this.props,this._instanceProps),ts=se(this.props,this._instanceProps),Ps=ts>Zr?As:0,sa=Gi>ri?As:0;this.scrollTo({scrollLeft:Mr!==void 0?Ee(this.props,Mr,hr,Vr,this._instanceProps,sa):Vr,scrollTop:_r!==void 0?Te(this.props,_r,hr,Ki,this._instanceProps,Ps):Ki})},Vn.componentDidMount=function(){var Dn=this.props,Ir=Dn.initialScrollLeft,hr=Dn.initialScrollTop;if(this._outerRef!=null){var Mr=this._outerRef;typeof Ir=="number"&&(Mr.scrollLeft=Ir),typeof hr=="number"&&(Mr.scrollTop=hr)}this._callPropsCallbacks()},Vn.componentDidUpdate=function(){var Dn=this.props.direction,Ir=this.state,hr=Ir.scrollLeft,Mr=Ir.scrollTop,_r=Ir.scrollUpdateWasRequested;if(_r&&this._outerRef!=null){var Br=this._outerRef;if(Dn==="rtl")switch($s()){case"negative":Br.scrollLeft=-hr;break;case"positive-ascending":Br.scrollLeft=hr;break;default:var oi=Br.clientWidth,ri=Br.scrollWidth;Br.scrollLeft=ri-oi-hr;break}else Br.scrollLeft=Math.max(0,hr);Br.scrollTop=Math.max(0,Mr)}this._callPropsCallbacks()},Vn.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Ni(this._resetIsScrollingTimeoutId)},Vn.render=function(){var Dn=this.props,Ir=Dn.children,hr=Dn.className,Mr=Dn.columnCount,_r=Dn.direction,Br=Dn.height,oi=Dn.innerRef,ri=Dn.innerElementType,kr=Dn.innerTagName,Zr=Dn.itemData,ai=Dn.itemKey,Vr=ai===void 0?to:ai,Ki=Dn.outerElementType,As=Dn.outerTagName,Gi=Dn.rowCount,ts=Dn.style,Ps=Dn.useIsScrolling,sa=Dn.width,Ss=this.state.isScrolling,pr=this._getHorizontalRangeToRender(),Hi=pr[0],Li=pr[1],ss=this._getVerticalRangeToRender(),_i=ss[0],ys=ss[1],$a=[];if(Mr>0&&Gi)for(var _o=_i;_o<=ys;_o++)for(var $o=Hi;$o<=Li;$o++)$a.push((0,ge.createElement)(Ir,{columnIndex:$o,data:Zr,isScrolling:Ps?Ss:void 0,key:Vr({columnIndex:$o,data:Zr,rowIndex:_o}),rowIndex:_o,style:this._getItemStyle(_o,$o)}));var Ku=ne(this.props,this._instanceProps),La=se(this.props,this._instanceProps);return(0,ge.createElement)(Ki||As||"div",{className:hr,onScroll:this._onScroll,ref:this._outerRefSetter,style:(0,Tn.c)({position:"relative",height:Br,width:sa,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:_r},ts)},(0,ge.createElement)(ri||kr||"div",{children:$a,ref:oi,style:{height:Ku,pointerEvents:Ss?"none":void 0,width:La}}))},Vn._callPropsCallbacks=function(){var Dn=this.props,Ir=Dn.columnCount,hr=Dn.onItemsRendered,Mr=Dn.onScroll,_r=Dn.rowCount;if(typeof hr=="function"&&Ir>0&&_r>0){var Br=this._getHorizontalRangeToRender(),oi=Br[0],ri=Br[1],kr=Br[2],Zr=Br[3],ai=this._getVerticalRangeToRender(),Vr=ai[0],Ki=ai[1],As=ai[2],Gi=ai[3];this._callOnItemsRendered(oi,ri,Vr,Ki,kr,Zr,As,Gi)}if(typeof Mr=="function"){var ts=this.state,Ps=ts.horizontalScrollDirection,sa=ts.scrollLeft,Ss=ts.scrollTop,pr=ts.scrollUpdateWasRequested,Hi=ts.verticalScrollDirection;this._callOnScroll(sa,Ss,Ps,Hi,pr)}},Vn._getHorizontalRangeToRender=function(){var Dn=this.props,Ir=Dn.columnCount,hr=Dn.overscanColumnCount,Mr=Dn.overscanColumnsCount,_r=Dn.overscanCount,Br=Dn.rowCount,oi=this.state,ri=oi.horizontalScrollDirection,kr=oi.isScrolling,Zr=oi.scrollLeft,ai=hr||Mr||_r||1;if(Ir===0||Br===0)return[0,0,0,0];var Vr=S(this.props,Zr,this._instanceProps),Ki=w(this.props,Vr,Zr,this._instanceProps),As=!kr||ri==="backward"?Math.max(1,ai):1,Gi=!kr||ri==="forward"?Math.max(1,ai):1;return[Math.max(0,Vr-As),Math.max(0,Math.min(Ir-1,Ki+Gi)),Vr,Ki]},Vn._getVerticalRangeToRender=function(){var Dn=this.props,Ir=Dn.columnCount,hr=Dn.overscanCount,Mr=Dn.overscanRowCount,_r=Dn.overscanRowsCount,Br=Dn.rowCount,oi=this.state,ri=oi.isScrolling,kr=oi.verticalScrollDirection,Zr=oi.scrollTop,ai=Mr||_r||hr||1;if(Ir===0||Br===0)return[0,0,0,0];var Vr=ht(this.props,Zr,this._instanceProps),Ki=Bt(this.props,Vr,Zr,this._instanceProps),As=!ri||kr==="backward"?Math.max(1,ai):1,Gi=!ri||kr==="forward"?Math.max(1,ai):1;return[Math.max(0,Vr-As),Math.max(0,Math.min(Br-1,Ki+Gi)),Vr,Ki]},Gn}(ge.PureComponent),f.defaultProps={direction:"ltr",itemData:void 0,useIsScrolling:!1},f}var uo=function(f,E){var S=f.children,w=f.direction,q=f.height,ne=f.innerTagName,se=f.outerTagName,Ee=f.overscanColumnsCount,Te=f.overscanCount,Me=f.overscanRowsCount,nt=f.width,ht=E.instance},yo=50,lu=function(f,E){var S=f.rowCount,w=E.rowMetadataMap,q=E.estimatedRowHeight,ne=E.lastMeasuredRowIndex,se=0;if(ne>=S&&(ne=S-1),ne>=0){var Ee=w[ne];se=Ee.offset+Ee.size}var Te=S-ne-1,Me=Te*q;return se+Me},Be=function(f,E){var S=f.columnCount,w=E.columnMetadataMap,q=E.estimatedColumnWidth,ne=E.lastMeasuredColumnIndex,se=0;if(ne>=S&&(ne=S-1),ne>=0){var Ee=w[ne];se=Ee.offset+Ee.size}var Te=S-ne-1,Me=Te*q;return se+Me},vt=function(f,E,S,w){var q,ne,se;if(f==="column"?(q=w.columnMetadataMap,ne=E.columnWidth,se=w.lastMeasuredColumnIndex):(q=w.rowMetadataMap,ne=E.rowHeight,se=w.lastMeasuredRowIndex),S>se){var Ee=0;if(se>=0){var Te=q[se];Ee=Te.offset+Te.size}for(var Me=se+1;Me<=S;Me++){var nt=ne(Me);q[Me]={offset:Ee,size:nt},Ee+=nt}f==="column"?w.lastMeasuredColumnIndex=S:w.lastMeasuredRowIndex=S}return q[S]},xt=function(f,E,S,w){var q,ne;f==="column"?(q=S.columnMetadataMap,ne=S.lastMeasuredColumnIndex):(q=S.rowMetadataMap,ne=S.lastMeasuredRowIndex);var se=ne>0?q[ne].offset:0;return se>=w?Zt(f,E,S,ne,0,w):He(f,E,S,Math.max(0,ne),w)},Zt=function(f,E,S,w,q,ne){for(;q<=w;){var se=q+Math.floor((w-q)/2),Ee=vt(f,E,se,S).offset;if(Ee===ne)return se;Ee<ne?q=se+1:Ee>ne&&(w=se-1)}return q>0?q-1:0},He=function(f,E,S,w,q){for(var ne=f==="column"?E.columnCount:E.rowCount,se=1;w<ne&&vt(f,E,w,S).offset<q;)w+=se,se*=2;return Zt(f,E,S,Math.min(w,ne-1),Math.floor(w/2),q)},Pn=function(f,E,S,w,q,ne,se){var Ee=f==="column"?E.width:E.height,Te=vt(f,E,S,ne),Me=f==="column"?Be(E,ne):lu(E,ne),nt=Math.max(0,Math.min(Me-Ee,Te.offset)),ht=Math.max(0,Te.offset-Ee+se+Te.size);switch(w==="smart"&&(q>=ht-Ee&&q<=nt+Ee?w="auto":w="center"),w){case"start":return nt;case"end":return ht;case"center":return Math.round(ht+(nt-ht)/2);case"auto":default:return q>=ht&&q<=nt?q:ht>nt||q<ht?ht:nt}},Xn=su({getColumnOffset:function(f,E,S){return vt("column",f,E,S).offset},getColumnStartIndexForOffset:function(f,E,S){return xt("column",f,S,E)},getColumnStopIndexForStartIndex:function(f,E,S,w){for(var q=f.columnCount,ne=f.width,se=vt("column",f,E,w),Ee=S+ne,Te=se.offset+se.size,Me=E;Me<q-1&&Te<Ee;)Me++,Te+=vt("column",f,Me,w).size;return Me},getColumnWidth:function(f,E,S){return S.columnMetadataMap[E].size},getEstimatedTotalHeight:lu,getEstimatedTotalWidth:Be,getOffsetForColumnAndAlignment:function(f,E,S,w,q,ne){return Pn("column",f,E,S,w,q,ne)},getOffsetForRowAndAlignment:function(f,E,S,w,q,ne){return Pn("row",f,E,S,w,q,ne)},getRowOffset:function(f,E,S){return vt("row",f,E,S).offset},getRowHeight:function(f,E,S){return S.rowMetadataMap[E].size},getRowStartIndexForOffset:function(f,E,S){return xt("row",f,S,E)},getRowStopIndexForStartIndex:function(f,E,S,w){for(var q=f.rowCount,ne=f.height,se=vt("row",f,E,w),Ee=S+ne,Te=se.offset+se.size,Me=E;Me<q-1&&Te<Ee;)Me++,Te+=vt("row",f,Me,w).size;return Me},initInstanceProps:function(f,E){var S=f,w=S.estimatedColumnWidth,q=S.estimatedRowHeight,ne={columnMetadataMap:{},estimatedColumnWidth:w||yo,estimatedRowHeight:q||yo,lastMeasuredColumnIndex:-1,lastMeasuredRowIndex:-1,rowMetadataMap:{}};return E.resetAfterColumnIndex=function(se,Ee){Ee===void 0&&(Ee=!0),E.resetAfterIndices({columnIndex:se,shouldForceUpdate:Ee})},E.resetAfterRowIndex=function(se,Ee){Ee===void 0&&(Ee=!0),E.resetAfterIndices({rowIndex:se,shouldForceUpdate:Ee})},E.resetAfterIndices=function(se){var Ee=se.columnIndex,Te=se.rowIndex,Me=se.shouldForceUpdate,nt=Me===void 0?!0:Me;typeof Ee=="number"&&(ne.lastMeasuredColumnIndex=Math.min(ne.lastMeasuredColumnIndex,Ee-1)),typeof Te=="number"&&(ne.lastMeasuredRowIndex=Math.min(ne.lastMeasuredRowIndex,Te-1)),E._getItemStyleCache(-1),nt&&E.forceUpdate()},ne},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(f){var E=f.columnWidth,S=f.rowHeight}}),Qt=150,Bn=function(f,E){return f},ir=null,Pr=null;function Er(u){var f,E=u.getItemOffset,S=u.getEstimatedTotalSize,w=u.getItemSize,q=u.getOffsetForIndexAndAlignment,ne=u.getStartIndexForOffset,se=u.getStopIndexForStartIndex,Ee=u.initInstanceProps,Te=u.shouldResetStyleCacheOnItemSizeChange,Me=u.validateProps;return f=function(nt){(0,fr.c)(ht,nt);function ht(Ft){var ze;return ze=nt.call(this,Ft)||this,ze._instanceProps=Ee(ze.props,(0,Kn.c)(ze)),ze._outerRef=void 0,ze._resetIsScrollingTimeoutId=null,ze.state={instance:(0,Kn.c)(ze),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof ze.props.initialScrollOffset=="number"?ze.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},ze._callOnItemsRendered=void 0,ze._callOnItemsRendered=Bi(function(_n,On,Gn,Vn){return ze.props.onItemsRendered({overscanStartIndex:_n,overscanStopIndex:On,visibleStartIndex:Gn,visibleStopIndex:Vn})}),ze._callOnScroll=void 0,ze._callOnScroll=Bi(function(_n,On,Gn){return ze.props.onScroll({scrollDirection:_n,scrollOffset:On,scrollUpdateWasRequested:Gn})}),ze._getItemStyle=void 0,ze._getItemStyle=function(_n){var On=ze.props,Gn=On.direction,Vn=On.itemSize,mr=On.layout,Dn=ze._getItemStyleCache(Te&&Vn,Te&&mr,Te&&Gn),Ir;if(Dn.hasOwnProperty(_n))Ir=Dn[_n];else{var hr=E(ze.props,_n,ze._instanceProps),Mr=w(ze.props,_n,ze._instanceProps),_r=Gn==="horizontal"||mr==="horizontal",Br=Gn==="rtl",oi=_r?hr:0;Dn[_n]=Ir={position:"absolute",left:Br?void 0:oi,right:Br?oi:void 0,top:_r?0:hr,height:_r?"100%":Mr,width:_r?Mr:"100%"}}return Ir},ze._getItemStyleCache=void 0,ze._getItemStyleCache=Bi(function(_n,On,Gn){return{}}),ze._onScrollHorizontal=function(_n){var On=_n.currentTarget,Gn=On.clientWidth,Vn=On.scrollLeft,mr=On.scrollWidth;ze.setState(function(Dn){if(Dn.scrollOffset===Vn)return null;var Ir=ze.props.direction,hr=Vn;if(Ir==="rtl")switch($s()){case"negative":hr=-Vn;break;case"positive-descending":hr=mr-Gn-Vn;break}return hr=Math.max(0,Math.min(hr,mr-Gn)),{isScrolling:!0,scrollDirection:Dn.scrollOffset<Vn?"forward":"backward",scrollOffset:hr,scrollUpdateWasRequested:!1}},ze._resetIsScrollingDebounced)},ze._onScrollVertical=function(_n){var On=_n.currentTarget,Gn=On.clientHeight,Vn=On.scrollHeight,mr=On.scrollTop;ze.setState(function(Dn){if(Dn.scrollOffset===mr)return null;var Ir=Math.max(0,Math.min(mr,Vn-Gn));return{isScrolling:!0,scrollDirection:Dn.scrollOffset<Ir?"forward":"backward",scrollOffset:Ir,scrollUpdateWasRequested:!1}},ze._resetIsScrollingDebounced)},ze._outerRefSetter=function(_n){var On=ze.props.outerRef;ze._outerRef=_n,typeof On=="function"?On(_n):On!=null&&typeof On=="object"&&On.hasOwnProperty("current")&&(On.current=_n)},ze._resetIsScrollingDebounced=function(){ze._resetIsScrollingTimeoutId!==null&&Ni(ze._resetIsScrollingTimeoutId),ze._resetIsScrollingTimeoutId=Ds(ze._resetIsScrolling,Qt)},ze._resetIsScrolling=function(){ze._resetIsScrollingTimeoutId=null,ze.setState({isScrolling:!1},function(){ze._getItemStyleCache(-1,null)})},ze}ht.getDerivedStateFromProps=function(ze,_n){return Ti(ze,_n),Me(ze),null};var Bt=ht.prototype;return Bt.scrollTo=function(ze){ze=Math.max(0,ze),this.setState(function(_n){return _n.scrollOffset===ze?null:{scrollDirection:_n.scrollOffset<ze?"forward":"backward",scrollOffset:ze,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},Bt.scrollToItem=function(ze,_n){_n===void 0&&(_n="auto");var On=this.props,Gn=On.itemCount,Vn=On.layout,mr=this.state.scrollOffset;ze=Math.max(0,Math.min(ze,Gn-1));var Dn=0;if(this._outerRef){var Ir=this._outerRef;Vn==="vertical"?Dn=Ir.scrollWidth>Ir.clientWidth?Gs():0:Dn=Ir.scrollHeight>Ir.clientHeight?Gs():0}this.scrollTo(q(this.props,ze,_n,mr,this._instanceProps,Dn))},Bt.componentDidMount=function(){var ze=this.props,_n=ze.direction,On=ze.initialScrollOffset,Gn=ze.layout;if(typeof On=="number"&&this._outerRef!=null){var Vn=this._outerRef;_n==="horizontal"||Gn==="horizontal"?Vn.scrollLeft=On:Vn.scrollTop=On}this._callPropsCallbacks()},Bt.componentDidUpdate=function(){var ze=this.props,_n=ze.direction,On=ze.layout,Gn=this.state,Vn=Gn.scrollOffset,mr=Gn.scrollUpdateWasRequested;if(mr&&this._outerRef!=null){var Dn=this._outerRef;if(_n==="horizontal"||On==="horizontal")if(_n==="rtl")switch($s()){case"negative":Dn.scrollLeft=-Vn;break;case"positive-ascending":Dn.scrollLeft=Vn;break;default:var Ir=Dn.clientWidth,hr=Dn.scrollWidth;Dn.scrollLeft=hr-Ir-Vn;break}else Dn.scrollLeft=Vn;else Dn.scrollTop=Vn}this._callPropsCallbacks()},Bt.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&Ni(this._resetIsScrollingTimeoutId)},Bt.render=function(){var ze=this.props,_n=ze.children,On=ze.className,Gn=ze.direction,Vn=ze.height,mr=ze.innerRef,Dn=ze.innerElementType,Ir=ze.innerTagName,hr=ze.itemCount,Mr=ze.itemData,_r=ze.itemKey,Br=_r===void 0?Bn:_r,oi=ze.layout,ri=ze.outerElementType,kr=ze.outerTagName,Zr=ze.style,ai=ze.useIsScrolling,Vr=ze.width,Ki=this.state.isScrolling,As=Gn==="horizontal"||oi==="horizontal",Gi=As?this._onScrollHorizontal:this._onScrollVertical,ts=this._getRangeToRender(),Ps=ts[0],sa=ts[1],Ss=[];if(hr>0)for(var pr=Ps;pr<=sa;pr++)Ss.push((0,ge.createElement)(_n,{data:Mr,key:Br(pr,Mr),index:pr,isScrolling:ai?Ki:void 0,style:this._getItemStyle(pr)}));var Hi=S(this.props,this._instanceProps);return(0,ge.createElement)(ri||kr||"div",{className:On,onScroll:Gi,ref:this._outerRefSetter,style:(0,Tn.c)({position:"relative",height:Vn,width:Vr,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:Gn},Zr)},(0,ge.createElement)(Dn||Ir||"div",{children:Ss,ref:mr,style:{height:As?"100%":Hi,pointerEvents:Ki?"none":void 0,width:As?Hi:"100%"}}))},Bt._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var ze=this.props.itemCount;if(ze>0){var _n=this._getRangeToRender(),On=_n[0],Gn=_n[1],Vn=_n[2],mr=_n[3];this._callOnItemsRendered(On,Gn,Vn,mr)}}if(typeof this.props.onScroll=="function"){var Dn=this.state,Ir=Dn.scrollDirection,hr=Dn.scrollOffset,Mr=Dn.scrollUpdateWasRequested;this._callOnScroll(Ir,hr,Mr)}},Bt._getRangeToRender=function(){var ze=this.props,_n=ze.itemCount,On=ze.overscanCount,Gn=this.state,Vn=Gn.isScrolling,mr=Gn.scrollDirection,Dn=Gn.scrollOffset;if(_n===0)return[0,0,0,0];var Ir=ne(this.props,Dn,this._instanceProps),hr=se(this.props,Ir,Dn,this._instanceProps),Mr=!Vn||mr==="backward"?Math.max(1,On):1,_r=!Vn||mr==="forward"?Math.max(1,On):1;return[Math.max(0,Ir-Mr),Math.max(0,Math.min(_n-1,hr+_r)),Ir,hr]},ht}(ge.PureComponent),f.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},f}var Ti=function(f,E){var S=f.children,w=f.direction,q=f.height,ne=f.layout,se=f.innerTagName,Ee=f.outerTagName,Te=f.width,Me=E.instance;if(!1)var nt},ji=50,Wi=function(f,E,S){var w=f,q=w.itemSize,ne=S.itemMetadataMap,se=S.lastMeasuredIndex;if(E>se){var Ee=0;if(se>=0){var Te=ne[se];Ee=Te.offset+Te.size}for(var Me=se+1;Me<=E;Me++){var nt=q(Me);ne[Me]={offset:Ee,size:nt},Ee+=nt}S.lastMeasuredIndex=E}return ne[E]},ls=function(f,E,S){var w=E.itemMetadataMap,q=E.lastMeasuredIndex,ne=q>0?w[q].offset:0;return ne>=S?Zi(f,E,q,0,S):Qs(f,E,Math.max(0,q),S)},Zi=function(f,E,S,w,q){for(;w<=S;){var ne=w+Math.floor((S-w)/2),se=Wi(f,ne,E).offset;if(se===q)return ne;se<q?w=ne+1:se>q&&(S=ne-1)}return w>0?w-1:0},Qs=function(f,E,S,w){for(var q=f.itemCount,ne=1;S<q&&Wi(f,S,E).offset<w;)S+=ne,ne*=2;return Zi(f,E,Math.min(S,q-1),Math.floor(S/2),w)},Js=function(f,E){var S=f.itemCount,w=E.itemMetadataMap,q=E.estimatedItemSize,ne=E.lastMeasuredIndex,se=0;if(ne>=S&&(ne=S-1),ne>=0){var Ee=w[ne];se=Ee.offset+Ee.size}var Te=S-ne-1,Me=Te*q;return se+Me},ks=Er({getItemOffset:function(f,E,S){return Wi(f,E,S).offset},getItemSize:function(f,E,S){return S.itemMetadataMap[E].size},getEstimatedTotalSize:Js,getOffsetForIndexAndAlignment:function(f,E,S,w,q,ne){var se=f.direction,Ee=f.height,Te=f.layout,Me=f.width,nt=se==="horizontal"||Te==="horizontal",ht=nt?Me:Ee,Bt=Wi(f,E,q),Ft=Js(f,q),ze=Math.max(0,Math.min(Ft-ht,Bt.offset)),_n=Math.max(0,Bt.offset-ht+Bt.size+ne);switch(S==="smart"&&(w>=_n-ht&&w<=ze+ht?S="auto":S="center"),S){case"start":return ze;case"end":return _n;case"center":return Math.round(_n+(ze-_n)/2);case"auto":default:return w>=_n&&w<=ze?w:w<_n?_n:ze}},getStartIndexForOffset:function(f,E,S){return ls(f,S,E)},getStopIndexForStartIndex:function(f,E,S,w){for(var q=f.direction,ne=f.height,se=f.itemCount,Ee=f.layout,Te=f.width,Me=q==="horizontal"||Ee==="horizontal",nt=Me?Te:ne,ht=Wi(f,E,w),Bt=S+nt,Ft=ht.offset+ht.size,ze=E;ze<se-1&&Ft<Bt;)ze++,Ft+=Wi(f,ze,w).size;return ze},initInstanceProps:function(f,E){var S=f,w=S.estimatedItemSize,q={itemMetadataMap:{},estimatedItemSize:w||ji,lastMeasuredIndex:-1};return E.resetAfterIndex=function(ne,se){se===void 0&&(se=!0),q.lastMeasuredIndex=Math.min(q.lastMeasuredIndex,ne-1),E._getItemStyleCache(-1),se&&E.forceUpdate()},q},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(f){var E=f.itemSize}}),Hs=su({getColumnOffset:function(f,E){var S=f.columnWidth;return E*S},getColumnWidth:function(f,E){var S=f.columnWidth;return S},getRowOffset:function(f,E){var S=f.rowHeight;return E*S},getRowHeight:function(f,E){var S=f.rowHeight;return S},getEstimatedTotalHeight:function(f){var E=f.rowCount,S=f.rowHeight;return S*E},getEstimatedTotalWidth:function(f){var E=f.columnCount,S=f.columnWidth;return S*E},getOffsetForColumnAndAlignment:function(f,E,S,w,q,ne){var se=f.columnCount,Ee=f.columnWidth,Te=f.width,Me=Math.max(0,se*Ee-Te),nt=Math.min(Me,E*Ee),ht=Math.max(0,E*Ee-Te+ne+Ee);switch(S==="smart"&&(w>=ht-Te&&w<=nt+Te?S="auto":S="center"),S){case"start":return nt;case"end":return ht;case"center":var Bt=Math.round(ht+(nt-ht)/2);return Bt<Math.ceil(Te/2)?0:Bt>Me+Math.floor(Te/2)?Me:Bt;case"auto":default:return w>=ht&&w<=nt?w:ht>nt||w<ht?ht:nt}},getOffsetForRowAndAlignment:function(f,E,S,w,q,ne){var se=f.rowHeight,Ee=f.height,Te=f.rowCount,Me=Math.max(0,Te*se-Ee),nt=Math.min(Me,E*se),ht=Math.max(0,E*se-Ee+ne+se);switch(S==="smart"&&(w>=ht-Ee&&w<=nt+Ee?S="auto":S="center"),S){case"start":return nt;case"end":return ht;case"center":var Bt=Math.round(ht+(nt-ht)/2);return Bt<Math.ceil(Ee/2)?0:Bt>Me+Math.floor(Ee/2)?Me:Bt;case"auto":default:return w>=ht&&w<=nt?w:ht>nt||w<ht?ht:nt}},getColumnStartIndexForOffset:function(f,E){var S=f.columnWidth,w=f.columnCount;return Math.max(0,Math.min(w-1,Math.floor(E/S)))},getColumnStopIndexForStartIndex:function(f,E,S){var w=f.columnWidth,q=f.columnCount,ne=f.width,se=E*w,Ee=Math.ceil((ne+S-se)/w);return Math.max(0,Math.min(q-1,E+Ee-1))},getRowStartIndexForOffset:function(f,E){var S=f.rowHeight,w=f.rowCount;return Math.max(0,Math.min(w-1,Math.floor(E/S)))},getRowStopIndexForStartIndex:function(f,E,S){var w=f.rowHeight,q=f.rowCount,ne=f.height,se=E*w,Ee=Math.ceil((ne+S-se)/w);return Math.max(0,Math.min(q-1,E+Ee-1))},initInstanceProps:function(f){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(f){var E=f.columnWidth,S=f.rowHeight}}),Ka=Er({getItemOffset:function(f,E){var S=f.itemSize;return E*S},getItemSize:function(f,E){var S=f.itemSize;return S},getEstimatedTotalSize:function(f){var E=f.itemCount,S=f.itemSize;return S*E},getOffsetForIndexAndAlignment:function(f,E,S,w,q,ne){var se=f.direction,Ee=f.height,Te=f.itemCount,Me=f.itemSize,nt=f.layout,ht=f.width,Bt=se==="horizontal"||nt==="horizontal",Ft=Bt?ht:Ee,ze=Math.max(0,Te*Me-Ft),_n=Math.min(ze,E*Me),On=Math.max(0,E*Me-Ft+Me+ne);switch(S==="smart"&&(w>=On-Ft&&w<=_n+Ft?S="auto":S="center"),S){case"start":return _n;case"end":return On;case"center":{var Gn=Math.round(On+(_n-On)/2);return Gn<Math.ceil(Ft/2)?0:Gn>ze+Math.floor(Ft/2)?ze:Gn}case"auto":default:return w>=On&&w<=_n?w:w<On?On:_n}},getStartIndexForOffset:function(f,E){var S=f.itemCount,w=f.itemSize;return Math.max(0,Math.min(S-1,Math.floor(E/w)))},getStopIndexForStartIndex:function(f,E,S){var w=f.direction,q=f.height,ne=f.itemCount,se=f.itemSize,Ee=f.layout,Te=f.width,Me=w==="horizontal"||Ee==="horizontal",nt=E*se,ht=Me?Te:q,Bt=Math.ceil((ht+S-nt)/se);return Math.max(0,Math.min(ne-1,E+Bt-1))},initInstanceProps:function(f){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(f){var E=f.itemSize}});function Ma(u,f){for(var E in u)if(!(E in f))return!0;for(var S in f)if(u[S]!==f[S])return!0;return!1}var no=null,ho=null;function Bo(u,f){var E=u.style,S=_objectWithoutPropertiesLoose(u,no),w=f.style,q=_objectWithoutPropertiesLoose(f,ho);return!Ma(E,w)&&!Ma(S,q)}function Hu(u,f){return!Bo(this.props,u)||Ma(this.state,f)}var Fo=e(96556),Ya=e(13192),Na=e(30840),ti=e(33104),ra=e(77784),Ua=e(79371),fl=e(67888);/*!
 * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
 *
 * Copyright (c) 2014-2017, Jon Schlinkert.
 * Released under the MIT License.
 */function Ol(u){return Object.prototype.toString.call(u)==="[object Object]"}function Ba(u){var f,E;return Ol(u)===!1?!1:(f=u.constructor,f===void 0?!0:(E=f.prototype,!(Ol(E)===!1||E.hasOwnProperty("isPrototypeOf")===!1)))}var mc={transform(u,f){var{current:E,affinity:S}=u;if(E!=null){var w=Ar.transform(E,f,{affinity:S});u.current=w,w==null&&u.unref()}}},Hc={transform(u,f){var{current:E,affinity:S}=u;if(E!=null){var w=ro.transform(E,f,{affinity:S});u.current=w,w==null&&u.unref()}}},sl={transform(u,f){var{current:E,affinity:S}=u;if(E!=null){var w=xi.transform(E,f,{affinity:S});u.current=w,w==null&&u.unref()}}},_u=new WeakMap,zs=new WeakMap,Ju=new WeakMap,Vo=new WeakMap,Ao=new WeakMap,ku=new WeakMap,x0=new WeakMap,Ar={ancestors(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:E=!1}=f,S=Ar.levels(u,f);return E?S=S.slice(1):S=S.slice(0,-1),S},common(u,f){for(var E=[],S=0;S<u.length&&S<f.length;S++){var w=u[S],q=f[S];if(w!==q)break;E.push(w)}return E},compare(u,f){for(var E=Math.min(u.length,f.length),S=0;S<E;S++){if(u[S]<f[S])return-1;if(u[S]>f[S])return 1}return 0},endsAfter(u,f){var E=u.length-1,S=u.slice(0,E),w=f.slice(0,E),q=u[E],ne=f[E];return Ar.equals(S,w)&&q>ne},endsAt(u,f){var E=u.length,S=u.slice(0,E),w=f.slice(0,E);return Ar.equals(S,w)},endsBefore(u,f){var E=u.length-1,S=u.slice(0,E),w=f.slice(0,E),q=u[E],ne=f[E];return Ar.equals(S,w)&&q<ne},equals(u,f){return u.length===f.length&&u.every((E,S)=>E===f[S])},hasPrevious(u){return u[u.length-1]>0},isAfter(u,f){return Ar.compare(u,f)===1},isAncestor(u,f){return u.length<f.length&&Ar.compare(u,f)===0},isBefore(u,f){return Ar.compare(u,f)===-1},isChild(u,f){return u.length===f.length+1&&Ar.compare(u,f)===0},isCommon(u,f){return u.length<=f.length&&Ar.compare(u,f)===0},isDescendant(u,f){return u.length>f.length&&Ar.compare(u,f)===0},isParent(u,f){return u.length+1===f.length&&Ar.compare(u,f)===0},isPath(u){return Array.isArray(u)&&(u.length===0||typeof u[0]=="number")},isSibling(u,f){if(u.length!==f.length)return!1;var E=u.slice(0,-1),S=f.slice(0,-1),w=u[u.length-1],q=f[f.length-1];return w!==q&&Ar.equals(E,S)},levels(u){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:E=!1}=f,S=[],w=0;w<=u.length;w++)S.push(u.slice(0,w));return E&&S.reverse(),S},next(u){if(u.length===0)throw new Error("Cannot get the next path of a root path [".concat(u,"], because it has no next index."));var f=u[u.length-1];return u.slice(0,-1).concat(f+1)},operationCanTransformPath(u){switch(u.type){case"insert_node":case"remove_node":case"merge_node":case"split_node":case"move_node":return!0;default:return!1}},parent(u){if(u.length===0)throw new Error("Cannot get the parent path of the root path [".concat(u,"]."));return u.slice(0,-1)},previous(u){if(u.length===0)throw new Error("Cannot get the previous path of a root path [".concat(u,"], because it has no previous index."));var f=u[u.length-1];if(f<=0)throw new Error("Cannot get the previous path of a first child path [".concat(u,"] because it would result in a negative index."));return u.slice(0,-1).concat(f-1)},relative(u,f){if(!Ar.isAncestor(f,u)&&!Ar.equals(u,f))throw new Error("Cannot get the relative path of [".concat(u,"] inside ancestor [").concat(f,"], because it is not above or equal to the path."));return u.slice(f.length)},transform(u,f){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!u)return null;var S=[...u],{affinity:w="forward"}=E;if(u.length===0)return S;switch(f.type){case"insert_node":{var{path:q}=f;(Ar.equals(q,S)||Ar.endsBefore(q,S)||Ar.isAncestor(q,S))&&(S[q.length-1]+=1);break}case"remove_node":{var{path:ne}=f;if(Ar.equals(ne,S)||Ar.isAncestor(ne,S))return null;Ar.endsBefore(ne,S)&&(S[ne.length-1]-=1);break}case"merge_node":{var{path:se,position:Ee}=f;Ar.equals(se,S)||Ar.endsBefore(se,S)?S[se.length-1]-=1:Ar.isAncestor(se,S)&&(S[se.length-1]-=1,S[se.length]+=Ee);break}case"split_node":{var{path:Te,position:Me}=f;if(Ar.equals(Te,S)){if(w==="forward")S[S.length-1]+=1;else if(w!=="backward")return null}else Ar.endsBefore(Te,S)?S[Te.length-1]+=1:Ar.isAncestor(Te,S)&&u[Te.length]>=Me&&(S[Te.length-1]+=1,S[Te.length]-=Me);break}case"move_node":{var{path:nt,newPath:ht}=f;if(Ar.equals(nt,ht))return S;if(Ar.isAncestor(nt,S)||Ar.equals(nt,S)){var Bt=ht.slice();return Ar.endsBefore(nt,ht)&&nt.length<ht.length&&(Bt[nt.length-1]-=1),Bt.concat(S.slice(nt.length))}else Ar.isSibling(nt,ht)&&(Ar.isAncestor(ht,S)||Ar.equals(ht,S))?Ar.endsBefore(nt,S)?S[nt.length-1]-=1:S[nt.length-1]+=1:Ar.endsBefore(ht,S)||Ar.equals(ht,S)||Ar.isAncestor(ht,S)?(Ar.endsBefore(nt,S)&&(S[nt.length-1]-=1),S[ht.length-1]+=1):Ar.endsBefore(nt,S)&&(Ar.equals(ht,S)&&(S[ht.length-1]+=1),S[nt.length-1]-=1);break}}return S}};function yu(u,f,E){return f in u?Object.defineProperty(u,f,{value:E,enumerable:!0,configurable:!0,writable:!0}):u[f]=E,u}function Zd(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function Rl(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?Zd(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):Zd(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var F0=(u,f,E)=>{switch(E.type){case"insert_node":{var{path:S,node:w}=E,q=gs.parent(u,S),ne=S[S.length-1];if(ne>q.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(S,"] because the destination is past the end of the node."));if(q.children.splice(ne,0,w),f)for(var[se,Ee]of xi.points(f))f[Ee]=ro.transform(se,E);break}case"insert_text":{var{path:Te,offset:Me,text:nt}=E;if(nt.length===0)break;var ht=gs.leaf(u,Te),Bt=ht.text.slice(0,Me),Ft=ht.text.slice(Me);if(ht.text=Bt+nt+Ft,f)for(var[ze,_n]of xi.points(f))f[_n]=ro.transform(ze,E);break}case"merge_node":{var{path:On}=E,Gn=gs.get(u,On),Vn=Ar.previous(On),mr=gs.get(u,Vn),Dn=gs.parent(u,On),Ir=On[On.length-1];if(Ca.isText(Gn)&&Ca.isText(mr))mr.text+=Gn.text;else if(!Ca.isText(Gn)&&!Ca.isText(mr))mr.children.push(...Gn.children);else throw new Error('Cannot apply a "merge_node" operation at path ['.concat(On,"] to nodes of different interfaces: ").concat(hl.stringify(Gn)," ").concat(hl.stringify(mr)));if(Dn.children.splice(Ir,1),f)for(var[hr,Mr]of xi.points(f))f[Mr]=ro.transform(hr,E);break}case"move_node":{var{path:_r,newPath:Br}=E;if(Ar.isAncestor(_r,Br))throw new Error("Cannot move a path [".concat(_r,"] to new path [").concat(Br,"] because the destination is inside itself."));var oi=gs.get(u,_r),ri=gs.parent(u,_r),kr=_r[_r.length-1];ri.children.splice(kr,1);var Zr=Ar.transform(_r,E),ai=gs.get(u,Ar.parent(Zr)),Vr=Zr[Zr.length-1];if(ai.children.splice(Vr,0,oi),f)for(var[Ki,As]of xi.points(f))f[As]=ro.transform(Ki,E);break}case"remove_node":{var{path:Gi}=E,ts=Gi[Gi.length-1],Ps=gs.parent(u,Gi);if(Ps.children.splice(ts,1),f)for(var[sa,Ss]of xi.points(f)){var pr=ro.transform(sa,E);if(f!=null&&pr!=null)f[Ss]=pr;else{var Hi=void 0,Li=void 0;for(var[ss,_i]of gs.texts(u))if(Ar.compare(_i,Gi)===-1)Hi=[ss,_i];else{Li=[ss,_i];break}var ys=!1;Hi&&Li&&(Ar.equals(Li[1],Gi)?ys=!Ar.hasPrevious(Li[1]):ys=Ar.common(Hi[1],Gi).length<Ar.common(Li[1],Gi).length),Hi&&!ys?(sa.path=Hi[1],sa.offset=Hi[0].text.length):Li?(sa.path=Li[1],sa.offset=0):f=null}}break}case"remove_text":{var{path:$a,offset:_o,text:$o}=E;if($o.length===0)break;var Ku=gs.leaf(u,$a),La=Ku.text.slice(0,_o),zl=Ku.text.slice(_o+$o.length);if(Ku.text=La+zl,f)for(var[b0,Vl]of xi.points(f))f[Vl]=ro.transform(b0,E);break}case"set_node":{var{path:G0,properties:J0,newProperties:q0}=E;if(G0.length===0)throw new Error("Cannot set properties on the root node!");var ed=gs.get(u,G0);for(var cc in q0){if(cc==="children"||cc==="text")throw new Error('Cannot set the "'.concat(cc,'" property of nodes!'));var C0=q0[cc];C0==null?delete ed[cc]:ed[cc]=C0}for(var Yd in J0)q0.hasOwnProperty(Yd)||delete ed[Yd];break}case"set_selection":{var{newProperties:gl}=E;if(gl==null)f=gl;else{if(f==null){if(!xi.isRange(gl))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(hl.stringify(gl)," when there is no current selection."));f=Rl({},gl)}for(var Ed in gl){var Gh=gl[Ed];if(Gh==null){if(Ed==="anchor"||Ed==="focus")throw new Error('Cannot remove the "'.concat(Ed,'" selection property'));delete f[Ed]}else f[Ed]=Gh}}break}case"split_node":{var{path:Qd,position:Ea,properties:Oa}=E;if(Qd.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(Qd,"] because the root node cannot be split."));var Ga=gs.get(u,Qd),nc=gs.parent(u,Qd),so=Qd[Qd.length-1],No;if(Ca.isText(Ga)){var Cu=Ga.text.slice(0,Ea),Id=Ga.text.slice(Ea);Ga.text=Cu,No=Rl(Rl({},Oa),{},{text:Id})}else{var Yp=Ga.children.slice(0,Ea),vp=Ga.children.slice(Ea);Ga.children=Yp,No=Rl(Rl({},Oa),{},{children:vp})}if(nc.children.splice(so+1,0,No),f)for(var[Hy,YT]of xi.points(f))f[YT]=ro.transform(Hy,E);break}}return f},Md={transform(u,f){u.children=(0,zo.eQ)(u.children);var E=u.selection&&(0,zo.eQ)(u.selection);try{E=F0(u,E,f)}finally{u.children=(0,zo.o7)(u.children),E?u.selection=(0,zo.Wl)(E)?(0,zo.o7)(E):E:u.selection=null}}},yf={insertNodes(u,f,E){u.insertNodes(f,E)},liftNodes(u,f){u.liftNodes(f)},mergeNodes(u,f){u.mergeNodes(f)},moveNodes(u,f){u.moveNodes(f)},removeNodes(u,f){u.removeNodes(f)},setNodes(u,f,E){u.setNodes(f,E)},splitNodes(u,f){u.splitNodes(f)},unsetNodes(u,f,E){u.unsetNodes(f,E)},unwrapNodes(u,f){u.unwrapNodes(f)},wrapNodes(u,f,E){u.wrapNodes(f,E)}},ac={collapse(u,f){u.collapse(f)},deselect(u){u.deselect()},move(u,f){u.move(f)},select(u,f){u.select(f)},setPoint(u,f,E){u.setPoint(f,E)},setSelection(u,f){u.setSelection(f)}},Du=(u,f)=>{for(var E in u){var S=u[E],w=f[E];if(Ba(S)&&Ba(w)){if(!Du(S,w))return!1}else if(Array.isArray(S)&&Array.isArray(w)){if(S.length!==w.length)return!1;for(var q=0;q<S.length;q++)if(S[q]!==w[q])return!1}else if(S!==w)return!1}for(var ne in f)if(u[ne]===void 0&&f[ne]!==void 0)return!1;return!0};function h0(u,f){if(u==null)return{};var E={},S=Object.keys(u),w,q;for(q=0;q<S.length;q++)w=S[q],!(f.indexOf(w)>=0)&&(E[w]=u[w]);return E}function Ll(u,f){if(u==null)return{};var E=h0(u,f),S,w;if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(u);for(w=0;w<q.length;w++)S=q[w],!(f.indexOf(S)>=0)&&Object.prototype.propertyIsEnumerable.call(u,S)&&(E[S]=u[S])}return E}var Au=["anchor","focus"];function _d(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function Jl(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?_d(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):_d(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var xi={edges(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:E=!1}=f,{anchor:S,focus:w}=u;return xi.isBackward(u)===E?[S,w]:[w,S]},end(u){var[,f]=xi.edges(u);return f},equals(u,f){return ro.equals(u.anchor,f.anchor)&&ro.equals(u.focus,f.focus)},includes(u,f){if(xi.isRange(f)){if(xi.includes(u,f.anchor)||xi.includes(u,f.focus))return!0;var[E,S]=xi.edges(u),[w,q]=xi.edges(f);return ro.isBefore(E,w)&&ro.isAfter(S,q)}var[ne,se]=xi.edges(u),Ee=!1,Te=!1;return ro.isPoint(f)?(Ee=ro.compare(f,ne)>=0,Te=ro.compare(f,se)<=0):(Ee=Ar.compare(f,ne.path)>=0,Te=Ar.compare(f,se.path)<=0),Ee&&Te},intersection(u,f){var E=Ll(u,Au),[S,w]=xi.edges(u),[q,ne]=xi.edges(f),se=ro.isBefore(S,q)?q:S,Ee=ro.isBefore(w,ne)?w:ne;return ro.isBefore(Ee,se)?null:Jl({anchor:se,focus:Ee},E)},isBackward(u){var{anchor:f,focus:E}=u;return ro.isAfter(f,E)},isCollapsed(u){var{anchor:f,focus:E}=u;return ro.equals(f,E)},isExpanded(u){return!xi.isCollapsed(u)},isForward(u){return!xi.isBackward(u)},isRange(u){return Ba(u)&&ro.isPoint(u.anchor)&&ro.isPoint(u.focus)},*points(u){yield[u.anchor,"anchor"],yield[u.focus,"focus"]},start(u){var[f]=xi.edges(u);return f},transform(u,f){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return(0,zo.Ut)(u,S=>{if(S===null)return null;var{affinity:w="inward"}=E,q,ne;if(w==="inward"){var se=xi.isCollapsed(S);xi.isForward(S)?(q="forward",ne=se?q:"backward"):(q="backward",ne=se?q:"forward")}else w==="outward"?xi.isForward(S)?(q="backward",ne="forward"):(q="forward",ne="backward"):(q=w,ne=w);var Ee=ro.transform(S.anchor,f,{affinity:q}),Te=ro.transform(S.focus,f,{affinity:ne});if(!Ee||!Te)return null;S.anchor=Ee,S.focus=Te})}},Tc=u=>Ba(u)&&gs.isNodeList(u.children)&&!Dt.isEditor(u),Us={isAncestor(u){return Ba(u)&&gs.isNodeList(u.children)},isElement:Tc,isElementList(u){return Array.isArray(u)&&u.every(f=>Us.isElement(f))},isElementProps(u){return u.children!==void 0},isElementType:function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return Tc(f)&&f[S]===E},matches(u,f){for(var E in f)if(E!=="children"&&u[E]!==f[E])return!1;return!0}},Nf=["children"],yd=["text"],Pf=new WeakMap,gs={ancestor(u,f){var E=gs.get(u,f);if(Ca.isText(E))throw new Error("Cannot get the ancestor node at path [".concat(f,"] because it refers to a text node instead: ").concat(hl.stringify(E)));return E},*ancestors(u,f){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var S of Ar.ancestors(f,E)){var w=gs.ancestor(u,S),q=[w,S];yield q}},child(u,f){if(Ca.isText(u))throw new Error("Cannot get the child of a text node: ".concat(hl.stringify(u)));var E=u.children[f];if(E==null)throw new Error("Cannot get child at index `".concat(f,"` in node: ").concat(hl.stringify(u)));return E},*children(u,f){for(var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:S=!1}=E,w=gs.ancestor(u,f),{children:q}=w,ne=S?q.length-1:0;S?ne>=0:ne<q.length;){var se=gs.child(w,ne),Ee=f.concat(ne);yield[se,Ee],ne=S?ne-1:ne+1}},common(u,f,E){var S=Ar.common(f,E),w=gs.get(u,S);return[w,S]},descendant(u,f){var E=gs.get(u,f);if(Dt.isEditor(E))throw new Error("Cannot get the descendant node at path [".concat(f,"] because it refers to the root editor node instead: ").concat(hl.stringify(E)));return E},*descendants(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[E,S]of gs.nodes(u,f))S.length!==0&&(yield[E,S])},*elements(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[E,S]of gs.nodes(u,f))Us.isElement(E)&&(yield[E,S])},extractProps(u){if(Us.isAncestor(u)){var f=Ll(u,Nf);return f}else{var f=Ll(u,yd);return f}},first(u,f){for(var E=f.slice(),S=gs.get(u,E);S&&!(Ca.isText(S)||S.children.length===0);)S=S.children[0],E.push(0);return[S,E]},fragment(u,f){if(Ca.isText(u))throw new Error("Cannot get a fragment starting from a root text node: ".concat(hl.stringify(u)));var E=(0,zo.Ut)({children:u.children},S=>{var[w,q]=xi.edges(f),ne=gs.nodes(S,{reverse:!0,pass:ht=>{var[,Bt]=ht;return!xi.includes(f,Bt)}});for(var[,se]of ne){if(!xi.includes(f,se)){var Ee=gs.parent(S,se),Te=se[se.length-1];Ee.children.splice(Te,1)}if(Ar.equals(se,q.path)){var Me=gs.leaf(S,se);Me.text=Me.text.slice(0,q.offset)}if(Ar.equals(se,w.path)){var nt=gs.leaf(S,se);nt.text=nt.text.slice(w.offset)}}Dt.isEditor(S)&&(S.selection=null)});return E.children},get(u,f){for(var E=u,S=0;S<f.length;S++){var w=f[S];if(Ca.isText(E)||!E.children[w])throw new Error("Cannot find a descendant at path [".concat(f,"] in node: ").concat(hl.stringify(u)));E=E.children[w]}return E},has(u,f){for(var E=u,S=0;S<f.length;S++){var w=f[S];if(Ca.isText(E)||!E.children[w])return!1;E=E.children[w]}return!0},isNode(u){return Ca.isText(u)||Us.isElement(u)||Dt.isEditor(u)},isNodeList(u){if(!Array.isArray(u))return!1;var f=Pf.get(u);if(f!==void 0)return f;var E=u.every(S=>gs.isNode(S));return Pf.set(u,E),E},last(u,f){for(var E=f.slice(),S=gs.get(u,E);S&&!(Ca.isText(S)||S.children.length===0);){var w=S.children.length-1;S=S.children[w],E.push(w)}return[S,E]},leaf(u,f){var E=gs.get(u,f);if(!Ca.isText(E))throw new Error("Cannot get the leaf node at path [".concat(f,"] because it refers to a non-leaf node: ").concat(hl.stringify(E)));return E},*levels(u,f){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var S of Ar.levels(f,E)){var w=gs.get(u,S);yield[w,S]}},matches(u,f){return Us.isElement(u)&&Us.isElementProps(f)&&Us.matches(u,f)||Ca.isText(u)&&Ca.isTextProps(f)&&Ca.matches(u,f)},*nodes(u){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:E,reverse:S=!1}=f,{from:w=[],to:q}=f,ne=new Set,se=[],Ee=u;!(q&&(S?Ar.isBefore(se,q):Ar.isAfter(se,q)));){if(ne.has(Ee)||(yield[Ee,se]),!ne.has(Ee)&&!Ca.isText(Ee)&&Ee.children.length!==0&&(E==null||E([Ee,se])===!1)){ne.add(Ee);var Te=S?Ee.children.length-1:0;Ar.isAncestor(se,w)&&(Te=w[se.length]),se=se.concat(Te),Ee=gs.get(u,se);continue}if(se.length===0)break;if(!S){var Me=Ar.next(se);if(gs.has(u,Me)){se=Me,Ee=gs.get(u,se);continue}}if(S&&se[se.length-1]!==0){var nt=Ar.previous(se);se=nt,Ee=gs.get(u,se);continue}se=Ar.parent(se),Ee=gs.get(u,se),ne.add(Ee)}},parent(u,f){var E=Ar.parent(f),S=gs.get(u,E);if(Ca.isText(S))throw new Error("Cannot get the parent of path [".concat(f,"] because it does not exist in the root."));return S},string(u){return Ca.isText(u)?u.text:u.children.map(gs.string).join("")},*texts(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[E,S]of gs.nodes(u,f))Ca.isText(E)&&(yield[E,S])}};function bd(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function qu(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?bd(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):bd(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var p0={isNodeOperation(u){return p0.isOperation(u)&&u.type.endsWith("_node")},isOperation(u){if(!Ba(u))return!1;switch(u.type){case"insert_node":return Ar.isPath(u.path)&&gs.isNode(u.node);case"insert_text":return typeof u.offset=="number"&&typeof u.text=="string"&&Ar.isPath(u.path);case"merge_node":return typeof u.position=="number"&&Ar.isPath(u.path)&&Ba(u.properties);case"move_node":return Ar.isPath(u.path)&&Ar.isPath(u.newPath);case"remove_node":return Ar.isPath(u.path)&&gs.isNode(u.node);case"remove_text":return typeof u.offset=="number"&&typeof u.text=="string"&&Ar.isPath(u.path);case"set_node":return Ar.isPath(u.path)&&Ba(u.properties)&&Ba(u.newProperties);case"set_selection":return u.properties===null&&xi.isRange(u.newProperties)||u.newProperties===null&&xi.isRange(u.properties)||Ba(u.properties)&&Ba(u.newProperties);case"split_node":return Ar.isPath(u.path)&&typeof u.position=="number"&&Ba(u.properties);default:return!1}},isOperationList(u){return Array.isArray(u)&&u.every(f=>p0.isOperation(f))},isSelectionOperation(u){return p0.isOperation(u)&&u.type.endsWith("_selection")},isTextOperation(u){return p0.isOperation(u)&&u.type.endsWith("_text")},inverse(u){switch(u.type){case"insert_node":return qu(qu({},u),{},{type:"remove_node"});case"insert_text":return qu(qu({},u),{},{type:"remove_text"});case"merge_node":return qu(qu({},u),{},{type:"split_node",path:Ar.previous(u.path)});case"move_node":{var{newPath:f,path:E}=u;if(Ar.equals(f,E))return u;if(Ar.isSibling(E,f))return qu(qu({},u),{},{path:f,newPath:E});var S=Ar.transform(E,u),w=Ar.transform(Ar.next(E),u);return qu(qu({},u),{},{path:S,newPath:w})}case"remove_node":return qu(qu({},u),{},{type:"insert_node"});case"remove_text":return qu(qu({},u),{},{type:"insert_text"});case"set_node":{var{properties:q,newProperties:ne}=u;return qu(qu({},u),{},{properties:ne,newProperties:q})}case"set_selection":{var{properties:se,newProperties:Ee}=u;return se==null?qu(qu({},u),{},{properties:Ee,newProperties:null}):Ee==null?qu(qu({},u),{},{properties:null,newProperties:se}):qu(qu({},u),{},{properties:Ee,newProperties:se})}case"split_node":return qu(qu({},u),{},{type:"merge_node",path:Ar.next(u.path)})}}},bf=new WeakMap,cu=u=>{var f=bf.get(u);if(f!==void 0)return f;if(!Ba(u))return!1;var E=typeof u.addMark=="function"&&typeof u.apply=="function"&&typeof u.deleteFragment=="function"&&typeof u.insertBreak=="function"&&typeof u.insertSoftBreak=="function"&&typeof u.insertFragment=="function"&&typeof u.insertNode=="function"&&typeof u.insertText=="function"&&typeof u.isElementReadOnly=="function"&&typeof u.isInline=="function"&&typeof u.isSelectable=="function"&&typeof u.isVoid=="function"&&typeof u.normalizeNode=="function"&&typeof u.onChange=="function"&&typeof u.removeMark=="function"&&typeof u.getDirtyPaths=="function"&&(u.marks===null||Ba(u.marks))&&(u.selection===null||xi.isRange(u.selection))&&gs.isNodeList(u.children)&&p0.isOperationList(u.operations);return bf.set(u,E),E},Dt={above(u,f){return u.above(f)},addMark(u,f,E){u.addMark(f,E)},after(u,f,E){return u.after(f,E)},before(u,f,E){return u.before(f,E)},deleteBackward(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:E="character"}=f;u.deleteBackward(E)},deleteForward(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:E="character"}=f;u.deleteForward(E)},deleteFragment(u,f){u.deleteFragment(f)},edges(u,f){return u.edges(f)},elementReadOnly(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u.elementReadOnly(f)},end(u,f){return u.end(f)},first(u,f){return u.first(f)},fragment(u,f){return u.fragment(f)},hasBlocks(u,f){return u.hasBlocks(f)},hasInlines(u,f){return u.hasInlines(f)},hasPath(u,f){return u.hasPath(f)},hasTexts(u,f){return u.hasTexts(f)},insertBreak(u){u.insertBreak()},insertFragment(u,f,E){u.insertFragment(f,E)},insertNode(u,f){u.insertNode(f)},insertSoftBreak(u){u.insertSoftBreak()},insertText(u,f){u.insertText(f)},isBlock(u,f){return u.isBlock(f)},isEdge(u,f,E){return u.isEdge(f,E)},isEditor(u){return cu(u)},isElementReadOnly(u,f){return u.isElementReadOnly(f)},isEmpty(u,f){return u.isEmpty(f)},isEnd(u,f,E){return u.isEnd(f,E)},isInline(u,f){return u.isInline(f)},isNormalizing(u){return u.isNormalizing()},isSelectable(u,f){return u.isSelectable(f)},isStart(u,f,E){return u.isStart(f,E)},isVoid(u,f){return u.isVoid(f)},last(u,f){return u.last(f)},leaf(u,f,E){return u.leaf(f,E)},levels(u,f){return u.levels(f)},marks(u){return u.getMarks()},next(u,f){return u.next(f)},node(u,f,E){return u.node(f,E)},nodes(u,f){return u.nodes(f)},normalize(u,f){u.normalize(f)},parent(u,f,E){return u.parent(f,E)},path(u,f,E){return u.path(f,E)},pathRef(u,f,E){return u.pathRef(f,E)},pathRefs(u){return u.pathRefs()},point(u,f,E){return u.point(f,E)},pointRef(u,f,E){return u.pointRef(f,E)},pointRefs(u){return u.pointRefs()},positions(u,f){return u.positions(f)},previous(u,f){return u.previous(f)},range(u,f,E){return u.range(f,E)},rangeRef(u,f,E){return u.rangeRef(f,E)},rangeRefs(u){return u.rangeRefs()},removeMark(u,f){u.removeMark(f)},setNormalizing(u,f){u.setNormalizing(f)},start(u,f){return u.start(f)},string(u,f,E){return u.string(f,E)},unhangRange(u,f,E){return u.unhangRange(f,E)},void(u,f){return u.void(f)},withoutNormalizing(u,f){u.withoutNormalizing(f)}},gc={isLocation(u){return Ar.isPath(u)||ro.isPoint(u)||xi.isRange(u)}},O0={isSpan(u){return Array.isArray(u)&&u.length===2&&u.every(Ar.isPath)}};function sf(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function Bl(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?sf(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):sf(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var ro={compare(u,f){var E=Ar.compare(u.path,f.path);return E===0?u.offset<f.offset?-1:u.offset>f.offset?1:0:E},isAfter(u,f){return ro.compare(u,f)===1},isBefore(u,f){return ro.compare(u,f)===-1},equals(u,f){return u.offset===f.offset&&Ar.equals(u.path,f.path)},isPoint(u){return Ba(u)&&typeof u.offset=="number"&&Ar.isPath(u.path)},transform(u,f){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return(0,zo.Ut)(u,S=>{if(S===null)return null;var{affinity:w="forward"}=E,{path:q,offset:ne}=S;switch(f.type){case"insert_node":case"move_node":{S.path=Ar.transform(q,f,E);break}case"insert_text":{Ar.equals(f.path,q)&&(f.offset<ne||f.offset===ne&&w==="forward")&&(S.offset+=f.text.length);break}case"merge_node":{Ar.equals(f.path,q)&&(S.offset+=f.position),S.path=Ar.transform(q,f,E);break}case"remove_text":{Ar.equals(f.path,q)&&f.offset<=ne&&(S.offset-=Math.min(ne-f.offset,f.text.length));break}case"remove_node":{if(Ar.equals(f.path,q)||Ar.isAncestor(f.path,q))return null;S.path=Ar.transform(q,f,E);break}case"split_node":{if(Ar.equals(f.path,q)){if(f.position===ne&&w==null)return null;(f.position<ne||f.position===ne&&w==="forward")&&(S.offset-=f.position,S.path=Ar.transform(q,f,Bl(Bl({},E),{},{affinity:"forward"})))}else S.path=Ar.transform(q,f,E);break}}})}},Nd=void 0,hl={setScrubber(u){Nd=u},stringify(u){return JSON.stringify(u,Nd)}},zh=["text"],Cd=["anchor","focus"];function Pd(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function nd(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?Pd(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):Pd(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var Ca={equals(u,f){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:S=!1}=E;function w(q){var ne=Ll(q,zh);return ne}return Du(S?w(u):u,S?w(f):f)},isText(u){return Ba(u)&&typeof u.text=="string"},isTextList(u){return Array.isArray(u)&&u.every(f=>Ca.isText(f))},isTextProps(u){return u.text!==void 0},matches(u,f){for(var E in f)if(E!=="text"&&(!u.hasOwnProperty(E)||u[E]!==f[E]))return!1;return!0},decorations(u,f){var E=[nd({},u)];for(var S of f){var w=Ll(S,Cd),[q,ne]=xi.edges(S),se=[],Ee=0,Te=q.offset,Me=ne.offset;for(var nt of E){var{length:ht}=nt.text,Bt=Ee;if(Ee+=ht,Te<=Bt&&Ee<=Me){Object.assign(nt,w),se.push(nt);continue}if(Te!==Me&&(Te===Ee||Me===Bt)||Te>Ee||Me<Bt||Me===Bt&&Bt!==0){se.push(nt);continue}var Ft=nt,ze=void 0,_n=void 0;if(Me<Ee){var On=Me-Bt;_n=nd(nd({},Ft),{},{text:Ft.text.slice(On)}),Ft=nd(nd({},Ft),{},{text:Ft.text.slice(0,On)})}if(Te>Bt){var Gn=Te-Bt;ze=nd(nd({},Ft),{},{text:Ft.text.slice(0,Gn)}),Ft=nd(nd({},Ft),{},{text:Ft.text.slice(Gn)})}Object.assign(Ft,w),ze&&se.push(ze),se.push(Ft),_n&&se.push(_n)}E=se}return E}},Gu=u=>u.selection?u.selection:u.children.length>0?Dt.end(u,[]):[0],vc=(u,f)=>{var[E]=Dt.node(u,f);return S=>S===E},ud=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S=!E,w=E?rd(f):f,q=Co.None,ne=Co.None,se=0,Ee=null,Te=null;for(var Me of w){var nt=Me.codePointAt(0);if(!nt)break;var ht=Bf(Me,nt);if([q,ne]=S?[ne,ht]:[ht,q],id(q,Co.ZWJ)&&id(ne,Co.ExtPict)&&(S?Ee=kf(f.substring(0,se)):Ee=kf(f.substring(0,f.length-se)),!Ee)||id(q,Co.RI)&&id(ne,Co.RI)&&(Te!==null?Te=!Te:S?Te=!0:Te=qd(f.substring(0,f.length-se)),!Te)||q!==Co.None&&ne!==Co.None&&uf(q,ne))break;se+=Me.length}return se||1},Xd=/\s/,Lf=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Ld=/['\u2018\u2019]/,K0=function(f){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,S=0,w=!1;f.length>0;){var q=ud(f,E),[ne,se]=af(f,q,E);if(Y0(ne,se,E))w=!0,S+=q;else if(!w)S+=q;else break;f=se}return S},af=(u,f,E)=>{if(E){var S=u.length-f;return[u.slice(S,u.length),u.slice(0,S)]}return[u.slice(0,f),u.slice(f)]},Y0=function u(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(Xd.test(f))return!1;if(Ld.test(f)){var w=ud(E,S),[q,ne]=af(E,w,S);if(u(q,ne,S))return!0}return!Lf.test(f)},rd=function*(f){for(var E=f.length-1,S=0;S<f.length;S++){var w=f.charAt(E-S);if(Bd(w.charCodeAt(0))){var q=f.charAt(E-S-1);if(r0(q.charCodeAt(0))){yield q+w,S++;continue}}yield w}},r0=u=>u>=55296&&u<=56319,Bd=u=>u>=56320&&u<=57343,Co;(function(u){u[u.None=0]="None",u[u.Extend=1]="Extend",u[u.ZWJ=2]="ZWJ",u[u.RI=4]="RI",u[u.Prepend=8]="Prepend",u[u.SpacingMark=16]="SpacingMark",u[u.L=32]="L",u[u.V=64]="V",u[u.T=128]="T",u[u.LV=256]="LV",u[u.LVT=512]="LVT",u[u.ExtPict=1024]="ExtPict",u[u.Any=2048]="Any"})(Co||(Co={}));var Jf=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,qf=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,yl=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,Gc=/^[\u1100-\u115F\uA960-\uA97C]$/,ql=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,Jd=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,R0=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,of=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,Rs=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,Bf=(u,f)=>{var E=Co.Any;return u.search(Jf)!==-1&&(E|=Co.Extend),f===8205&&(E|=Co.ZWJ),f>=127462&&f<=127487&&(E|=Co.RI),u.search(qf)!==-1&&(E|=Co.Prepend),u.search(yl)!==-1&&(E|=Co.SpacingMark),u.search(Gc)!==-1&&(E|=Co.L),u.search(ql)!==-1&&(E|=Co.V),u.search(Jd)!==-1&&(E|=Co.T),u.search(R0)!==-1&&(E|=Co.LV),u.search(of)!==-1&&(E|=Co.LVT),u.search(Rs)!==-1&&(E|=Co.ExtPict),E};function id(u,f){return(u&f)!==0}var Fd=[[Co.L,Co.L|Co.V|Co.LV|Co.LVT],[Co.LV|Co.V,Co.V|Co.T],[Co.LVT|Co.T,Co.T],[Co.Any,Co.Extend|Co.ZWJ],[Co.Any,Co.SpacingMark],[Co.Prepend,Co.Any],[Co.ZWJ,Co.ExtPict],[Co.RI,Co.RI]];function uf(u,f){return Fd.findIndex(E=>id(u,E[0])&&id(f,E[1]))===-1}var Ff=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,kf=u=>u.search(Ff)!==-1,Sd=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,qd=u=>{var f=u.match(Sd);if(f===null)return!1;var E=f[0].length/2;return E%2===1},du={delete(u,f){u.delete(f)},insertFragment(u,f,E){u.insertFragment(f,E)},insertText(u,f){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Dt.withoutNormalizing(u,()=>{var{voids:S=!1}=E,{at:w=Gu(u)}=E;if(Ar.isPath(w)&&(w=Dt.range(u,w)),xi.isRange(w))if(xi.isCollapsed(w))w=w.anchor;else{var q=xi.end(w);if(!S&&Dt.void(u,{at:q}))return;var ne=xi.start(w),se=Dt.pointRef(u,ne),Ee=Dt.pointRef(u,q);vi.delete(u,{at:w,voids:S});var Te=se.unref(),Me=Ee.unref();w=Te||Me,vi.setSelection(u,{anchor:w,focus:w})}if(!(!S&&Dt.void(u,{at:w})||Dt.elementReadOnly(u,{at:w}))){var{path:nt,offset:ht}=w;f.length>0&&u.apply({type:"insert_text",path:nt,offset:ht,text:f})}})}};function k0(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function ld(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?k0(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):k0(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var vi=ld(ld(ld(ld({},Md),yf),ac),du),cd=(u,f)=>{for(var E of Dt.pathRefs(u))mc.transform(E,f);for(var S of Dt.pointRefs(u))Hc.transform(S,f);for(var w of Dt.rangeRefs(u))sl.transform(w,f);var q=_u.get(u)||[],ne=zs.get(u)||new Set,se,Ee,Te=Ft=>{if(Ft){var ze=Ft.join(",");Ee.has(ze)||(Ee.add(ze),se.push(Ft))}};if(Ar.operationCanTransformPath(f)){se=[],Ee=new Set;for(var Me of q){var nt=Ar.transform(Me,f);Te(nt)}}else se=q,Ee=ne;var ht=u.getDirtyPaths(f);for(var Bt of ht)Te(Bt);_u.set(u,se),zs.set(u,Ee),vi.transform(u,f),u.operations.push(f),Dt.normalize(u,{operation:f}),f.type==="set_selection"&&(u.marks=null),Ju.get(u)||(Ju.set(u,!0),Promise.resolve().then(()=>{Ju.set(u,!1),u.onChange({operation:f}),u.operations=[]}))},kd=(u,f)=>{switch(f.type){case"insert_text":case"remove_text":case"set_node":{var{path:E}=f;return Ar.levels(E)}case"insert_node":{var{node:S,path:w}=f,q=Ar.levels(w),ne=Ca.isText(S)?[]:Array.from(gs.nodes(S),Br=>{var[,oi]=Br;return w.concat(oi)});return[...q,...ne]}case"merge_node":{var{path:se}=f,Ee=Ar.ancestors(se),Te=Ar.previous(se);return[...Ee,Te]}case"move_node":{var{path:Me,newPath:nt}=f;if(Ar.equals(Me,nt))return[];var ht=[],Bt=[];for(var Ft of Ar.ancestors(Me)){var ze=Ar.transform(Ft,f);ht.push(ze)}for(var _n of Ar.ancestors(nt)){var On=Ar.transform(_n,f);Bt.push(On)}var Gn=Bt[Bt.length-1],Vn=nt[nt.length-1],mr=Gn.concat(Vn);return[...ht,...Bt,mr]}case"remove_node":{var{path:Dn}=f,Ir=Ar.ancestors(Dn);return[...Ir]}case"split_node":{var{path:hr}=f,Mr=Ar.levels(hr),_r=Ar.next(hr);return[...Mr,_r]}default:return[]}},eh=u=>{var{selection:f}=u;return f?gs.fragment(u,f):[]},bl=(u,f)=>{var[E,S]=f;if(!Ca.isText(E)){if(Us.isElement(E)&&E.children.length===0){var w={text:""};vi.insertNodes(u,w,{at:S.concat(0),voids:!0});return}for(var q=Dt.isEditor(E)?!1:Us.isElement(E)&&(u.isInline(E)||E.children.length===0||Ca.isText(E.children[0])||u.isInline(E.children[0])),ne=0,se=0;se<E.children.length;se++,ne++){var Ee=gs.get(u,S);if(!Ca.isText(Ee)){var Te=Ee.children[ne],Me=Ee.children[ne-1],nt=se===E.children.length-1,ht=Ca.isText(Te)||Us.isElement(Te)&&u.isInline(Te);if(ht!==q)vi.removeNodes(u,{at:S.concat(ne),voids:!0}),ne--;else if(Us.isElement(Te)){if(u.isInline(Te)){if(Me==null||!Ca.isText(Me)){var Bt={text:""};vi.insertNodes(u,Bt,{at:S.concat(ne),voids:!0}),ne++}else if(nt){var Ft={text:""};vi.insertNodes(u,Ft,{at:S.concat(ne+1),voids:!0}),ne++}}}else Me!=null&&Ca.isText(Me)&&(Ca.equals(Te,Me,{loose:!0})?(vi.mergeNodes(u,{at:S.concat(ne),voids:!0}),ne--):Me.text===""?(vi.removeNodes(u,{at:S.concat(ne-1),voids:!0}),ne--):Te.text===""&&(vi.removeNodes(u,{at:S.concat(ne),voids:!0}),ne--))}}}},U0=(u,f)=>{var{iteration:E,initialDirtyPathsLength:S}=f,w=S*42;if(E>w)throw new Error("Could not completely normalize the editor after ".concat(w," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state."));return!0},tt=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:S=!1,mode:w="lowest",at:q=f.selection,match:ne}=E;if(q){var se=Dt.path(f,q),Ee=w==="lowest";for(var[Te,Me]of Dt.levels(f,{at:se,voids:S,match:ne,reverse:Ee}))if(!Ca.isText(Te)){if(xi.isRange(q)){if(Ar.isAncestor(Me,q.anchor.path)&&Ar.isAncestor(Me,q.focus.path))return[Te,Me]}else if(!Ar.equals(se,Me))return[Te,Me]}}};function hn(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function Yn(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?hn(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):hn(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var h=(u,f,E)=>{var{selection:S}=u;if(S){var w=(nt,ht)=>{if(!Ca.isText(nt))return!1;var[Bt,Ft]=Dt.parent(u,ht);return!u.isVoid(Bt)||u.markableVoid(Bt)},q=xi.isExpanded(S),ne=!1;if(!q){var[se,Ee]=Dt.node(u,S);if(se&&w(se,Ee)){var[Te]=Dt.parent(u,Ee);ne=Te&&u.markableVoid(Te)}}if(q||ne)vi.setNodes(u,{[f]:E},{match:w,split:!0,voids:!0});else{var Me=Yn(Yn({},Dt.marks(u)||{}),{},{[f]:E});u.marks=Me,Ju.get(u)||u.onChange()}}};function b(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function F(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?b(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):b(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var k=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=Dt.point(f,E,{edge:"end"}),q=Dt.end(f,[]),ne={anchor:w,focus:q},{distance:se=1}=S,Ee=0,Te;for(var Me of Dt.positions(f,F(F({},S),{},{at:ne}))){if(Ee>se)break;Ee!==0&&(Te=Me),Ee++}return Te};function G(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function ae(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?G(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):G(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var De=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=Dt.start(f,[]),q=Dt.point(f,E,{edge:"start"}),ne={anchor:w,focus:q},{distance:se=1}=S,Ee=0,Te;for(var Me of Dt.positions(f,ae(ae({},S),{},{at:ne,reverse:!0}))){if(Ee>se)break;Ee!==0&&(Te=Me),Ee++}return Te},Xe=(u,f)=>{var{selection:E}=u;E&&xi.isCollapsed(E)&&vi.delete(u,{unit:f,reverse:!0})},lt=(u,f)=>{var{selection:E}=u;E&&xi.isCollapsed(E)&&vi.delete(u,{unit:f})},it=function(f){var{direction:E="forward"}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:S}=f;S&&xi.isExpanded(S)&&vi.delete(f,{reverse:E==="backward"})},Rn=(u,f)=>[Dt.start(u,f),Dt.end(u,f)];function Zn(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function Fr(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?Zn(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):Zn(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var Tr=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Dt.above(f,Fr(Fr({},E),{},{match:S=>Us.isElement(S)&&Dt.isElementReadOnly(f,S)}))},ui=(u,f)=>Dt.point(u,f,{edge:"end"}),ki=(u,f)=>{var E=Dt.path(u,f,{edge:"start"});return Dt.node(u,E)},cs=(u,f)=>{var E=Dt.range(u,f);return gs.fragment(u,E)};function qi(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function is(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?qi(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):qi(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var Ns=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Dt.above(f,is(is({},E),{},{match:S=>Us.isElement(S)&&Dt.isVoid(f,S)}))},Zs=(u,f)=>f.children.some(E=>Us.isElement(E)&&Dt.isBlock(u,E)),wa=(u,f)=>f.children.some(E=>Ca.isText(E)||Dt.isInline(u,E)),qs=(u,f)=>gs.has(u,f),ao=(u,f)=>f.children.every(E=>Ca.isText(E)),So=u=>{vi.splitNodes(u,{always:!0})},wl=(u,f,E)=>{vi.insertNodes(u,f,E)},Uu=u=>{vi.splitNodes(u,{always:!0})};function pl(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function Dc(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?pl(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):pl(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var xu=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:w,marks:q}=f;if(w){if(q){var ne=Dc({text:E},q);vi.insertNodes(f,ne,{at:S.at,voids:S.voids})}else vi.insertText(f,E,S);f.marks=null}},Bc=(u,f)=>!u.isInline(f),oc=(u,f,E)=>Dt.isStart(u,f,E)||Dt.isEnd(u,f,E),al=(u,f)=>{var{children:E}=f,[S]=E;return E.length===0||E.length===1&&Ca.isText(S)&&S.text===""&&!u.isVoid(f)},ju=(u,f,E)=>{var S=Dt.end(u,E);return ro.equals(f,S)},ml=u=>{var f=Vo.get(u);return f===void 0?!0:f},zc=(u,f,E)=>{if(f.offset!==0)return!1;var S=Dt.start(u,E);return ro.equals(f,S)},m0=(u,f)=>{var E=Dt.path(u,f,{edge:"end"});return Dt.node(u,E)},Q0=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=Dt.path(f,E,S),q=gs.leaf(f,w);return[q,w]};function*$u(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:E=u.selection,reverse:S=!1,voids:w=!1}=f,{match:q}=f;if(q==null&&(q=()=>!0),!!E){var ne=[],se=Dt.path(u,E);for(var[Ee,Te]of gs.levels(u,se))if(q(Ee,Te)&&(ne.push([Ee,Te]),!w&&Us.isElement(Ee)&&Dt.isVoid(u,Ee)))break;S&&ne.reverse(),yield*ne}}var ko=["text"],tu=["text"],Cl=function(f){var{marks:E,selection:S}=f;if(!S)return null;if(E)return E;if(xi.isExpanded(S)){var[w]=Dt.nodes(f,{match:Ca.isText});if(w){var[q]=w,ne=Ll(q,ko);return ne}else return{}}var{anchor:se}=S,{path:Ee}=se,[Te]=Dt.leaf(f,Ee);if(se.offset===0){var Me=Dt.previous(f,{at:Ee,match:Ca.isText}),nt=Dt.above(f,{match:On=>Us.isElement(On)&&Dt.isVoid(f,On)&&f.markableVoid(On)});if(!nt){var ht=Dt.above(f,{match:On=>Us.isElement(On)&&Dt.isBlock(f,On)});if(Me&&ht){var[Bt,Ft]=Me,[,ze]=ht;Ar.isAncestor(ze,Ft)&&(Te=Bt)}}}var _n=Ll(Te,tu);return _n},ol=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:S="lowest",voids:w=!1}=E,{match:q,at:ne=f.selection}=E;if(ne){var se=Dt.after(f,ne,{voids:w});if(se){var[,Ee]=Dt.last(f,[]),Te=[se.path,Ee];if(Ar.isPath(ne)&&ne.length===0)throw new Error("Cannot get the next node from the root node!");if(q==null)if(Ar.isPath(ne)){var[Me]=Dt.parent(f,ne);q=ht=>Me.children.includes(ht)}else q=()=>!0;var[nt]=Dt.nodes(f,{at:Te,match:q,mode:S,voids:w});return nt}}},Ec=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=Dt.path(f,E,S),q=gs.get(f,w);return[q,w]};function*g0(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:E=u.selection,mode:S="all",universal:w=!1,reverse:q=!1,voids:ne=!1,ignoreNonSelectable:se=!1}=f,{match:Ee}=f;if(Ee||(Ee=()=>!0),!!E){var Te,Me;if(O0.isSpan(E))Te=E[0],Me=E[1];else{var nt=Dt.path(u,E,{edge:"start"}),ht=Dt.path(u,E,{edge:"end"});Te=q?ht:nt,Me=q?nt:ht}var Bt=gs.nodes(u,{reverse:q,from:Te,to:Me,pass:mr=>{var[Dn]=mr;return Us.isElement(Dn)?!!(!ne&&(Dt.isVoid(u,Dn)||Dt.isElementReadOnly(u,Dn))||se&&!Dt.isSelectable(u,Dn)):!1}}),Ft=[],ze;for(var[_n,On]of Bt)if(!(se&&Us.isElement(_n)&&!Dt.isSelectable(u,_n))){var Gn=ze&&Ar.compare(On,ze[1])===0;if(!(S==="highest"&&Gn)){if(!Ee(_n,On)){if(w&&!Gn&&Ca.isText(_n))return;continue}if(S==="lowest"&&Gn){ze=[_n,On];continue}var Vn=S==="lowest"?ze:[_n,On];Vn&&(w?Ft.push(Vn):yield Vn),ze=[_n,On]}}S==="lowest"&&ze&&(w?Ft.push(ze):yield ze),w&&(yield*Ft)}}var pu=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:S=!1,operation:w}=E,q=Me=>_u.get(Me)||[],ne=Me=>zs.get(Me)||new Set,se=Me=>{var nt=q(Me).pop(),ht=nt.join(",");return ne(Me).delete(ht),nt};if(Dt.isNormalizing(f)){if(S){var Ee=Array.from(gs.nodes(f),Me=>{var[,nt]=Me;return nt}),Te=new Set(Ee.map(Me=>Me.join(",")));_u.set(f,Ee),zs.set(f,Te)}q(f).length!==0&&Dt.withoutNormalizing(f,()=>{for(var Me of q(f))if(gs.has(f,Me)){var nt=Dt.node(f,Me),[ht,Bt]=nt;Us.isElement(ht)&&ht.children.length===0&&f.normalizeNode(nt,{operation:w})}for(var Ft=q(f),ze=Ft.length,_n=0;Ft.length!==0;){if(!f.shouldNormalize({dirtyPaths:Ft,iteration:_n,initialDirtyPathsLength:ze,operation:w}))return;var On=se(f);if(gs.has(f,On)){var Gn=Dt.node(f,On);f.normalizeNode(Gn,{operation:w})}_n++,Ft=q(f)}})}},uc=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},w=Dt.path(f,E,S),q=Ar.parent(w),ne=Dt.node(f,q);return ne},Hl=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:w="forward"}=S,q={current:E,affinity:w,unref(){var{current:se}=q,Ee=Dt.pathRefs(f);return Ee.delete(q),q.current=null,se}},ne=Dt.pathRefs(f);return ne.add(q),q},Gl=u=>{var f=Ao.get(u);return f||(f=new Set,Ao.set(u,f)),f},_h=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:w,edge:q}=S;if(Ar.isPath(E)){if(q==="start"){var[,ne]=gs.first(f,E);E=ne}else if(q==="end"){var[,se]=gs.last(f,E);E=se}}return xi.isRange(E)&&(q==="start"?E=xi.start(E):q==="end"?E=xi.end(E):E=Ar.common(E.anchor.path,E.focus.path)),ro.isPoint(E)&&(E=E.path),w!=null&&(E=E.slice(0,w)),E},dd=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:w="forward"}=S,q={current:E,affinity:w,unref(){var{current:se}=q,Ee=Dt.pointRefs(f);return Ee.delete(q),q.current=null,se}},ne=Dt.pointRefs(f);return ne.add(q),q},w0=u=>{var f=ku.get(u);return f||(f=new Set,ku.set(u,f)),f},Vh=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:w="start"}=S;if(Ar.isPath(E)){var q;if(w==="end"){var[,ne]=gs.last(f,E);q=ne}else{var[,se]=gs.first(f,E);q=se}var Ee=gs.get(f,q);if(!Ca.isText(Ee))throw new Error("Cannot get the ".concat(w," point in the node at path [").concat(E,"] because it has no ").concat(w," text node."));return{path:q,offset:w==="end"?Ee.text.length:0}}if(xi.isRange(E)){var[Te,Me]=xi.edges(E);return w==="start"?Te:Me}return E};function*Pi(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:E=u.selection,unit:S="offset",reverse:w=!1,voids:q=!1,ignoreNonSelectable:ne=!1}=f;if(!E)return;var se=Dt.range(u,E),[Ee,Te]=xi.edges(se),Me=w?Te:Ee,nt=!1,ht="",Bt=0,Ft=0,ze=0;for(var[_n,On]of Dt.nodes(u,{at:E,reverse:w,voids:q,ignoreNonSelectable:ne})){if(Us.isElement(_n)){if(!q&&(u.isVoid(_n)||u.isElementReadOnly(_n))){yield Dt.start(u,On);continue}if(u.isInline(_n))continue;if(Dt.hasInlines(u,_n)){var Gn=Ar.isAncestor(On,Te.path)?Te:Dt.end(u,On),Vn=Ar.isAncestor(On,Ee.path)?Ee:Dt.start(u,On);ht=Dt.string(u,{anchor:Vn,focus:Gn},{voids:q}),nt=!0}}if(Ca.isText(_n)){var mr=Ar.equals(On,Me.path);for(mr?(Ft=w?Me.offset:_n.text.length-Me.offset,ze=Me.offset):(Ft=_n.text.length,ze=w?Ft:0),(mr||nt||S==="offset")&&(yield{path:On,offset:ze},nt=!1);;){if(Bt===0){if(ht==="")break;Bt=Dn(ht,S,w),ht=af(ht,Bt,w)[1]}if(ze=w?ze-Bt:ze+Bt,Ft=Ft-Bt,Ft<0){Bt=-Ft;break}Bt=0,yield{path:On,offset:ze}}}}function Dn(Ir,hr,Mr){return hr==="character"?ud(Ir,Mr):hr==="word"?K0(Ir,Mr):hr==="line"||hr==="block"?Ir.length:1}}var ia=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:S="lowest",voids:w=!1}=E,{match:q,at:ne=f.selection}=E;if(ne){var se=Dt.before(f,ne,{voids:w});if(se){var[,Ee]=Dt.first(f,[]),Te=[se.path,Ee];if(Ar.isPath(ne)&&ne.length===0)throw new Error("Cannot get the previous node from the root node!");if(q==null)if(Ar.isPath(ne)){var[Me]=Dt.parent(f,ne);q=ht=>Me.children.includes(ht)}else q=()=>!0;var[nt]=Dt.nodes(f,{reverse:!0,at:Te,match:q,mode:S,voids:w});return nt}}},ja=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:w="forward"}=S,q={current:E,affinity:w,unref(){var{current:se}=q,Ee=Dt.rangeRefs(f);return Ee.delete(q),q.current=null,se}},ne=Dt.rangeRefs(f);return ne.add(q),q},Fa=u=>{var f=x0.get(u);return f||(f=new Set,x0.set(u,f)),f},xo=(u,f,E)=>{if(xi.isRange(f)&&!E)return f;var S=Dt.start(u,f),w=Dt.end(u,E||f);return{anchor:S,focus:w}};function bu(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function po(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?bu(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):bu(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var Mu=(u,f)=>{var{selection:E}=u;if(E){var S=(Me,nt)=>{if(!Ca.isText(Me))return!1;var[ht,Bt]=Dt.parent(u,nt);return!u.isVoid(ht)||u.markableVoid(ht)},w=xi.isExpanded(E),q=!1;if(!w){var[ne,se]=Dt.node(u,E);if(ne&&S(ne,se)){var[Ee]=Dt.parent(u,se);q=Ee&&u.markableVoid(Ee)}}if(w||q)vi.unsetNodes(u,f,{match:S,split:!0,voids:!0});else{var Te=po({},Dt.marks(u)||{});delete Te[f],u.marks=Te,Ju.get(u)||u.onChange()}}},Td=(u,f)=>{Vo.set(u,f)},Uf=(u,f)=>Dt.point(u,f,{edge:"start"}),th=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:w=!1}=S,q=Dt.range(f,E),[ne,se]=xi.edges(q),Ee="";for(var[Te,Me]of Dt.nodes(f,{at:q,match:Ca.isText,voids:w})){var nt=Te.text;Ar.equals(Me,se.path)&&(nt=nt.slice(0,se.offset)),Ar.equals(Me,ne.path)&&(nt=nt.slice(ne.offset)),Ee+=nt}return Ee},Cf=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:w=!1}=S,[q,ne]=xi.edges(E);if(q.offset!==0||ne.offset!==0||xi.isCollapsed(E)||Ar.hasPrevious(ne.path))return E;var se=Dt.above(f,{at:ne,match:Ft=>Us.isElement(Ft)&&Dt.isBlock(f,Ft),voids:w}),Ee=se?se[1]:[],Te=Dt.start(f,q),Me={anchor:Te,focus:ne},nt=!0;for(var[ht,Bt]of Dt.nodes(f,{at:Me,match:Ca.isText,reverse:!0,voids:w})){if(nt){nt=!1;continue}if(ht.text!==""||Ar.isBefore(Bt,Ee)){ne={path:Bt,offset:ht.text.length};break}}return{anchor:q,focus:ne}},v0=(u,f)=>{var E=Dt.isNormalizing(u);Dt.setNormalizing(u,!1);try{f()}finally{Dt.setNormalizing(u,E)}Dt.normalize(u)},ef=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dt.withoutNormalizing(f,()=>{var S,w,{reverse:q=!1,unit:ne="character",distance:se=1,voids:Ee=!1}=E,{at:Te=f.selection,hanging:Me=!1}=E;if(Te){var nt=!1;if(xi.isRange(Te)&&xi.isCollapsed(Te)&&(nt=!0,Te=Te.anchor),ro.isPoint(Te)){var ht=Dt.void(f,{at:Te,mode:"highest"});if(!Ee&&ht){var[,Bt]=ht;Te=Bt}else{var Ft={unit:ne,distance:se},ze=q?Dt.before(f,Te,Ft)||Dt.start(f,[]):Dt.after(f,Te,Ft)||Dt.end(f,[]);Te={anchor:Te,focus:ze},Me=!0}}if(Ar.isPath(Te)){vi.removeNodes(f,{at:Te,voids:Ee});return}if(!xi.isCollapsed(Te)){if(!Me){var[,_n]=xi.edges(Te),On=Dt.end(f,[]);ro.equals(_n,On)||(Te=Dt.unhangRange(f,Te,{voids:Ee}))}var[Gn,Vn]=xi.edges(Te),mr=Dt.above(f,{match:La=>Us.isElement(La)&&Dt.isBlock(f,La),at:Gn,voids:Ee}),Dn=Dt.above(f,{match:La=>Us.isElement(La)&&Dt.isBlock(f,La),at:Vn,voids:Ee}),Ir=mr&&Dn&&!Ar.equals(mr[1],Dn[1]),hr=Ar.equals(Gn.path,Vn.path),Mr=Ee?null:(S=Dt.void(f,{at:Gn,mode:"highest"}))!==null&&S!==void 0?S:Dt.elementReadOnly(f,{at:Gn,mode:"highest"}),_r=Ee?null:(w=Dt.void(f,{at:Vn,mode:"highest"}))!==null&&w!==void 0?w:Dt.elementReadOnly(f,{at:Vn,mode:"highest"});if(Mr){var Br=Dt.before(f,Gn);Br&&mr&&Ar.isAncestor(mr[1],Br.path)&&(Gn=Br)}if(_r){var oi=Dt.after(f,Vn);oi&&Dn&&Ar.isAncestor(Dn[1],oi.path)&&(Vn=oi)}var ri=[],kr;for(var Zr of Dt.nodes(f,{at:Te,voids:Ee})){var[ai,Vr]=Zr;kr&&Ar.compare(Vr,kr)===0||(!Ee&&Us.isElement(ai)&&(Dt.isVoid(f,ai)||Dt.isElementReadOnly(f,ai))||!Ar.isCommon(Vr,Gn.path)&&!Ar.isCommon(Vr,Vn.path))&&(ri.push(Zr),kr=Vr)}var Ki=Array.from(ri,La=>{var[,zl]=La;return Dt.pathRef(f,zl)}),As=Dt.pointRef(f,Gn),Gi=Dt.pointRef(f,Vn),ts="";if(!hr&&!Mr){var Ps=As.current,[sa]=Dt.leaf(f,Ps),{path:Ss}=Ps,{offset:pr}=Gn,Hi=sa.text.slice(pr);Hi.length>0&&(f.apply({type:"remove_text",path:Ss,offset:pr,text:Hi}),ts=Hi)}if(Ki.reverse().map(La=>La.unref()).filter(La=>La!==null).forEach(La=>vi.removeNodes(f,{at:La,voids:Ee})),!_r){var Li=Gi.current,[ss]=Dt.leaf(f,Li),{path:_i}=Li,ys=hr?Gn.offset:0,$a=ss.text.slice(ys,Vn.offset);$a.length>0&&(f.apply({type:"remove_text",path:_i,offset:ys,text:$a}),ts=$a)}!hr&&Ir&&Gi.current&&As.current&&vi.mergeNodes(f,{at:Gi.current,hanging:!0,voids:Ee}),nt&&q&&ne==="character"&&ts.length>1&&ts.match(/[\u0E00-\u0E7F]+/)&&vi.insertText(f,ts.slice(0,ts.length-se));var _o=As.unref(),$o=Gi.unref(),Ku=q?_o||$o:$o||_o;E.at==null&&Ku&&vi.select(f,Ku)}}})},Dd=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Dt.withoutNormalizing(f,()=>{var{hanging:w=!1,voids:q=!1}=S,{at:ne=Gu(f)}=S;if(E.length){if(xi.isRange(ne))if(w||(ne=Dt.unhangRange(f,ne,{voids:q})),xi.isCollapsed(ne))ne=ne.anchor;else{var[,se]=xi.edges(ne);if(!q&&Dt.void(f,{at:se}))return;var Ee=Dt.pointRef(f,se);vi.delete(f,{at:ne}),ne=Ee.unref()}else Ar.isPath(ne)&&(ne=Dt.start(f,ne));if(!(!q&&Dt.void(f,{at:ne}))){var Te=Dt.above(f,{at:ne,match:pr=>Us.isElement(pr)&&Dt.isInline(f,pr),mode:"highest",voids:q});if(Te){var[,Me]=Te;if(Dt.isEnd(f,ne,Me)){var nt=Dt.after(f,Me);ne=nt}else if(Dt.isStart(f,ne,Me)){var ht=Dt.before(f,Me);ne=ht}}var Bt=Dt.above(f,{match:pr=>Us.isElement(pr)&&Dt.isBlock(f,pr),at:ne,voids:q}),[,Ft]=Bt,ze=Dt.isStart(f,ne,Ft),_n=Dt.isEnd(f,ne,Ft),On=ze&&_n,Gn=!ze||ze&&_n,Vn=!_n,[,mr]=gs.first({children:E},[]),[,Dn]=gs.last({children:E},[]),Ir=[],hr=pr=>{var[Hi,Li]=pr,ss=Li.length===0;return ss?!1:On?!0:!(Gn&&Ar.isAncestor(Li,mr)&&Us.isElement(Hi)&&!f.isVoid(Hi)&&!f.isInline(Hi)||Vn&&Ar.isAncestor(Li,Dn)&&Us.isElement(Hi)&&!f.isVoid(Hi)&&!f.isInline(Hi))};for(var Mr of gs.nodes({children:E},{pass:hr}))hr(Mr)&&Ir.push(Mr);var _r=[],Br=[],oi=[],ri=!0,kr=!1;for(var[Zr]of Ir)Us.isElement(Zr)&&!f.isInline(Zr)?(ri=!1,kr=!0,Br.push(Zr)):ri?_r.push(Zr):oi.push(Zr);var[ai]=Dt.nodes(f,{at:ne,match:pr=>Ca.isText(pr)||Dt.isInline(f,pr),mode:"highest",voids:q}),[,Vr]=ai,Ki=Dt.isStart(f,ne,Vr),As=Dt.isEnd(f,ne,Vr),Gi=Dt.pathRef(f,_n&&!oi.length?Ar.next(Ft):Ft),ts=Dt.pathRef(f,As?Ar.next(Vr):Vr);vi.splitNodes(f,{at:ne,match:pr=>kr?Us.isElement(pr)&&Dt.isBlock(f,pr):Ca.isText(pr)||Dt.isInline(f,pr),mode:kr?"lowest":"highest",always:kr&&(!ze||_r.length>0)&&(!_n||oi.length>0),voids:q});var Ps=Dt.pathRef(f,!Ki||Ki&&As?Ar.next(Vr):Vr);if(vi.insertNodes(f,_r,{at:Ps.current,match:pr=>Ca.isText(pr)||Dt.isInline(f,pr),mode:"highest",voids:q}),On&&!_r.length&&Br.length&&!oi.length&&vi.delete(f,{at:Ft,voids:q}),vi.insertNodes(f,Br,{at:Gi.current,match:pr=>Us.isElement(pr)&&Dt.isBlock(f,pr),mode:"lowest",voids:q}),vi.insertNodes(f,oi,{at:ts.current,match:pr=>Ca.isText(pr)||Dt.isInline(f,pr),mode:"highest",voids:q}),!S.at){var sa;if(oi.length>0&&ts.current?sa=Ar.previous(ts.current):Br.length>0&&Gi.current?sa=Ar.previous(Gi.current):Ps.current&&(sa=Ar.previous(Ps.current)),sa){var Ss=Dt.end(f,sa);vi.select(f,Ss)}}Ps.unref(),Gi.unref(),ts.unref()}}})},i0=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:S="anchor"}=E,{selection:w}=f;if(w){if(S==="anchor")vi.select(f,w.anchor);else if(S==="focus")vi.select(f,w.focus);else if(S==="start"){var[q]=xi.edges(w);vi.select(f,q)}else if(S==="end"){var[,ne]=xi.edges(w);vi.select(f,ne)}}else return},L4=u=>{var{selection:f}=u;f&&u.apply({type:"set_selection",properties:f,newProperties:null})},nh=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:S}=f,{distance:w=1,unit:q="character",reverse:ne=!1}=E,{edge:se=null}=E;if(S){se==="start"&&(se=xi.isBackward(S)?"focus":"anchor"),se==="end"&&(se=xi.isBackward(S)?"anchor":"focus");var{anchor:Ee,focus:Te}=S,Me={distance:w,unit:q,ignoreNonSelectable:!0},nt={};if(se==null||se==="anchor"){var ht=ne?Dt.before(f,Ee,Me):Dt.after(f,Ee,Me);ht&&(nt.anchor=ht)}if(se==null||se==="focus"){var Bt=ne?Dt.before(f,Te,Me):Dt.after(f,Te,Me);Bt&&(nt.focus=Bt)}vi.setSelection(f,nt)}},sd=(u,f)=>{var{selection:E}=u;if(f=Dt.range(u,f),E){vi.setSelection(u,f);return}if(!xi.isRange(f))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(hl.stringify(f)));u.apply({type:"set_selection",properties:E,newProperties:f})};function B4(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function Ud(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?B4(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):B4(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var F4=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:w}=f,{edge:q="both"}=S;if(w){q==="start"&&(q=xi.isBackward(w)?"focus":"anchor"),q==="end"&&(q=xi.isBackward(w)?"anchor":"focus");var{anchor:ne,focus:se}=w,Ee=q==="anchor"?ne:se;vi.setSelection(f,{[q==="anchor"?"anchor":"focus"]:Ud(Ud({},Ee),E)})}},Sf=(u,f)=>{var{selection:E}=u,S={},w={};if(E){for(var q in f)(q==="anchor"&&f.anchor!=null&&!ro.equals(f.anchor,E.anchor)||q==="focus"&&f.focus!=null&&!ro.equals(f.focus,E.focus)||q!=="anchor"&&q!=="focus"&&f[q]!==E[q])&&(S[q]=E[q],w[q]=f[q]);Object.keys(S).length>0&&u.apply({type:"set_selection",properties:S,newProperties:w})}},j0=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Dt.withoutNormalizing(f,()=>{var{hanging:w=!1,voids:q=!1,mode:ne="lowest"}=S,{at:se,match:Ee,select:Te}=S;if(gs.isNode(E)&&(E=[E]),E.length!==0){var[Me]=E;if(se||(se=Gu(f),Te=!0),Te==null&&(Te=!1),xi.isRange(se))if(w||(se=Dt.unhangRange(f,se,{voids:q})),xi.isCollapsed(se))se=se.anchor;else{var[,nt]=xi.edges(se),ht=Dt.pointRef(f,nt);vi.delete(f,{at:se}),se=ht.unref()}if(ro.isPoint(se)){Ee==null&&(Ca.isText(Me)?Ee=hr=>Ca.isText(hr):f.isInline(Me)?Ee=hr=>Ca.isText(hr)||Dt.isInline(f,hr):Ee=hr=>Us.isElement(hr)&&Dt.isBlock(f,hr));var[Bt]=Dt.nodes(f,{at:se.path,match:Ee,mode:ne,voids:q});if(Bt){var[,Ft]=Bt,ze=Dt.pathRef(f,Ft),_n=Dt.isEnd(f,se,Ft);vi.splitNodes(f,{at:se,match:Ee,mode:ne,voids:q});var On=ze.unref();se=_n?Ar.next(On):On}else return}var Gn=Ar.parent(se),Vn=se[se.length-1];if(!(!q&&Dt.void(f,{at:Gn}))){for(var mr of E){var Dn=Gn.concat(Vn);Vn++,f.apply({type:"insert_node",path:Dn,node:mr}),se=Ar.next(se)}if(se=Ar.previous(se),Te){var Ir=Dt.end(f,se);Ir&&vi.select(f,Ir)}}}})},jo=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dt.withoutNormalizing(f,()=>{var{at:S=f.selection,mode:w="lowest",voids:q=!1}=E,{match:ne}=E;if(ne==null&&(ne=Ar.isPath(S)?vc(f,S):mr=>Us.isElement(mr)&&Dt.isBlock(f,mr)),!!S){var se=Dt.nodes(f,{at:S,match:ne,mode:w,voids:q}),Ee=Array.from(se,mr=>{var[,Dn]=mr;return Dt.pathRef(f,Dn)});for(var Te of Ee){var Me=Te.unref();if(Me.length<2)throw new Error("Cannot lift node at a path [".concat(Me,"] because it has a depth of less than `2`."));var nt=Dt.node(f,Ar.parent(Me)),[ht,Bt]=nt,Ft=Me[Me.length-1],{length:ze}=ht.children;if(ze===1){var _n=Ar.next(Bt);vi.moveNodes(f,{at:Me,to:_n,voids:q}),vi.removeNodes(f,{at:Bt,voids:q})}else if(Ft===0)vi.moveNodes(f,{at:Me,to:Bt,voids:q});else if(Ft===ze-1){var On=Ar.next(Bt);vi.moveNodes(f,{at:Me,to:On,voids:q})}else{var Gn=Ar.next(Me),Vn=Ar.next(Bt);vi.splitNodes(f,{at:Gn,voids:q}),vi.moveNodes(f,{at:Me,to:Vn,voids:q})}}}})},lf=["text"],I0=["children"],fd=(u,f)=>{if(Us.isElement(f)){var E=f;return Dt.isVoid(u,f)?!0:E.children.length===1?fd(u,E.children[0]):!1}else return!Dt.isEditor(f)},rh=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dt.withoutNormalizing(f,()=>{var{match:S,at:w=f.selection}=E,{hanging:q=!1,voids:ne=!1,mode:se="lowest"}=E;if(w){if(S==null)if(Ar.isPath(w)){var[Ee]=Dt.parent(f,w);S=Br=>Ee.children.includes(Br)}else S=Br=>Us.isElement(Br)&&Dt.isBlock(f,Br);if(!q&&xi.isRange(w)&&(w=Dt.unhangRange(f,w,{voids:ne})),xi.isRange(w))if(xi.isCollapsed(w))w=w.anchor;else{var[,Te]=xi.edges(w),Me=Dt.pointRef(f,Te);vi.delete(f,{at:w}),w=Me.unref(),E.at==null&&vi.select(f,w)}var[nt]=Dt.nodes(f,{at:w,match:S,voids:ne,mode:se}),ht=Dt.previous(f,{at:w,match:S,voids:ne,mode:se});if(!(!nt||!ht)){var[Bt,Ft]=nt,[ze,_n]=ht;if(!(Ft.length===0||_n.length===0)){var On=Ar.next(_n),Gn=Ar.common(Ft,_n),Vn=Ar.isSibling(Ft,_n),mr=Array.from(Dt.levels(f,{at:Ft}),Br=>{var[oi]=Br;return oi}).slice(Gn.length).slice(0,-1),Dn=Dt.above(f,{at:Ft,mode:"highest",match:Br=>mr.includes(Br)&&fd(f,Br)}),Ir=Dn&&Dt.pathRef(f,Dn[1]),hr,Mr;if(Ca.isText(Bt)&&Ca.isText(ze)){var _r=Ll(Bt,lf);Mr=ze.text.length,hr=_r}else if(Us.isElement(Bt)&&Us.isElement(ze)){var _r=Ll(Bt,I0);Mr=ze.children.length,hr=_r}else throw new Error("Cannot merge the node at path [".concat(Ft,"] with the previous sibling because it is not the same kind: ").concat(hl.stringify(Bt)," ").concat(hl.stringify(ze)));Vn||vi.moveNodes(f,{at:Ft,to:On,voids:ne}),Ir&&vi.removeNodes(f,{at:Ir.current,voids:ne}),Us.isElement(ze)&&Dt.isEmpty(f,ze)||Ca.isText(ze)&&ze.text===""&&_n[_n.length-1]!==0?vi.removeNodes(f,{at:_n,voids:ne}):f.apply({type:"merge_node",path:On,position:Mr,properties:hr}),Ir&&Ir.unref()}}}})},zu=(u,f)=>{Dt.withoutNormalizing(u,()=>{var{to:E,at:S=u.selection,mode:w="lowest",voids:q=!1}=f,{match:ne}=f;if(S){ne==null&&(ne=Ar.isPath(S)?vc(u,S):Bt=>Us.isElement(Bt)&&Dt.isBlock(u,Bt));var se=Dt.pathRef(u,E),Ee=Dt.nodes(u,{at:S,match:ne,mode:w,voids:q}),Te=Array.from(Ee,Bt=>{var[,Ft]=Bt;return Dt.pathRef(u,Ft)});for(var Me of Te){var nt=Me.unref(),ht=se.current;nt.length!==0&&u.apply({type:"move_node",path:nt,newPath:ht}),se.current&&Ar.isSibling(ht,nt)&&Ar.isAfter(ht,nt)&&(se.current=Ar.next(se.current))}se.unref()}})},yh=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dt.withoutNormalizing(f,()=>{var{hanging:S=!1,voids:w=!1,mode:q="lowest"}=E,{at:ne=f.selection,match:se}=E;if(ne){se==null&&(se=Ar.isPath(ne)?vc(f,ne):Bt=>Us.isElement(Bt)&&Dt.isBlock(f,Bt)),!S&&xi.isRange(ne)&&(ne=Dt.unhangRange(f,ne,{voids:w}));var Ee=Dt.nodes(f,{at:ne,match:se,mode:q,voids:w}),Te=Array.from(Ee,Bt=>{var[,Ft]=Bt;return Dt.pathRef(f,Ft)});for(var Me of Te){var nt=Me.unref();if(nt){var[ht]=Dt.node(f,nt);f.apply({type:"remove_node",path:nt,node:ht})}}}})},Qp=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Dt.withoutNormalizing(f,()=>{var{match:w,at:q=f.selection,compare:ne,merge:se}=S,{hanging:Ee=!1,mode:Te="lowest",split:Me=!1,voids:nt=!1}=S;if(q){if(w==null&&(w=Ar.isPath(q)?vc(f,q):Mr=>Us.isElement(Mr)&&Dt.isBlock(f,Mr)),!Ee&&xi.isRange(q)&&(q=Dt.unhangRange(f,q,{voids:nt})),Me&&xi.isRange(q)){if(xi.isCollapsed(q)&&Dt.leaf(f,q.anchor)[0].text.length>0)return;var ht=Dt.rangeRef(f,q,{affinity:"inward"}),[Bt,Ft]=xi.edges(q),ze=Te==="lowest"?"lowest":"highest",_n=Dt.isEnd(f,Ft,Ft.path);vi.splitNodes(f,{at:Ft,match:w,mode:ze,voids:nt,always:!_n});var On=Dt.isStart(f,Bt,Bt.path);vi.splitNodes(f,{at:Bt,match:w,mode:ze,voids:nt,always:!On}),q=ht.unref(),S.at==null&&vi.select(f,q)}ne||(ne=(Mr,_r)=>Mr!==_r);for(var[Gn,Vn]of Dt.nodes(f,{at:q,match:w,mode:Te,voids:nt})){var mr={},Dn={};if(Vn.length!==0){var Ir=!1;for(var hr in E)hr==="children"||hr==="text"||ne(E[hr],Gn[hr])&&(Ir=!0,Gn.hasOwnProperty(hr)&&(mr[hr]=Gn[hr]),se?E[hr]!=null&&(Dn[hr]=se(Gn[hr],E[hr])):E[hr]!=null&&(Dn[hr]=E[hr]));Ir&&f.apply({type:"set_node",path:Vn,properties:mr,newProperties:Dn})}}}})},Kh=(u,f)=>{if(xi.isCollapsed(f))return f.anchor;var[,E]=xi.edges(f),S=Dt.pointRef(u,E);return vi.delete(u,{at:f}),S.unref()},Ep=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dt.withoutNormalizing(f,()=>{var{mode:S="lowest",voids:w=!1}=E,{match:q,at:ne=f.selection,height:se=0,always:Ee=!1}=E;if(q==null&&(q=Gi=>Us.isElement(Gi)&&Dt.isBlock(f,Gi)),xi.isRange(ne)&&(ne=Kh(f,ne)),Ar.isPath(ne)){var Te=ne,Me=Dt.point(f,Te),[nt]=Dt.parent(f,Te);q=Gi=>Gi===nt,se=Me.path.length-Te.length+1,ne=Me,Ee=!0}if(ne){var ht=Dt.pointRef(f,ne,{affinity:"backward"}),Bt;try{var[Ft]=Dt.nodes(f,{at:ne,match:q,mode:S,voids:w});if(!Ft)return;var ze=Dt.void(f,{at:ne,mode:"highest"}),_n=0;if(!w&&ze){var[On,Gn]=ze;if(Us.isElement(On)&&f.isInline(On)){var Vn=Dt.after(f,Gn);if(!Vn){var mr={text:""},Dn=Ar.next(Gn);vi.insertNodes(f,mr,{at:Dn,voids:w}),Vn=Dt.point(f,Dn)}ne=Vn,Ee=!0}var Ir=ne.path.length-Gn.length;se=Ir+1,Ee=!0}Bt=Dt.pointRef(f,ne);var hr=ne.path.length-se,[,Mr]=Ft,_r=ne.path.slice(0,hr),Br=se===0?ne.offset:ne.path[hr]+_n;for(var[oi,ri]of Dt.levels(f,{at:_r,reverse:!0,voids:w})){var kr=!1;if(ri.length<Mr.length||ri.length===0||!w&&Us.isElement(oi)&&Dt.isVoid(f,oi))break;var Zr=ht.current,ai=Dt.isEnd(f,Zr,ri);if(Ee||!ht||!Dt.isEdge(f,Zr,ri)){kr=!0;var Vr=gs.extractProps(oi);f.apply({type:"split_node",path:ri,position:Br,properties:Vr})}Br=ri[ri.length-1]+(kr||ai?1:0)}if(E.at==null){var Ki=Bt.current||Dt.end(f,[]);vi.select(f,Ki)}}finally{var As;ht.unref(),(As=Bt)===null||As===void 0||As.unref()}}})},jf=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(E)||(E=[E]);var w={};for(var q of E)w[q]=null;vi.setNodes(f,w,S)},Zp=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Dt.withoutNormalizing(f,()=>{var{mode:S="lowest",split:w=!1,voids:q=!1}=E,{at:ne=f.selection,match:se}=E;if(ne){se==null&&(se=Ar.isPath(ne)?vc(f,ne):Bt=>Us.isElement(Bt)&&Dt.isBlock(f,Bt)),Ar.isPath(ne)&&(ne=Dt.range(f,ne));var Ee=xi.isRange(ne)?Dt.rangeRef(f,ne):null,Te=Dt.nodes(f,{at:ne,match:se,mode:S,voids:q}),Me=Array.from(Te,Bt=>{var[,Ft]=Bt;return Dt.pathRef(f,Ft)}).reverse(),nt=function(Ft){var ze=Ft.unref(),[_n]=Dt.node(f,ze),On=Dt.range(f,ze);w&&Ee&&(On=xi.intersection(Ee.current,On)),vi.liftNodes(f,{at:On,match:Gn=>Us.isAncestor(_n)&&_n.children.includes(Gn),voids:q})};for(var ht of Me)nt(ht);Ee&&Ee.unref()}})};function cf(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function _p(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?cf(Object(E),!0).forEach(function(S){yu(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):cf(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var _c=function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Dt.withoutNormalizing(f,()=>{var{mode:w="lowest",split:q=!1,voids:ne=!1}=S,{match:se,at:Ee=f.selection}=S;if(Ee){if(se==null&&(Ar.isPath(Ee)?se=vc(f,Ee):f.isInline(E)?se=On=>Us.isElement(On)&&Dt.isInline(f,On)||Ca.isText(On):se=On=>Us.isElement(On)&&Dt.isBlock(f,On)),q&&xi.isRange(Ee)){var[Te,Me]=xi.edges(Ee),nt=Dt.rangeRef(f,Ee,{affinity:"inward"});vi.splitNodes(f,{at:Me,match:se,voids:ne}),vi.splitNodes(f,{at:Te,match:se,voids:ne}),Ee=nt.unref(),S.at==null&&vi.select(f,Ee)}var ht=Array.from(Dt.nodes(f,{at:Ee,match:f.isInline(E)?On=>Us.isElement(On)&&Dt.isBlock(f,On):On=>Dt.isEditor(On),mode:"lowest",voids:ne}));for(var[,Bt]of ht){var Ft=xi.isRange(Ee)?xi.intersection(Ee,Dt.range(f,Bt)):Ee;if(Ft){var ze=Array.from(Dt.nodes(f,{at:Ft,match:se,mode:w,voids:ne}));if(ze.length>0){var _n=function(){var[On]=ze,Gn=ze[ze.length-1],[,Vn]=On,[,mr]=Gn;if(Vn.length===0&&mr.length===0)return"continue";var Dn=Ar.equals(Vn,mr)?Ar.parent(Vn):Ar.common(Vn,mr),Ir=Dt.range(f,Vn,mr),hr=Dt.node(f,Dn),[Mr]=hr,_r=Dn.length+1,Br=Ar.next(mr.slice(0,_r)),oi=_p(_p({},E),{},{children:[]});vi.insertNodes(f,oi,{at:Br,voids:ne}),vi.moveNodes(f,{at:Ir,match:ri=>Us.isAncestor(Mr)&&Mr.children.includes(ri),to:Br.concat(0),voids:ne})}();if(_n==="continue")continue}}}}})},Yh=()=>{var u={children:[],operations:[],selection:null,marks:null,isElementReadOnly:()=>!1,isInline:()=>!1,isSelectable:()=>!0,isVoid:()=>!1,markableVoid:()=>!1,onChange:()=>{},apply:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return cd(u,...S)},addMark:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return h(u,...S)},deleteBackward:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Xe(u,...S)},deleteForward:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return lt(u,...S)},deleteFragment:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return it(u,...S)},getFragment:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return eh(u,...S)},insertBreak:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return So(u,...S)},insertSoftBreak:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Uu(u,...S)},insertFragment:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Dd(u,...S)},insertNode:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return wl(u,...S)},insertText:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return xu(u,...S)},normalizeNode:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return bl(u,...S)},removeMark:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Mu(u,...S)},getDirtyPaths:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return kd(u,...S)},shouldNormalize:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return U0(u,...S)},above:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return tt(u,...S)},after:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return k(u,...S)},before:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return De(u,...S)},collapse:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return i0(u,...S)},delete:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return ef(u,...S)},deselect:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return L4(u,...S)},edges:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Rn(u,...S)},elementReadOnly:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Tr(u,...S)},end:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return ui(u,...S)},first:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return ki(u,...S)},fragment:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return cs(u,...S)},getMarks:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Cl(u,...S)},hasBlocks:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Zs(u,...S)},hasInlines:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return wa(u,...S)},hasPath:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return qs(u,...S)},hasTexts:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return ao(u,...S)},insertNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return j0(u,...S)},isBlock:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Bc(u,...S)},isEdge:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return oc(u,...S)},isEmpty:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return al(u,...S)},isEnd:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return ju(u,...S)},isNormalizing:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return ml(u,...S)},isStart:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return zc(u,...S)},last:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return m0(u,...S)},leaf:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Q0(u,...S)},levels:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return $u(u,...S)},liftNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return jo(u,...S)},mergeNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return rh(u,...S)},move:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return nh(u,...S)},moveNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return zu(u,...S)},next:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return ol(u,...S)},node:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Ec(u,...S)},nodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return g0(u,...S)},normalize:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return pu(u,...S)},parent:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return uc(u,...S)},path:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return _h(u,...S)},pathRef:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Hl(u,...S)},pathRefs:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Gl(u,...S)},point:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Vh(u,...S)},pointRef:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return dd(u,...S)},pointRefs:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return w0(u,...S)},positions:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Pi(u,...S)},previous:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return ia(u,...S)},range:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return xo(u,...S)},rangeRef:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return ja(u,...S)},rangeRefs:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Fa(u,...S)},removeNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return yh(u,...S)},select:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return sd(u,...S)},setNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Qp(u,...S)},setNormalizing:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Td(u,...S)},setPoint:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return F4(u,...S)},setSelection:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Sf(u,...S)},splitNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Ep(u,...S)},start:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Uf(u,...S)},string:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return th(u,...S)},unhangRange:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Cf(u,...S)},unsetNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return jf(u,...S)},unwrapNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Zp(u,...S)},void:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return Ns(u,...S)},withoutNormalizing:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return v0(u,...S)},wrapNodes:function(){for(var E=arguments.length,S=new Array(E),w=0;w<E;w++)S[w]=arguments[w];return _c(u,...S)}};return u},Xp={isHistory(u){return Ba(u)&&Array.isArray(u.redos)&&Array.isArray(u.undos)&&(u.redos.length===0||p0.isOperationList(u.redos[0].operations))&&(u.undos.length===0||p0.isOperationList(u.undos[0].operations))}},Jp=new WeakMap,ec=new WeakMap,s0=new WeakMap,df={isHistoryEditor(u){return Xp.isHistory(u.history)&&Dt.isEditor(u)},isMerging(u){return s0.get(u)},isSaving(u){return ec.get(u)},redo(u){u.redo()},undo(u){u.undo()},withoutMerging(u,f){var E=df.isMerging(u);s0.set(u,!1),f(),s0.set(u,E)},withoutSaving(u,f){var E=df.isSaving(u);ec.set(u,!1),f(),ec.set(u,E)}},k4=u=>{var f=u,{apply:E}=f;return f.history={undos:[],redos:[]},f.redo=()=>{var{history:S}=f,{redos:w}=S;if(w.length>0){var q=w[w.length-1];q.selectionBefore&&vi.setSelection(f,q.selectionBefore),df.withoutSaving(f,()=>{Dt.withoutNormalizing(f,()=>{for(var ne of q.operations)f.apply(ne)})}),S.redos.pop(),f.writeHistory("undos",q)}},f.undo=()=>{var{history:S}=f,{undos:w}=S;if(w.length>0){var q=w[w.length-1];df.withoutSaving(f,()=>{Dt.withoutNormalizing(f,()=>{var ne=q.operations.map(p0.inverse).reverse();for(var se of ne)f.apply(se);q.selectionBefore&&vi.setSelection(f,q.selectionBefore)})}),f.writeHistory("redos",q),S.undos.pop()}},f.apply=S=>{var{operations:w,history:q}=f,{undos:ne}=q,se=ne[ne.length-1],Ee=se&&se.operations[se.operations.length-1],Te=df.isSaving(f),Me=df.isMerging(f);if(Te==null&&(Te=bh(S)),Te){if(Me==null&&(se==null?Me=!1:w.length!==0?Me=!0:Me=Ad(S,Ee)),se&&Me)se.operations.push(S);else{var nt={operations:[S],selectionBefore:f.selection};f.writeHistory("undos",nt)}for(;ne.length>100;)ne.shift();q.redos=[]}E(S)},f.writeHistory=(S,w)=>{f.history[S].push(w)},f},Ad=(u,f)=>!!(f&&u.type==="insert_text"&&f.type==="insert_text"&&u.offset===f.offset+f.text.length&&Ar.equals(u.path,f.path)||f&&u.type==="remove_text"&&f.type==="remove_text"&&u.offset+u.text.length===f.offset&&Ar.equals(u.path,f.path)),bh=(u,f)=>u.type!=="set_selection",U4=e(39320),ff=e.n(U4),Qh=e(18488),Tf=e.n(Qh),Zh=e(59176),Xh=e.n(Zh);function Jh(u){return typeof u=="object"&&u!=null&&u.nodeType===1}function ih(u,f){return(!f||u!=="hidden")&&u!=="visible"&&u!=="clip"}function Ch(u,f){if(u.clientHeight<u.scrollHeight||u.clientWidth<u.scrollWidth){var E=getComputedStyle(u,null);return ih(E.overflowY,f)||ih(E.overflowX,f)||function(S){var w=function(q){if(!q.ownerDocument||!q.ownerDocument.defaultView)return null;try{return q.ownerDocument.defaultView.frameElement}catch{return null}}(S);return!!w&&(w.clientHeight<S.scrollHeight||w.clientWidth<S.scrollWidth)}(u)}return!1}function yp(u,f,E,S,w,q,ne,se){return q<u&&ne>f||q>u&&ne<f?0:q<=u&&se<=E||ne>=f&&se>=E?q-u-S:ne>f&&se<E||q<u&&se>E?ne-f+w:0}var qp=function(u,f){var E=window,S=f.scrollMode,w=f.block,q=f.inline,ne=f.boundary,se=f.skipOverflowHiddenElements,Ee=typeof ne=="function"?ne:function(La){return La!==ne};if(!Jh(u))throw new TypeError("Invalid target");for(var Te,Me,nt=document.scrollingElement||document.documentElement,ht=[],Bt=u;Jh(Bt)&&Ee(Bt);){if((Bt=(Me=(Te=Bt).parentElement)==null?Te.getRootNode().host||null:Me)===nt){ht.push(Bt);break}Bt!=null&&Bt===document.body&&Ch(Bt)&&!Ch(document.documentElement)||Bt!=null&&Ch(Bt,se)&&ht.push(Bt)}for(var Ft=E.visualViewport?E.visualViewport.width:innerWidth,ze=E.visualViewport?E.visualViewport.height:innerHeight,_n=window.scrollX||pageXOffset,On=window.scrollY||pageYOffset,Gn=u.getBoundingClientRect(),Vn=Gn.height,mr=Gn.width,Dn=Gn.top,Ir=Gn.right,hr=Gn.bottom,Mr=Gn.left,_r=w==="start"||w==="nearest"?Dn:w==="end"?hr:Dn+Vn/2,Br=q==="center"?Mr+mr/2:q==="end"?Ir:Mr,oi=[],ri=0;ri<ht.length;ri++){var kr=ht[ri],Zr=kr.getBoundingClientRect(),ai=Zr.height,Vr=Zr.width,Ki=Zr.top,As=Zr.right,Gi=Zr.bottom,ts=Zr.left;if(S==="if-needed"&&Dn>=0&&Mr>=0&&hr<=ze&&Ir<=Ft&&Dn>=Ki&&hr<=Gi&&Mr>=ts&&Ir<=As)return oi;var Ps=getComputedStyle(kr),sa=parseInt(Ps.borderLeftWidth,10),Ss=parseInt(Ps.borderTopWidth,10),pr=parseInt(Ps.borderRightWidth,10),Hi=parseInt(Ps.borderBottomWidth,10),Li=0,ss=0,_i="offsetWidth"in kr?kr.offsetWidth-kr.clientWidth-sa-pr:0,ys="offsetHeight"in kr?kr.offsetHeight-kr.clientHeight-Ss-Hi:0,$a="offsetWidth"in kr?kr.offsetWidth===0?0:Vr/kr.offsetWidth:0,_o="offsetHeight"in kr?kr.offsetHeight===0?0:ai/kr.offsetHeight:0;if(nt===kr)Li=w==="start"?_r:w==="end"?_r-ze:w==="nearest"?yp(On,On+ze,ze,Ss,Hi,On+_r,On+_r+Vn,Vn):_r-ze/2,ss=q==="start"?Br:q==="center"?Br-Ft/2:q==="end"?Br-Ft:yp(_n,_n+Ft,Ft,sa,pr,_n+Br,_n+Br+mr,mr),Li=Math.max(0,Li+On),ss=Math.max(0,ss+_n);else{Li=w==="start"?_r-Ki-Ss:w==="end"?_r-Gi+Hi+ys:w==="nearest"?yp(Ki,Gi,ai,Ss,Hi+ys,_r,_r+Vn,Vn):_r-(Ki+ai/2)+ys/2,ss=q==="start"?Br-ts-sa:q==="center"?Br-(ts+Vr/2)+_i/2:q==="end"?Br-As+pr+_i:yp(ts,As,Vr,sa,pr+_i,Br,Br+mr,mr);var $o=kr.scrollLeft,Ku=kr.scrollTop;_r+=Ku-(Li=Math.max(0,Math.min(Ku+Li/_o,kr.scrollHeight-ai/_o+ys))),Br+=$o-(ss=Math.max(0,Math.min($o+ss/$a,kr.scrollWidth-Vr/$a+_i)))}oi.push({el:kr,top:Li,left:ss})}return oi};function Sh(u){return u===Object(u)&&Object.keys(u).length!==0}function jd(u,f){f===void 0&&(f="auto");var E="scrollBehavior"in document.body.style;u.forEach(function(S){var w=S.el,q=S.top,ne=S.left;w.scroll&&E?w.scroll({top:q,left:ne,behavior:f}):(w.scrollTop=q,w.scrollLeft=ne)})}function sh(u){return u===!1?{block:"end",inline:"nearest"}:Sh(u)?u:{block:"start",inline:"nearest"}}function e4(u,f){var E=u.isConnected||u.ownerDocument.documentElement.contains(u);if(Sh(f)&&typeof f.behavior=="function")return f.behavior(E?qp(u,f):[]);if(E){var S=sh(f);return jd(qp(u,S),S.behavior)}}const $0=e4;var Df=[],Th=function(){return Df.some(function(u){return u.activeTargets.length>0})},Ac=function(){return Df.some(function(u){return u.skippedTargets.length>0})},Dh="ResizeObserver loop completed with undelivered notifications.",t4=function(){var u;typeof ErrorEvent=="function"?u=new ErrorEvent("error",{message:Dh}):(u=document.createEvent("Event"),u.initEvent("error",!1,!1),u.message=Dh),window.dispatchEvent(u)},$f;(function(u){u.BORDER_BOX="border-box",u.CONTENT_BOX="content-box",u.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})($f||($f={}));var Wf=function(u){return Object.freeze(u)},j4=function(){function u(f,E){this.inlineSize=f,this.blockSize=E,Wf(this)}return u}(),hf=function(){function u(f,E,S,w){return this.x=f,this.y=E,this.width=S,this.height=w,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Wf(this)}return u.prototype.toJSON=function(){var f=this,E=f.x,S=f.y,w=f.top,q=f.right,ne=f.bottom,se=f.left,Ee=f.width,Te=f.height;return{x:E,y:S,top:w,right:q,bottom:ne,left:se,width:Ee,height:Te}},u.fromRect=function(f){return new u(f.x,f.y,f.width,f.height)},u}(),Af=function(u){return u instanceof SVGElement&&"getBBox"in u},Hf=function(u){if(Af(u)){var f=u.getBBox(),E=f.width,S=f.height;return!E&&!S}var w=u,q=w.offsetWidth,ne=w.offsetHeight;return!(q||ne||u.getClientRects().length)},Gf=function(u){var f;if(u instanceof Element)return!0;var E=(f=u?.ownerDocument)===null||f===void 0?void 0:f.defaultView;return!!(E&&u instanceof E.Element)},Ah=function(u){switch(u.tagName){case"INPUT":if(u.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},y=typeof window<"u"?window:{},x=new WeakMap,V=/auto|scroll/,ie=/^tb|vertical/,Oe=/msie|trident/i.test(y.navigator&&y.navigator.userAgent),Je=function(u){return parseFloat(u||"0")},en=function(u,f,E){return u===void 0&&(u=0),f===void 0&&(f=0),E===void 0&&(E=!1),new j4((E?f:u)||0,(E?u:f)||0)},ar=Wf({devicePixelContentBoxSize:en(),borderBoxSize:en(),contentBoxSize:en(),contentRect:new hf(0,0,0,0)}),Lr=function(u,f){if(f===void 0&&(f=!1),x.has(u)&&!f)return x.get(u);if(Hf(u))return x.set(u,ar),ar;var E=getComputedStyle(u),S=Af(u)&&u.ownerSVGElement&&u.getBBox(),w=!Oe&&E.boxSizing==="border-box",q=ie.test(E.writingMode||""),ne=!S&&V.test(E.overflowY||""),se=!S&&V.test(E.overflowX||""),Ee=S?0:Je(E.paddingTop),Te=S?0:Je(E.paddingRight),Me=S?0:Je(E.paddingBottom),nt=S?0:Je(E.paddingLeft),ht=S?0:Je(E.borderTopWidth),Bt=S?0:Je(E.borderRightWidth),Ft=S?0:Je(E.borderBottomWidth),ze=S?0:Je(E.borderLeftWidth),_n=nt+Te,On=Ee+Me,Gn=ze+Bt,Vn=ht+Ft,mr=se?u.offsetHeight-Vn-u.clientHeight:0,Dn=ne?u.offsetWidth-Gn-u.clientWidth:0,Ir=w?_n+Gn:0,hr=w?On+Vn:0,Mr=S?S.width:Je(E.width)-Ir-Dn,_r=S?S.height:Je(E.height)-hr-mr,Br=Mr+_n+Dn+Gn,oi=_r+On+mr+Vn,ri=Wf({devicePixelContentBoxSize:en(Math.round(Mr*devicePixelRatio),Math.round(_r*devicePixelRatio),q),borderBoxSize:en(Br,oi,q),contentBoxSize:en(Mr,_r,q),contentRect:new hf(nt,Ee,Mr,_r)});return x.set(u,ri),ri},Ei=function(u,f,E){var S=Lr(u,E),w=S.borderBoxSize,q=S.contentBoxSize,ne=S.devicePixelContentBoxSize;switch(f){case $f.DEVICE_PIXEL_CONTENT_BOX:return ne;case $f.BORDER_BOX:return w;default:return q}},ms=function(){function u(f){var E=Lr(f);this.target=f,this.contentRect=E.contentRect,this.borderBoxSize=Wf([E.borderBoxSize]),this.contentBoxSize=Wf([E.contentBoxSize]),this.devicePixelContentBoxSize=Wf([E.devicePixelContentBoxSize])}return u}(),vs=function(u){if(Hf(u))return 1/0;for(var f=0,E=u.parentNode;E;)f+=1,E=E.parentNode;return f},ps=function(){var u=1/0,f=[];Df.forEach(function(ne){if(ne.activeTargets.length!==0){var se=[];ne.activeTargets.forEach(function(Te){var Me=new ms(Te.target),nt=vs(Te.target);se.push(Me),Te.lastReportedSize=Ei(Te.target,Te.observedBox),nt<u&&(u=nt)}),f.push(function(){ne.callback.call(ne.observer,se,ne.observer)}),ne.activeTargets.splice(0,ne.activeTargets.length)}});for(var E=0,S=f;E<S.length;E++){var w=S[E];w()}return u},va=function(u){Df.forEach(function(E){E.activeTargets.splice(0,E.activeTargets.length),E.skippedTargets.splice(0,E.skippedTargets.length),E.observationTargets.forEach(function(w){w.isActive()&&(vs(w.target)>u?E.activeTargets.push(w):E.skippedTargets.push(w))})})},Pa=function(){var u=0;for(va(u);Th();)u=ps(),va(u);return Ac()&&t4(),u>0},Ia,xc=[],mi=function(){return xc.splice(0).forEach(function(u){return u()})},Yr=function(u){if(!Ia){var f=0,E=document.createTextNode(""),S={characterData:!0};new MutationObserver(function(){return mi()}).observe(E,S),Ia=function(){E.textContent="".concat(f?f--:f++)}}xc.push(u),Ia()},Ci=function(u){Yr(function(){requestAnimationFrame(u)})},Ms=0,Ja=function(){return!!Ms},Eo=250,To={attributes:!0,characterData:!0,childList:!0,subtree:!0},Oo=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],a0=function(u){return u===void 0&&(u=0),Date.now()+u},Wu=!1,xf=function(){function u(){var f=this;this.stopped=!0,this.listener=function(){return f.schedule()}}return u.prototype.run=function(f){var E=this;if(f===void 0&&(f=Eo),!Wu){Wu=!0;var S=a0(f);Ci(function(){var w=!1;try{w=Pa()}finally{if(Wu=!1,f=S-a0(),!Ja())return;w?E.run(1e3):f>0?E.run(f):E.start()}})}},u.prototype.schedule=function(){this.stop(),this.run()},u.prototype.observe=function(){var f=this,E=function(){return f.observer&&f.observer.observe(document.body,To)};document.body?E():y.addEventListener("DOMContentLoaded",E)},u.prototype.start=function(){var f=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Oo.forEach(function(E){return y.addEventListener(E,f.listener,!0)}))},u.prototype.stop=function(){var f=this;this.stopped||(this.observer&&this.observer.disconnect(),Oo.forEach(function(E){return y.removeEventListener(E,f.listener,!0)}),this.stopped=!0)},u}(),qh=new xf,Rm=function(u){!Ms&&u>0&&qh.start(),Ms+=u,!Ms&&qh.stop()},Og=function(u){return!Af(u)&&!Ah(u)&&getComputedStyle(u).display==="inline"},Rg=function(){function u(f,E){this.target=f,this.observedBox=E||$f.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return u.prototype.isActive=function(){var f=Ei(this.target,this.observedBox,!0);return Og(this.target)&&(this.lastReportedSize=f),this.lastReportedSize.inlineSize!==f.inlineSize||this.lastReportedSize.blockSize!==f.blockSize},u}(),bp=function(){function u(f,E){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=f,this.callback=E}return u}(),Cp=new WeakMap,ep=function(u,f){for(var E=0;E<u.length;E+=1)if(u[E].target===f)return E;return-1},tc=function(){function u(){}return u.connect=function(f,E){var S=new bp(f,E);Cp.set(f,S)},u.observe=function(f,E,S){var w=Cp.get(f),q=w.observationTargets.length===0;ep(w.observationTargets,E)<0&&(q&&Df.push(w),w.observationTargets.push(new Rg(E,S&&S.box)),Rm(1),qh.schedule())},u.unobserve=function(f,E){var S=Cp.get(f),w=ep(S.observationTargets,E),q=S.observationTargets.length===1;w>=0&&(q&&Df.splice(Df.indexOf(S),1),S.observationTargets.splice(w,1),Rm(-1))},u.disconnect=function(f){var E=this,S=Cp.get(f);S.observationTargets.slice().forEach(function(w){return E.unobserve(f,w.target)}),S.activeTargets.splice(0,S.activeTargets.length)},u}(),tp=function(){function u(f){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof f!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");tc.connect(this,f)}return u.prototype.observe=function(f,E){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Gf(f))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");tc.observe(this,f,E)},u.prototype.unobserve=function(f){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Gf(f))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");tc.unobserve(this,f)},u.prototype.disconnect=function(){tc.disconnect(this)},u.toString=function(){return"function ResizeObserver () { [polyfill code] }"},u}(),tf=e(94376);function n4(u,f,E){return f in u?Object.defineProperty(u,f,{value:E,enumerable:!0,configurable:!0,writable:!0}):u[f]=E,u}function Of(u,f){if(u==null)return{};var E={},S=Object.keys(u),w,q;for(q=0;q<S.length;q++)w=S[q],!(f.indexOf(w)>=0)&&(E[w]=u[w]);return E}function Il(u,f){if(u==null)return{};var E=Of(u,f),S,w;if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(u);for(w=0;w<q.length;w++)S=q[w],!(f.indexOf(S)>=0)&&Object.prototype.propertyIsEnumerable.call(u,S)&&(E[S]=u[S])}return E}var ah=(0,ge.createContext)(null),oh=()=>{var u=(0,ge.useContext)(ah);if(!u)throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");return u},$d=parseInt(ge.version.split(".")[0],10),xh=typeof navigator<"u"&&typeof window<"u"&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,wm=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),M0=typeof navigator<"u"&&/Android/.test(navigator.userAgent),uh=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Oh=typeof navigator<"u"&&/AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent),Fl=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),Im=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent),r4=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),Sp=M0&&typeof navigator<"u"&&/Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent),Mm=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent),Nm=typeof navigator<"u"&&/.*UCBrowser/.test(navigator.userAgent),wg=typeof navigator<"u"&&/.*Wechat/.test(navigator.userAgent)&&!/.*MacWechat/.test(navigator.userAgent),Rh=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Z0=(!r4||!Sp)&&!Fl&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",np=new WeakMap,i4=new WeakMap,zf=new WeakMap,wh=new WeakMap,Tp=new WeakMap,pf=new WeakMap,Vf=new WeakMap,rp=new WeakMap,Rf=new WeakMap,ip=new WeakMap,Ih=new WeakMap,Mh=new WeakMap,sp=new WeakMap,Nh=new WeakMap,Ph=new WeakMap,Wd=new WeakMap,Kf=new WeakMap,hd=new WeakMap,Lh=new WeakMap,lh=new WeakMap,E0=new WeakMap,o0=Symbol("placeholder"),s4=Symbol("mark-placeholder"),$4=globalThis.Text,Hd=u=>u&&u.ownerDocument&&u.ownerDocument.defaultView||null,Ig=u=>Gd(u)&&u.nodeType===8,xd=u=>Gd(u)&&u.nodeType===1,Gd=u=>{var f=Hd(u);return!!f&&u instanceof f.Node},ap=u=>{var f=u&&u.anchorNode&&Hd(u.anchorNode);return!!f&&u instanceof f.Selection},Bh=u=>Gd(u)&&u.nodeType===3,Dp=u=>u.clipboardData&&u.clipboardData.getData("text/plain")!==""&&u.clipboardData.types.length===1,op=u=>{var[f,E]=u;if(xd(f)&&f.childNodes.length){var S=E===f.childNodes.length,w=S?E-1:E;for([f,w]=Yf(f,w,S?"backward":"forward"),S=w<E;xd(f)&&f.childNodes.length;){var q=S?f.childNodes.length-1:0;f=Pm(f,q,S?"backward":"forward")}E=S&&f.textContent!=null?f.textContent.length:0}return[f,E]},Ap=u=>{for(var f=u&&u.parentNode;f;){if(f.toString()==="[object ShadowRoot]")return!0;f=f.parentNode}return!1},Yf=(u,f,E)=>{for(var{childNodes:S}=u,w=S[f],q=f,ne=!1,se=!1;(Ig(w)||xd(w)&&w.childNodes.length===0||xd(w)&&w.getAttribute("contenteditable")==="false")&&!(ne&&se);){if(q>=S.length){ne=!0,q=f-1,E="backward";continue}if(q<0){se=!0,q=f+1,E="forward";continue}w=S[q],f=q,q+=E==="forward"?1:-1}return[w,f]},Pm=(u,f,E)=>{var[S]=Yf(u,f,E);return S},Lm=u=>{var f="";if(Bh(u)&&u.nodeValue)return u.nodeValue;if(xd(u)){for(var E of Array.from(u.childNodes))f+=Lm(E);var S=getComputedStyle(u).getPropertyValue("display");(S==="block"||S==="list"||u.tagName==="BR")&&(f+=`
`)}return f},Mg=/data-slate-fragment="(.+?)"/m,Bm=u=>{var f=u.getData("text/html"),[,E]=f.match(Mg)||[];return E},xp=(u,f,E)=>{var{target:S}=f;if(xd(S)&&S.matches('[contentEditable="false"]'))return!1;var{document:w}=Ji.getWindow(u);if(w.contains(S))return Ji.hasDOMNode(u,S,{editable:!0});var q=E.find(ne=>{var{addedNodes:se,removedNodes:Ee}=ne;for(var Te of se)if(Te===S||Te.contains(S))return!0;for(var Me of Ee)if(Me===S||Me.contains(S))return!0});return!q||q===f?!1:xp(u,q,E)},ch=0;class Op{constructor(){this.id="".concat(ch++)}}var Ji={androidPendingDiffs:u=>hd.get(u),androidScheduleFlush:u=>{var f;(f=Ph.get(u))===null||f===void 0||f()},blur:u=>{var f=Ji.toDOMNode(u,u),E=Ji.findDocumentOrShadowRoot(u);Ih.set(u,!1),E.activeElement===f&&f.blur()},deselect:u=>{var{selection:f}=u,E=Ji.findDocumentOrShadowRoot(u),S=E.getSelection();S&&S.rangeCount>0&&S.removeAllRanges(),f&&vi.deselect(u)},findDocumentOrShadowRoot:u=>{var f=Ji.toDOMNode(u,u),E=f.getRootNode();return(E instanceof Document||E instanceof ShadowRoot)&&E.getSelection!=null?E:f.ownerDocument},findEventRange:(u,f)=>{"nativeEvent"in f&&(f=f.nativeEvent);var{clientX:E,clientY:S,target:w}=f;if(E==null||S==null)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(f));var q=Ji.toSlateNode(u,f.target),ne=Ji.findPath(u,q);if(Us.isElement(q)&&Dt.isVoid(u,q)){var se=w.getBoundingClientRect(),Ee=u.isInline(q)?E-se.left<se.left+se.width-E:S-se.top<se.top+se.height-S,Te=Dt.point(u,ne,{edge:Ee?"start":"end"}),Me=Ee?Dt.before(u,Te):Dt.after(u,Te);if(Me){var nt=Dt.range(u,Me);return nt}}var ht,{document:Bt}=Ji.getWindow(u);if(Bt.caretRangeFromPoint)ht=Bt.caretRangeFromPoint(E,S);else{var Ft=Bt.caretPositionFromPoint(E,S);Ft&&(ht=Bt.createRange(),ht.setStart(Ft.offsetNode,Ft.offset),ht.setEnd(Ft.offsetNode,Ft.offset))}if(!ht)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(f));var ze=Ji.toSlateRange(u,ht,{exactMatch:!1,suppressThrow:!1});return ze},findKey:(u,f)=>{var E=rp.get(f);return E||(E=new Op,rp.set(f,E)),E},findPath:(u,f)=>{for(var E=[],S=f;;){var w=i4.get(S);if(w==null){if(Dt.isEditor(S))return E;break}var q=np.get(S);if(q==null)break;E.unshift(q),S=w}throw new Error("Unable to find the path for Slate node: ".concat(hl.stringify(f)))},focus:u=>{var f=Ji.toDOMNode(u,u),E=Ji.findDocumentOrShadowRoot(u);Ih.set(u,!0),E.activeElement!==f&&f.focus({preventScroll:!0})},getWindow:u=>{var f=zf.get(u);if(!f)throw new Error("Unable to find a host window element for this editor");return f},hasDOMNode:function(f,E){var S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{editable:w=!1}=S,q=Ji.toDOMNode(f,f),ne;try{ne=xd(E)?E:E.parentElement}catch(se){if(!se.message.includes('Permission denied to access property "nodeType"'))throw se}return ne?ne.closest("[data-slate-editor]")===q&&(!w||ne.isContentEditable?!0:typeof ne.isContentEditable=="boolean"&&ne.closest('[contenteditable="false"]')===q||!!ne.getAttribute("data-slate-zero-width")):!1},hasEditableTarget:(u,f)=>Gd(f)&&Ji.hasDOMNode(u,f,{editable:!0}),hasRange:(u,f)=>{var{anchor:E,focus:S}=f;return Dt.hasPath(u,E.path)&&Dt.hasPath(u,S.path)},hasSelectableTarget:(u,f)=>Ji.hasEditableTarget(u,f)||Ji.isTargetInsideNonReadonlyVoid(u,f),hasTarget:(u,f)=>Gd(f)&&Ji.hasDOMNode(u,f),insertData:(u,f)=>{u.insertData(f)},insertFragmentData:(u,f)=>u.insertFragmentData(f),insertTextData:(u,f)=>u.insertTextData(f),isComposing:u=>!!Mh.get(u),isFocused:u=>!!Ih.get(u),isReadOnly:u=>!!ip.get(u),isTargetInsideNonReadonlyVoid:(u,f)=>{if(ip.get(u))return!1;var E=Ji.hasTarget(u,f)&&Ji.toSlateNode(u,f);return Us.isElement(E)&&Dt.isVoid(u,E)},setFragmentData:(u,f,E)=>u.setFragmentData(f,E),toDOMNode:(u,f)=>{var E=Rf.get(u),S=Dt.isEditor(f)?wh.get(u):E?.get(Ji.findKey(u,f));if(!S)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(hl.stringify(f)));return S},toDOMPoint:(u,f)=>{var[E]=Dt.node(u,f.path),S=Ji.toDOMNode(u,E),w;Dt.void(u,{at:f})&&(f={path:f.path,offset:0});for(var q="[data-slate-string], [data-slate-zero-width]",ne=Array.from(S.querySelectorAll(q)),se=0,Ee=0;Ee<ne.length;Ee++){var Te=ne[Ee],Me=Te.childNodes[0];if(!(Me==null||Me.textContent==null)){var{length:nt}=Me.textContent,ht=Te.getAttribute("data-slate-length"),Bt=ht==null?nt:parseInt(ht,10),Ft=se+Bt,ze=ne[Ee+1];if(f.offset===Ft&&ze!==null&&ze!==void 0&&ze.hasAttribute("data-slate-mark-placeholder")){var _n,On=ze.childNodes[0];w=[On instanceof $4?On:ze,(_n=ze.textContent)!==null&&_n!==void 0&&_n.startsWith("\uFEFF")?1:0];break}if(f.offset<=Ft){var Gn=Math.min(nt,Math.max(0,f.offset-se));w=[Me,Gn];break}se=Ft}}if(!w)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(hl.stringify(f)));return w},toDOMRange:(u,f)=>{var{anchor:E,focus:S}=f,w=xi.isBackward(f),q=Ji.toDOMPoint(u,E),ne=xi.isCollapsed(f)?q:Ji.toDOMPoint(u,S),se=Ji.getWindow(u),Ee=se.document.createRange(),[Te,Me]=w?ne:q,[nt,ht]=w?q:ne,Bt=xd(Te)?Te:Te.parentElement,Ft=!!Bt.getAttribute("data-slate-zero-width"),ze=xd(nt)?nt:nt.parentElement,_n=!!ze.getAttribute("data-slate-zero-width");return Ee.setStart(Te,Ft?1:Me),Ee.setEnd(nt,_n?1:ht),Ee},toSlateNode:(u,f)=>{var E=xd(f)?f:f.parentElement;E&&!E.hasAttribute("data-slate-node")&&(E=E.closest("[data-slate-node]"));var S=E?pf.get(E):null;if(!S)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(E));return S},toSlatePoint:(u,f,E)=>{var{exactMatch:S,suppressThrow:w}=E,[q,ne]=S?f:op(f),se=q.parentNode,Ee=null,Te=0;if(se){var Me,nt,ht=Ji.toDOMNode(u,u),Bt=se.closest('[data-slate-void="true"]'),Ft=Bt&&ht.contains(Bt)?Bt:null,ze=se.closest("[data-slate-leaf]"),_n=null;if(ze){if(Ee=ze.closest('[data-slate-node="text"]'),Ee){var On=Ji.getWindow(u),Gn=On.document.createRange();Gn.setStart(Ee,0),Gn.setEnd(q,ne);var Vn=Gn.cloneContents(),mr=[...Array.prototype.slice.call(Vn.querySelectorAll("[data-slate-zero-width]")),...Array.prototype.slice.call(Vn.querySelectorAll("[contenteditable=false]"))];mr.forEach(Zr=>{if(M0&&!S&&Zr.hasAttribute("data-slate-zero-width")&&Zr.textContent.length>0&&Zr.textContext!=="\uFEFF"){Zr.textContent.startsWith("\uFEFF")&&(Zr.textContent=Zr.textContent.slice(1));return}Zr.parentNode.removeChild(Zr)}),Te=Vn.textContent.length,_n=Ee}}else if(Ft){for(var Dn=Ft.querySelectorAll("[data-slate-leaf]"),Ir=0;Ir<Dn.length;Ir++){var hr=Dn[Ir];if(Ji.hasDOMNode(u,hr)){ze=hr;break}}ze?(Ee=ze.closest('[data-slate-node="text"]'),_n=ze,Te=_n.textContent.length,_n.querySelectorAll("[data-slate-zero-width]").forEach(Zr=>{Te-=Zr.textContent.length})):Te=1}_n&&Te===_n.textContent.length&&M0&&_n.getAttribute("data-slate-zero-width")==="z"&&(Me=_n.textContent)!==null&&Me!==void 0&&Me.startsWith("\uFEFF")&&(se.hasAttribute("data-slate-zero-width")||uh&&(nt=_n.textContent)!==null&&nt!==void 0&&nt.endsWith(`

`))&&Te--}if(M0&&!Ee&&!S){var Mr=se.hasAttribute("data-slate-node")?se:se.closest("[data-slate-node]");if(Mr&&Ji.hasDOMNode(u,Mr,{editable:!0})){var _r=Ji.toSlateNode(u,Mr),{path:Br,offset:oi}=Dt.start(u,Ji.findPath(u,_r));return Mr.querySelector("[data-slate-leaf]")||(oi=ne),{path:Br,offset:oi}}}if(!Ee){if(w)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(f))}var ri=Ji.toSlateNode(u,Ee),kr=Ji.findPath(u,ri);return{path:kr,offset:Te}},toSlateRange:(u,f,E)=>{var{exactMatch:S,suppressThrow:w}=E,q=ap(f)?f.anchorNode:f.startContainer,ne,se,Ee,Te,Me;if(q)if(ap(f)){if(uh&&f.rangeCount>1){Ee=f.focusNode;var nt=f.getRangeAt(0),ht=f.getRangeAt(f.rangeCount-1);if(Ee instanceof HTMLTableRowElement&&nt.startContainer instanceof HTMLTableRowElement&&ht.startContainer instanceof HTMLTableRowElement){let Dn=function(Ir){return Ir.childElementCount>0?Dn(Ir.children[0]):Ir};var Bt=nt.startContainer,Ft=ht.startContainer,ze=Dn(Bt.children[nt.startOffset]),_n=Dn(Ft.children[ht.startOffset]);Te=0,_n.childNodes.length>0?ne=_n.childNodes[0]:ne=_n,ze.childNodes.length>0?Ee=ze.childNodes[0]:Ee=ze,_n instanceof HTMLElement?se=_n.innerHTML.length:se=0}else nt.startContainer===Ee?(ne=ht.endContainer,se=ht.endOffset,Te=nt.startOffset):(ne=nt.startContainer,se=nt.endOffset,Te=ht.startOffset)}else ne=f.anchorNode,se=f.anchorOffset,Ee=f.focusNode,Te=f.focusOffset;Im&&Ap(ne)||uh?Me=f.anchorNode===f.focusNode&&f.anchorOffset===f.focusOffset:Me=f.isCollapsed}else ne=f.startContainer,se=f.startOffset,Ee=f.endContainer,Te=f.endOffset,Me=f.collapsed;if(ne==null||Ee==null||se==null||Te==null)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(f));if("getAttribute"in Ee&&Ee.getAttribute("contenteditable")==="false"&&Ee.getAttribute("data-slate-void")!=="true"){var On;Ee=ne,Te=((On=ne.textContent)===null||On===void 0?void 0:On.length)||0}var Gn=Ji.toSlatePoint(u,[ne,se],{exactMatch:S,suppressThrow:w});if(!Gn)return null;var Vn=Me?Gn:Ji.toSlatePoint(u,[Ee,Te],{exactMatch:S,suppressThrow:w});if(!Vn)return null;var mr={anchor:Gn,focus:Vn};return xi.isExpanded(mr)&&xi.isForward(mr)&&xd(Ee)&&Dt.void(u,{at:mr.focus,mode:"highest"})&&(mr=Dt.unhangRange(u,mr,{voids:!0})),mr}};function Fh(u,f){var{path:E,diff:S}=f;if(!Dt.hasPath(u,E))return!1;var w=gs.get(u,E);if(!Ca.isText(w))return!1;if(S.start!==w.text.length||S.text.length===0)return w.text.slice(S.start,S.start+S.text.length)===S.text;var q=Ar.next(E);if(!Dt.hasPath(u,q))return!1;var ne=gs.get(u,q);return Ca.isText(ne)&&ne.text.startsWith(S.text)}function wf(u){for(var f=arguments.length,E=new Array(f>1?f-1:0),S=1;S<f;S++)E[S-1]=arguments[S];return E.reduce((w,q)=>w.slice(0,q.start)+q.text+w.slice(q.end),u)}function W4(u,f){for(var E=Math.min(u.length,f.length),S=0;S<E;S++)if(u.charAt(S)!==f.charAt(S))return S;return E}function H4(u,f,E){for(var S=Math.min(u.length,f.length,E),w=0;w<S;w++)if(u.charAt(u.length-w-1)!==f.charAt(f.length-w-1))return w;return S}function Rp(u,f){var{start:E,end:S,text:w}=f,q=u.slice(E,S),ne=W4(q,w),se=Math.min(q.length-ne,w.length-ne),Ee=H4(q,w,se),Te={start:E+ne,end:S-Ee,text:w.slice(ne,w.length-Ee)};return Te.start===Te.end&&Te.text.length===0?null:Te}function G4(u,f,E){var S=Math.min(f.start,E.start),w=Math.max(0,Math.min(f.start+f.text.length,E.end)-E.start),q=wf(u,f,E),ne=Math.max(E.start+E.text.length,f.start+f.text.length+(f.start+f.text.length>E.start?E.text.length:0)-w),se=q.slice(S,ne),Ee=Math.max(f.end,E.end-f.text.length+(f.end-f.start));return Rp(u,{start:S,end:Ee,text:se})}function Ng(u){var{path:f,diff:E}=u;return{anchor:{path:f,offset:E.start},focus:{path:f,offset:E.end}}}function a4(u,f){var{path:E,offset:S}=f;if(!Dt.hasPath(u,E))return null;var w=gs.get(u,E);if(!Ca.isText(w))return null;var q=Dt.above(u,{match:se=>Us.isElement(se)&&Dt.isBlock(u,se),at:E});if(!q)return null;for(;S>w.text.length;){var ne=Dt.next(u,{at:E,match:Ca.isText});if(!ne||!Ar.isDescendant(ne[1],q[1]))return null;S-=w.text.length,w=ne[0],E=ne[1]}return{path:E,offset:S}}function o4(u,f){var E=a4(u,f.anchor);if(!E)return null;if(xi.isCollapsed(f))return{anchor:E,focus:E};var S=a4(u,f.focus);return S?{anchor:E,focus:S}:null}function z4(u,f,E){var S=hd.get(u),w=S?.find(Me=>{var{path:nt}=Me;return Ar.equals(nt,f.path)});if(!w||f.offset<=w.diff.start)return ro.transform(f,E,{affinity:"backward"});var{diff:q}=w;if(f.offset<=q.start+q.text.length){var ne={path:f.path,offset:q.start},se=ro.transform(ne,E,{affinity:"backward"});return se?{path:se.path,offset:se.offset+f.offset-q.start}:null}var Ee={path:f.path,offset:f.offset-q.text.length+q.end-q.start},Te=ro.transform(Ee,E,{affinity:"backward"});return Te?E.type==="split_node"&&Ar.equals(E.path,f.path)&&Ee.offset<E.position&&q.start<E.position?Te:{path:Te.path,offset:Te.offset+q.text.length-q.end+q.start}:null}function up(u,f,E){var S=z4(u,f.anchor,E);if(!S)return null;if(xi.isCollapsed(f))return{anchor:S,focus:S};var w=z4(u,f.focus,E);return w?{anchor:S,focus:w}:null}function Fm(u,f){var{path:E,diff:S,id:w}=u;switch(f.type){case"insert_text":return!Ar.equals(f.path,E)||f.offset>=S.end?u:f.offset<=S.start?{diff:{start:f.text.length+S.start,end:f.text.length+S.end,text:S.text},id:w,path:E}:{diff:{start:S.start,end:S.end+f.text.length,text:S.text},id:w,path:E};case"remove_text":return!Ar.equals(f.path,E)||f.offset>=S.end?u:f.offset+f.text.length<=S.start?{diff:{start:S.start-f.text.length,end:S.end-f.text.length,text:S.text},id:w,path:E}:{diff:{start:S.start,end:S.end-f.text.length,text:S.text},id:w,path:E};case"split_node":return!Ar.equals(f.path,E)||f.position>=S.end?{diff:S,id:w,path:Ar.transform(E,f,{affinity:"backward"})}:f.position>S.start?{diff:{start:S.start,end:Math.min(f.position,S.end),text:S.text},id:w,path:E}:{diff:{start:S.start-f.position,end:S.end-f.position,text:S.text},id:w,path:Ar.transform(E,f,{affinity:"forward"})};case"merge_node":return Ar.equals(f.path,E)?{diff:{start:S.start+f.position,end:S.end+f.position,text:S.text},id:w,path:Ar.transform(E,f)}:{diff:S,id:w,path:Ar.transform(E,f)}}var q=Ar.transform(E,f);return q?{diff:S,path:q,id:w}:null}function V4(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function _0(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?V4(Object(E),!0).forEach(function(S){n4(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):V4(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var Pg=25,km=200,wp=function(){},K4=u=>u?.constructor.name==="DataTransfer";function Um(u){var{editor:f,scheduleOnDOMSelectionChange:E,onDOMSelectionChange:S}=u,w=!1,q=null,ne=null,se=null,Ee=0,Te=!1,Me=()=>{var ri=lh.get(f);if(lh.delete(f),ri){var{selection:kr}=f,Zr=o4(f,ri);Zr&&(!kr||!xi.equals(Zr,kr))&&vi.select(f,Zr)}},nt=()=>{var ri=Lh.get(f);if(Lh.delete(f),!!ri){if(ri.at){var kr=ro.isPoint(ri.at)?a4(f,ri.at):o4(f,ri.at);if(!kr)return;var Zr=Dt.range(f,kr);(!f.selection||!xi.equals(f.selection,Zr))&&vi.select(f,kr)}ri.run()}},ht=()=>{if(ne&&(clearTimeout(ne),ne=null),se&&(clearTimeout(se),se=null),!mr()&&!Vn()){Me();return}w||(w=!0,setTimeout(()=>w=!1)),Vn()&&(w="action");var ri=f.selection&&Dt.rangeRef(f,f.selection,{affinity:"forward"});Kf.set(f,f.marks),wp("flush",Lh.get(f),hd.get(f));for(var kr=mr(),Zr;Zr=(ai=hd.get(f))===null||ai===void 0?void 0:ai[0];){var ai,Vr,Ki=Wd.get(f);Ki!==void 0&&(Wd.delete(f),f.marks=Ki),Ki&&Te===!1&&(Te=null);var As=Ng(Zr);(!f.selection||!xi.equals(f.selection,As))&&vi.select(f,As),Zr.diff.text?Dt.insertText(f,Zr.diff.text):Dt.deleteFragment(f),hd.set(f,(Vr=hd.get(f))===null||Vr===void 0?void 0:Vr.filter(Ps=>{var{id:sa}=Ps;return sa!==Zr.id})),Fh(f,Zr)||(kr=!1,Lh.delete(f),Kf.delete(f),w="action",lh.delete(f),E.cancel(),S.cancel(),ri?.unref())}var Gi=ri?.unref();if(Gi&&!lh.get(f)&&(!f.selection||!xi.equals(Gi,f.selection))&&vi.select(f,Gi),Vn()){nt();return}kr&&E(),E.flush(),S.flush(),Me();var ts=Kf.get(f);Kf.delete(f),ts!==void 0&&(f.marks=ts,f.onChange())},Bt=ri=>{q&&clearTimeout(q),q=setTimeout(()=>{Mh.set(f,!1),ht()},Pg)},Ft=ri=>{Mh.set(f,!0),q&&(clearTimeout(q),q=null)},ze=function(){var kr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Zr=Tp.get(f);if(Zr){if(mr()||kr){Zr.style.display="none";return}Zr.style.removeProperty("display")}},_n=(ri,kr)=>{var Zr,ai=(Zr=hd.get(f))!==null&&Zr!==void 0?Zr:[];hd.set(f,ai);var Vr=gs.leaf(f,ri),Ki=ai.findIndex(ts=>Ar.equals(ts.path,ri));if(Ki<0){var As=Rp(Vr.text,kr);As&&ai.push({path:ri,diff:kr,id:Ee++}),ze();return}var Gi=G4(Vr.text,ai[Ki].diff,kr);if(!Gi){ai.splice(Ki,1),ze();return}ai[Ki]=_0(_0({},ai[Ki]),{},{diff:Gi})},On=function(kr){var{at:Zr}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Te=!1,lh.delete(f),E.cancel(),S.cancel(),Vn()&&ht(),Lh.set(f,{at:Zr,run:kr}),se=setTimeout(ht)},Gn=ri=>{var kr;ne&&(clearTimeout(ne),ne=null);var{inputType:Zr}=ri,ai=null,Vr=ri.dataTransfer||ri.data||void 0;Te!==!1&&Zr!=="insertText"&&Zr!=="insertCompositionText"&&(Te=!1);var[Ki]=ri.getTargetRanges();Ki&&(ai=Ji.toSlateRange(f,Ki,{exactMatch:!1,suppressThrow:!0}));var As=Ji.getWindow(f),Gi=As.getSelection();if(!ai&&Gi&&(Ki=Gi,ai=Ji.toSlateRange(f,Gi,{exactMatch:!1,suppressThrow:!0})),ai=(kr=ai)!==null&&kr!==void 0?kr:f.selection,!!ai){var ts=!0;if(Zr.startsWith("delete")){if(xi.isExpanded(ai)){var[Ps,sa]=xi.edges(ai),Ss=gs.leaf(f,Ps.path);if(Ss.text.length===Ps.offset&&sa.offset===0){var pr=Dt.next(f,{at:Ps.path,match:Ca.isText});pr&&Ar.equals(pr[1],sa.path)&&(ai={anchor:sa,focus:sa})}}var Hi=Zr.endsWith("Backward")?"backward":"forward",[Li,ss]=xi.edges(ai),[_i,ys]=Dt.leaf(f,Li.path),$a={text:"",start:Li.offset,end:ss.offset},_o=hd.get(f),$o=_o?.find(Qd=>Ar.equals(Qd.path,ys)),Ku=$o?[$o.diff,$a]:[$a],La=wf(_i.text,...Ku);if(La.length===0&&(ts=!1),xi.isExpanded(ai)){if(ts&&Ar.equals(ai.anchor.path,ai.focus.path)){var zl={path:ai.anchor.path,offset:Li.offset},b0=Dt.range(f,zl,zl);return hr(b0),_n(ai.anchor.path,{text:"",end:ss.offset,start:Li.offset})}return On(()=>Dt.deleteFragment(f,{direction:Hi}),{at:ai})}}switch(Zr){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":return On(()=>Dt.deleteFragment(f),{at:ai});case"deleteContent":case"deleteContentForward":{var{anchor:Vl}=ai;if(ts&&xi.isCollapsed(ai)){var G0=gs.leaf(f,Vl.path);if(Vl.offset<G0.text.length)return _n(Vl.path,{text:"",start:Vl.offset,end:Vl.offset+1})}return On(()=>Dt.deleteForward(f),{at:ai})}case"deleteContentBackward":{var J0,{anchor:q0}=ai,ed=ap(Ki)?Ki.isCollapsed:!!((J0=Ki)!==null&&J0!==void 0&&J0.collapsed);return ts&&ed&&xi.isCollapsed(ai)&&q0.offset>0?_n(q0.path,{text:"",start:q0.offset-1,end:q0.offset}):On(()=>Dt.deleteBackward(f),{at:ai})}case"deleteEntireSoftLine":return On(()=>{Dt.deleteBackward(f,{unit:"line"}),Dt.deleteForward(f,{unit:"line"})},{at:ai});case"deleteHardLineBackward":return On(()=>Dt.deleteBackward(f,{unit:"block"}),{at:ai});case"deleteSoftLineBackward":return On(()=>Dt.deleteBackward(f,{unit:"line"}),{at:ai});case"deleteHardLineForward":return On(()=>Dt.deleteForward(f,{unit:"block"}),{at:ai});case"deleteSoftLineForward":return On(()=>Dt.deleteForward(f,{unit:"line"}),{at:ai});case"deleteWordBackward":return On(()=>Dt.deleteBackward(f,{unit:"word"}),{at:ai});case"deleteWordForward":return On(()=>Dt.deleteForward(f,{unit:"word"}),{at:ai});case"insertLineBreak":return On(()=>Dt.insertSoftBreak(f),{at:ai});case"insertParagraph":return On(()=>Dt.insertBreak(f),{at:ai});case"insertCompositionText":case"deleteCompositionText":case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{if(K4(Vr))return On(()=>Ji.insertData(f,Vr),{at:ai});var cc=Vr??"";if(Wd.get(f)&&(cc=cc.replace("\uFEFF","")),Zr==="insertText"&&/.*\n.*\n$/.test(cc)&&(cc=cc.slice(0,-1)),cc.includes(`
`))return On(()=>{var Qd=cc.split(`
`);Qd.forEach((Ea,Oa)=>{Ea&&Dt.insertText(f,Ea),Oa!==Qd.length-1&&Dt.insertSoftBreak(f)})},{at:ai});if(Ar.equals(ai.anchor.path,ai.focus.path)){var[C0,Yd]=xi.edges(ai),gl={start:C0.offset,end:Yd.offset,text:cc};if(cc&&Te&&Zr==="insertCompositionText"){var Ed=Te.start+Te.text.search(/\S|$/),Gh=gl.start+gl.text.search(/\S|$/);Gh===Ed+1&&gl.end===Te.start+Te.text.length?(gl.start-=1,Te=null,Br()):Te=!1}else Zr==="insertText"?Te===null?Te=gl:Te&&xi.isCollapsed(ai)&&Te.end+Te.text.length===C0.offset?Te=_0(_0({},Te),{},{text:Te.text+cc}):Te=!1:Te=!1;if(ts){_n(C0.path,gl);return}}return On(()=>Dt.insertText(f,cc),{at:ai})}}}},Vn=()=>!!Lh.get(f),mr=()=>{var ri;return!!((ri=hd.get(f))!==null&&ri!==void 0&&ri.length)},Dn=()=>Vn()||mr(),Ir=()=>w,hr=ri=>{lh.set(f,ri),ne&&(clearTimeout(ne),ne=null);var{selection:kr}=f;if(ri){var Zr=!kr||!Ar.equals(kr.anchor.path,ri.anchor.path),ai=!kr||!Ar.equals(kr.anchor.path.slice(0,-1),ri.anchor.path.slice(0,-1));(Zr&&Te||ai)&&(Te=!1),(Zr||mr())&&(ne=setTimeout(ht,km))}},Mr=()=>{(Vn()||!mr())&&ht()},_r=ri=>{mr()||(ze(!0),setTimeout(ze))},Br=()=>{Vn()||(se=setTimeout(ht))},oi=ri=>{if(!(mr()||Vn())&&ri.some(Zr=>xp(f,Zr,ri))){var kr;(kr=E0.get(f))===null||kr===void 0||kr()}};return{flush:ht,scheduleFlush:Br,hasPendingDiffs:mr,hasPendingAction:Vn,hasPendingChanges:Dn,isFlushing:Ir,handleUserSelect:hr,handleCompositionEnd:Bt,handleCompositionStart:Ft,handleDOMBeforeInput:Gn,handleKeyDown:_r,handleDomMutations:oi,handleInput:Mr}}function Lg(){var u=(0,ge.useRef)(!1);return(0,ge.useEffect)(()=>(u.current=!0,()=>{u.current=!1}),[]),u.current}var kh=Rh?ge.useLayoutEffect:ge.useEffect;function Bg(u,f,E){var[S]=(0,ge.useState)(()=>new MutationObserver(f));kh(()=>{S.takeRecords()}),(0,ge.useEffect)(()=>{if(!u.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");return S.observe(u.current,E),()=>S.disconnect()},[S,u,E])}var Fg=["node"];function u4(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function kg(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?u4(Object(E),!0).forEach(function(S){n4(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):u4(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var H3={subtree:!0,childList:!0,characterData:!0},G3=M0?u=>{var{node:f}=u,E=Il(u,Fg);if(!M0)return null;var S=oh(),w=Lg(),[q]=(0,ge.useState)(()=>Um(kg({editor:S},E)));return Bg(f,q.handleDomMutations,H3),Ph.set(S,q.scheduleFlush),w&&q.flush(),q}:()=>null,Ug=["anchor","focus"],z3=["anchor","focus"],V3=(u,f)=>Object.keys(u).length===Object.keys(f).length&&Object.keys(u).every(E=>f.hasOwnProperty(E)&&u[E]===f[E]),jm=(u,f)=>{var E=Il(u,Ug),S=Il(f,z3);return u[o0]===f[o0]&&V3(E,S)},Y4=(u,f)=>{if(u.length!==f.length)return!1;for(var E=0;E<u.length;E++){var S=u[E],w=f[E];if(!xi.equals(S,w)||!jm(S,w))return!1}return!0},Ip=(u,f)=>{if(u.length!==f.length)return!1;for(var E=0;E<u.length;E++){var S=u[E],w=f[E];if(S.anchor.offset!==w.anchor.offset||S.focus.offset!==w.focus.offset||!jm(S,w))return!1}return!0},jg=u=>{var{isLast:f,leaf:E,parent:S,text:w}=u,q=oh(),ne=Ji.findPath(q,w),se=Ar.parent(ne),Ee=E[s4]===!0;return q.isVoid(S)?ge.createElement(Q4,{length:gs.string(S).length}):E.text===""&&S.children[S.children.length-1]===w&&!q.isInline(S)&&Dt.string(q,se)===""?ge.createElement(Q4,{isLineBreak:!0,isMarkPlaceholder:Ee}):E.text===""?ge.createElement(Q4,{isMarkPlaceholder:Ee}):f&&E.text.slice(-1)===`
`?ge.createElement($m,{isTrailing:!0,text:E.text}):ge.createElement($m,{text:E.text})},$m=u=>{var{text:f,isTrailing:E=!1}=u,S=(0,ge.useRef)(null),w=()=>"".concat(f??"").concat(E?`
`:""),[q]=(0,ge.useState)(w);return kh(()=>{var ne=w();S.current&&S.current.textContent!==ne&&(S.current.textContent=ne)}),ge.createElement(Wm,{ref:S},q)},Wm=(0,ge.memo)((0,ge.forwardRef)((u,f)=>ge.createElement("span",{"data-slate-string":!0,ref:f},u.children))),Q4=u=>{var{length:f=0,isLineBreak:E=!1,isMarkPlaceholder:S=!1}=u,w={"data-slate-zero-width":E?"n":"z","data-slate-length":f};return S&&(w["data-slate-mark-placeholder"]=!0),ge.createElement("span",Object.assign({},w),!M0||!E?"\uFEFF":null,E?ge.createElement("br",null):null)};function Z4(u,f){u.current&&(u.current.disconnect(),f&&(u.current=null))}function Hm(u){u.current&&(clearTimeout(u.current),u.current=null)}var $g=u=>{var{leaf:f,isLast:E,text:S,parent:w,renderPlaceholder:q,renderLeaf:ne=Gn=>ge.createElement(X4,Object.assign({},Gn))}=u,se=oh(),Ee=(0,ge.useRef)(null),Te=(0,ge.useRef)(null),[Me,nt]=(0,ge.useState)(!1),ht=(0,ge.useRef)(null),Bt=(0,ge.useCallback)(Gn=>{if(Z4(Ee,Gn==null),Gn==null){var Vn;Tp.delete(se),(Vn=f.onPlaceholderResize)===null||Vn===void 0||Vn.call(f,null)}else{if(Tp.set(se,Gn),!Ee.current){var mr=window.ResizeObserver||tp;Ee.current=new mr(()=>{var Dn;(Dn=f.onPlaceholderResize)===null||Dn===void 0||Dn.call(f,Gn)})}Ee.current.observe(Gn),Te.current=Gn}},[Te,f,se]),Ft=ge.createElement(jg,{isLast:E,leaf:f,parent:w,text:S}),ze=f[o0];if((0,ge.useEffect)(()=>(ze?ht.current||(ht.current=setTimeout(()=>{nt(!0),ht.current=null},300)):(Hm(ht),nt(!1)),()=>Hm(ht)),[ze,nt]),ze&&Me){var _n={children:f.placeholder,attributes:{"data-slate-placeholder":!0,style:{position:"absolute",top:0,pointerEvents:"none",width:"100%",maxWidth:"100%",display:"block",opacity:"0.333",userSelect:"none",textDecoration:"none",WebkitUserModify:Oh?"inherit":void 0},contentEditable:!1,ref:Bt}};Ft=ge.createElement(ge.Fragment,null,q(_n),Ft)}var On={"data-slate-leaf":!0};return ne({attributes:On,children:Ft,leaf:f,text:S})},Gm=ge.memo($g,(u,f)=>f.parent===u.parent&&f.isLast===u.isLast&&f.renderLeaf===u.renderLeaf&&f.renderPlaceholder===u.renderPlaceholder&&f.text===u.text&&Ca.equals(f.leaf,u.leaf)&&f.leaf[o0]===u.leaf[o0]),X4=u=>{var{attributes:f,children:E}=u;return ge.createElement("span",Object.assign({},f),E)},Wg=u=>{for(var{decorations:f,isLast:E,parent:S,renderPlaceholder:w,renderLeaf:q,text:ne}=u,se=oh(),Ee=(0,ge.useRef)(null),Te=Ca.decorations(ne,f),Me=Ji.findKey(se,ne),nt=[],ht=0;ht<Te.length;ht++){var Bt=Te[ht];nt.push(ge.createElement(Gm,{isLast:E&&ht===Te.length-1,key:"".concat(Me.id,"-").concat(ht),renderPlaceholder:w,leaf:Bt,text:ne,parent:S,renderLeaf:q}))}var Ft=(0,ge.useCallback)(ze=>{var _n=Rf.get(se);ze?(_n?.set(Me,ze),Vf.set(ne,ze),pf.set(ze,ne)):(_n?.delete(Me),Vf.delete(ne),Ee.current&&pf.delete(Ee.current)),Ee.current=ze},[Ee,se,Me,ne]);return ge.createElement("span",{"data-slate-node":"text",ref:Ft},nt)},Hg=ge.memo(Wg,(u,f)=>f.parent===u.parent&&f.isLast===u.isLast&&f.renderLeaf===u.renderLeaf&&f.renderPlaceholder===u.renderPlaceholder&&f.text===u.text&&Ip(f.decorations,u.decorations)),l4=u=>{var{decorations:f,element:E,renderElement:S=Gn=>ge.createElement(Np,Object.assign({},Gn)),renderPlaceholder:w,renderLeaf:q,selection:ne}=u,se=oh(),Ee=c4(),Te=se.isInline(E),Me=Ji.findKey(se,E),nt=(0,ge.useCallback)(Gn=>{var Vn=Rf.get(se);Gn?(Vn?.set(Me,Gn),Vf.set(E,Gn),pf.set(Gn,E)):(Vn?.delete(Me),Vf.delete(E))},[se,Me,E]),ht=q4({decorations:f,node:E,renderElement:S,renderPlaceholder:w,renderLeaf:q,selection:ne}),Bt={"data-slate-node":"element",ref:nt};if(Te&&(Bt["data-slate-inline"]=!0),!Te&&Dt.hasInlines(se,E)){var Ft=gs.string(E),ze=ff()(Ft);ze==="rtl"&&(Bt.dir=ze)}if(Dt.isVoid(se,E)){Bt["data-slate-void"]=!0,!Ee&&Te&&(Bt.contentEditable=!1);var _n=Te?"span":"div",[[On]]=gs.texts(E);ht=ge.createElement(_n,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},ge.createElement(Hg,{renderPlaceholder:w,decorations:[],isLast:!1,parent:E,text:On})),np.set(On,0),i4.set(On,E)}return S({attributes:Bt,children:ht,element:E})},Mp=ge.memo(l4,(u,f)=>u.element===f.element&&u.renderElement===f.renderElement&&u.renderLeaf===f.renderLeaf&&u.renderPlaceholder===f.renderPlaceholder&&Y4(u.decorations,f.decorations)&&(u.selection===f.selection||!!u.selection&&!!f.selection&&xi.equals(u.selection,f.selection))),Np=u=>{var{attributes:f,children:E,element:S}=u,w=oh(),q=w.isInline(S)?"span":"div";return ge.createElement(q,Object.assign({},f,{style:{position:"relative"}}),E)},J4=(0,ge.createContext)(()=>[]),Gg=()=>(0,ge.useContext)(J4),zg=(0,ge.createContext)(!1),K3=()=>(0,ge.useContext)(zg),q4=u=>{for(var{decorations:f,node:E,renderElement:S,renderPlaceholder:w,renderLeaf:q,selection:ne}=u,se=Gg(),Ee=oh(),Te=Ji.findPath(Ee,E),Me=[],nt=Us.isElement(E)&&!Ee.isInline(E)&&Dt.hasInlines(Ee,E),ht=0;ht<E.children.length;ht++){var Bt=Te.concat(ht),Ft=E.children[ht],ze=Ji.findKey(Ee,Ft),_n=Dt.range(Ee,Bt),On=ne&&xi.intersection(_n,ne),Gn=se([Ft,Bt]);for(var Vn of f){var mr=xi.intersection(Vn,_n);mr&&Gn.push(mr)}Us.isElement(Ft)?Me.push(ge.createElement(zg.Provider,{key:"provider-".concat(ze.id),value:!!On},ge.createElement(Mp,{decorations:Gn,element:Ft,key:ze.id,renderElement:S,renderPlaceholder:w,renderLeaf:q,selection:On}))):Me.push(ge.createElement(Hg,{decorations:Gn,key:ze.id,isLast:nt&&ht===E.children.length-1,parent:E,renderPlaceholder:w,renderLeaf:q,text:Ft})),np.set(Ft,ht),i4.set(Ft,E)}return Me},ad=(0,ge.createContext)(!1),c4=()=>(0,ge.useContext)(ad),em=(0,ge.createContext)(null),zm=()=>{var u=(0,ge.useContext)(em);if(!u)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");var{editor:f}=u;return f},Uh=()=>{var u=useContext(em);if(!u)throw new Error("The `useSlate` hook must be used inside the <Slate> component's context.");return u};function bo(){var u=oh(),f=(0,ge.useRef)(!1),E=(0,ge.useRef)(0),S=(0,ge.useCallback)(()=>{if(!f.current){f.current=!0;var w=Ji.getWindow(u);w.cancelAnimationFrame(E.current),E.current=w.requestAnimationFrame(()=>{f.current=!1})}},[u]);return(0,ge.useEffect)(()=>()=>cancelAnimationFrame(E.current),[]),{receivedUserInput:f,onUserInput:S}}var Vg=3,Qf={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",insertSoftBreak:"shift+enter",splitBlock:"enter",undo:"mod+z"},Kg={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},d4={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},lc=u=>{var f=Qf[u],E=Kg[u],S=d4[u],w=f&&(0,tf.g5)(f),q=E&&(0,tf.g5)(E),ne=S&&(0,tf.g5)(S);return se=>!!(w&&w(se)||wm&&q&&q(se)||!wm&&ne&&ne(se))},Oc={isBold:lc("bold"),isCompose:lc("compose"),isMoveBackward:lc("moveBackward"),isMoveForward:lc("moveForward"),isDeleteBackward:lc("deleteBackward"),isDeleteForward:lc("deleteForward"),isDeleteLineBackward:lc("deleteLineBackward"),isDeleteLineForward:lc("deleteLineForward"),isDeleteWordBackward:lc("deleteWordBackward"),isDeleteWordForward:lc("deleteWordForward"),isExtendBackward:lc("extendBackward"),isExtendForward:lc("extendForward"),isExtendLineBackward:lc("extendLineBackward"),isExtendLineForward:lc("extendLineForward"),isItalic:lc("italic"),isMoveLineBackward:lc("moveLineBackward"),isMoveLineForward:lc("moveLineForward"),isMoveWordBackward:lc("moveWordBackward"),isMoveWordForward:lc("moveWordForward"),isRedo:lc("redo"),isSoftBreak:lc("insertSoftBreak"),isSplitBlock:lc("splitBlock"),isTransposeCharacter:lc("transposeCharacter"),isUndo:lc("undo")},pd=(u,f)=>{var E=[],S=()=>{E=[]},w=ne=>{if(f.current){var se=ne.filter(Ee=>xp(u,Ee,ne));E.push(...se)}};function q(){E.length>0&&(E.reverse().forEach(ne=>{ne.type!=="characterData"&&(ne.removedNodes.forEach(se=>{ne.target.insertBefore(se,ne.nextSibling)}),ne.addedNodes.forEach(se=>{ne.target.removeChild(se)}))}),S())}return{registerMutations:w,restoreDOM:q,clear:S}},Yg={subtree:!0,childList:!0,characterData:!0,characterDataOldValue:!0};class jh extends ge.Component{constructor(){super(...arguments),this.context=null,this.manager=null,this.mutationObserver=null}observe(){var f,{node:E}=this.props;if(!E.current)throw new Error("Failed to attach MutationObserver, `node` is undefined");(f=this.mutationObserver)===null||f===void 0||f.observe(E.current,Yg)}componentDidMount(){var{receivedUserInput:f}=this.props,E=this.context;this.manager=pd(E,f),this.mutationObserver=new MutationObserver(this.manager.registerMutations),this.observe()}getSnapshotBeforeUpdate(){var f,E,S,w=(f=this.mutationObserver)===null||f===void 0?void 0:f.takeRecords();if(w!=null&&w.length){var q;(q=this.manager)===null||q===void 0||q.registerMutations(w)}return(E=this.mutationObserver)===null||E===void 0||E.disconnect(),(S=this.manager)===null||S===void 0||S.restoreDOM(),null}componentDidUpdate(){var f;(f=this.manager)===null||f===void 0||f.clear(),this.observe()}componentWillUnmount(){var f;(f=this.mutationObserver)===null||f===void 0||f.disconnect()}render(){return this.props.children}}jh.contextType=ah;var If=M0?jh:u=>{var{children:f}=u;return ge.createElement(ge.Fragment,null,f)},zd=["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","renderPlaceholder","scrollSelectionIntoView","style","as","disableDefaultStyles"],dh=["text"];function Pp(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function u0(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?Pp(Object(E),!0).forEach(function(S){n4(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):Pp(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var Vm=u=>ge.createElement(ge.Fragment,null,q4(u)),Km=u=>{var f=(0,ge.useCallback)(pr=>ge.createElement(Y3,Object.assign({},pr)),[]),{autoFocus:E,decorate:S=Q3,onDOMBeforeInput:w,placeholder:q,readOnly:ne=!1,renderElement:se,renderLeaf:Ee,renderPlaceholder:Te=f,scrollSelectionIntoView:Me=f4,style:nt={},as:ht="div",disableDefaultStyles:Bt=!1}=u,Ft=Il(u,zd),ze=zm(),[_n,On]=(0,ge.useState)(!1),Gn=(0,ge.useRef)(null),Vn=(0,ge.useRef)([]),[mr,Dn]=(0,ge.useState)(),{onUserInput:Ir,receivedUserInput:hr}=bo(),[,Mr]=(0,ge.useReducer)(pr=>pr+1,0);E0.set(ze,Mr),ip.set(ze,ne);var _r=(0,ge.useMemo)(()=>({isDraggingInternally:!1,isUpdatingSelection:!1,latestElement:null,hasMarkPlaceholder:!1}),[]);(0,ge.useEffect)(()=>{Gn.current&&E&&Gn.current.focus()},[E]);var Br=(0,ge.useRef)(),oi=(0,ge.useMemo)(()=>Xh()(()=>{var pr=Br.current;if((M0||!Ji.isComposing(ze))&&(!_r.isUpdatingSelection||pr!=null&&pr.isFlushing())&&!_r.isDraggingInternally){var Hi=Ji.findDocumentOrShadowRoot(ze),{activeElement:Li}=Hi,ss=Ji.toDOMNode(ze,ze),_i=Hi.getSelection();if(Li===ss?(_r.latestElement=Li,Ih.set(ze,!0)):Ih.delete(ze),!_i)return vi.deselect(ze);var{anchorNode:ys,focusNode:$a}=_i,_o=Ji.hasEditableTarget(ze,ys)||Ji.isTargetInsideNonReadonlyVoid(ze,ys),$o=Ji.hasEditableTarget(ze,$a)||Ji.isTargetInsideNonReadonlyVoid(ze,$a);if(_o&&$o){var Ku=Ji.toSlateRange(ze,_i,{exactMatch:!1,suppressThrow:!0});Ku&&(!Ji.isComposing(ze)&&!(pr!=null&&pr.hasPendingChanges())&&!(pr!=null&&pr.isFlushing())?vi.select(ze,Ku):pr?.handleUserSelect(Ku))}ne&&(!_o||!$o)&&vi.deselect(ze)}},100),[ze,ne,_r]),ri=(0,ge.useMemo)(()=>Tf()(oi,0),[oi]);Br.current=G3({node:Gn,onDOMSelectionChange:oi,scheduleOnDOMSelectionChange:ri}),kh(()=>{var pr,Hi,Li;Gn.current&&(Li=Hd(Gn.current))?(zf.set(ze,Li),wh.set(ze,Gn.current),Vf.set(ze,Gn.current),pf.set(Gn.current,ze)):Vf.delete(ze);var{selection:ss}=ze,_i=Ji.findDocumentOrShadowRoot(ze),ys=_i.getSelection();if(!(!ys||!Ji.isFocused(ze)||(pr=Br.current)!==null&&pr!==void 0&&pr.hasPendingAction())){var $a=La=>{var zl=ys.type!=="None";if(!(!ss&&!zl)){var b0=ys.focusNode,Vl;if(uh&&ys.rangeCount>1){var G0=ys.getRangeAt(0),J0=ys.getRangeAt(ys.rangeCount-1);G0.startContainer===b0?Vl=J0.endContainer:Vl=G0.startContainer}else Vl=ys.anchorNode;var q0=wh.get(ze),ed=!1;if(q0.contains(Vl)&&q0.contains(b0)&&(ed=!0),zl&&ed&&ss&&!La){var cc=Ji.toSlateRange(ze,ys,{exactMatch:!0,suppressThrow:!0});if(cc&&xi.equals(cc,ss)){var C0,Yd;if(!_r.hasMarkPlaceholder||(C0=Vl)!==null&&C0!==void 0&&(Yd=C0.parentElement)!==null&&Yd!==void 0&&Yd.hasAttribute("data-slate-mark-placeholder"))return}}if(ss&&!Ji.hasRange(ze,ss)){ze.selection=Ji.toSlateRange(ze,ys,{exactMatch:!1,suppressThrow:!0});return}_r.isUpdatingSelection=!0;var gl=ss&&Ji.toDOMRange(ze,ss);return gl?(Ji.isComposing(ze)&&!M0?ys.collapseToEnd():xi.isBackward(ss)?ys.setBaseAndExtent(gl.endContainer,gl.endOffset,gl.startContainer,gl.startOffset):ys.setBaseAndExtent(gl.startContainer,gl.startOffset,gl.endContainer,gl.endOffset),Me(ze,gl)):ys.removeAllRanges(),gl}};ys.rangeCount<=1&&$a();var _o=((Hi=Br.current)===null||Hi===void 0?void 0:Hi.isFlushing())==="action";if(!M0||!_o){setTimeout(()=>{_r.isUpdatingSelection=!1});return}var $o=null,Ku=requestAnimationFrame(()=>{if(_o){var La=zl=>{try{var b0=Ji.toDOMNode(ze,ze);b0.focus(),$a(zl)}catch{}};La(),$o=setTimeout(()=>{La(!0),_r.isUpdatingSelection=!1})}});return()=>{cancelAnimationFrame(Ku),$o&&clearTimeout($o)}}});var kr=(0,ge.useCallback)(pr=>{if(Ir(),!ne&&Ji.hasEditableTarget(ze,pr.target)&&!Z3(pr,w)){var Hi;if(Br.current)return Br.current.handleDOMBeforeInput(pr);ri.flush(),oi.flush();var{selection:Li}=ze,{inputType:ss}=pr,_i=pr.dataTransfer||pr.data||void 0,ys=ss==="insertCompositionText"||ss==="deleteCompositionText";if(ys&&Ji.isComposing(ze))return;var $a=!1;if(ss==="insertText"&&Li&&xi.isCollapsed(Li)&&pr.data&&pr.data.length===1&&/[a-z ]/i.test(pr.data)&&Li.anchor.offset!==0){var _o,$o;$a=!0,ze.marks&&($a=!1);var{anchor:Ku}=Li,[La,zl]=Ji.toDOMPoint(ze,Ku),b0=(_o=La.parentElement)===null||_o===void 0?void 0:_o.closest("a"),Vl=Ji.getWindow(ze);if($a&&b0&&Ji.hasDOMNode(ze,b0)){var G0,J0=Vl?.document.createTreeWalker(b0,NodeFilter.SHOW_TEXT).lastChild();J0===La&&((G0=J0.textContent)===null||G0===void 0?void 0:G0.length)===zl&&($a=!1)}if($a&&La.parentElement&&(Vl==null||($o=Vl.getComputedStyle(La.parentElement))===null||$o===void 0?void 0:$o.whiteSpace)==="pre"){var q0=Dt.above(ze,{at:Ku.path,match:Ed=>Us.isElement(Ed)&&Dt.isBlock(ze,Ed)});q0&&gs.string(q0[0]).includes("	")&&($a=!1)}}if(!ss.startsWith("delete")||ss.startsWith("deleteBy")){var[ed]=pr.getTargetRanges();if(ed){var cc=Ji.toSlateRange(ze,ed,{exactMatch:!1,suppressThrow:!1});if(!Li||!xi.equals(Li,cc)){$a=!1;var C0=!ys&&ze.selection&&Dt.rangeRef(ze,ze.selection);vi.select(ze,cc),C0&&sp.set(ze,C0)}}}if(ys)return;if($a||pr.preventDefault(),Li&&xi.isExpanded(Li)&&ss.startsWith("delete")){var Yd=ss.endsWith("Backward")?"backward":"forward";Dt.deleteFragment(ze,{direction:Yd});return}switch(ss){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":{Dt.deleteFragment(ze);break}case"deleteContent":case"deleteContentForward":{Dt.deleteForward(ze);break}case"deleteContentBackward":{Dt.deleteBackward(ze);break}case"deleteEntireSoftLine":{Dt.deleteBackward(ze,{unit:"line"}),Dt.deleteForward(ze,{unit:"line"});break}case"deleteHardLineBackward":{Dt.deleteBackward(ze,{unit:"block"});break}case"deleteSoftLineBackward":{Dt.deleteBackward(ze,{unit:"line"});break}case"deleteHardLineForward":{Dt.deleteForward(ze,{unit:"block"});break}case"deleteSoftLineForward":{Dt.deleteForward(ze,{unit:"line"});break}case"deleteWordBackward":{Dt.deleteBackward(ze,{unit:"word"});break}case"deleteWordForward":{Dt.deleteForward(ze,{unit:"word"});break}case"insertLineBreak":Dt.insertSoftBreak(ze);break;case"insertParagraph":{Dt.insertBreak(ze);break}case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":{ss==="insertFromComposition"&&Ji.isComposing(ze)&&(On(!1),Mh.set(ze,!1)),_i?.constructor.name==="DataTransfer"?Ji.insertData(ze,_i):typeof _i=="string"&&($a?Vn.current.push(()=>Dt.insertText(ze,_i)):Dt.insertText(ze,_i));break}}var gl=(Hi=sp.get(ze))===null||Hi===void 0?void 0:Hi.unref();sp.delete(ze),gl&&(!ze.selection||!xi.equals(ze.selection,gl))&&vi.select(ze,gl)}},[ze,oi,Ir,w,ne,ri]),Zr=(0,ge.useCallback)(pr=>{pr==null?(oi.cancel(),ri.cancel(),wh.delete(ze),Vf.delete(ze),Gn.current&&Z0&&Gn.current.removeEventListener("beforeinput",kr)):Z0&&pr.addEventListener("beforeinput",kr),Gn.current=pr},[oi,ri,ze,kr]);kh(()=>{var pr=Ji.getWindow(ze);return pr.document.addEventListener("selectionchange",ri),()=>{pr.document.removeEventListener("selectionchange",ri)}},[ri]);var ai=S([ze,[]]),Vr=q&&ze.children.length===1&&Array.from(gs.texts(ze)).length===1&&gs.string(ze)===""&&!_n,Ki=(0,ge.useCallback)(pr=>{if(pr&&Vr){var Hi;Dn((Hi=pr.getBoundingClientRect())===null||Hi===void 0?void 0:Hi.height)}else Dn(void 0)},[Vr]);if(Vr){var As=Dt.start(ze,[]);ai.push({[o0]:!0,placeholder:q,onPlaceholderResize:Ki,anchor:As,focus:As})}var{marks:Gi}=ze;if(_r.hasMarkPlaceholder=!1,ze.selection&&xi.isCollapsed(ze.selection)&&Gi){var{anchor:ts}=ze.selection,Ps=gs.leaf(ze,ts.path),sa=Il(Ps,dh);if(!Ca.equals(Ps,Gi,{loose:!0})){_r.hasMarkPlaceholder=!0;var Ss=Object.fromEntries(Object.keys(sa).map(pr=>[pr,null]));ai.push(u0(u0(u0({[s4]:!0},Ss),Gi),{},{anchor:ts,focus:ts}))}}return(0,ge.useEffect)(()=>{setTimeout(()=>{var{selection:pr}=ze;if(pr){var{anchor:Hi}=pr,Li=gs.leaf(ze,Hi.path);if(Gi&&!Ca.equals(Li,Gi,{loose:!0})){Wd.set(ze,Gi);return}}Wd.delete(ze)})}),ge.createElement(ad.Provider,{value:ne},ge.createElement(J4.Provider,{value:S},ge.createElement(If,{node:Gn,receivedUserInput:hr},ge.createElement(ht,Object.assign({role:ne?void 0:"textbox","aria-multiline":ne?void 0:!0},Ft,{spellCheck:Z0||!Rh?Ft.spellCheck:!1,autoCorrect:Z0||!Rh?Ft.autoCorrect:"false",autoCapitalize:Z0||!Rh?Ft.autoCapitalize:"false","data-slate-editor":!0,"data-slate-node":"value",contentEditable:!ne,zindex:-1,suppressContentEditableWarning:!0,ref:Zr,style:u0(u0({},Bt?{}:u0({position:"relative",whiteSpace:"pre-wrap",wordWrap:"break-word"},mr?{minHeight:mr}:{})),nt),onBeforeInput:(0,ge.useCallback)(pr=>{if(!Z0&&!ne&&!md(pr,Ft.onBeforeInput)&&Ji.hasSelectableTarget(ze,pr.target)&&(pr.preventDefault(),!Ji.isComposing(ze))){var Hi=pr.data;Dt.insertText(ze,Hi)}},[Ft.onBeforeInput,ze,ne]),onInput:(0,ge.useCallback)(pr=>{if(!md(pr,Ft.onInput)){if(Br.current){Br.current.handleInput();return}for(var Hi of Vn.current)Hi();Vn.current=[]}},[Ft.onInput]),onBlur:(0,ge.useCallback)(pr=>{if(!(ne||_r.isUpdatingSelection||!Ji.hasSelectableTarget(ze,pr.target)||md(pr,Ft.onBlur))){var Hi=Ji.findDocumentOrShadowRoot(ze);if(_r.latestElement!==Hi.activeElement){var{relatedTarget:Li}=pr,ss=Ji.toDOMNode(ze,ze);if(Li!==ss&&!(xd(Li)&&Li.hasAttribute("data-slate-spacer"))){if(Li!=null&&Gd(Li)&&Ji.hasDOMNode(ze,Li)){var _i=Ji.toSlateNode(ze,Li);if(Us.isElement(_i)&&!ze.isVoid(_i))return}if(Oh){var ys=Hi.getSelection();ys?.removeAllRanges()}Ih.delete(ze)}}}},[ne,_r.isUpdatingSelection,_r.latestElement,ze,Ft.onBlur]),onClick:(0,ge.useCallback)(pr=>{if(Ji.hasTarget(ze,pr.target)&&!md(pr,Ft.onClick)&&Gd(pr.target)){var Hi=Ji.toSlateNode(ze,pr.target),Li=Ji.findPath(ze,Hi);if(!Dt.hasPath(ze,Li)||gs.get(ze,Li)!==Hi)return;if(pr.detail===Vg&&Li.length>=1){var ss=Li;if(!(Us.isElement(Hi)&&Dt.isBlock(ze,Hi))){var _i,ys=Dt.above(ze,{match:b0=>Us.isElement(b0)&&Dt.isBlock(ze,b0),at:Li});ss=(_i=ys?.[1])!==null&&_i!==void 0?_i:Li.slice(0,1)}var $a=Dt.range(ze,ss);vi.select(ze,$a);return}if(ne)return;var _o=Dt.start(ze,Li),$o=Dt.end(ze,Li),Ku=Dt.void(ze,{at:_o}),La=Dt.void(ze,{at:$o});if(Ku&&La&&Ar.equals(Ku[1],La[1])){var zl=Dt.range(ze,_o);vi.select(ze,zl)}}},[ze,Ft.onClick,ne]),onCompositionEnd:(0,ge.useCallback)(pr=>{if(Ji.hasSelectableTarget(ze,pr.target)){var Hi;if(Ji.isComposing(ze)&&(On(!1),Mh.set(ze,!1)),(Hi=Br.current)===null||Hi===void 0||Hi.handleCompositionEnd(pr),md(pr,Ft.onCompositionEnd)||M0)return;if(!Oh&&!Mm&&!xh&&!wg&&!Nm&&pr.data){var Li=Wd.get(ze);Wd.delete(ze),Li!==void 0&&(Kf.set(ze,ze.marks),ze.marks=Li),Dt.insertText(ze,pr.data);var ss=Kf.get(ze);Kf.delete(ze),ss!==void 0&&(ze.marks=ss)}}},[Ft.onCompositionEnd,ze]),onCompositionUpdate:(0,ge.useCallback)(pr=>{Ji.hasSelectableTarget(ze,pr.target)&&!md(pr,Ft.onCompositionUpdate)&&(Ji.isComposing(ze)||(On(!0),Mh.set(ze,!0)))},[Ft.onCompositionUpdate,ze]),onCompositionStart:(0,ge.useCallback)(pr=>{if(Ji.hasSelectableTarget(ze,pr.target)){var Hi;if((Hi=Br.current)===null||Hi===void 0||Hi.handleCompositionStart(pr),md(pr,Ft.onCompositionStart)||M0)return;On(!0);var{selection:Li}=ze;if(Li){if(xi.isExpanded(Li)){Dt.deleteFragment(ze);return}var ss=Dt.above(ze,{match:$a=>Us.isElement($a)&&Dt.isInline(ze,$a),mode:"highest"});if(ss){var[,_i]=ss;if(Dt.isEnd(ze,Li.anchor,_i)){var ys=Dt.after(ze,_i);vi.setSelection(ze,{anchor:ys,focus:ys})}}}}},[Ft.onCompositionStart,ze]),onCopy:(0,ge.useCallback)(pr=>{Ji.hasSelectableTarget(ze,pr.target)&&!md(pr,Ft.onCopy)&&!tm(pr)&&(pr.preventDefault(),Ji.setFragmentData(ze,pr.clipboardData,"copy"))},[Ft.onCopy,ze]),onCut:(0,ge.useCallback)(pr=>{if(!ne&&Ji.hasSelectableTarget(ze,pr.target)&&!md(pr,Ft.onCut)&&!tm(pr)){pr.preventDefault(),Ji.setFragmentData(ze,pr.clipboardData,"cut");var{selection:Hi}=ze;if(Hi)if(xi.isExpanded(Hi))Dt.deleteFragment(ze);else{var Li=gs.parent(ze,Hi.anchor.path);Dt.isVoid(ze,Li)&&vi.delete(ze)}}},[ne,ze,Ft.onCut]),onDragOver:(0,ge.useCallback)(pr=>{if(Ji.hasTarget(ze,pr.target)&&!md(pr,Ft.onDragOver)){var Hi=Ji.toSlateNode(ze,pr.target);Us.isElement(Hi)&&Dt.isVoid(ze,Hi)&&pr.preventDefault()}},[Ft.onDragOver,ze]),onDragStart:(0,ge.useCallback)(pr=>{if(!ne&&Ji.hasTarget(ze,pr.target)&&!md(pr,Ft.onDragStart)){var Hi=Ji.toSlateNode(ze,pr.target),Li=Ji.findPath(ze,Hi),ss=Us.isElement(Hi)&&Dt.isVoid(ze,Hi)||Dt.void(ze,{at:Li,voids:!0});if(ss){var _i=Dt.range(ze,Li);vi.select(ze,_i)}_r.isDraggingInternally=!0,Ji.setFragmentData(ze,pr.dataTransfer,"drag")}},[ne,ze,Ft.onDragStart,_r]),onDrop:(0,ge.useCallback)(pr=>{if(!ne&&Ji.hasTarget(ze,pr.target)&&!md(pr,Ft.onDrop)){pr.preventDefault();var Hi=ze.selection,Li=Ji.findEventRange(ze,pr),ss=pr.dataTransfer;vi.select(ze,Li),_r.isDraggingInternally&&Hi&&!xi.equals(Hi,Li)&&!Dt.void(ze,{at:Li,voids:!0})&&vi.delete(ze,{at:Hi}),Ji.insertData(ze,ss),Ji.isFocused(ze)||Ji.focus(ze)}_r.isDraggingInternally=!1},[ne,ze,Ft.onDrop,_r]),onDragEnd:(0,ge.useCallback)(pr=>{!ne&&_r.isDraggingInternally&&Ft.onDragEnd&&Ji.hasTarget(ze,pr.target)&&Ft.onDragEnd(pr),_r.isDraggingInternally=!1},[ne,_r,Ft,ze]),onFocus:(0,ge.useCallback)(pr=>{if(!ne&&!_r.isUpdatingSelection&&Ji.hasEditableTarget(ze,pr.target)&&!md(pr,Ft.onFocus)){var Hi=Ji.toDOMNode(ze,ze),Li=Ji.findDocumentOrShadowRoot(ze);if(_r.latestElement=Li.activeElement,uh&&pr.target!==Hi){Hi.focus();return}Ih.set(ze,!0)}},[ne,_r,ze,Ft.onFocus]),onKeyDown:(0,ge.useCallback)(pr=>{if(!ne&&Ji.hasEditableTarget(ze,pr.target)){var Hi;(Hi=Br.current)===null||Hi===void 0||Hi.handleKeyDown(pr);var{nativeEvent:Li}=pr;if(Ji.isComposing(ze)&&Li.isComposing===!1&&(Mh.set(ze,!1),On(!1)),md(pr,Ft.onKeyDown)||Ji.isComposing(ze))return;var{selection:ss}=ze,_i=ze.children[ss!==null?ss.focus.path[0]:0],ys=ff()(gs.string(_i))==="rtl";if(Oc.isRedo(Li)){pr.preventDefault();var $a=ze;typeof $a.redo=="function"&&$a.redo();return}if(Oc.isUndo(Li)){pr.preventDefault();var _o=ze;typeof _o.undo=="function"&&_o.undo();return}if(Oc.isMoveLineBackward(Li)){pr.preventDefault(),vi.move(ze,{unit:"line",reverse:!0});return}if(Oc.isMoveLineForward(Li)){pr.preventDefault(),vi.move(ze,{unit:"line"});return}if(Oc.isExtendLineBackward(Li)){pr.preventDefault(),vi.move(ze,{unit:"line",edge:"focus",reverse:!0});return}if(Oc.isExtendLineForward(Li)){pr.preventDefault(),vi.move(ze,{unit:"line",edge:"focus"});return}if(Oc.isMoveBackward(Li)){pr.preventDefault(),ss&&xi.isCollapsed(ss)?vi.move(ze,{reverse:!ys}):vi.collapse(ze,{edge:"start"});return}if(Oc.isMoveForward(Li)){pr.preventDefault(),ss&&xi.isCollapsed(ss)?vi.move(ze,{reverse:ys}):vi.collapse(ze,{edge:"end"});return}if(Oc.isMoveWordBackward(Li)){pr.preventDefault(),ss&&xi.isExpanded(ss)&&vi.collapse(ze,{edge:"focus"}),vi.move(ze,{unit:"word",reverse:!ys});return}if(Oc.isMoveWordForward(Li)){pr.preventDefault(),ss&&xi.isExpanded(ss)&&vi.collapse(ze,{edge:"focus"}),vi.move(ze,{unit:"word",reverse:ys});return}if(Z0){if((Im||Oh)&&ss&&(Oc.isDeleteBackward(Li)||Oc.isDeleteForward(Li))&&xi.isCollapsed(ss)){var $o=gs.parent(ze,ss.anchor.path);if(Us.isElement($o)&&Dt.isVoid(ze,$o)&&(Dt.isInline(ze,$o)||Dt.isBlock(ze,$o))){pr.preventDefault(),Dt.deleteBackward(ze,{unit:"block"});return}}}else{if(Oc.isBold(Li)||Oc.isItalic(Li)||Oc.isTransposeCharacter(Li)){pr.preventDefault();return}if(Oc.isSoftBreak(Li)){pr.preventDefault(),Dt.insertSoftBreak(ze);return}if(Oc.isSplitBlock(Li)){pr.preventDefault(),Dt.insertBreak(ze);return}if(Oc.isDeleteBackward(Li)){pr.preventDefault(),ss&&xi.isExpanded(ss)?Dt.deleteFragment(ze,{direction:"backward"}):Dt.deleteBackward(ze);return}if(Oc.isDeleteForward(Li)){pr.preventDefault(),ss&&xi.isExpanded(ss)?Dt.deleteFragment(ze,{direction:"forward"}):Dt.deleteForward(ze);return}if(Oc.isDeleteLineBackward(Li)){pr.preventDefault(),ss&&xi.isExpanded(ss)?Dt.deleteFragment(ze,{direction:"backward"}):Dt.deleteBackward(ze,{unit:"line"});return}if(Oc.isDeleteLineForward(Li)){pr.preventDefault(),ss&&xi.isExpanded(ss)?Dt.deleteFragment(ze,{direction:"forward"}):Dt.deleteForward(ze,{unit:"line"});return}if(Oc.isDeleteWordBackward(Li)){pr.preventDefault(),ss&&xi.isExpanded(ss)?Dt.deleteFragment(ze,{direction:"backward"}):Dt.deleteBackward(ze,{unit:"word"});return}if(Oc.isDeleteWordForward(Li)){pr.preventDefault(),ss&&xi.isExpanded(ss)?Dt.deleteFragment(ze,{direction:"forward"}):Dt.deleteForward(ze,{unit:"word"});return}}}},[ne,ze,Ft.onKeyDown]),onPaste:(0,ge.useCallback)(pr=>{!ne&&Ji.hasEditableTarget(ze,pr.target)&&!md(pr,Ft.onPaste)&&(!Z0||Dp(pr.nativeEvent)||Oh)&&(pr.preventDefault(),Ji.insertData(ze,pr.clipboardData))},[ne,ze,Ft.onPaste])}),ge.createElement(Vm,{decorations:ai,node:ze,renderElement:se,renderPlaceholder:Te,renderLeaf:Ee,selection:ze.selection})))))},Y3=u=>{var{attributes:f,children:E}=u;return ge.createElement("span",Object.assign({},f),E,M0&&ge.createElement("br",null))},Q3=()=>[],f4=(u,f)=>{if(f.getBoundingClientRect&&(!u.selection||u.selection&&xi.isCollapsed(u.selection))){var E=f.startContainer.parentElement;E.getBoundingClientRect=f.getBoundingClientRect.bind(f),$0(E,{scrollMode:"if-needed"}),delete E.getBoundingClientRect}},md=(u,f)=>{if(!f)return!1;var E=f(u);return E??(u.isDefaultPrevented()||u.isPropagationStopped())},tm=u=>Gd(u.target)&&(u.target instanceof HTMLInputElement||u.target instanceof HTMLTextAreaElement),Z3=(u,f)=>{if(!f)return!1;var E=f(u);return E??u.defaultPrevented},Qg=(0,ge.createContext)(!1),nm=()=>(0,ge.useContext)(Qg);function rm(u){return u instanceof Error}var im=(0,ge.createContext)({}),X3=(u,f)=>u===f;function J3(u){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:X3,[,E]=useReducer(Me=>Me+1,0),S=useContext(im);if(!S)throw new Error("The `useSlateSelector` hook must be used inside the <Slate> component's context.");var{getSlate:w,addEventListener:q}=S,ne=useRef(),se=useRef(()=>null),Ee=useRef(null),Te;try{u!==se.current||ne.current?Te=u(w()):Te=Ee.current}catch(Me){throw ne.current&&rm(Me)&&(Me.message+=`
The error may be correlated with this previous error:
`.concat(ne.current.stack,`

`)),Me}return kh(()=>{se.current=u,Ee.current=Te,ne.current=void 0}),kh(()=>{function Me(){try{var ht=se.current(w());if(f(ht,Ee.current))return;Ee.current=ht}catch(Bt){ne.current=Bt}E()}var nt=q(Me);return Me(),()=>nt()},[q,w]),Te}function Zg(u){var f=(0,ge.useRef)([]).current,E=(0,ge.useRef)({editor:u}).current,S=(0,ge.useCallback)(q=>{E.editor=q,f.forEach(ne=>ne(q))},[f,E]),w=(0,ge.useMemo)(()=>({getSlate:()=>E.editor,addEventListener:q=>(f.push(q),()=>{f.splice(f.indexOf(q),1)})}),[f,E]);return{selectorContext:w,onChange:S}}var h4=["editor","children","onChange","initialValue"],Xg=u=>{var{editor:f,children:E,onChange:S,initialValue:w}=u,q=Il(u,h4),ne=(0,ge.useRef)(!1),[se,Ee]=ge.useState(()=>{if(!gs.isNodeList(w))throw new Error("[Slate] initialValue is invalid! Expected a list of elements but got: ".concat(hl.stringify(w)));if(!Dt.isEditor(f))throw new Error("[Slate] editor is invalid! You passed: ".concat(hl.stringify(f)));return f.children=w,Object.assign(f,q),{v:0,editor:f}}),{selectorContext:Te,onChange:Me}=Zg(f),nt=(0,ge.useCallback)(()=>{S&&S(f.children),Ee(Ft=>({v:Ft.v+1,editor:f})),Me(f)},[f,Me,S]);(0,ge.useEffect)(()=>(Nh.set(f,nt),()=>{Nh.set(f,()=>{}),ne.current=!0}),[f,nt]);var[ht,Bt]=(0,ge.useState)(Ji.isFocused(f));return(0,ge.useEffect)(()=>{Bt(Ji.isFocused(f))},[f]),kh(()=>{var Ft=()=>Bt(Ji.isFocused(f));return $d>=17?(document.addEventListener("focusin",Ft),document.addEventListener("focusout",Ft),()=>{document.removeEventListener("focusin",Ft),document.removeEventListener("focusout",Ft)}):(document.addEventListener("focus",Ft,!0),document.addEventListener("blur",Ft,!0),()=>{document.removeEventListener("focus",Ft,!0),document.removeEventListener("blur",Ft,!0)})},[]),ge.createElement(im.Provider,{value:Te},ge.createElement(em.Provider,{value:se},ge.createElement(ah.Provider,{value:se.editor},ge.createElement(Qg.Provider,{value:ht},E))))},q3=()=>{var u=useContext(ah);if(!u)throw new Error("The `useEditor` hook must be used inside the <Slate> component's context.");return u},sm=()=>J3(u=>u.selection,am),am=(u,f)=>!u&&!f?!0:!u||!f?!1:Range.equals(u,f),om=(u,f)=>{var E=(f.top+f.bottom)/2;return u.top<=E&&u.bottom>=E},um=(u,f,E)=>{var S=Ji.toDOMRange(u,f).getBoundingClientRect(),w=Ji.toDOMRange(u,E).getBoundingClientRect();return om(S,w)&&om(w,S)},Ym=(u,f)=>{var E=Dt.range(u,xi.end(f)),S=Array.from(Dt.positions(u,{at:f})),w=0,q=S.length,ne=Math.floor(q/2);if(um(u,Dt.range(u,S[w]),E))return Dt.range(u,S[w],E);if(S.length<2)return Dt.range(u,S[S.length-1],E);for(;ne!==S.length&&ne!==w;)um(u,Dt.range(u,S[ne]),E)?q=ne:w=ne,ne=Math.floor((w+q)/2);return Dt.range(u,S[q],E)};function lm(u,f){var E=Object.keys(u);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(u);f&&(S=S.filter(function(w){return Object.getOwnPropertyDescriptor(u,w).enumerable})),E.push.apply(E,S)}return E}function p4(u){for(var f=1;f<arguments.length;f++){var E=arguments[f]!=null?arguments[f]:{};f%2?lm(Object(E),!0).forEach(function(S){n4(u,S,E[S])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(E)):lm(Object(E)).forEach(function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(E,S))})}return u}var fh=function(f){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"x-slate-fragment",S=f,{apply:w,onChange:q,deleteBackward:ne,addMark:se,removeMark:Ee}=S;return Rf.set(S,new WeakMap),S.addMark=(Te,Me)=>{var nt,ht;(nt=Ph.get(S))===null||nt===void 0||nt(),!Wd.get(S)&&(ht=hd.get(S))!==null&&ht!==void 0&&ht.length&&Wd.set(S,null),Kf.delete(S),se(Te,Me)},S.removeMark=Te=>{var Me;!Wd.get(S)&&(Me=hd.get(S))!==null&&Me!==void 0&&Me.length&&Wd.set(S,null),Kf.delete(S),Ee(Te)},S.deleteBackward=Te=>{if(Te!=="line")return ne(Te);if(S.selection&&xi.isCollapsed(S.selection)){var Me=Dt.above(S,{match:Ft=>Us.isElement(Ft)&&Dt.isBlock(S,Ft),at:S.selection});if(Me){var[,nt]=Me,ht=Dt.range(S,nt,S.selection.anchor),Bt=Ym(S,ht);xi.isCollapsed(Bt)||vi.delete(S,{at:Bt})}}},S.apply=Te=>{var Me=[],nt=hd.get(S);if(nt!=null&&nt.length){var ht=nt.map(Ir=>Fm(Ir,Te)).filter(Boolean);hd.set(S,ht)}var Bt=lh.get(S);Bt&&lh.set(S,up(S,Bt,Te));var Ft=Lh.get(S);if(Ft!=null&&Ft.at){var ze=ro.isPoint(Ft?.at)?z4(S,Ft.at,Te):up(S,Ft.at,Te);Lh.set(S,ze?p4(p4({},Ft),{},{at:ze}):null)}switch(Te.type){case"insert_text":case"remove_text":case"set_node":case"split_node":{Me.push(...m4(S,Te.path));break}case"set_selection":{var _n;(_n=sp.get(S))===null||_n===void 0||_n.unref(),sp.delete(S);break}case"insert_node":case"remove_node":{Me.push(...m4(S,Ar.parent(Te.path)));break}case"merge_node":{var On=Ar.previous(Te.path);Me.push(...m4(S,On));break}case"move_node":{var Gn=Ar.common(Ar.parent(Te.path),Ar.parent(Te.newPath));Me.push(...m4(S,Gn));break}}w(Te);for(var[Vn,mr]of Me){var[Dn]=Dt.node(S,Vn);rp.set(Dn,mr)}},S.setFragmentData=Te=>{var{selection:Me}=S;if(Me){var[nt,ht]=xi.edges(Me),Bt=Dt.void(S,{at:nt.path}),Ft=Dt.void(S,{at:ht.path});if(!(xi.isCollapsed(Me)&&!Bt)){var ze=Ji.toDOMRange(S,Me),_n=ze.cloneContents(),On=_n.childNodes[0];if(_n.childNodes.forEach(Br=>{Br.textContent&&Br.textContent.trim()!==""&&(On=Br)}),Ft){var[Gn]=Ft,Vn=ze.cloneRange(),mr=Ji.toDOMNode(S,Gn);Vn.setEndAfter(mr),_n=Vn.cloneContents()}if(Bt&&(On=_n.querySelector("[data-slate-spacer]")),Array.from(_n.querySelectorAll("[data-slate-zero-width]")).forEach(Br=>{var oi=Br.getAttribute("data-slate-zero-width")==="n";Br.textContent=oi?`
`:""}),Bh(On)){var Dn=On.ownerDocument.createElement("span");Dn.style.whiteSpace="pre",Dn.appendChild(On),_n.appendChild(Dn),On=Dn}var Ir=S.getFragment(),hr=JSON.stringify(Ir),Mr=window.btoa(encodeURIComponent(hr));On.setAttribute("data-slate-fragment",Mr),Te.setData("application/".concat(E),Mr);var _r=_n.ownerDocument.createElement("div");return _r.appendChild(_n),_r.setAttribute("hidden","true"),_n.ownerDocument.body.appendChild(_r),Te.setData("text/html",_r.innerHTML),Te.setData("text/plain",Lm(_r)),_n.ownerDocument.body.removeChild(_r),Te}}},S.insertData=Te=>{S.insertFragmentData(Te)||S.insertTextData(Te)},S.insertFragmentData=Te=>{var Me=Te.getData("application/".concat(E))||Bm(Te);if(Me){var nt=decodeURIComponent(window.atob(Me)),ht=JSON.parse(nt);return S.insertFragment(ht),!0}return!1},S.insertTextData=Te=>{var Me=Te.getData("text/plain");if(Me){var nt=Me.split(/\r\n|\r|\n/),ht=!1;for(var Bt of nt)ht&&vi.splitNodes(S,{always:!0}),S.insertText(Bt),ht=!0;return!0}return!1},S.onChange=Te=>{var Me=$d<18?Qn.unstable_batchedUpdates:nt=>nt();Me(()=>{var nt=Nh.get(S);nt&&nt(),q(Te)})},S},m4=(u,f)=>{var E=[];for(var[S,w]of Dt.levels(u,{at:f})){var q=Ji.findKey(u,S);E.push([w,q])}return E},Qm=e(4731),Zf=e(38416),$h=e(91224);const Jg="Separator",cm="horizontal",Zm=["horizontal","vertical"],dm=(0,ge.forwardRef)((u,f)=>{const{decorative:E,orientation:S=cm,...w}=u,q=Od(S)?S:cm,se=E?{role:"none"}:{"aria-orientation":q==="vertical"?q:void 0,role:"separator"};return(0,ge.createElement)($h.K0.div,(0,Tn.c)({"data-orientation":q},se,w,{ref:f}))});dm.propTypes={orientation(u,f,E){const S=u[f],w=String(S);return S&&!Od(S)?new Error(ev(w,E)):null}};function ev(u,f){return`Invalid prop \`orientation\` of value \`${u}\` supplied to \`${f}\`, expected one of:
  - horizontal
  - vertical

Defaulting to \`${cm}\`.`}function Od(u){return Zm.includes(u)}const g4=dm;var I=e(75336);const H="Toggle",ue=(0,ge.forwardRef)((u,f)=>{const{pressed:E,defaultPressed:S=!1,onPressedChange:w,...q}=u,[ne=!1,se]=(0,I.W)({prop:E,onChange:w,defaultProp:S});return(0,ge.createElement)($h.K0.button,(0,Tn.c)({type:"button","aria-pressed":ne,"data-state":ne?"on":"off","data-disabled":u.disabled?"":void 0},q,{ref:f,onClick:(0,Qm.K)(u.onClick,()=>{u.disabled||se(!ne)})}))}),rt=null;var Kt=e(84088);const Mn="ToggleGroup",[Dr,Gr]=(0,ut._)(Mn,[Zf.qo]),gi=(0,Zf.qo)(),us=ge.forwardRef((u,f)=>{const{type:E,...S}=u;if(E==="single"){const w=S;return ge.createElement(Sa,(0,Tn.c)({},w,{ref:f}))}if(E==="multiple"){const w=S;return ge.createElement(Qa,(0,Tn.c)({},w,{ref:f}))}throw new Error(`Missing prop \`type\` expected on \`${Mn}\``)}),[es,ws]=Dr(Mn),Sa=ge.forwardRef((u,f)=>{const{value:E,defaultValue:S,onValueChange:w=()=>{},...q}=u,[ne,se]=(0,I.W)({prop:E,defaultProp:S,onChange:w});return ge.createElement(es,{scope:u.__scopeToggleGroup,type:"single",value:ne?[ne]:[],onItemActivate:se,onItemDeactivate:ge.useCallback(()=>se(""),[se])},ge.createElement(go,(0,Tn.c)({},q,{ref:f})))}),Qa=ge.forwardRef((u,f)=>{const{value:E,defaultValue:S,onValueChange:w=()=>{},...q}=u,[ne=[],se]=(0,I.W)({prop:E,defaultProp:S,onChange:w}),Ee=ge.useCallback(Me=>se((nt=[])=>[...nt,Me]),[se]),Te=ge.useCallback(Me=>se((nt=[])=>nt.filter(ht=>ht!==Me)),[se]);return ge.createElement(es,{scope:u.__scopeToggleGroup,type:"multiple",value:ne,onItemActivate:Ee,onItemDeactivate:Te},ge.createElement(go,(0,Tn.c)({},q,{ref:f})))}),[mo,nu]=Dr(Mn),go=ge.forwardRef((u,f)=>{const{__scopeToggleGroup:E,disabled:S=!1,rovingFocus:w=!0,orientation:q,dir:ne,loop:se=!0,...Ee}=u,Te=gi(E),Me=(0,Kt.cz)(ne),nt={role:"group",dir:Me,...Ee};return ge.createElement(mo,{scope:E,rovingFocus:w,disabled:S},w?ge.createElement(Zf.Ss,(0,Tn.c)({asChild:!0},Te,{orientation:q,dir:Me,loop:se}),ge.createElement($h.K0.div,(0,Tn.c)({},nt,{ref:f}))):ge.createElement($h.K0.div,(0,Tn.c)({},nt,{ref:f})))}),au="ToggleGroupItem",mu=ge.forwardRef((u,f)=>{const E=ws(au,u.__scopeToggleGroup),S=nu(au,u.__scopeToggleGroup),w=gi(u.__scopeToggleGroup),q=E.value.includes(u.value),ne=S.disabled||u.disabled,se={...u,pressed:q,disabled:ne},Ee=ge.useRef(null);return S.rovingFocus?ge.createElement(Zf.iY,(0,Tn.c)({asChild:!0},w,{focusable:!ne,active:q,ref:Ee}),ge.createElement(W0,(0,Tn.c)({},se,{ref:f}))):ge.createElement(W0,(0,Tn.c)({},se,{ref:f}))}),W0=ge.forwardRef((u,f)=>{const{__scopeToggleGroup:E,value:S,...w}=u,q=ws(au,E),ne={role:"radio","aria-checked":u.pressed,"aria-pressed":void 0},se=q.type==="single"?ne:void 0;return ge.createElement(ue,(0,Tn.c)({},se,w,{ref:f,onPressedChange:Ee=>{Ee?q.onItemActivate(S):q.onItemDeactivate(S)}}))}),Rd=us,hh=mu,Rc="Toolbar",[nf,v4]=(0,ut._)(Rc,[Zf.qo,Gr]),E4=(0,Zf.qo)(),qg=Gr(),[tv,e3]=nf(Rc),t3=(0,ge.forwardRef)((u,f)=>{const{__scopeToolbar:E,orientation:S="horizontal",dir:w,loop:q=!0,...ne}=u,se=E4(E),Ee=(0,Kt.cz)(w);return(0,ge.createElement)(tv,{scope:E,orientation:S,dir:Ee},(0,ge.createElement)(Zf.Ss,(0,Tn.c)({asChild:!0},se,{orientation:S,dir:Ee,loop:q}),(0,ge.createElement)($h.K0.div,(0,Tn.c)({role:"toolbar","aria-orientation":S,dir:Ee},ne,{ref:f}))))}),nv="ToolbarSeparator",rv=(0,ge.forwardRef)((u,f)=>{const{__scopeToolbar:E,...S}=u,w=e3(nv,E);return(0,ge.createElement)(g4,(0,Tn.c)({orientation:w.orientation==="horizontal"?"vertical":"horizontal"},S,{ref:f}))}),UE="ToolbarButton",iv=(0,ge.forwardRef)((u,f)=>{const{__scopeToolbar:E,...S}=u,w=E4(E);return(0,ge.createElement)(Zf.iY,(0,Tn.c)({asChild:!0},w,{focusable:!u.disabled}),(0,ge.createElement)($h.K0.button,(0,Tn.c)({type:"button"},S,{ref:f})))}),_4="ToolbarLink",Xm=(0,ge.forwardRef)((u,f)=>{const{__scopeToolbar:E,...S}=u,w=E4(E);return(0,ge.createElement)(Zf.iY,(0,Tn.c)({asChild:!0},w,{focusable:!0}),(0,ge.createElement)($h.K0.a,(0,Tn.c)({},S,{ref:f,onKeyDown:(0,Qm.K)(u.onKeyDown,q=>{q.key===" "&&q.currentTarget.click()})})))}),n3="ToolbarToggleGroup",Jm=(0,ge.forwardRef)((u,f)=>{const{__scopeToolbar:E,...S}=u,w=e3(n3,E),q=qg(E);return(0,ge.createElement)(Rd,(0,Tn.c)({"data-orientation":w.orientation,dir:w.dir},q,S,{ref:f,rovingFocus:!1}))}),sv="ToolbarToggleItem",r3=(0,ge.forwardRef)((u,f)=>{const{__scopeToolbar:E,...S}=u,w=qg(E),q={__scopeToolbar:u.__scopeToolbar};return(0,ge.createElement)(iv,(0,Tn.c)({asChild:!0},q),(0,ge.createElement)(hh,(0,Tn.c)({},w,S,{ref:f})))}),av=t3,jE=rv,T_=null,Gy=null,ov=Jm,$E=r3;var uv=e(52600),lv=e(81748),i3=e(95752),qm=e(37388),cv=e(61840),dv=e(49108),WE=e(44632),fv=e(50840),HE=e(20252),GE=e(86432),zE=e(22612),D_=e(24808),VE=e(24024),A_=e(40960),x_=e(33656),s3=e(43280),mf=e(79804),KE=e(29576),lp=e(61152);const a3="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function fm(u,f,E){const S=E[0];if(f!=null&&u>=f)throw new Error(u+" >= "+f);if(u.slice(-1)===S||f&&f.slice(-1)===S)throw new Error("trailing zero");if(f){let ne=0;for(;(u[ne]||S)===f[ne];)ne++;if(ne>0)return f.slice(0,ne)+fm(u.slice(ne),f.slice(ne),E)}const w=u?E.indexOf(u[0]):0,q=f!=null?E.indexOf(f[0]):E.length;if(q-w>1){const ne=Math.round(.5*(w+q));return E[ne]}else return f&&f.length>1?f.slice(0,1):E[w]+fm(u.slice(1),null,E)}function hv(u){if(u.length!==pv(u[0]))throw new Error("invalid integer part of order key: "+u)}function pv(u){if(u>="a"&&u<="z")return u.charCodeAt(0)-"a".charCodeAt(0)+2;if(u>="A"&&u<="Z")return"Z".charCodeAt(0)-u.charCodeAt(0)+2;throw new Error("invalid order key head: "+u)}function hm(u){const f=pv(u[0]);if(f>u.length)throw new Error("invalid order key: "+u);return u.slice(0,f)}function mv(u,f){if(u==="A"+f[0].repeat(26))throw new Error("invalid order key: "+u);const E=hm(u);if(u.slice(E.length).slice(-1)===f[0])throw new Error("invalid order key: "+u)}function yc(u,f){hv(u);const[E,...S]=u.split("");let w=!0;for(let q=S.length-1;w&&q>=0;q--){const ne=f.indexOf(S[q])+1;ne===f.length?S[q]=f[0]:(S[q]=f[ne],w=!1)}if(w){if(E==="Z")return"a"+f[0];if(E==="z")return null;const q=String.fromCharCode(E.charCodeAt(0)+1);return q>"a"?S.push(f[0]):S.pop(),q+S.join("")}else return E+S.join("")}function gv(u,f){hv(u);const[E,...S]=u.split("");let w=!0;for(let q=S.length-1;w&&q>=0;q--){const ne=f.indexOf(S[q])-1;ne===-1?S[q]=f.slice(-1):(S[q]=f[ne],w=!1)}if(w){if(E==="a")return"Z"+f.slice(-1);if(E==="A")return null;const q=String.fromCharCode(E.charCodeAt(0)-1);return q<"Z"?S.push(f.slice(-1)):S.pop(),q+S.join("")}else return E+S.join("")}function Lp(u,f,E=a3){if(u!=null&&mv(u,E),f!=null&&mv(f,E),u!=null&&f!=null&&u>=f)throw new Error(u+" >= "+f);if(u==null){if(f==null)return"a"+E[0];const Ee=hm(f),Te=f.slice(Ee.length);if(Ee==="A"+E[0].repeat(26))return Ee+fm("",Te,E);if(Ee<f)return Ee;const Me=gv(Ee,E);if(Me==null)throw new Error("cannot decrement any more");return Me}if(f==null){const Ee=hm(u),Te=u.slice(Ee.length),Me=yc(Ee,E);return Me??Ee+fm(Te,null,E)}const S=hm(u),w=u.slice(S.length),q=hm(f),ne=f.slice(q.length);if(S===q)return S+fm(w,ne,E);const se=yc(S,E);if(se==null)throw new Error("cannot increment any more");return se<f?se:S+fm(w,null,E)}function ph(u,f,E,S=a3){if(E===0)return[];if(E===1)return[Lp(u,f,S)];if(f==null){let ne=Lp(u,f,S);const se=[ne];for(let Ee=0;Ee<E-1;Ee++)ne=Lp(ne,f,S),se.push(ne);return se}if(u==null){let ne=Lp(u,f,S);const se=[ne];for(let Ee=0;Ee<E-1;Ee++)ne=Lp(u,ne,S),se.push(ne);return se.reverse(),se}const w=Math.floor(E/2),q=Lp(u,f,S);return[...ph(u,q,w,S),q,...ph(q,f,E-w-1,S)]}var o3=e(9589),u3=e(45488),vv=e(75516),l3=e(27860);const y4=`
.strapi--root {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #fff;
}

.strapi--no-js {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: helvetica, arial, sans-serif;
}
`,Ev=()=>(0,i.jsx)("noscript",{children:(0,i.jsx)("div",{className:"strapi--root",children:(0,i.jsxs)("div",{className:"strapi--no-js",children:[(0,i.jsx)("style",{type:"text/css",children:y4}),(0,i.jsx)("h1",{children:"JavaScript disabled"}),(0,i.jsxs)("p",{children:["Please ",(0,i.jsx)("a",{href:"https://www.enable-javascript.com/",children:"enable JavaScript"})," in your browser and reload the page to proceed."]})]})})}),YE=`
  html,
  body,
  #strapi {
    height: 100%;
  }
  body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
  }
`,eg=({entryPath:u})=>(0,i.jsxs)("html",{lang:"en",children:[(0,i.jsxs)("head",{children:[(0,i.jsx)("meta",{charSet:"utf-8"}),(0,i.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, viewport-fit=cover"}),(0,i.jsx)("meta",{name:"robots",content:"noindex"}),(0,i.jsx)("meta",{name:"referrer",content:"same-origin"}),(0,i.jsx)("title",{children:"Strapi Admin"}),(0,i.jsx)("style",{children:YE})]}),(0,i.jsxs)("body",{children:[(0,i.jsx)("div",{id:"strapi"}),(0,i.jsx)(Ev,{}),u?(0,i.jsx)("script",{type:"module",src:u}):null]})]}),c3=(u,f)=>{const E=u[f];return E?typeof E=="function"?E():Promise.resolve(E):new Promise((S,w)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(w.bind(null,new Error("Unknown variable dynamic import: "+f)))})};function tg(u,f){const E=qt(f),S=q=>{const{children:ne,...se}=q,Ee=ge.useMemo(()=>se,Object.values(se));return(0,i.jsx)(E.Provider,{value:Ee,children:ne})},w=(q,ne)=>sr(E,se=>{if(se)return ne(se);throw new Error(`\`${q}\` must be used within \`${u}\``)});return S.displayName=u+"Provider",[S,w]}const gf=kn.OY,QE=kn.o3,Vu=kn.w1,ZE=u=>(0,jr.M3)(f=>f,u),ng="STRAPI_THEME",d3="strapi-admin-language",_v=(0,vr.is)({name:"admin",initialState:()=>({language:{locale:"en",localeNames:{en:"English"}},permissions:{},theme:{availableThemes:[],currentTheme:localStorage.getItem(ng)||"system"}}),reducers:{setAdminPermissions(u,f){u.permissions=f.payload},setAppTheme(u,f){u.theme.currentTheme=f.payload,window.localStorage.setItem(ng,f.payload)},setAvailableThemes(u,f){u.theme.availableThemes=f.payload},setLocale(u,f){u.language.locale=f.payload,window.localStorage.setItem(d3,f.payload),document.documentElement.setAttribute("lang",f.payload)}}}),XE=_v.reducer,{setAdminPermissions:yv,setAppTheme:JE,setAvailableThemes:qE,setLocale:bv}=_v.actions,e1=()=>async(u,{signal:f})=>{try{const{get:E,post:S,del:w,put:q}=(0,a.YF)();if(typeof u=="string")return{data:(await E(u,{signal:f})).data};{const{url:ne,method:se="GET",data:Ee,config:Te}=u;return se==="POST"?{data:(await S(ne,Ee,{...Te,signal:f})).data}:se==="DELETE"?{data:(await w(ne,{...Te,signal:f})).data}:se==="PUT"?{data:(await q(ne,Ee,{...Te,signal:f})).data}:{data:(await E(ne,{...Te,signal:f})).data}}}catch(E){if((0,be.y4)(E))return typeof E.response?.data=="object"&&E.response?.data!==null&&"error"in E.response?.data?{data:void 0,error:E.response?.data.error}:{data:void 0,error:{name:"UnknownError",message:"There was an unknown error response from the API",details:E.response?.data,status:E.response?.status}};const S=E;return{data:void 0,error:{name:S.name,message:S.message,stack:S.stack}}}},b4=u=>u.name!==void 0,cp=(0,Wr.KS)({reducerPath:"adminApi",baseQuery:e1(),tagTypes:["ApiToken","LicenseLimits","Me","ProjectSettings","ProvidersOptions","ReviewWorkflow","ReviewWorkflowStage","Role","RolePermissions","TransferToken","User","Webhook"],endpoints:u=>({regenerateToken:u.mutation({query:f=>({method:"POST",url:`${f}/regenerate`}),transformResponse:f=>f.data})})}),{useRegenerateTokenMutation:Bp}=cp,O_=cp.injectEndpoints({endpoints:u=>({getMe:u.query({query:()=>({method:"GET",url:"/admin/users/me"}),transformResponse(f){return f.data},providesTags:f=>f?["Me",{type:"User",id:f.id}]:["Me"]}),getMyPermissions:u.query({query:()=>({method:"GET",url:"/admin/users/me/permissions"}),transformResponse(f){return f.data}}),updateMe:u.mutation({query:f=>({method:"PUT",url:"/admin/users/me",data:f}),transformResponse(f){return f.data},invalidatesTags:["Me"]}),login:u.mutation({query:f=>({method:"POST",url:"/admin/login",data:f}),transformResponse(f){return f.data},invalidatesTags:["Me"]}),logout:u.mutation({query:()=>({method:"POST",url:"/admin/logout"})}),resetPassword:u.mutation({query:f=>({method:"POST",url:"/admin/reset-password",data:f}),transformResponse(f){return f.data}}),renewToken:u.mutation({query:f=>({method:"POST",url:"/admin/renew-token",data:f}),transformResponse(f){return f.data}}),getRegistrationInfo:u.query({query:f=>({url:"/admin/registration-info",method:"GET",config:{params:{registrationToken:f}}}),transformResponse(f){return f.data}}),registerAdmin:u.mutation({query:f=>({method:"POST",url:"/admin/register-admin",data:f}),transformResponse(f){return f.data}}),registerUser:u.mutation({query:f=>({method:"POST",url:"/admin/register",data:f}),transformResponse(f){return f.data}}),forgotPassword:u.mutation({query:f=>({url:"/admin/forgot-password",method:"POST",data:f})}),isSSOLocked:u.query({query:()=>({url:"/admin/providers/isSSOLocked",method:"GET"}),transformResponse(f){return f.data}}),getProviders:u.query({query:()=>({url:"/admin/providers",method:"GET"})}),getProviderOptions:u.query({query:()=>({url:"/admin/providers/options",method:"GET"}),transformResponse(f){return f.data},providesTags:["ProvidersOptions"]}),updateProviderOptions:u.mutation({query:f=>({url:"/admin/providers/options",method:"PUT",data:f}),transformResponse(f){return f.data},invalidatesTags:["ProvidersOptions"]})}),overrideExisting:!1}),{useGetMeQuery:Cv,useLoginMutation:Sv,useRenewTokenMutation:C4,useLogoutMutation:t1,useUpdateMeMutation:n1,useResetPasswordMutation:S4,useRegisterAdminMutation:rg,useRegisterUserMutation:ig,useGetRegistrationInfoQuery:r1,useForgotPasswordMutation:i1,useGetMyPermissionsQuery:pm,useIsSSOLockedQuery:f3,useGetProvidersQuery:mh,useGetProviderOptionsQuery:R_,useUpdateProviderOptionsMutation:w_}=O_,[h3,gh]=tg("Auth"),Wh={TOKEN:"jwtToken",USER:"userInfo"},s1=({children:u})=>{const f=gf(),[E,S]=ge.useState(()=>{const ht=localStorage.getItem(Wh.TOKEN)??sessionStorage.getItem(Wh.TOKEN);return typeof ht=="string"?JSON.parse(ht):null}),{data:w}=Cv(void 0,{skip:!E}),{push:q}=(0,Ct.Uz)(),[ne]=Sv(),[se]=C4(),[Ee]=t1(),Te=ge.useCallback(()=>{localStorage.removeItem(Wh.TOKEN),localStorage.removeItem(Wh.USER),sessionStorage.removeItem(Wh.TOKEN),sessionStorage.removeItem(Wh.USER),S(null)},[]);ge.useEffect(()=>{const ht=localStorage.getItem(Wh.TOKEN)??sessionStorage.getItem(Wh.TOKEN);ht&&se({token:JSON.parse(ht)}).then(Bt=>{"data"in Bt?S(Bt.data.token):(Te(),q("/auth/login"))})},[se,Te,q]),ge.useEffect(()=>{a.cJ.setUserInfo(w,!0),w&&w.preferedLanguage&&f(bv(w.preferedLanguage))},[f,w]),ge.useEffect(()=>{a.cJ.setToken(E,!1)},[E]),ge.useEffect(()=>{const ht=Bt=>{Bt.key===Wh.USER&&Bt.newValue===null&&(Te(),q("/auth/login"))};return window.addEventListener("storage",ht),()=>{window.removeEventListener("storage",ht)}});const Me=ge.useCallback(async({rememberMe:ht,...Bt})=>{const Ft=await ne(Bt);if("data"in Ft){const{token:ze}=Ft.data;a.cJ.setToken(ze,ht),S(ze)}return Ft},[ne]),nt=ge.useCallback(async()=>{await Ee(),Te(),q("/auth/login")},[Te,Ee,q]);return(0,i.jsx)(h3,{token:E,user:w,login:Me,logout:nt,setToken:S,children:u})},T4=({children:u,...f})=>{const E=gh("PrivateRoute",S=>S.token);return(0,i.jsx)(Ct.kX,{...f,render:({location:{pathname:S,search:w}})=>E!==null?u:(0,i.jsx)(Ct.YJ,{to:{pathname:"/auth/login",search:S!=="/"?`?redirectTo=${encodeURIComponent(`${S}${w}`)}`:void 0}})})},mm={contentManager:{main:[],collectionTypesConfigurations:[{action:"plugin::content-manager.collection-types.configure-view",subject:null}],componentsConfigurations:[{action:"plugin::content-manager.components.configure-layout",subject:null}],singleTypesConfigurations:[{action:"plugin::content-manager.single-types.configure-view",subject:null}]},marketplace:{main:[{action:"admin::marketplace.read",subject:null}],read:[{action:"admin::marketplace.read",subject:null}]},settings:{roles:{main:[{action:"admin::roles.create",subject:null},{action:"admin::roles.update",subject:null},{action:"admin::roles.read",subject:null},{action:"admin::roles.delete",subject:null}],create:[{action:"admin::roles.create",subject:null}],delete:[{action:"admin::roles.delete",subject:null}],read:[{action:"admin::roles.read",subject:null}],update:[{action:"admin::roles.update",subject:null}]},users:{main:[{action:"admin::users.create",subject:null},{action:"admin::users.read",subject:null},{action:"admin::users.update",subject:null},{action:"admin::users.delete",subject:null}],create:[{action:"admin::users.create",subject:null}],delete:[{action:"admin::users.delete",subject:null}],read:[{action:"admin::users.read",subject:null}],update:[{action:"admin::users.update",subject:null}]},webhooks:{main:[{action:"admin::webhooks.create",subject:null},{action:"admin::webhooks.read",subject:null},{action:"admin::webhooks.update",subject:null},{action:"admin::webhooks.delete",subject:null}],create:[{action:"admin::webhooks.create",subject:null}],delete:[{action:"admin::webhooks.delete",subject:null}],read:[{action:"admin::webhooks.read",subject:null},{action:"admin::webhooks.update",subject:null},{action:"admin::webhooks.delete",subject:null}],update:[{action:"admin::webhooks.update",subject:null}]},"api-tokens":{main:[{action:"admin::api-tokens.access",subject:null}],create:[{action:"admin::api-tokens.create",subject:null}],delete:[{action:"admin::api-tokens.delete",subject:null}],read:[{action:"admin::api-tokens.read",subject:null}],update:[{action:"admin::api-tokens.update",subject:null}],regenerate:[{action:"admin::api-tokens.regenerate",subject:null}]},"transfer-tokens":{main:[{action:"admin::transfer.tokens.access",subject:null}],create:[{action:"admin::transfer.tokens.create",subject:null}],delete:[{action:"admin::transfer.tokens.delete",subject:null}],read:[{action:"admin::transfer.tokens.read",subject:null}],update:[{action:"admin::transfer.tokens.update",subject:null}],regenerate:[{action:"admin::transfer.tokens.regenerate",subject:null}]},"project-settings":{read:[{action:"admin::project-settings.read",subject:null}],update:[{action:"admin::project-settings.update",subject:null}]}}},Fp={INJECT_COLUMN_IN_TABLE:"Admin/CM/pages/ListView/inject-column-in-table",MUTATE_COLLECTION_TYPES_LINKS:"Admin/CM/pages/App/mutate-collection-types-links",MUTATE_EDIT_VIEW_LAYOUT:"Admin/CM/pages/EditView/mutate-edit-view-layout",MUTATE_SINGLE_TYPES_LINKS:"Admin/CM/pages/App/mutate-single-types-links"},a1=()=>({global:[{intlLabel:{id:"Settings.application.title",defaultMessage:"Overview"},to:"/settings/application-infos",id:"000-application-infos"},{intlLabel:{id:"Settings.webhooks.title",defaultMessage:"Webhooks"},to:"/settings/webhooks",id:"webhooks"},{intlLabel:{id:"Settings.apiTokens.title",defaultMessage:"API Tokens"},to:"/settings/api-tokens?sort=name:ASC",id:"api-tokens"},{intlLabel:{id:"Settings.transferTokens.title",defaultMessage:"Transfer Tokens"},to:"/settings/transfer-tokens?sort=name:ASC",id:"transfer-tokens"},...!window.strapi.features.isEnabled(window.strapi.features.SSO)&&window.strapi?.flags?.promoteEE?[{intlLabel:{id:"Settings.sso.title",defaultMessage:"Single Sign-On"},to:"/settings/purchase-single-sign-on",id:"sso",lockIcon:!0}]:[],...!window.strapi.features.isEnabled(window.strapi.features.REVIEW_WORKFLOWS)&&window.strapi?.flags?.promoteEE?[{intlLabel:{id:"Settings.review-workflows.page.title",defaultMessage:"Review Workflows"},to:"/settings/purchase-review-workflows",id:"review-workflows",lockIcon:!0}]:[]],admin:[{intlLabel:{id:"global.roles",defaultMessage:"Roles"},to:"/settings/roles",id:"roles"},{intlLabel:{id:"global.users",defaultMessage:"Users"},to:"/settings/users?pageSize=10&page=1&sort=firstname",id:"users"},...!window.strapi.features.isEnabled(window.strapi.features.AUDIT_LOGS)&&window.strapi?.flags?.promoteEE?[{intlLabel:{id:"global.auditLogs",defaultMessage:"Audit Logs"},to:"/settings/purchase-audit-logs",id:"auditLogs",lockIcon:!0}]:[]]}),o1=cp.injectEndpoints({endpoints:u=>({init:u.query({query:()=>({url:"/admin/init",method:"GET"}),transformResponse(f){return f.data}}),information:u.query({query:()=>({url:"/admin/information",method:"GET"}),transformResponse(f){return f.data}}),telemetryProperties:u.query({query:()=>({url:"/admin/telemetry-properties",method:"GET",config:{validateStatus:f=>f<500}}),transformResponse(f){return f.data}}),projectSettings:u.query({query:()=>({url:"/admin/project-settings",method:"GET"}),providesTags:["ProjectSettings"],transformResponse(f){return{authLogo:f.authLogo?{name:f.authLogo.name,url:(0,a.AZ)(f.authLogo.url)}:void 0,menuLogo:f.menuLogo?{name:f.menuLogo.name,url:(0,a.AZ)(f.menuLogo.url)}:void 0}}}),updateProjectSettings:u.mutation({query:f=>({url:"/admin/project-settings",method:"POST",data:f,config:{headers:{"Content-Type":"multipart/form-data"}}}),invalidatesTags:["ProjectSettings"]}),getPlugins:u.query({query:()=>({url:"/admin/plugins",method:"GET"})}),getLicenseLimits:u.query({query:()=>({url:"/admin/license-limit-information",method:"GET"}),providesTags:["LicenseLimits"]})}),overrideExisting:!1}),{useInitQuery:Tv,useTelemetryPropertiesQuery:u1,useInformationQuery:p3,useProjectSettingsQuery:sg,useUpdateProjectSettingsMutation:Dv,useGetPluginsQuery:Av,useGetLicenseLimitsQuery:xv}=o1,[Ov,Rv]=(0,ut.G)("ConfigurationContext"),l1=({children:u,authLogo:f,menuLogo:E,showReleaseNotification:S=!1,showTutorials:w=!1})=>{const{trackUsage:q}=(0,a.m4)(),{formatMessage:ne}=(0,At.c)(),se=(0,a.eo)(),{_unstableFormatAPIError:Ee}=(0,a.An)(),Te=gh("ConfigurationProvider",Ft=>Ft.token),{data:Me,isSuccess:nt}=sg(void 0,{skip:!Te}),[ht]=Dv(),Bt=ge.useCallback(async Ft=>{const ze=new FormData;Object.entries(Ft).forEach(([On,Gn])=>{Gn?.rawFile?ze.append(On,Gn.rawFile):Gn===null&&ze.append(On,JSON.stringify(Gn))});const _n=await ht(ze);if("data"in _n){const On=!!_n.data.menuLogo&&!!Ft.menuLogo?.rawFile,Gn=!!_n.data.authLogo&&!!Ft.authLogo?.rawFile;On&&q("didChangeLogo",{logo:"menu"}),Gn&&q("didChangeLogo",{logo:"auth"}),se({type:"success",message:ne({id:"app",defaultMessage:"Saved"})})}else se({type:"warning",message:Ee(_n.error)})},[Ee,ne,se,q,ht]);return(0,i.jsx)(Ov,{showReleaseNotification:S,showTutorials:w,logos:{menu:{custom:nt?Me?.menuLogo:E.custom,default:E.default},auth:{custom:nt?Me?.authLogo:f.custom,default:f.default}},updateProjectSettings:Bt,children:u})};function rf(){return window.strapi.isEE}const vf=(u,f,E={})=>{const{defaultValue:S=null,combine:w=(Me,nt)=>nt,enabled:q=!0}=E,ne=(0,a.GY)(f),se=(0,a.GY)(w),[{data:Ee},Te]=ge.useState({data:rf()&&q?S:u});return ge.useEffect(()=>{async function Me(){const nt=await ne(),ht=se(u,nt);Te({data:ht||nt})}rf()&&q&&Me()},[u,ne,se,q]),Ee},ag=Qe.cp.img`
  height: ${72/16}rem;
`,vh=()=>{const{logos:{auth:u}}=Rv("UnauthenticatedLogo");return(0,i.jsx)(ag,{src:u?.custom?.url||u.default,"aria-hidden":!0,alt:""})},c1=(0,Qe.cp)(c.k)`
  margin: 0 auto;
  width: 552px;
`,dp=(0,Qe.cp)(v.C)`
  flex-direction: column;
`,wv=()=>{const u=Vu(w=>w.admin_app.language.localeNames),f=gf(),{formatMessage:E,locale:S}=(0,At.c)();return(0,i.jsx)(_.K_,{"aria-label":E({id:"global.localeToggle.label",defaultMessage:"Select interface language"}),value:S,onChange:w=>{f(bv(w))},children:Object.entries(u).map(([w,q])=>(0,i.jsx)(_.kH,{value:w,children:q},w))})},Hh=({children:u})=>(0,i.jsx)(c1,{shadow:"tableShadow",hasRadius:!0,paddingTop:9,paddingBottom:9,paddingLeft:10,paddingRight:10,background:"neutral0",children:u}),fp=({children:u})=>(0,i.jsxs)("div",{children:[(0,i.jsx)(v.C,{as:"header",justifyContent:"flex-end",children:(0,i.jsx)(c.k,{paddingTop:6,paddingRight:8,children:(0,i.jsx)(wv,{})})}),(0,i.jsx)(c.k,{paddingTop:2,paddingBottom:11,children:u})]}),gm=(0,Qe.cp)(T.d)`
  svg {
    height: 1rem;
    width: 1rem;
    path {
      fill: ${({theme:u})=>u.colors.neutral600};
    }
  }
`,I_=Ts.kt().shape({email:Ts.Qb().email(a.aO.email).required(a.aO.required),password:Ts.Qb().required(a.aO.required),rememberMe:Ts.SK().nullable()}),d1=({children:u})=>{const[f,E]=ge.useState(),[S,w]=ge.useState(!1),{formatMessage:q}=(0,At.c)(),ne=(0,a.UL)(),{push:se}=(0,Ct.Uz)(),Ee=gh("Login",Me=>Me.login),Te=async Me=>{E(void 0);const nt=await Ee(Me);if("error"in nt){const ht=nt.error.message??"Something went wrong";if($l(ht).toLowerCase()==="usernotactive"){se("/auth/oops");return}E(ht)}else{const ht=ne.get("redirectTo"),Bt=ht?decodeURIComponent(ht):"/";se(Bt)}};return(0,i.jsx)(fp,{children:(0,i.jsxs)(A.G,{children:[(0,i.jsxs)(Hh,{children:[(0,i.jsxs)(dp,{children:[(0,i.jsx)(vh,{}),(0,i.jsx)(c.k,{paddingTop:6,paddingBottom:1,children:(0,i.jsx)(R.O,{variant:"alpha",as:"h1",children:q({id:"Auth.form.welcome.title",defaultMessage:"Welcome!"})})}),(0,i.jsx)(c.k,{paddingBottom:7,children:(0,i.jsx)(R.O,{variant:"epsilon",textColor:"neutral600",children:q({id:"Auth.form.welcome.subtitle",defaultMessage:"Log in to your Strapi account"})})}),f?(0,i.jsx)(R.O,{id:"global-form-error",role:"alert",tabIndex:-1,textColor:"danger600",children:f}):null]}),(0,i.jsx)(Lc.QJ,{enableReinitialize:!0,initialValues:{email:"",password:"",rememberMe:!1},onSubmit:Me=>{Te(Me)},validationSchema:I_,validateOnChange:!1,children:({values:Me,errors:nt,handleChange:ht})=>(0,i.jsx)(a.QF,{children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:6,children:[(0,i.jsx)(P.g,{error:nt.email?q({id:nt.email,defaultMessage:"This value is required."}):"",value:Me.email,onChange:ht,label:q({id:"Auth.form.email.label",defaultMessage:"Email"}),placeholder:q({id:"Auth.form.email.placeholder",defaultMessage:"kai@doe.com"}),name:"email",required:!0}),(0,i.jsx)(Iv,{error:nt.password?q({id:nt.password,defaultMessage:"This value is required."}):"",onChange:ht,value:Me.password,label:q({id:"global.password",defaultMessage:"Password"}),name:"password",type:S?"text":"password",endAction:(0,i.jsx)(gm,{onClick:Bt=>{Bt.stopPropagation(),w(Ft=>!Ft)},label:q(S?{id:"Auth.form.password.show-password",defaultMessage:"Show password"}:{id:"Auth.form.password.hide-password",defaultMessage:"Hide password"}),children:S?(0,i.jsx)(Ie.c,{}):(0,i.jsx)(fc.c,{})}),required:!0}),(0,i.jsx)(M.y,{onValueChange:Bt=>{ht({target:{value:Bt,name:"rememberMe"}})},value:Me.rememberMe,"aria-label":"rememberMe",name:"rememberMe",children:q({id:"Auth.form.rememberMe.label",defaultMessage:"Remember me"})}),(0,i.jsx)(O.Z,{fullWidth:!0,type:"submit",children:q({id:"Auth.form.button.login",defaultMessage:"Login"})})]})})}),u]}),(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(c.k,{paddingTop:4,children:(0,i.jsx)(Ht.c,{as:tn.Af,to:"/auth/forgot-password",children:q({id:"Auth.link.forgot-password",defaultMessage:"Forgot your password?"})})})})]})})},Iv=(0,Qe.cp)(P.g)`
  ::-ms-reveal {
    display: none;
  }
`,hp=()=>{const{push:u}=(0,Ct.Uz)(),{formatMessage:f}=(0,At.c)(),{_unstableFormatAPIError:E}=(0,a.An)(),[S,{error:w}]=i1();return(0,i.jsx)(fp,{children:(0,i.jsxs)(A.G,{children:[(0,i.jsxs)(Hh,{children:[(0,i.jsxs)(dp,{children:[(0,i.jsx)(vh,{}),(0,i.jsx)(c.k,{paddingTop:6,paddingBottom:7,children:(0,i.jsx)(R.O,{as:"h1",variant:"alpha",children:f({id:"Auth.form.button.password-recovery",defaultMessage:"Password Recovery"})})}),w?(0,i.jsx)(R.O,{id:"global-form-error",role:"alert",tabIndex:-1,textColor:"danger600",children:b4(w)?E(w):f({id:"notification.error",defaultMessage:"An error occurred"})}):null]}),(0,i.jsx)(Lc.QJ,{enableReinitialize:!0,initialValues:{email:""},onSubmit:async q=>{"error"in await S(q)||u("/auth/forgot-password-success")},validationSchema:Ts.kt().shape({email:Ts.Qb().email(a.aO.email).required(a.aO.required)}),validateOnChange:!1,children:({values:q,errors:ne,handleChange:se})=>(0,i.jsx)(a.QF,{children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:6,children:[(0,i.jsx)(P.g,{error:ne.email?f({id:ne.email,defaultMessage:"This email is invalid."}):"",value:q.email,onChange:se,label:f({id:"Auth.form.email.label",defaultMessage:"Email"}),placeholder:f({id:"Auth.form.email.placeholder",defaultMessage:"kai@doe.com"}),name:"email",required:!0}),(0,i.jsx)(O.Z,{type:"submit",fullWidth:!0,children:f({id:"Auth.form.button.forgot-password",defaultMessage:"Send Email"})})]})})})]}),(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(c.k,{paddingTop:4,children:(0,i.jsx)(Ht.c,{as:tn.Af,to:"/auth/login",children:f({id:"Auth.link.ready",defaultMessage:"Ready to sign in?"})})})})]})})},Mv=()=>{const{formatMessage:u}=(0,At.c)();return(0,i.jsx)(fp,{children:(0,i.jsxs)(A.G,{children:[(0,i.jsx)(Hh,{children:(0,i.jsxs)(dp,{children:[(0,i.jsx)(vh,{}),(0,i.jsx)(c.k,{paddingTop:6,paddingBottom:7,children:(0,i.jsx)(R.O,{as:"h1",variant:"alpha",children:u({id:"app.containers.AuthPage.ForgotPasswordSuccess.title",defaultMessage:"Email sent"})})}),(0,i.jsx)(R.O,{children:u({id:"app.containers.AuthPage.ForgotPasswordSuccess.text.email",defaultMessage:"It can take a few minutes to receive your password recovery link."})}),(0,i.jsx)(c.k,{paddingTop:4,children:(0,i.jsx)(R.O,{children:u({id:"app.containers.AuthPage.ForgotPasswordSuccess.text.contact-admin",defaultMessage:"If you do not receive this link, please contact your administrator."})})})]})}),(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(c.k,{paddingTop:4,children:(0,i.jsx)(Ht.c,{as:tn.Af,to:"/auth/login",children:u({id:"Auth.link.signin",defaultMessage:"Sign in"})})})})]})})},Nv=()=>{const{formatMessage:u}=(0,At.c)(),E=(0,a.UL)().get("info")||u({id:"Auth.components.Oops.text",defaultMessage:"Your account has been suspended."});return(0,i.jsx)(fp,{children:(0,i.jsxs)(A.G,{children:[(0,i.jsx)(Hh,{children:(0,i.jsxs)(dp,{children:[(0,i.jsx)(vh,{}),(0,i.jsx)(c.k,{paddingTop:6,paddingBottom:7,children:(0,i.jsx)(R.O,{as:"h1",variant:"alpha",children:u({id:"Auth.components.Oops.title",defaultMessage:"Oops..."})})}),(0,i.jsx)(R.O,{children:E}),(0,i.jsx)(c.k,{paddingTop:4,children:(0,i.jsx)(R.O,{children:u({id:"Auth.components.Oops.text.admin",defaultMessage:"If this is a mistake, please contact your administrator."})})})]})}),(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(c.k,{paddingTop:4,children:(0,i.jsx)(Ht.c,{as:tn.Af,to:"/auth/login",children:u({id:"Auth.link.signin",defaultMessage:"Sign in"})})})})]})})},f1=(0,Qe.cp)(N.I)`
  height: ${32/16}rem;
  width: ${32/16}rem;

  > label,
  ~ input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  > label {
    color: inherit;
    cursor: pointer;
    padding: ${({theme:u})=>u.spaces[2]};
    text-align: center;
    vertical-align: middle;
  }

  &:hover,
  &:focus-within {
    background-color: ${({theme:u})=>u.colors.neutral0};
  }

  &:active,
  &.selected {
    color: ${({theme:u})=>u.colors.primary700};
    background-color: ${({theme:u})=>u.colors.neutral0};
    border-color: ${({theme:u})=>u.colors.primary700};
  }
`,vm={postResponse:90*24*60*60*1e3,postFirstDismissal:7*24*60*60*1e3,postSubsequentDismissal:90*24*60*60*1e3,display:5*60*1e3},h1=[...Array(11).keys()],og=u=>{const{enabled:f,lastResponseDate:E,firstDismissalDate:S,lastDismissalDate:w}=u;return window.strapi.flags.nps===!1||f===!1?!1:E?Date.now()-new Date(E).getTime()>=vm.postResponse:w?Date.now()-new Date(w).getTime()>=vm.postSubsequentDismissal:S?Date.now()-new Date(S).getTime()>=vm.postFirstDismissal:!0},Em=()=>{const u=(0,Qe.qG)(),{formatMessage:f}=(0,At.c)(),{npsSurveySettings:E,setNpsSurveySettings:S}=Pv(),[w,q]=ge.useState(!1),ne=(0,a.eo)(),{currentEnvironment:se,strapiVersion:Ee}=(0,a.s7)(),[Te,Me]=ge.useState(og(E)),[nt,ht]=ge.useState(!1);ge.useEffect(()=>{const _n=setTimeout(()=>{ht(!0)},vm.display);return()=>{clearTimeout(_n)}},[]);const Bt=gh("NpsSurvey",_n=>_n.user);if(!nt||!Te)return null;const Ft=async({npsSurveyRating:_n,npsSurveyFeedback:On})=>{try{const Gn={email:typeof Bt=="object"&&Bt.email?Bt.email:"",rating:_n,comment:On,environment:se,version:Ee??void 0,license:window.strapi.projectType};if(!(await fetch("https://analytics.strapi.io/submit-nps",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Gn)})).ok)throw new Error("Failed to submit NPS survey");S(mr=>({...mr,lastResponseDate:new Date().toString(),firstDismissalDate:null,lastDismissalDate:null})),q(!0),setTimeout(()=>{Me(!1)},3e3)}catch{ne({type:"warning",message:f({id:"notification.error",defaultMessage:"An error occurred"})})}},ze=()=>{S(_n=>{const On={..._n,lastResponseDate:null};return _n.firstDismissalDate?On.lastDismissalDate=new Date().toString():On.firstDismissalDate=new Date().toString(),On}),Me(!1)};return(0,i.jsx)(B.a,{children:(0,i.jsx)(Lc.QJ,{initialValues:{npsSurveyFeedback:"",npsSurveyRating:null},onSubmit:Ft,validationSchema:Ts.kt({npsSurveyFeedback:Ts.Qb(),npsSurveyRating:Ts.CQ().required()}),children:({values:_n,handleChange:On,setFieldValue:Gn,isSubmitting:Vn})=>(0,i.jsx)(Lc.QF,{name:"npsSurveyForm",children:(0,i.jsx)(v.C,{hasRadius:!0,direction:"column",padding:4,borderColor:"primary200",background:"neutral0",shadow:"popupShadow",position:"fixed",bottom:0,left:"50%",transform:"translateX(-50%)",zIndex:u.zIndices[2],width:"50%",children:w?(0,i.jsx)(R.O,{fontWeight:"semiBold",children:f({id:"app.components.NpsSurvey.feedback-response",defaultMessage:"Thank you very much for your feedback!"})}):(0,i.jsxs)(c.k,{as:"fieldset",width:"100%",children:[(0,i.jsxs)(v.C,{justifyContent:"space-between",width:"100%",children:[(0,i.jsx)(c.k,{marginLeft:"auto",marginRight:"auto",children:(0,i.jsx)(R.O,{fontWeight:"semiBold",as:"legend",children:f({id:"app.components.NpsSurvey.banner-title",defaultMessage:"How likely are you to recommend Strapi to a friend or colleague?"})})}),(0,i.jsx)(j.w,{onClick:ze,"aria-label":f({id:"app.components.NpsSurvey.dismiss-survey-label",defaultMessage:"Dismiss survey"}),icon:(0,i.jsx)(Zu.c,{})})]}),(0,i.jsxs)(v.C,{gap:2,marginTop:2,marginBottom:2,justifyContent:"center",children:[(0,i.jsx)(R.O,{variant:"pi",textColor:"neutral600",children:f({id:"app.components.NpsSurvey.no-recommendation",defaultMessage:"Not at all likely"})}),h1.map(mr=>(0,i.jsx)(f1,{className:_n.npsSurveyRating===mr?"selected":void 0,hasRadius:!0,background:"primary100",borderColor:"primary200",color:"primary600",position:"relative",cursor:"pointer",children:(0,i.jsxs)(z.u,{htmlFor:`nps-survey-rating-${mr}-input`,children:[(0,i.jsx)(W.K,{children:(0,i.jsx)(X.e,{type:"radio",id:`nps-survey-rating-${mr}-input`,name:"npsSurveyRating",checked:_n.npsSurveyRating===mr,onChange:Dn=>Gn("npsSurveyRating",parseInt(Dn.target.value,10)),value:mr})}),mr]})},mr)),(0,i.jsx)(R.O,{variant:"pi",textColor:"neutral600",children:f({id:"app.components.NpsSurvey.happy-to-recommend",defaultMessage:"Extremely likely"})})]}),_n.npsSurveyRating!==null&&(0,i.jsxs)(v.C,{direction:"column",children:[(0,i.jsx)(c.k,{marginTop:2,children:(0,i.jsx)(z.u,{htmlFor:"npsSurveyFeedback",fontWeight:"semiBold",fontSize:2,children:f({id:"app.components.NpsSurvey.feedback-question",defaultMessage:"Do you have any suggestion for improvements?"})})}),(0,i.jsx)(c.k,{width:"62%",marginTop:3,marginBottom:4,children:(0,i.jsx)(Q.A,{id:"npsSurveyFeedback",width:"100%",onChange:On,children:_n.npsSurveyFeedback})}),(0,i.jsx)(O.Z,{marginBottom:2,type:"submit",loading:Vn,children:f({id:"app.components.NpsSurvey.submit-feedback",defaultMessage:"Submit Feedback"})})]})]})})})})})};function Pv(){const[u,f]=(0,a.Mb)("STRAPI_NPS_SURVEY_SETTINGS",{enabled:!0,lastResponseDate:null,firstDismissalDate:null,lastDismissalDate:null});return{npsSurveySettings:u,setNpsSurveySettings:f}}const gd=Ts.kt().shape({firstname:Ts.Qb().trim().required(a.aO.required),lastname:Ts.Qb().nullable(),password:Ts.Qb().min(8,a.aO.minLength).matches(/[a-z]/,"components.Input.error.contain.lowercase").matches(/[A-Z]/,"components.Input.error.contain.uppercase").matches(/\d/,"components.Input.error.contain.number").required(a.aO.required),confirmPassword:Ts.Qb().oneOf([Ts.IL("password"),null],"components.Input.error.password.noMatch").required(a.aO.required),registrationToken:Ts.Qb().required(a.aO.required)}),Lv=Ts.kt().shape({firstname:Ts.Qb().trim().required(a.aO.required),lastname:Ts.Qb().nullable(),password:Ts.Qb().min(8,a.aO.minLength).matches(/[a-z]/,"components.Input.error.contain.lowercase").matches(/[A-Z]/,"components.Input.error.contain.uppercase").matches(/\d/,"components.Input.error.contain.number").required(a.aO.required),email:Ts.Qb().email(a.aO.email).strict().lowercase(a.aO.lowercase).required(a.aO.required),confirmPassword:Ts.Qb().oneOf([Ts.IL("password"),null],"components.Input.error.password.noMatch").required(a.aO.required)}),Bv=({hasAdmin:u})=>{const f=(0,a.eo)(),{push:E}=(0,Ct.Uz)(),[S,w]=ge.useState(!1),[q,ne]=ge.useState(!1),[se,Ee]=ge.useState(0),[Te,Me]=ge.useState(),{trackUsage:nt}=(0,a.m4)(),{formatMessage:ht}=(0,At.c)(),{setSkipped:Bt}=(0,a.sg)(),Ft=(0,a.UL)(),ze=(0,Ct.SU)("/auth/:authType"),{_unstableFormatAPIError:_n,_unstableFormatValidationErrors:On}=(0,a.An)(),{setNpsSurveySettings:Gn}=Pv(),Vn=Ft.get("registrationToken"),{data:mr,error:Dn}=r1(Vn,{skip:!Vn});ge.useEffect(()=>{if(Dn){const kr=b4(Dn)?_n(Dn):Dn.message??"";f({type:"warning",message:kr}),E(`/auth/oops?info=${encodeURIComponent(kr)}`)}},[Dn,_n,E,f]);const[Ir]=rg(),[hr]=ig(),Mr=gh("Register",kr=>kr.setToken),_r=async({news:kr,...Zr},ai)=>{const Vr=await Ir(Zr);if("data"in Vr){Mr(Vr.data.token);const{roles:Ki}=Vr.data.user;Ki&&Ki.find(({code:Gi})=>Gi==="strapi-super-admin")&&(a.cJ.set(!1,"GUIDED_TOUR_SKIPPED",!0),Bt(!1),nt("didLaunchGuidedtour")),kr?(Gn(As=>({...As,enabled:!0})),E({pathname:"/usecase",search:`?hasAdmin=${!0}`})):E("/")}else if(b4(Vr.error)){if(nt("didNotCreateFirstAdmin"),Vr.error.name==="ValidationError"){ai(On(Vr.error));return}Me(_n(Vr.error))}},Br=async({news:kr,...Zr},ai)=>{const Vr=await hr(Zr);if("data"in Vr)Mr(Vr.data.token),kr?(Gn(Ki=>({...Ki,enabled:!0})),E({pathname:"/usecase",search:`?hasAdmin=${u}`})):E("/");else if(b4(Vr.error)){if(nt("didNotCreateFirstAdmin"),Vr.error.name==="ValidationError"){ai(On(Vr.error));return}Me(_n(Vr.error))}};if(!ze||ze.params.authType!=="register"&&ze.params.authType!=="register-admin")return(0,i.jsx)(Ct.YJ,{to:"/"});const oi=ze.params.authType==="register-admin",ri=oi?Lv:gd;return(0,i.jsx)(fp,{children:(0,i.jsxs)(Hh,{children:[(0,i.jsxs)(v.C,{direction:"column",alignItems:"center",gap:3,children:[(0,i.jsx)(vh,{}),(0,i.jsx)(R.O,{as:"h1",variant:"alpha",textAlign:"center",children:ht({id:"Auth.form.welcome.title",defaultMessage:"Welcome to Strapi!"})}),(0,i.jsx)(R.O,{variant:"epsilon",textColor:"neutral600",textAlign:"center",children:ht({id:"Auth.form.register.subtitle",defaultMessage:"Credentials are only used to authenticate in Strapi. All saved data will be stored in your database."})}),Te?(0,i.jsx)(R.O,{id:"global-form-error",role:"alert",tabIndex:-1,textColor:"danger600",children:Te}):null]}),(0,i.jsx)(Lc.QJ,{enableReinitialize:!0,initialValues:{firstname:mr?.firstname||"",lastname:mr?.lastname||"",email:mr?.email||"",password:"",confirmPassword:"",registrationToken:Vn||void 0,news:!1},onSubmit:async(kr,Zr)=>{const ai=p1(kr);try{await ri.validate(ai,{abortEarly:!1}),se>0&&oi&&nt("didSubmitWithErrorsFirstAdmin",{count:se.toString()}),ai.registrationToken?Br({userInfo:Xu(ai,["registrationToken","confirmPassword","email","news"]),registrationToken:ai.registrationToken,news:ai.news},Zr.setErrors):await _r(Xu(ai,["registrationToken","confirmPassword"]),Zr.setErrors)}catch(Vr){if(Vr instanceof Ts.$D){const Ki=(0,a.CK)(Vr);Zr.setErrors(Ki)}Ee(se+1)}},validateOnChange:!1,children:({values:kr,errors:Zr,handleChange:ai})=>(0,i.jsx)(a.QF,{children:(0,i.jsx)(A.G,{children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:6,marginTop:7,children:[(0,i.jsxs)(K.y,{gap:4,children:[(0,i.jsx)(Y.C,{col:6,children:(0,i.jsx)(P.g,{name:"firstname",required:!0,value:kr.firstname,error:Zr.firstname?ht(Zr.firstname):void 0,onChange:ai,label:ht({id:"Auth.form.firstname.label",defaultMessage:"Firstname"})})}),(0,i.jsx)(Y.C,{col:6,children:(0,i.jsx)(P.g,{name:"lastname",value:kr.lastname,onChange:ai,label:ht({id:"Auth.form.lastname.label",defaultMessage:"Lastname"})})})]}),(0,i.jsx)(P.g,{name:"email",disabled:!oi,value:kr.email,onChange:ai,error:Zr.email?ht(Zr.email):void 0,required:!0,label:ht({id:"Auth.form.email.label",defaultMessage:"Email"}),type:"email"}),(0,i.jsx)(Fv,{name:"password",onChange:ai,value:kr.password,error:Zr.password?ht(Zr.password):void 0,endAction:(0,i.jsx)(gm,{onClick:Vr=>{Vr.preventDefault(),w(Ki=>!Ki)},label:ht(S?{id:"Auth.form.password.show-password",defaultMessage:"Show password"}:{id:"Auth.form.password.hide-password",defaultMessage:"Hide password"}),children:S?(0,i.jsx)(Ie.c,{}):(0,i.jsx)(fc.c,{})}),hint:ht({id:"Auth.form.password.hint",defaultMessage:"Must be at least 8 characters, 1 uppercase, 1 lowercase & 1 number"}),required:!0,label:ht({id:"global.password",defaultMessage:"Password"}),type:S?"text":"password"}),(0,i.jsx)(Fv,{name:"confirmPassword",onChange:ai,value:kr.confirmPassword,error:Zr.confirmPassword?ht(Zr.confirmPassword):void 0,endAction:(0,i.jsx)(gm,{onClick:Vr=>{Vr.preventDefault(),ne(Ki=>!Ki)},label:ht(q?{id:"Auth.form.password.show-password",defaultMessage:"Show password"}:{id:"Auth.form.password.hide-password",defaultMessage:"Hide password"}),children:q?(0,i.jsx)(Ie.c,{}):(0,i.jsx)(fc.c,{})}),required:!0,label:ht({id:"Auth.form.confirmPassword.label",defaultMessage:"Confirm Password"}),type:q?"text":"password"}),(0,i.jsx)(M.y,{onValueChange:Vr=>{ai({target:{value:Vr,name:"news"}})},value:kr.news,name:"news","aria-label":"news",children:ht({id:"Auth.form.register.news.label",defaultMessage:"Keep me updated about new features & upcoming improvements (by doing this you accept the {terms} and the {policy})."},{terms:(0,i.jsx)(ug,{target:"_blank",href:"https://strapi.io/terms",rel:"noreferrer",children:ht({id:"Auth.privacy-policy-agreement.terms",defaultMessage:"terms"})}),policy:(0,i.jsx)(ug,{target:"_blank",href:"https://strapi.io/privacy",rel:"noreferrer",children:ht({id:"Auth.privacy-policy-agreement.policy",defaultMessage:"policy"})})})}),(0,i.jsx)(O.Z,{fullWidth:!0,size:"L",type:"submit",children:ht({id:"Auth.form.button.register",defaultMessage:"Let's start"})})]})})})}),ze?.params.authType==="register"&&(0,i.jsx)(c.k,{paddingTop:4,children:(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(Ht.c,{as:tn.Af,to:"/auth/login",children:ht({id:"Auth.link.signin.account",defaultMessage:"Already have an account?"})})})})]})})};function p1(u){return Object.entries(u).reduce((f,[E,S])=>(!["password","confirmPassword"].includes(E)&&typeof S=="string"?(f[E]=S.trim(),E==="lastname"&&(f[E]=S||void 0)):f[E]=S,f),{})}const ug=Qe.cp.a`
  color: ${({theme:u})=>u.colors.primary600};
`,Fv=(0,Qe.cp)(P.g)`
  ::-ms-reveal {
    display: none;
  }
`,m1=Ts.kt().shape({password:Ts.Qb().min(8,a.aO.minLength).matches(/[a-z]/,"components.Input.error.contain.lowercase").matches(/[A-Z]/,"components.Input.error.contain.uppercase").matches(/\d/,"components.Input.error.contain.number").required(a.aO.required),confirmPassword:Ts.Qb().oneOf([Ts.IL("password"),null],"components.Input.error.password.noMatch").required(a.aO.required)}),g1=()=>{const[u,f]=ge.useState(!1),[E,S]=ge.useState(!1),{formatMessage:w}=(0,At.c)(),{push:q}=(0,Ct.Uz)(),ne=(0,a.UL)(),{_unstableFormatAPIError:se}=(0,a.An)(),Ee=gh("ResetPassword",ht=>ht.setToken),[Te,{error:Me}]=S4(),nt=async ht=>{const Bt=await Te(ht);"data"in Bt&&(Ee(Bt.data.token),q("/"))};return ne.get("code")?(0,i.jsx)(fp,{children:(0,i.jsxs)(A.G,{children:[(0,i.jsxs)(Hh,{children:[(0,i.jsxs)(dp,{children:[(0,i.jsx)(vh,{}),(0,i.jsx)(c.k,{paddingTop:6,paddingBottom:7,children:(0,i.jsx)(R.O,{as:"h1",variant:"alpha",children:w({id:"global.reset-password",defaultMessage:"Reset password"})})}),Me?(0,i.jsx)(R.O,{id:"global-form-error",role:"alert",tabIndex:-1,textColor:"danger600",children:b4(Me)?se(Me):w({id:"notification.error",defaultMessage:"An error occurred"})}):null]}),(0,i.jsx)(Lc.QJ,{enableReinitialize:!0,initialValues:{password:"",confirmPassword:""},onSubmit:ht=>{nt({password:ht.password,resetPasswordToken:ne.get("code")})},validationSchema:m1,validateOnChange:!1,children:({values:ht,errors:Bt,handleChange:Ft})=>(0,i.jsx)(a.QF,{children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:6,children:[(0,i.jsx)(m3,{name:"password",onChange:Ft,value:ht.password,error:Bt.password?w({id:Bt.password,defaultMessage:"This field is required."},{min:8}):void 0,endAction:(0,i.jsx)(gm,{onClick:ze=>{ze.preventDefault(),f(_n=>!_n)},label:w(u?{id:"Auth.form.password.show-password",defaultMessage:"Show password"}:{id:"Auth.form.password.hide-password",defaultMessage:"Hide password"}),children:u?(0,i.jsx)(Ie.c,{}):(0,i.jsx)(fc.c,{})}),hint:w({id:"Auth.form.password.hint",defaultMessage:"Password must contain at least 8 characters, 1 uppercase, 1 lowercase and 1 number"}),required:!0,label:w({id:"global.password",defaultMessage:"Password"}),type:u?"text":"password"}),(0,i.jsx)(m3,{name:"confirmPassword",onChange:Ft,value:ht.confirmPassword,error:Bt.confirmPassword?w({id:Bt.confirmPassword,defaultMessage:"This value is required."}):void 0,endAction:(0,i.jsx)(gm,{onClick:ze=>{ze.preventDefault(),S(_n=>!_n)},label:w(u?{id:"Auth.form.password.show-password",defaultMessage:"Show password"}:{id:"Auth.form.password.hide-password",defaultMessage:"Hide password"}),children:E?(0,i.jsx)(Ie.c,{}):(0,i.jsx)(fc.c,{})}),required:!0,label:w({id:"Auth.form.confirmPassword.label",defaultMessage:"Confirm Password"}),type:E?"text":"password"}),(0,i.jsx)(O.Z,{fullWidth:!0,type:"submit",children:w({id:"global.change-password",defaultMessage:"Change password"})})]})})})]}),(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(c.k,{paddingTop:4,children:(0,i.jsx)(Ht.c,{as:tn.Af,to:"/auth/login",children:w({id:"Auth.link.ready",defaultMessage:"Ready to sign in?"})})})})]})}):(0,i.jsx)(Ct.YJ,{to:"/auth/login"})},m3=(0,Qe.cp)(P.g)`
  ::-ms-reveal {
    display: none;
  }
`,kv={"forgot-password":hp,"forgot-password-success":Mv,login:()=>null,oops:Nv,register:Bv,"register-admin":Bv,"reset-password":g1,providers:()=>null},D4=({hasAdmin:u})=>{const{location:{search:f}}=(0,Ct.Uz)(),S=(0,Ct.SU)("/auth/:authType")?.params.authType,w=vf(d1,async()=>(await e.e(5672).then(e.bind(e,85672))).LoginEE),q=vf(kv,async()=>(await e.e(568).then(e.bind(e,30568))).FORMS,{combine(Ee,Te){return{...Ee,...Te}},defaultValue:kv}),ne=gh("AuthPage",Ee=>Ee.token);if(!S||!q)return(0,i.jsx)(Ct.YJ,{to:"/"});const se=q[S];return!se||u&&S==="register-admin"||ne?(0,i.jsx)(Ct.YJ,{to:"/"}):!u&&S!=="register-admin"?(0,i.jsx)(Ct.YJ,{to:{pathname:"/auth/register-admin",search:f}}):w&&S==="login"?(0,i.jsx)(w,{}):S==="login"&&!w?null:(0,i.jsx)(se,{hasAdmin:u})},A4=()=>{const{formatMessage:u}=(0,At.c)();return(0,a.G0)(),(0,i.jsxs)(A.G,{labelledBy:"title",children:[(0,i.jsx)(Z.a,{id:"title",title:u({id:"content-manager.pageNotFound",defaultMessage:"Page not found"})}),(0,i.jsx)(J.S,{children:(0,i.jsx)(ee.S,{action:(0,i.jsx)(re.E,{variant:"secondary",endIcon:(0,i.jsx)(za.c,{}),to:"/",children:u({id:"app.components.NotFoundPage.back",defaultMessage:"Back to homepage"})}),content:u({id:"app.page.not.found",defaultMessage:"Oops! We can't seem to find the page you're looging for..."}),hasRadius:!0,icon:(0,i.jsx)(vu.c,{width:"10rem"}),shadow:"tableShadow"})})]})},v1=Object.freeze(Object.defineProperty({__proto__:null,NotFoundPage:A4},Symbol.toStringTag,{value:"Module"})),E1=[{intlLabel:{id:"Usecase.front-end",defaultMessage:"Front-end developer"},value:"front_end_developer"},{intlLabel:{id:"Usecase.back-end",defaultMessage:"Back-end developer"},value:"back_end_developer"},{intlLabel:{id:"Usecase.full-stack",defaultMessage:"Full-stack developer"},value:"full_stack_developer"},{intlLabel:{id:"global.content-manager",defaultMessage:"Content Manager"},value:"content_manager"},{intlLabel:{id:"Usecase.content-creator",defaultMessage:"Content Creator"},value:"content_creator"},{intlLabel:{id:"Usecase.other",defaultMessage:"Other"},value:"other"}],Uv=(0,Qe.cp)(R.O)`
  text-align: center;
`,_1=()=>{const u=(0,a.eo)(),{push:f,location:E}=(0,Ct.Uz)(),{formatMessage:S}=(0,At.c)(),[w,q]=ge.useState(null),[ne,se]=ge.useState(""),{firstname:Ee,email:Te}=gh("UseCasePage",Bt=>Bt.user)??{},{hasAdmin:Me}=(0,Iu.parse)(E?.search,{ignoreQueryPrefix:!0}),nt=w==="other",ht=async(Bt,Ft)=>{Bt.preventDefault();try{await fetch("https://analytics.strapi.io/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:Te,username:Ee,firstAdmin:Boolean(!Me),persona:{role:Ft?void 0:w,otherRole:Ft?void 0:ne}})}),u({type:"success",message:{id:"Usecase.notification.success.project-created",defaultMessage:"Project has been successfully created"}}),f("/")}catch{}};return(0,i.jsx)(fp,{children:(0,i.jsxs)(A.G,{labelledBy:"usecase-title",children:[(0,i.jsx)(Hh,{children:(0,i.jsxs)("form",{onSubmit:Bt=>ht(Bt,!1),children:[(0,i.jsxs)(v.C,{direction:"column",paddingBottom:7,children:[(0,i.jsx)(vh,{}),(0,i.jsx)(c.k,{paddingTop:6,paddingBottom:1,width:(0,a.W8)(250),children:(0,i.jsx)(Uv,{variant:"alpha",as:"h1",id:"usecase-title",children:S({id:"Usecase.title",defaultMessage:"Tell us a bit more about yourself"})})})]}),(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:6,children:[(0,i.jsx)(me.M,{id:"usecase","data-testid":"usecase",label:S({id:"Usecase.input.work-type",defaultMessage:"What type of work do you do?"}),onChange:Bt=>q(Bt),value:w,children:E1.map(({intlLabel:Bt,value:Ft})=>(0,i.jsx)(fe.c,{value:Ft,children:S(Bt)},Ft))}),nt&&(0,i.jsx)(P.g,{name:"other",label:S({id:"Usecase.other",defaultMessage:"Other"}),value:ne,onChange:Bt=>se(Bt.target.value),"data-testid":"other"}),(0,i.jsx)(O.Z,{type:"submit",size:"L",fullWidth:!0,disabled:!w,children:S({id:"global.finish",defaultMessage:"Finish"})})]})]})}),(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(c.k,{paddingTop:4,children:(0,i.jsx)(le.c,{onClick:Bt=>ht(Bt,!0),children:S({id:"Usecase.button.skip",defaultMessage:"Skip this question"})})})})]})})},g3=({loadComponent:u})=>{const[f,E]=ge.useState(null);return ge.useEffect(()=>{(async()=>{try{const w=await u();typeof w=="function"?E(()=>w):w.default&&E(()=>w.default)}catch{}})()},[u]),f?(0,i.jsx)(f,{}):(0,i.jsx)(a.Wm,{})},Vd=(u,f,E=!1)=>(0,i.jsx)(Ct.kX,{render:()=>(0,i.jsx)(g3,{loadComponent:u}),path:f,exact:E||!1},f),x4=null,y1=ge.lazy(()=>e.e(4240).then(e.bind(e,64240)).then(u=>u.A).then(u=>({default:u.AuthenticatedApp}))),jv=({authLogo:u,menuLogo:f,showReleaseNotification:E,showTutorials:S})=>{const w=vf(mm,async()=>(await e.e(9488).then(e.bind(e,89488))).ADMIN_PERMISSIONS_EE,{combine(Vn,mr){return We({},Vn,mr)},defaultValue:mm}),q=vf(x4,async()=>(await e.e(9488).then(e.bind(e,89488))).ROUTES_EE,{defaultValue:[]}),ne=(0,a.eo)(),{formatMessage:se}=(0,At.c)(),Ee=(0,kn.OY)(),Te=(0,a.s7)(),Me=gh("App",Vn=>Vn.token),nt=ge.useMemo(()=>q?q.map(({to:Vn,Component:mr,exact:Dn})=>Vd(mr,Vn,Dn)):null,[q]);ge.useEffect(()=>{Ee(yv(w))},[w,Ee]);const ht=Tv(),{hasAdmin:Bt,uuid:Ft,authLogo:ze,menuLogo:_n}=ht.data??{},On=u1(void 0,{skip:!Ft||!Me});ge.useEffect(()=>{ht.error&&ne({type:"warning",message:{id:"app.containers.App.notification.error.init"}})},[ht.error,ne]),ge.useEffect(()=>{if(Ft&&Te.currentEnvironment&&On.data){const Vn="didInitializeAdministration";fetch("https://analytics.strapi.io/api/v2/track",{method:"POST",body:JSON.stringify({event:Vn,userId:"",eventPropeties:{},userProperties:{environment:Te.currentEnvironment},groupProperties:{...On.data,projectId:Ft}}),headers:{"Content-Type":"application/json","X-Strapi-Event":Vn}})}},[Te.currentEnvironment,On.data,Ft]);const Gn=ge.useMemo(()=>({uuid:Ft,telemetryProperties:On.data}),[Ft,On.data]);return ht.isLoading?(0,i.jsx)(a.Wm,{}):(0,i.jsxs)(ge.Suspense,{fallback:(0,i.jsx)(a.Wm,{}),children:[(0,i.jsx)(Ve.m,{children:se({id:"skipToContent",defaultMessage:"Skip to content"})}),(0,i.jsx)(l1,{authLogo:{default:u,custom:{url:ze??""}},menuLogo:{default:f,custom:{url:_n??""}},showReleaseNotification:E,showTutorials:S,children:(0,i.jsx)(a.mY,{value:Gn,children:(0,i.jsxs)(Ct.Wk,{children:[nt,(0,i.jsx)(Ct.kX,{path:"/auth/:authType",render:Vn=>(0,i.jsx)(D4,{...Vn,hasAdmin:Boolean(Bt)}),exact:!0}),(0,i.jsx)(T4,{path:"/usecase",children:(0,i.jsx)(_1,{})}),(0,i.jsx)(T4,{path:"/",children:(0,i.jsx)(y1,{})}),(0,i.jsx)(Ct.kX,{path:"",component:A4})]})})})]})},_m="data:image/svg+xml,%3csvg%20width='800'%20height='800'%20viewBox='0%200%20800%20800'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39%20282c0-118%200-176.9%2036.6-213.5C112.2%2032%20171.1%2032%20288.9%2032h221.2c117.8%200%20176.7%200%20213.3%2036.6C760%20105.2%20760%20164.1%20760%20281.9v221.2c0%20117.8%200%20176.7-36.6%20213.3C686.8%20753%20627.9%20753%20510.1%20753H288.9c-117.8%200-176.7%200-213.3-36.6C39%20679.8%2039%20620.9%2039%20503.1V281.9Z'%20fill='%234945FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M536.4%20250.7H293.7v123.8h123.8v123.7h123.8V255.5c0-2.6-2.2-4.8-4.9-4.8Z'%20fill='%23fff'/%3e%3cpath%20fill='%23fff'%20d='M412.7%20374.5h4.8v4.8h-4.8z'/%3e%3cpath%20d='M293.8%20374.5h119c2.6%200%204.8%202.1%204.8%204.8v119h-119a4.8%204.8%200%200%201-4.8-4.9v-119Z'%20fill='%239593FF'/%3e%3cpath%20d='M417.5%20498.2h123.8L421.6%20618a2.4%202.4%200%200%201-4-1.7v-118ZM293.8%20374.5h-118a2.4%202.4%200%200%201-1.7-4.1l119.7-119.7v123.8Z'%20fill='%239593FF'/%3e%3c/svg%3e",od=u=>{const{getAdminInjectedComponents:f}=(0,a.U7)(),[E,S,w]=u.split(".");return f(E,S,w)},$v={admin:{tutorials:{links:[]}},contentManager:{editView:{informations:[],"right-links":[]},listView:{actions:[],deleteModalAdditionalInfos:[],publishModalAdditionalInfos:[],unpublishModalAdditionalInfos:[]}}},lg=({area:u,...f})=>{const E=od(u);return(0,i.jsx)(i.Fragment,{children:E.map(S=>(0,i.jsx)(S.Component,{...f},S.name))})},cg=({children:u})=>{const[{currentStep:f,guidedTourState:E,isGuidedTourVisible:S,isSkipped:w},q]=ge.useReducer(b1,Wv,C1),ne=nt=>{if(nt!==null){const ht=Is(E,nt),[Bt,Ft]=nt.split("."),ze=Object.entries(E[Bt]),_n=ze.findIndex(([Vn])=>Vn===Ft),Gn=ze.slice(0,_n).every(([,Vn])=>Vn);if(ht||w||!Gn)return null}return a.cJ.set(null,"GUIDED_TOUR_CURRENT_STEP",!0),q({type:"SET_CURRENT_STEP",step:nt})},se=nt=>{q({type:"SET_GUIDED_TOUR_VISIBILITY",value:nt})},Ee=(nt,ht)=>{Hv(nt),q({type:"SET_STEP_STATE",currentStep:nt,value:ht})},Te=nt=>{const ht=E[nt];if(ht){const Bt=Object.entries(E),Ft=Bt.findIndex(([Vn])=>Vn===nt),_n=Bt.slice(0,Ft).every(([,Vn])=>Object.values(Vn).every(Boolean)),[On]=Object.keys(ht),Gn=ht[On];_n&&!f&&!Gn&&ne(`${nt}.${On}`)}},Me=nt=>{a.cJ.set(nt,"GUIDED_TOUR_SKIPPED",!0),q({type:"SET_SKIPPED",value:nt})};return(0,i.jsx)(a.Ep,{guidedTourState:E,currentStep:f,setCurrentStep:ne,setGuidedTourVisibility:se,setSkipped:Me,setStepState:Ee,startSection:Te,isGuidedTourVisible:S,isSkipped:w,children:u})},Wv={currentStep:null,guidedTourState:{contentTypeBuilder:{create:!1,success:!1},contentManager:{create:!1,success:!1},apiTokens:{create:!1,success:!1},transferTokens:{create:!1,success:!1}},isGuidedTourVisible:!1,isSkipped:!1},b1=(u=Wv,f)=>(0,zo.cp)(u,E=>{switch(f.type){case"SET_CURRENT_STEP":{E.currentStep=f.step;break}case"SET_STEP_STATE":{const[S,w]=f.currentStep.split(".");E.guidedTourState[S][w]=f.value;break}case"SET_SKIPPED":{E.isSkipped=f.value;break}case"SET_GUIDED_TOUR_VISIBILITY":{E.isGuidedTourVisible=f.value;break}default:return E}}),C1=u=>{const f={...u},E=a.cJ.get("GUIDED_TOUR_COMPLETED_STEPS"),S=a.cJ.get("GUIDED_TOUR_CURRENT_STEP"),w=a.cJ.get("GUIDED_TOUR_SKIPPED");if(Array.isArray(E)&&E.forEach(q=>{const[ne,se]=q.split(".");xa(f,["guidedTourState",ne,se],!0)}),S){const[q,ne]=S.split(".");xa(f,["guidedTourState",q,ne],!0),Hv(S),a.cJ.set(null,"GUIDED_TOUR_CURRENT_STEP",!0)}return w!==null&&xa(f,"isSkipped",w),f},Hv=u=>{const f=a.cJ.get("GUIDED_TOUR_COMPLETED_STEPS")??[];!Array.isArray(f)||f.includes(u)||a.cJ.set([...f,u],"GUIDED_TOUR_COMPLETED_STEPS",!0)},S1=({children:u,messages:f})=>{const E=Vu(w=>w.admin_app.language.locale),S=Fu(f[E],f.en);return(0,i.jsx)(wt,{locale:E,defaultLocale:"en",messages:S,textComponent:"span",children:u})},T1=({children:u,themes:f})=>{const{currentTheme:E}=Vu(Ee=>Ee.admin_app.theme),[S,w]=ge.useState(),{locale:q}=(0,At.c)(),ne=(0,kn.OY)();ge.useEffect(()=>{const Ee=window.matchMedia("(prefers-color-scheme: dark)");w(Ee.matches?"dark":"light");const Te=Me=>{w(Me.matches?"dark":"light")};return Ee.addEventListener("change",Te),()=>{Ee.removeEventListener("change",Te)}},[]),ge.useEffect(()=>{ne(qE(Object.keys(f)))},[ne,f]);const se=E==="system"?S:E;return(0,i.jsxs)(Ze.u,{locale:q,theme:f?.[se||"light"],children:[u,(0,i.jsx)(D1,{})]})},D1=(0,Qe.Ud)`
  body {
    background: ${({theme:u})=>u.colors.neutral100};
  }
`,Gv=new Go.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),A1=({children:u,components:f,customFields:E,fields:S,getAdminInjectedComponents:w,getPlugin:q,menu:ne,messages:se,plugins:Ee,runHookParallel:Te,runHookSeries:Me,runHookWaterfall:nt,settings:ht,store:Bt,themes:Ft})=>(0,i.jsx)(kn.C_,{store:Bt,children:(0,i.jsx)(s1,{children:(0,i.jsx)(S1,{messages:se,children:(0,i.jsx)(T1,{themes:Ft,children:(0,i.jsx)(Go.QueryClientProvider,{client:Gv,children:(0,i.jsx)(a.a7,{getPlugin:q,getAdminInjectedComponents:w,menu:ne,plugins:Ee,runHookParallel:Te,runHookWaterfall:nt,runHookSeries:Me,settings:ht,children:(0,i.jsx)(a.Y7,{components:f,fields:S,children:(0,i.jsx)(a.M3,{customFields:E,children:(0,i.jsx)(a.aS,{children:(0,i.jsx)(a.cj,{children:(0,i.jsx)(cg,{children:(0,i.jsx)(a.AS,{children:u})})})})})})})})})})})});class v3{components;constructor(){this.components={}}add(f){const{name:E,Component:S}=f;xe(S,"A Component must be provided"),xe(E,"A name must be provided"),xe(this.components[E]===void 0,"A similar field already exists"),this.components[E]=S}}const E3=["biginteger","boolean","date","datetime","decimal","email","enumeration","float","integer","json","password","richtext","string","text","time","uid"],x1=["min","minLength","max","maxLength","required","regex","enum","unique","private","default"];class O1{customFields;constructor(){this.customFields={}}register(f){if(Array.isArray(f))f.forEach(E=>{this.register(E)});else{const{name:E,pluginId:S,type:w,intlLabel:q,intlDescription:ne,components:se,options:Ee}=f;xe(E,"A name must be provided"),xe(w,"A type must be provided"),xe(q,"An intlLabel must be provided"),xe(ne,"An intlDescription must be provided"),xe(se,"A components object must be provided"),xe(se.Input,"An Input component must be provided"),xe(E3.includes(w),`Custom field type: '${w}' is not a valid Strapi type or it can't be used with a Custom Field`),xe(/^(?![0-9])[a-zA-Z0-9$_-]+$/g.test(E),`Custom field name: '${E}' is not a valid object key`);const Me=[...Ee?.base||[],...Ee?.advanced||[]];Me.length&&Me.reduce(kp,[]).forEach(({isValidOptionPath:Ft,errorMessage:ze})=>{xe(Ft,ze)});const nt=S?`plugin::${S}.${E}`:`global::${E}`,ht=Object.prototype.hasOwnProperty.call(this.customFields,nt);xe(!ht,`Custom field: '${nt}' has already been registered`),this.customFields[nt]=f}}getAll(){return this.customFields}get(f){return this.customFields[f]}}const kp=(u,f)=>"items"in f?f.items.reduce(kp,u):(f.name?u.push({isValidOptionPath:f.name.startsWith("options")||x1.includes(f.name),errorMessage:`'${f.name}' must be prefixed with 'options.'`}):u.push({isValidOptionPath:!1,errorMessage:"The 'name' property is required on an options object"}),u);class ym{fields;constructor(){this.fields={}}add(f){const{type:E,Component:S}=f;xe(S,"A Component must be provided"),xe(E,"A type must be provided"),this.fields[E]=S}}class R1{middlewares;constructor(){this.middlewares=[]}add(f){this.middlewares.push(f)}}class Up{apis;initializer;injectionZones;isReady;name;pluginId;constructor(f){this.apis=f.apis||{},this.initializer=f.initializer||null,this.injectionZones=f.injectionZones||{},this.isReady=f.isReady!==void 0?f.isReady:!0,this.name=f.name,this.pluginId=f.id}getInjectedComponents(f,E){try{return this.injectionZones[f][E]||[]}catch(S){return console.error("Cannot get injected component",S),[]}}injectComponent(f,E,S){try{this.injectionZones[f][E].push(S)}catch(w){console.error("Cannot inject component",w)}}}class _3{reducers;constructor({appReducers:f={}}={}){this.reducers={...f}}add(f,E){this.reducers[f]=E}}const w1=({children:u,permissions:f,refetchPermissions:E})=>{const S=Vu(q=>q.rbacProvider.allPermissions),w=gf();return ge.useEffect(()=>(w(M_(f)),()=>{w(I1())}),[f,w]),S?(0,i.jsx)(a.ew.Provider,{value:{allPermissions:S,refetchPermissions:E},children:u}):(0,i.jsx)(a.Wm,{})},y3={allPermissions:null,collectionTypesRelatedPermissions:{}},zv="StrapiAdmin/RBACProvider/RESET_STORE",Vv="StrapiAdmin/RBACProvider/SET_PERMISSIONS",I1=()=>({type:zv}),M_=u=>({type:Vv,permissions:u}),N_=(u=y3,f)=>(0,zo.cp)(u,E=>{switch(f.type){case Vv:{E.allPermissions=f.permissions,E.collectionTypesRelatedPermissions=f.permissions.filter(S=>S.subject).reduce((S,w)=>{const{subject:q,action:ne}=w;return q&&(S[q]||(S[q]={}),S[q]=S[q][ne]?{...S[q],[ne]:[...S[q][ne],w]}:{...S[q],[ne]:[w]}),S},{});break}case zv:return y3;default:return u}}),Kv=(u,f,E="listView")=>{const S=gf(),w=Vu(Ee=>Ee.rbacProvider.collectionTypesRelatedPermissions),q=Vu(Ee=>Ee["content-manager_rbacManager"].permissions),ne=w[f];(0,ge.useEffect)(()=>ne?(S({type:Qv,permissions:ne,__meta__:{plugins:u?u.plugins:null,containerName:E}}),()=>{S({type:M1})}):()=>{},[ne,S,u,E]);const se=q?.some(Ee=>Ee.subject!==f)??!0;return{isValid:Boolean(q)&&!se,permissions:q}},Yv={permissions:null},Qv="ContentManager/RBACManager/SET_PERMISSIONS",M1="ContentManager/RBACManager/RESET_PERMISSIONS",N1=(u=Yv,f)=>(0,zo.cp)(u,E=>{switch(f.type){case Qv:{E.permissions=Object.entries(f.permissions).reduce((S,w)=>[...S,...w[1]],[]);break}case M1:{E.permissions=null;break}default:return E}});function P1(u,f,E){if(!u||!f||!E)return{display:"none"};const{x:S,y:w}=E;return{transform:`translate(${S}px, ${w}px)`}}const b3=({renderItem:u})=>{const{itemType:f,isDragging:E,item:S,initialOffset:w,currentOffset:q,mouseOffset:ne}=n0(se=>({item:se.getItem(),itemType:se.getItemType(),initialOffset:se.getInitialSourceClientOffset(),currentOffset:se.getSourceClientOffset(),isDragging:se.isDragging(),mouseOffset:se.getClientOffset()}));return E?(0,i.jsx)(c.k,{height:"100%",left:0,position:"fixed",pointerEvents:"none",top:0,zIndex:100,width:"100%",children:(0,i.jsx)(c.k,{style:P1(w,q,ne),children:u({type:f,item:S})})}):null},dg=({labelField:u,isSibling:f=!1})=>(0,i.jsxs)(Xv,{background:f?"neutral100":"primary100",display:"inline-flex",gap:3,hasRadius:!0,justifyContent:"space-between",isSibling:f,"max-height":(0,a.W8)(32),maxWidth:"min-content",children:[(0,i.jsxs)(v.C,{gap:3,children:[(0,i.jsx)(Zv,{alignItems:"center",cursor:"all-scroll",padding:3,children:(0,i.jsx)(Tu.c,{})}),(0,i.jsx)(P_,{textColor:f?void 0:"primary600",fontWeight:"bold",ellipsis:!0,children:u})]}),(0,i.jsxs)(v.C,{children:[(0,i.jsx)(C3,{alignItems:"center",children:(0,i.jsx)(Ri.c,{})}),(0,i.jsx)(C3,{alignItems:"center",children:(0,i.jsx)(Zu.c,{})})]})]}),C3=(0,Qe.cp)(v.C)`
  height: ${({theme:u})=>u.spaces[7]};

  &:last-child {
    padding: 0 ${({theme:u})=>u.spaces[3]};
  }
`,Zv=(0,Qe.cp)(C3)`
  border-right: 1px solid ${({theme:u})=>u.colors.primary200};

  svg {
    width: ${12/16}rem;
    height: ${12/16}rem;
  }
`,Xv=(0,Qe.cp)(v.C)`
  border: 1px solid
    ${({theme:u,isSibling:f})=>f?u.colors.neutral150:u.colors.primary200};

  svg {
    width: ${10/16}rem;
    height: ${10/16}rem;

    path {
      fill: ${({theme:u,isSibling:f})=>f?void 0:u.colors.primary600};
    }
  }
`,P_=(0,Qe.cp)(R.O)`
  max-width: ${72/16}rem;
`,bm=({displayedValue:u})=>(0,i.jsxs)(v.C,{background:"neutral0",borderColor:"neutral200",justifyContent:"space-between",gap:3,padding:3,width:(0,a.W8)(300),children:[(0,i.jsx)(S3,{type:"button",children:(0,i.jsxs)(v.C,{gap:6,children:[(0,i.jsx)(jp,{alignItems:"center",justifyContent:"center",background:"neutral200",height:(0,a.W8)(32),width:(0,a.W8)(32),children:(0,i.jsx)(vl.c,{})}),(0,i.jsx)(v.C,{maxWidth:(0,a.W8)(150),children:(0,i.jsx)(R.O,{textColor:"neutral700",ellipsis:!0,children:u})})]})}),(0,i.jsxs)(v.C,{gap:2,children:[(0,i.jsx)(j.w,{"aria-label":"",borderWidth:0,children:(0,i.jsx)(Zo.c,{})}),(0,i.jsx)(j.w,{"aria-label":"",borderWidth:0,children:(0,i.jsx)(Tu.c,{})})]})]}),jp=(0,Qe.cp)(v.C)`
  border-radius: 50%;

  svg {
    height: ${6/16}rem;
    width: ${11/16}rem;
    > path {
      fill: ${({theme:u})=>u.colors.neutral600};
    }
  }
`,S3=Qe.cp.button`
  border: none;
  background: transparent;
  display: block;
  width: 100%;
  text-align: unset;
  padding: 0;
`,Ai=u=>`content-manager.${u}`,L1=(u,f,{onCancel:E,onDropItem:S,onGrabItem:w,onMoveItem:q})=>{const[ne,se]=ge.useState(!1),Ee=ht=>{ne&&typeof f=="number"&&q&&(ht==="UP"?q(f-1,f):ht==="DOWN"&&q(f+1,f))},Te=()=>{ne?(S&&S(f),se(!1)):(w&&w(f),se(!0))},Me=()=>{ne&&(se(!1),E&&E(f))};return ht=>{if(u&&!(ht.key==="Tab"&&!ne))switch(ht.preventDefault(),ht.key){case" ":case"Enter":Te();break;case"Escape":Me();break;case"ArrowDown":case"ArrowRight":Ee("DOWN");break;case"ArrowUp":case"ArrowLeft":Ee("UP");break}}},O4={UPWARD:"upward",DOWNWARD:"downward"},Cm={REGULAR:"regular",IMMEDIATE:"immediate"},R4=(u,{type:f="STRAPI_DND",index:E,item:S,onStart:w,onEnd:q,onGrabItem:ne,onDropItem:se,onCancel:Ee,onMoveItem:Te,dropSensitivity:Me=Cm.REGULAR})=>{const nt=ge.useRef(null),[{handlerId:ht,isOver:Bt},Ft]=(0,Wl.W)({accept:f,collect(Dn){return{handlerId:Dn.getHandlerId(),isOver:Dn.isOver({shallow:!0})}},drop(Dn){const Ir=Dn.index;Bt&&se&&se(Ir,E)},hover(Dn,Ir){if(!nt.current||!Te)return;const hr=Dn.index,Mr=E,_r=nt.current?.getBoundingClientRect(),Br=(_r.bottom-_r.top)/2,oi=Ir.getClientOffset();if(!oi)return;const ri=oi&&oi.y-_r.top;if(typeof hr=="number"&&typeof Mr=="number"){if(hr===Mr||Me===Cm.REGULAR&&(hr<Mr&&ri<Br||hr>Mr&&ri>Br))return;Te(Mr,hr),Dn.index=Mr}else{if(Array.isArray(hr)&&Array.isArray(Mr)&&Me===Cm.REGULAR){const kr=Math.min(hr.length,Mr.length);let Zr=!0,ai=!1,Vr=!1;for(let Ki=0;Ki<kr;Ki++)if(hr[Ki]<Mr[Ki]){ai=!0,Zr=!1;break}else if(hr[Ki]>Mr[Ki]){Vr=!0,Zr=!1;break}if(Zr&&hr.length===Mr.length||ai&&!Vr&&ri<Br||Vr&&!ai&&ri>Br)return}Te(Mr,hr),Dn.index=Mr}}}),ze=Dn=>{if(Dn&&Dn.isDragging()&&!Dn.didDrop()&&Dn.getInitialClientOffset()&&Dn.getClientOffset()){const Ir=Dn.getInitialClientOffset().y-Dn.getClientOffset().y;return Ir>0?O4.UPWARD:Ir<0?O4.DOWNWARD:null}return null},[{isDragging:_n,direction:On},Gn,Vn]=(0,et.I)({type:f,item(){w&&w();const{width:Dn}=nt.current?.getBoundingClientRect()??{};return{index:E,width:Dn,...S}},end(){q&&q()},canDrag:u,isDragging:S?.id?Dn=>S.id===Dn.getItem().id:void 0,collect:Dn=>({isDragging:Dn.isDragging(),initialOffset:Dn.getInitialClientOffset(),currentOffset:Dn.getClientOffset(),direction:ze(Dn)})}),mr=L1(u,E,{onGrabItem:ne,onDropItem:se,onCancel:Ee,onMoveItem:Te});return[{handlerId:ht,isDragging:_n,handleKeyDown:mr,isOverDropTarget:Bt,direction:On},nt,Ft,Gn,Vn]},Jv=u=>{const f=(0,ge.useRef)();return(0,ge.useEffect)(()=>{f.current=u},[u]),f.current},Ef={COMPONENT:"component",EDIT_FIELD:"editField",FIELD:"field",DYNAMIC_ZONE:"dynamicZone",RELATION:"relation",BLOCKS:"blocks"},L_=(u,f)=>{typeof u=="function"?u(f):u!=null&&(u.current=f)},$p=(...u)=>f=>u.forEach(E=>L_(E,f)),fg=50,Wp=4,hg=({canReorder:u,description:f,disabled:E,error:S,iconButtonAriaLabel:w,id:q,name:ne,numberOfRelationsToDisplay:se,label:Ee,labelAction:Te,labelLoadMore:Me,labelDisconnectRelation:nt,listAriaDescription:ht,liveText:Bt,loadingMessage:Ft,onCancel:ze,onDropItem:_n,onGrabItem:On,noRelationsMessage:Gn,onRelationConnect:Vn,onRelationLoadMore:mr,onRelationDisconnect:Dn,onRelationReorder:Ir,onSearchNextPage:hr,onSearch:Mr,placeholder:_r,publicationStateTranslations:Br,required:oi,relations:ri,searchResults:kr,size:Zr})=>{const[ai,Vr]=ge.useState(""),[Ki,As]=ge.useState(),Gi=ge.useRef(null),ts=ge.useRef(null),Ps=(0,a.E5)(ne),{data:sa}=kr,Ss=ri.data,pr=Ss.length??0,Hi=ge.useMemo(()=>pr>se?Math.min(pr,se)*(fg+Wp)+fg/2:Math.min(pr,se)*(fg+Wp),[pr,se]),Li=!!Me&&ri.hasNextPage,ss=ge.useMemo(()=>sa.flat().filter(Boolean).map(La=>({...La,value:La.id,label:La.mainField})),[sa]);ge.useEffect(()=>{if(pr<=se)return As(void 0);const La=b0=>{const Vl=b0.target,G0=Vl.parentNode.scrollHeight,J0=Vl.scrollHeight-Vl.scrollTop;return Vl.scrollTop===0?As("bottom"):As(J0===G0?"top":"top-bottom")},zl=ts?.current;return!ri.isLoading&&Ss.length>0&&zl&&ts.current.addEventListener("scroll",La),()=>{zl&&zl.removeEventListener("scroll",La)}},[ri,Ss,se,pr]);const _i=La=>{La&&Mr(ai)},ys=(La,zl)=>{Ir&&La>=0&&La<Ss.length&&Ir(zl,La)},$a=Jv(Ss.length),_o=ge.useRef(),$o=()=>{_o.current="loadMore",mr()};ge.useEffect(()=>{_o.current==="onChange"&&Vr(""),_o.current==="onChange"&&Ss.length!==$a?(Gi.current?.scrollToItem(Ss.length,"end"),_o.current=void 0):_o.current==="loadMore"&&Ss.length!==$a&&(Gi.current?.scrollToItem(0,"start"),_o.current=void 0)},[$a,Ss]);const Ku=`${ne}-item-instructions`;return(0,i.jsxs)(v.C,{direction:"column",gap:3,justifyContent:"space-between",alignItems:"stretch",wrap:"wrap",children:[(0,i.jsxs)(v.C,{direction:"row",alignItems:"end",justifyContent:"end",gap:2,width:"100%",children:[(0,i.jsx)(B1,{marginRight:"auto",maxWidth:Zr<=6?"100%":"70%",width:"100%",children:(0,i.jsx)(Ce.k1,{ref:Ps,autocomplete:"none",error:S,name:ne,hint:f,id:q,required:oi,label:Ee,labelAction:Te,disabled:E,placeholder:_r,hasMoreItems:kr.hasNextPage,loading:kr.isLoading,onOpenChange:_i,noOptionsMessage:()=>Gn,loadingMessage:Ft,onLoadMore:()=>{hr()},textValue:ai,onChange:La=>{La&&(Vn(sa.flat().find(zl=>zl.id.toString()===La)),_o.current="onChange")},onTextValueChange:La=>{Vr(La)},onInputChange:La=>{Mr(La.currentTarget.value)},children:ss.map(La=>(0,i.jsx)(k1,{...La},La.id))})}),Li&&(0,i.jsx)(le.c,{disabled:ri.isLoading||ri.isFetchingNextPage,onClick:$o,loading:ri.isLoading||ri.isFetchingNextPage,startIcon:(0,i.jsx)(uu.c,{}),shrink:0,children:Me})]}),Ss.length>0&&(0,i.jsxs)(F1,{overflowDirection:Ki,children:[(0,i.jsx)(W.K,{id:Ku,children:ht}),(0,i.jsx)(W.K,{"aria-live":"assertive",children:Bt}),(0,i.jsx)(Ka,{height:Hi,ref:Gi,outerRef:ts,itemCount:pr,itemSize:fg+Wp,itemData:{name:ne,ariaDescribedBy:Ku,canDrag:u,disabled:E,handleCancel:ze,handleDropItem:_n,handleGrabItem:On,iconButtonAriaLabel:w,labelDisconnectRelation:nt,onRelationDisconnect:Dn,publicationStateTranslations:Br,relations:Ss,updatePositionOfRelation:ys},itemKey:La=>`${Ss[La].mainField}_${Ss[La].id}`,innerElementType:"ol",children:qv})]})]})},B1=(0,Qe.cp)(c.k)`
  align-self: flex-start;
`,F1=(0,Qe.cp)(c.k)`
  position: relative;
  overflow: hidden;
  flex: 1;

  &:before,
  &:after {
    position: absolute;
    width: 100%;
    height: 4px;
    z-index: 1;
  }

  &:before {
    /* TODO: as for DS Table component we would need this to be handled by the DS theme */
    content: '';
    background: linear-gradient(rgba(3, 3, 5, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
    top: 0;
    opacity: ${({overflowDirection:u})=>u==="top-bottom"||u==="top"?1:0};
    transition: opacity 0.2s ease-in-out;
  }

  &:after {
    /* TODO: as for DS Table component we would need this to be handled by the DS theme */
    content: '';
    background: linear-gradient(0deg, rgba(3, 3, 5, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
    bottom: 0;
    opacity: ${({overflowDirection:u})=>u==="top-bottom"||u==="bottom"?1:0};
    transition: opacity 0.2s ease-in-out;
  }
`,k1=({publicationState:u,mainField:f,id:E})=>{const{formatMessage:S}=(0,At.c)(),w=(f??E).toString();if(u){const q=u==="draft",ne={id:Ai("components.Select.draft-info-title"),defaultMessage:"State: Draft"},se={id:Ai("components.Select.publish-info-title"),defaultMessage:"State: Published"},Ee=S(q?ne:se);return(0,i.jsx)(ye.m,{value:E.toString(),textValue:w,children:(0,i.jsxs)(v.C,{children:[(0,i.jsx)(U1,{title:Ee,isDraft:q}),(0,i.jsx)(R.O,{ellipsis:!0,children:w})]})})}return(0,i.jsx)(ye.m,{value:E.toString(),textValue:w,children:w})},U1=Qe.cp.div`
  flex-shrink: 0;
  width: ${(0,a.W8)(6)};
  height: ${(0,a.W8)(6)};
  margin-right: ${({theme:u})=>u.spaces[2]};
  background-color: ${({theme:u,isDraft:f})=>u.colors[f?"secondary600":"success600"]};
  border-radius: 50%;
`,qv=({data:u,index:f,style:E})=>{const{ariaDescribedBy:S,canDrag:w,disabled:q,handleCancel:ne,handleDropItem:se,handleGrabItem:Ee,iconButtonAriaLabel:Te,name:Me,labelDisconnectRelation:nt,onRelationDisconnect:ht,publicationStateTranslations:Bt,relations:Ft,updatePositionOfRelation:ze}=u,{publicationState:_n,href:On,mainField:Gn,id:Vn}=Ft[f],mr=_n==="draft"?"secondary":"success";return(0,i.jsxs)(j1,{ariaDescribedBy:S,canDrag:w,disabled:q,displayValue:String(Gn??Vn),iconButtonAriaLabel:Te,id:Vn,index:f,name:Me,endAction:(0,i.jsx)(eE,{"data-testid":`remove-relation-${Vn}`,disabled:q,type:"button",onClick:()=>ht(Ft[f]),"aria-label":nt,children:(0,i.jsx)(Ae.G,{width:"12px",as:Zu.c})}),onCancel:ne,onDropItem:se,onGrabItem:Ee,status:_n||void 0,style:{...E,bottom:E.bottom??0+Wp,height:E.height??0-Wp},updatePositionOfRelation:ze,children:[(0,i.jsx)(c.k,{minWidth:0,paddingTop:1,paddingBottom:1,paddingRight:4,children:(0,i.jsx)(Fe.o,{description:Gn??`${Vn}`,children:On?(0,i.jsx)(T3,{to:On,children:Gn??Vn}):(0,i.jsx)(R.O,{textColor:q?"neutral600":"primary600",ellipsis:!0,children:Gn??Vn})})}),_n&&(0,i.jsx)(Pe,{variant:mr,showBullet:!1,size:"S",children:(0,i.jsx)(R.O,{fontWeight:"bold",textColor:`${mr}700`,children:Bt[_n]})})]})},eE=Qe.cp.button`
  svg path {
    fill: ${({theme:u,disabled:f})=>f?u.colors.neutral600:u.colors.neutral500};
  }

  &:hover svg path,
  &:focus svg path {
    fill: ${({theme:u,disabled:f})=>!f&&u.colors.neutral600};
  }
`,T3=(0,Qe.cp)(pe.c)`
  display: block;

  > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
`,j1=({ariaDescribedBy:u,children:f,displayValue:E,canDrag:S,disabled:w,endAction:q,iconButtonAriaLabel:ne,style:se,id:Ee,index:Te,name:Me,onCancel:nt,onDropItem:ht,onGrabItem:Bt,status:Ft,updatePositionOfRelation:ze,..._n})=>{const[{handlerId:On,isDragging:Gn,handleKeyDown:Vn},mr,Dn,Ir,hr]=R4(S&&!w,{type:`${Ef.RELATION}_${Me}`,index:Te,item:{displayedValue:E,status:Ft,id:Ee,index:Te},onMoveItem:ze,onDropItem:ht,onGrabItem:Bt,onCancel:nt,dropSensitivity:Cm.IMMEDIATE}),Mr=$p(mr,Ir);return ge.useEffect(()=>{hr((0,pn.s)())},[hr]),(0,i.jsx)(c.k,{style:se,as:"li",ref:Dn,"aria-describedby":u,cursor:S?"all-scroll":"default",children:Gn?(0,i.jsx)(tE,{}):(0,i.jsxs)(v.C,{paddingTop:2,paddingBottom:2,paddingLeft:S?2:4,paddingRight:4,hasRadius:!0,borderColor:"neutral200",background:w?"neutral150":"neutral0",justifyContent:"space-between",ref:S?Mr:void 0,"data-handler-id":On,..._n,children:[(0,i.jsxs)(nE,{gap:1,children:[S?(0,i.jsx)(j.w,{forwardedAs:"div",role:"button",tabIndex:0,"aria-label":ne,borderWidth:0,onKeyDown:Vn,disabled:w,children:(0,i.jsx)(Tu.c,{})}):null,(0,i.jsx)($1,{justifyContent:"space-between",children:f})]}),q&&(0,i.jsx)(c.k,{paddingLeft:4,children:q})]})})},tE=()=>(0,i.jsx)(c.k,{paddingTop:2,paddingBottom:2,paddingLeft:4,paddingRight:4,hasRadius:!0,borderStyle:"dashed",borderColor:"primary600",borderWidth:"1px",background:"primary100",height:`calc(100% - ${Wp}px)`}),nE=(0,Qe.cp)(v.C)`
  width: 100%;
  /* Used to prevent endAction to be pushed out of container */
  min-width: 0;

  & > div[role='button'] {
    cursor: all-scroll;
  }
`,$1=(0,Qe.cp)(v.C)`
  width: 100%;
  /* Used to prevent endAction to be pushed out of container */
  min-width: 0;
`,D3=(u,f)=>E=>{const S=E.split(".");return S.reduce((w,q,ne)=>{const se=Is(u,w),Ee=Is(f,[...S.slice(0,ne),q,"__temp_key__"]);if(Array.isArray(se)&&typeof Ee=="number"){const Te=se.findIndex(Me=>Me.__temp_key__===Ee);return w.push(Te.toString()),w}return w.push(q),w},[])};function B_(u,f){return`/content-manager/collection-types/${u}/${f??""}`}const rE=(u,{shouldAddLink:f,mainFieldName:E,targetModel:S})=>{const w={...u,mainField:u[E]};return f&&(w.href=B_(S,w.id)),w.publicationState=!1,w?.publishedAt!==void 0&&(w.publicationState=w.publishedAt?Mf.PUBLISHED:Mf.DRAFT),w},F_=(u,f)=>[...u].map(E=>rE(E,f)),k_=(u=[],{relation:f,search:E})=>{const[S,w]=(0,ge.useState)({}),[q,ne]=(0,ge.useState)(0),{get:se}=(0,a.Qn)(),{onLoad:Ee,normalizeArguments:Te}=f,Me=(0,Go.useInfiniteQuery)(["relation",...u],async({pageParam:Vn=1})=>{try{const{data:mr}=await se(f?.endpoint,{params:{...f.pageParams??{},page:Vn}});return ne(Vn),mr}catch{return null}},{cacheTime:0,enabled:f.enabled,getNextPageParam(Vn){const mr=Vn&&!("pagination"in Vn);if(!(!Vn||mr||Vn?.pagination.page>=Vn?.pagination.pageCount))return Vn.pagination.page+1},select:Vn=>({...Vn,pages:Vn.pages.map(mr=>{if(!mr)return mr;let Dn=[];return"data"in mr&&mr.data?Dn=[mr.data]:"results"in mr&&mr.results&&(Dn=[...mr.results].reverse()),{pagination:"pagination"in mr?mr.pagination:void 0,results:Dn}})})}),{pageGoal:nt}=f,{status:ht,data:Bt,fetchNextPage:Ft,hasNextPage:ze}=Me;(0,ge.useEffect)(()=>{nt&&nt>q&&ze&&ht==="success"&&Ft({pageParam:q+1})},[nt,q,Ft,ze,ht]);const _n=(0,a.GY)(Ee);(0,ge.useEffect)(()=>{if(ht==="success"&&Bt&&Bt.pages?.at(-1)?.results&&_n){const Vn=F_(Bt.pages.at(-1)?.results??[],Te);_n(Vn)}},[ht,_n,Bt]);const On=(0,Go.useInfiniteQuery)(["relation",...u,"search",JSON.stringify(S)],async({pageParam:Vn=1})=>{try{const{data:mr}=await se(E.endpoint,{params:{...E.pageParams??{},...S,page:Vn}});return mr}catch{return null}},{enabled:Object.keys(S).length>0,getNextPageParam(Vn){if(!(!Vn?.pagination||Vn.pagination&&Vn.pagination.page>=Vn.pagination.pageCount))return Vn.pagination.page+1}});return{relations:Me,search:On,searchFor:(Vn,mr={})=>{w({...mr,_q:Vn,_filter:"$containsi"})}}},W1=(u=[],f=[])=>{const E=u.reduce((w,q)=>f.find(ne=>ne.id===q.id)?w:[...w,q.id],[]),S=f.reduce((w,q)=>u.find(ne=>ne.id===q.id)?w:[...w,q.id],[]);return[E,S]},Hp=(u,{mainFieldName:f})=>{const{data:E}=u,{pages:S=[]}=E??{};return{...u,data:S.map(w=>(w?.results??[]).map(q=>rE(q,{mainFieldName:f,shouldAddLink:!1,targetModel:""}))).filter(Boolean).flat()}},Mf={DRAFT:"draft",PUBLISHED:"published"},pg=5,iE=10,U_=({componentUid:u,name:f,error:E,editable:S,description:w,intlLabel:q,isUserAllowedToEditField:ne,isUserAllowedToReadField:se,labelAction:Ee,mainField:Te,placeholder:Me,queryInfos:{defaultParams:nt,shouldDisplayRelationLink:ht=!1},required:Bt,relationType:Ft,size:ze,targetModel:_n})=>{const{isCreatingEntry:On,createActionAllowedFields:Gn,readActionAllowedFields:Vn,updateActionAllowedFields:mr,slug:Dn,modifiedData:Ir,initialData:hr,relationConnect:Mr,relationDisconnect:_r,relationLoad:Br,relationReorder:oi}=(0,a.O_)(),{params:ri}=(0,Ct.SU)("/content-manager/collection-types/:collectionType/create/clone/:origin")??{},{origin:kr}=ri??{},Zr=Boolean(kr),ai=Boolean(u),Vr=ge.useMemo(()=>ne===!0?!0:(On?Gn:mr).includes(f),[On,Gn,f,ne,mr]),Ki=ge.useMemo(()=>se?!0:(On?[]:Vn).includes(f),[On,se,f,Vn]),As=f.split("."),Gi=u?Is(Ir,As.slice(0,-1))?.id:void 0,ts=kr||Ir.id,Ps=ge.useMemo(()=>On&&!kr?null:u?Gi?`/content-manager/relations/${u}/${Gi}/${As.at(-1)}`:null:`/content-manager/relations/${Dn}/${ts}/${f.split(".").at(-1)}`,[On,kr,u,Dn,ts,f,Gi,As]),sa=ge.useMemo(()=>u?`/content-manager/relations/${u}/${f.split(".").at(-1)}`:`/content-manager/relations/${Dn}/${f.split(".").at(-1)}`,[u,Dn,f]),[Ss,pr]=ge.useState(""),{formatMessage:Hi}=(0,At.c)(),Li=f.split("."),ss=D3(hr,Ir)(f),_i=Is(Ir,f,[]),ys=Math.ceil(Is(hr,f,[]).length/pg),{relations:$a,search:_o,searchFor:$o}=k_([Dn,ss.join("."),Ir.id,nt],{relation:{enabled:!!Ps,endpoint:Ps,pageGoal:ys,pageParams:{...nt,pageSize:pg},onLoad(Oa){Br?.({target:{initialDataPath:["initialData",...ss],modifiedDataPath:["modifiedData",...Li],value:Oa}})},normalizeArguments:{mainFieldName:Te.name,shouldAddLink:ht,targetModel:_n}},search:{endpoint:sa,pageParams:{...nt,entityId:On||Zr?void 0:ai?Gi:ts,pageSize:iE}}}),Ku=Ft.toLowerCase().includes("morph"),La=["oneWay","oneToOne","manyToOne","oneToManyMorph","oneToOneMorph"].includes(Ft),zl=ge.useMemo(()=>Ku?!0:On?!S:!Vr&&Ki||!S,[Ku,On,S,Vr,Ki]),b0=Oa=>{const Ga=rE(Oa,{mainFieldName:Te.name,shouldAddLink:ht,targetModel:_n});Mr?.({name:f,value:Ga,toOneRelation:La})},Vl=Oa=>{_r?.({name:f,id:Oa.id})},G0=()=>{$a.fetchNextPage()},J0=(Oa="")=>{const[Ga,nc]=W1(_i,Is(hr,f));$o(Oa,{idsToInclude:nc,idsToOmit:Ga})},q0=()=>{_o.fetchNextPage()},ed=Oa=>`${Oa+1} of ${_i.length}`,cc=(Oa,Ga)=>{const nc=_i[Oa];pr(Hi({id:Ai("dnd.reorder"),defaultMessage:"{item}, moved. New position in list: {position}."},{item:nc.mainField??nc.id,position:ed(Ga)})),oi?.({name:f,newIndex:Ga,oldIndex:Oa})},C0=Oa=>{const Ga=_i[Oa];pr(Hi({id:Ai("dnd.grab-item"),defaultMessage:"{item}, grabbed. Current position in list: {position}. Press up and down arrow to change position, Spacebar to drop, Escape to cancel."},{item:Ga.mainField??Ga.id,position:ed(Oa)}))},Yd=Oa=>{const Ga=_i[Oa];pr(Hi({id:Ai("dnd.drop-item"),defaultMessage:"{item}, dropped. Final position in list: {position}."},{item:Ga.mainField??Ga.id,position:ed(Oa)}))},gl=Oa=>{const Ga=_i[Oa];pr(Hi({id:Ai("dnd.cancel-item"),defaultMessage:"{item}, dropped. Re-order cancelled."},{item:Ga.mainField??Ga.id}))};if(!Vr&&On||!On&&!Vr&&!Ki)return(0,i.jsx)(a.Q$,{name:f,intlLabel:q,labelAction:Ee});const Ed=_i.length,Gh=(Is(hr,ss)??[]).length,Qd=$a.data?.pages[0]?.pagination?.total??0,Ea=!$a.data&&Ed===Gh?Ed:Ed-Gh+Qd;return(0,i.jsx)(hg,{error:E,canReorder:!La,description:w,disabled:zl,iconButtonAriaLabel:Hi({id:Ai("components.RelationInput.icon-button-aria-label"),defaultMessage:"Drag"}),id:f,label:`${Hi({id:q.id,defaultMessage:q.defaultMessage})} ${Ea>0?`(${Ea})`:""}`,labelAction:Ee,labelLoadMore:!On||Zr?Hi({id:Ai("relation.loadMore"),defaultMessage:"Load More"}):void 0,labelDisconnectRelation:Hi({id:Ai("relation.disconnect"),defaultMessage:"Remove"}),listAriaDescription:Hi({id:Ai("dnd.instructions"),defaultMessage:"Press spacebar to grab and re-order"}),liveText:Ss,loadingMessage:Hi({id:Ai("relation.isLoading"),defaultMessage:"Relations are loading"}),name:f,noRelationsMessage:Hi({id:Ai("relation.notAvailable"),defaultMessage:"No relations available"}),numberOfRelationsToDisplay:pg,onDropItem:Yd,onGrabItem:C0,onCancel:gl,onRelationConnect:b0,onRelationDisconnect:Vl,onRelationLoadMore:G0,onRelationReorder:cc,onSearch:Oa=>J0(Oa),onSearchNextPage:()=>q0(),placeholder:Hi(Me||{id:Ai("relation.add"),defaultMessage:"Add relation"}),publicationStateTranslations:{[Mf.DRAFT]:Hi({id:Ai("relation.publicationState.draft"),defaultMessage:"Draft"}),[Mf.PUBLISHED]:Hi({id:Ai("relation.publicationState.published"),defaultMessage:"Published"})},relations:gt({...$a,data:_i},"data","hasNextPage","isFetchingNextPage","isLoading","isSuccess"),required:Bt,searchResults:Hp(_o,{mainFieldName:Te.name}),size:ze})},mg=({status:u,displayedValue:f,width:E})=>{const{formatMessage:S}=(0,At.c)(),w={[Mf.DRAFT]:S({id:Ai("relation.publicationState.draft"),defaultMessage:"Draft"}),[Mf.PUBLISHED]:S({id:Ai("relation.publicationState.published"),defaultMessage:"Published"})},q=u===Mf.DRAFT?"secondary":"success";return(0,i.jsx)(c.k,{style:{width:E},children:(0,i.jsxs)(v.C,{paddingTop:2,paddingBottom:2,paddingLeft:2,paddingRight:4,hasRadius:!0,borderWidth:1,background:"neutral0",borderColor:"neutral200",justifyContent:"space-between",children:[(0,i.jsxs)(nE,{gap:1,children:[(0,i.jsx)(j.w,{"aria-label":"",borderWidth:0,children:(0,i.jsx)(Tu.c,{})}),(0,i.jsxs)($1,{maxWidth:"100%",justifyContent:"space-between",children:[(0,i.jsx)(c.k,{minWidth:0,paddingTop:1,paddingBottom:1,paddingRight:4,children:(0,i.jsx)(T3,{href:"",children:(0,i.jsx)(R.O,{textColor:"primary600",ellipsis:!0,children:f})})}),u&&(0,i.jsx)(Pe,{variant:q,showBullet:!1,size:"S",children:(0,i.jsx)(R.O,{fontWeight:"bold",textColor:`${q}700`,children:w[u]})})]})]}),(0,i.jsx)(c.k,{paddingLeft:4,children:(0,i.jsx)(eE,{type:"button",children:(0,i.jsx)(Ae.G,{width:"12px",as:Zu.c})})})]})})},A3=()=>{const[u,f]=ge.useState(""),{formatMessage:E,locale:S}=(0,At.c)(),w=Vu(ht=>ht["content-manager_app"].collectionTypeLinks),q=Vu(ht=>ht["content-manager_app"].singleTypeLinks),{startsWith:ne}=(0,a.WO)(S,{sensitivity:"base"}),se=(0,a.In)(S,{sensitivity:"base"}),Ee=ge.useMemo(()=>[{id:"collectionTypes",title:E({id:Ai("components.LeftMenu.collection-types"),defaultMessage:"Collection Types"}),searchable:!0,links:w},{id:"singleTypes",title:E({id:Ai("components.LeftMenu.single-types"),defaultMessage:"Single Types"}),searchable:!0,links:q}].map(ht=>({...ht,links:ht.links.filter(Bt=>ne(Bt.title,u)).sort((Bt,Ft)=>se.compare(Bt.title,Ft.title)).map(Bt=>({...Bt,title:E({id:Bt.title,defaultMessage:Bt.title})}))})),[w,u,q,ne,E,se]),Te=()=>{f("")},Me=({target:{value:ht}})=>{f(ht)},nt=E({id:Ai("header.name"),defaultMessage:"Content"});return(0,i.jsxs)(Fn.y,{ariaLabel:nt,children:[(0,i.jsx)(ln.C,{label:nt,searchable:!0,value:u,onChange:Me,onClear:Te,searchLabel:E({id:"content-manager.components.LeftMenu.Search.label",defaultMessage:"Search for a content type"})}),(0,i.jsx)(jn.I,{children:Ee.map(ht=>(0,i.jsx)(Nr.A,{label:ht.title,badgeLabel:ht.links.length.toString(),children:ht.links.map(Bt=>{const Ft=Bt.search?`?${Bt.search}`:"";return(0,i.jsx)(Mi.w,{as:tn.Af,to:`${Bt.to}${Ft}`,children:Bt.title},Bt.uid)})},ht.id))})]})},x3=ge.createContext({refetchData:()=>Promise.resolve()}),{MUTATE_COLLECTION_TYPES_LINKS:wd,MUTATE_SINGLE_TYPES_LINKS:j_}=Fp,H1=()=>{const u=gf(),f=(0,a.eo)(),E=Vu(Te=>Te["content-manager_app"]),{allPermissions:S}=(0,a.c_)(),{runHookWaterfall:w}=(0,a.U7)(),{notifyStatus:q}=(0,Se.O)(),{formatMessage:ne}=(0,At.c)(),{get:se}=(0,a.Qn)(),Ee=(0,ge.useRef)(async()=>{u({type:"ContentManager/App/GET_INIT_DATA"});try{const{data:{data:{components:Te,contentTypes:Me,fieldSizes:nt}}}=await se("/content-manager/init");q(ne({id:Ai("App.schemas.data-loaded"),defaultMessage:"The schemas have been successfully loaded."}));const{data:{data:ht}}=await se("/content-manager/content-types-settings"),{collectionType:Bt,singleType:Ft}=Me.reduce((hr,Mr)=>(hr[Mr.kind].push(Mr),hr),{collectionType:[],singleType:[]}),ze=sE(Bt,"collectionTypes",ht),_n=sE(Ft,"singleTypes"),On=await Promise.all(ze.map(({permissions:hr})=>(0,a.Q3)(S,hr))),Gn=ze.filter((hr,Mr)=>On[Mr]),Vn=await Promise.all(_n.map(({permissions:hr})=>(0,a.Q3)(S,hr))),mr=_n.filter((hr,Mr)=>Vn[Mr]),{ctLinks:Dn}=w(wd,{ctLinks:Gn,models:Me}),{stLinks:Ir}=w(j_,{stLinks:mr,models:Me});u({type:"ContentManager/App/SET_INIT_DATA",data:{authorizedCollectionTypeLinks:Dn,authorizedSingleTypeLinks:Ir,contentTypeSchemas:Me,components:Te,fieldSizes:nt}})}catch(Te){console.error(Te),f({type:"warning",message:{id:"notification.error"}})}});return(0,ge.useEffect)(()=>(Ee.current(),()=>{u({type:"ContentManager/App/RESET_INIT_DATA"})}),[u,f]),{...E,refetchData:Ee.current}},sE=(u,f,E=[])=>u.filter(S=>S.isDisplayed).map(S=>{const w=[{action:"plugin::content-manager.explorer.create",subject:S.uid},{action:"plugin::content-manager.explorer.read",subject:S.uid}],q=[{action:"plugin::content-manager.explorer.read",subject:S.uid}],ne=f==="collectionTypes"?w:q,se=E.find(({uid:Te})=>Te===S.uid);let Ee=null;if(se){const Te={page:1,pageSize:se.settings.pageSize,sort:`${se.settings.defaultSortBy}:${se.settings.defaultSortOrder}`};Ee=(0,Iu.stringify)(Te,{encode:!1})}return{permissions:ne,search:Ee,kind:S.kind,title:S.info.displayName,to:`/content-manager/${S.kind==="collectionType"?"collection-types":"single-types"}/${S.uid}`,uid:S.uid,name:S.uid,isDisplayed:S.isDisplayed}}),O3=(u,f,E)=>{const S=se=>f.find(Ee=>Ee.uid===se),w=Object.assign({},u),{uid:q}=u[E],ne=S(q);return w[E]=We({},ne,u[E]),Object.keys(u.components).forEach(se=>{const Ee=S(se);w.components[se]={...u.components[se],...Ee}}),w},aE=(u,f)=>f.find(E=>E.uid===u),oE=(u,f)=>{const E=G1(u,f),S={...E.contentType,layouts:{...E.contentType.layouts,edit:z1(E.contentType,f),list:V1(E.contentType,E.components)}},w=Object.keys(E.components).reduce((q,ne)=>{const se=z1(E.components[ne],f);return q[ne]={...E.components[ne],layouts:{...E.components[ne].layouts,edit:se}},q},{});return{contentType:S,components:w}},G1=(u,f)=>{const E=O3(Fo(u),f,"contentType"),{components:S,contentType:w}=E,q=ne=>Object.keys(ne.metadatas).reduce((se,Ee)=>{const Te=ne.attributes[Ee]??{};let Me=ne.metadatas[Ee];if(Te.type==="relation"&&"target"in Te){const nt=aE(Te.target,f),ht=Me.edit.mainField,Bt={name:ht,...nt.attributes[ht]};Me={list:{...Me.list,mainField:Bt},edit:{...Me.edit,mainField:Bt}}}return se[Ee]=Me,se},{});return E.contentType.metadatas=q(w),Object.keys(S).forEach(ne=>{E.components[ne].metadatas=q(S[ne])}),E},z1=(u,f)=>u.layouts.edit.reduce((E,S)=>{const w=S.map(q=>{const ne=u.attributes[q.name]??{},se={...q,fieldSchema:ne,metadatas:u.metadatas[q.name].edit??{}};if(ne.type==="relation"){const Te=aE(ne.target,f).pluginOptions||{};se.targetModelPluginOptions=Te,se.queryInfos={shouldDisplayRelationLink:uE(u,q.name,f)}}return se});return E.push(w),E},[]),V1=(u,f)=>u.layouts.list.reduce((S,w)=>{const q=u.attributes[w]??{},ne=u.metadatas[w].list??{};if(q.type==="component"){const se=f[q.component],Ee=se.settings.mainField,Te=se.attributes[Ee];return S.push({key:`__${w}_key__`,name:w,fieldSchema:q,metadatas:{...ne,mainField:{...Te,name:Ee}}}),S}return S.push({key:`__${w}_key__`,name:w,fieldSchema:q,metadatas:ne}),S},[]),uE=(u,f,E)=>{const S=u.attributes[f].targetModel??"";return E.some(w=>w.uid===S&&w.isDisplayed)},gg=({layouts:u,metadatas:f,...E})=>({...E,layouts:{edit:u.edit.map(S=>S.map(({name:w,size:q})=>({name:w,size:q}))),list:u.list.map(S=>typeof S=="object"&&"name"in S?S.name:S)},metadatas:Object.keys(f).reduce((S,w)=>{const q=f[w]??{};return q.edit.mainField?{...S,[w]:{edit:{...q.edit,mainField:q.edit.mainField.name},list:Xu(q.list,["mainField"])}}:{...S,[w]:{edit:q.edit,list:Xu(q.list,["mainField"])}}},{})}),$_=u=>{const f=Vu(kE),{get:E}=(0,a.Qn)(),{data:S,isLoading:w,refetch:q}=(0,Go.useQuery)(["content-manager","content-types",u,"configuration"],async()=>{const{data:{data:se}}=await E(`/content-manager/content-types/${u}/configuration`);return se}),ne=ge.useMemo(()=>S?oE(S,f):null,[S,f]);return{isLoading:w,layout:ne,updateLayout:q}},K1=ge.createContext();function vg({attributes:u,buttonData:f,children:E,goTo:S,layout:w,metadatas:q,moveItem:ne,moveRow:se,onAddData:Ee,relationsLayout:Te,removeField:Me,selectedItemName:nt,setEditFieldToSelect:ht,...Bt}){return(0,i.jsx)(K1.Provider,{value:{attributes:u,buttonData:f,goTo:S,layout:w,metadatas:q,moveItem:ne,moveRow:se,onAddData:Ee,relationsLayout:Te,removeField:Me,selectedItemName:nt,setEditFieldToSelect:ht,...Bt},children:E})}vg.defaultProps={attributes:{},buttonData:[],goTo(){},layout:[],metadatas:{},moveItem(){},moveRow(){},onAddData(){},relationsLayout:[],removeField(){},selectedItemName:null,setEditFieldToSelect(){}},vg.propTypes={attributes:ti.object,buttonData:ti.array,children:ti.node.isRequired,goTo:ti.func,layout:ti.array,metadatas:ti.object,moveItem:ti.func,moveRow:ti.func,onAddData:ti.func,relationsLayout:ti.array,removeField:ti.func,selectedItemName:ti.string,setEditFieldToSelect:ti.func};function pp(){return ge.useContext(K1)}const Y1=[{action:"plugin::content-type-builder.read",subject:null}],lE=()=>{const{trackUsage:u}=(0,a.m4)(),{formatMessage:f}=(0,At.c)(),{slug:E,modifiedData:S,isContentTypeView:w}=pp(),q=w?"content-types":"components",ne=`/plugins/content-type-builder/${q==="content-types"?q:"component-categories"}`,se=Is(S,"category",""),Ee=q==="content-types"?E:`${se}/${E}`,Te=()=>{u("willEditEditLayout")};return E==="strapi::administrator"?null:(0,i.jsx)(a.Yj,{permissions:Y1,children:(0,i.jsx)(a.EZ,{to:`${ne}/${Ee}`,onClick:Te,size:"S",startIcon:(0,i.jsx)(Ri.c,{}),variant:"secondary",children:f({id:Ai(`edit-settings-view.link-to-ctb.${q}`),defaultMessage:"Edit the content type"})})})},Sm=({componentUid:u})=>{const{componentLayouts:f}=pp(),{formatMessage:E}=(0,At.c)(),S=Is(f,[u],{}),w=Is(S,["layouts","edit"],[]);return(0,i.jsxs)(c.k,{padding:3,children:[w.map((q,ne)=>(0,i.jsx)(K.y,{gap:4,children:q.map(se=>(0,i.jsx)(Y.C,{col:se.size,children:(0,i.jsx)(c.k,{paddingTop:2,children:(0,i.jsx)(v.C,{alignItems:"center",background:"neutral0",paddingLeft:3,paddingRight:3,height:`${32/16}rem`,hasRadius:!0,borderColor:"neutral200",children:(0,i.jsx)(R.O,{textColor:"neutral800",children:se.name})})})},se.name))},ne)),(0,i.jsx)(c.k,{paddingTop:2,children:(0,i.jsx)(a.cH,{startIcon:(0,i.jsx)(Ks.c,{}),to:`/content-manager/components/${u}/configurations/edit`,children:E({id:Ai("components.FieldItem.linkToComponentLayout"),defaultMessage:"Set the component's layout"})})})]})};Sm.propTypes={componentUid:ti.string.isRequired};const w4=({showBackground:u=!0,icon:f="cube"})=>(0,i.jsx)(v.C,{alignItems:"center",background:u?"neutral200":void 0,justifyContent:"center",height:8,width:8,color:"neutral600",borderRadius:u?"50%":0,children:(0,i.jsx)(Ae.G,{as:Tm[f]||Tm.cube,height:5,width:5})}),Tm={alien:Qi.c,apps:la.c,archive:as.c,arrowDown:bs.c,arrowLeft:Za.c,arrowRight:za.c,arrowUp:wo.c,attachment:ca.c,bell:Uo.c,bold:ru.c,book:di.c,briefcase:wi.c,brush:dr.c,bulletList:hi.c,calendar:Si.c,car:Di.c,cast:Xi.c,chartBubble:zi.c,chartCircle:os.c,chartPie:js.c,check:hs.c,clock:Vi.c,cloud:ns.c,code:fs.c,cog:Ks.c,collapse:ma.c,command:da.c,connector:Da.c,crop:Ys.c,crown:Xa.c,cube:Po.c,cup:co.c,cursor:el.c,dashboard:Yo.c,database:Ou.c,discuss:Qo.c,doctor:Ha.c,earth:Jo.c,emotionHappy:qo.c,emotionUnhappy:tl.c,envelop:Nu.c,exit:Kl.c,expand:ke.c,eye:Ie.c,feather:Wt.c,file:Nn.c,fileError:ei.c,filePdf:bi.c,filter:Cs.c,folder:Bs.c,gate:Xs.c,gift:_a.c,globe:ga.c,grid:Vs.c,handHeart:Va.c,hashtag:io.c,headphone:ya.c,heart:oo.c,house:ka.c,information:Su.c,italic:Ru.c,key:Ko.c,landscape:Yl.c,layer:gu.c,layout:Ul.c,lightbulb:Vc.c,link:ll.c,lock:Kc.c,magic:wu.c,manyToMany:Yc.c,manyToOne:S0.c,manyWays:bc.c,medium:T0.c,message:N0.c,microphone:P0.c,monitor:Ql.c,moon:Qc.c,music:zn.c,oneToMany:Kr.c,oneToOne:gn.c,oneWay:tr.c,paint:st.c,paintBrush:si.c,paperPlane:Yi.c,pencil:Ri.c,phone:ta.c,picture:fa.c,pin:Aa.c,pinMap:Es.c,plane:ha.c,play:qa.c,plus:fo.c,priceTag:Wa.c,puzzle:Wo.c,question:ou.c,quote:Io.c,refresh:uu.c,repeat:Ta.c,restaurant:fu.c,rocket:Zl.c,rotate:Pu.c,scissors:Zc.c,search:Yu.c,seed:Cc.c,server:L0.c,shield:Xc.c,shirt:rc.c,shoppingCart:Sl.c,slideshow:B0.c,stack:Tl.c,star:z0.c,store:Jc.c,strikeThrough:Ra.c,sun:xs.c,television:hu.c,thumbDown:cl.c,thumbUp:Do.c,train:D0.c,twitter:jl.c,typhoon:nl.c,underline:Ml.c,user:ic.c,volumeMute:Qu.c,volumeUp:l0.c,walk:qc.c,wheelchair:dc.c,write:c0.c},Q1=(0,Qe.cp)(v.C)`
  text-decoration: none;

  &:focus,
  &:hover {
    ${({theme:u})=>`
      background-color: ${u.colors.primary100};
      border-color: ${u.colors.primary200};

      ${R.O} {
          color: ${u.colors.primary600};
      }
    `}

    /* > ComponentIcon */
    > div:first-child {
      background: ${({theme:u})=>u.colors.primary200};
      color: ${({theme:u})=>u.colors.primary600};

      svg {
        path {
          fill: ${({theme:u})=>u.colors.primary600};
        }
      }
    }
  }
`,R3=({components:u})=>{const{componentLayouts:f}=pp();return(0,i.jsx)(v.C,{gap:2,overflow:"scroll hidden",padding:3,children:u.map(E=>(0,i.jsxs)(Q1,{hasRadius:!0,background:"neutral0",justifyContent:"center",alignItems:"center",height:`${84/16}rem`,minWidth:`${140/16}rem`,padding:2,direction:"column",borderColor:"neutral200",as:tn.cH,to:`/content-manager/components/${E}/configurations/edit`,children:[(0,i.jsx)(w4,{icon:f?.[E]?.info?.icon}),(0,i.jsx)(c.k,{paddingTop:1,children:(0,i.jsx)(R.O,{fontSize:1,textColor:"neutral600",fontWeight:"bold",children:f?.[E]?.info?.displayName??""})})]},E))})};R3.propTypes={components:ti.arrayOf(ti.string).isRequired};const cE=(0,Qe.cp)(j.w)`
  background-color: transparent;
  path {
    fill: ${({theme:u})=>u.colors.neutral600};
  }
`,w3=({attribute:u,onEditField:f,onDeleteField:E,children:S})=>{const{formatMessage:w}=(0,At.c)();return(0,i.jsxs)(c.k,{overflow:"hidden",width:"100%",children:[(0,i.jsxs)(v.C,{paddingLeft:3,alignItems:"center",justifyContent:"space-between",children:[(0,i.jsx)(R.O,{fontWeight:"semiBold",textColor:"neutral800",ellipsis:!0,children:S}),(0,i.jsxs)(v.C,{children:[(0,i.jsx)(cE,{label:w({id:Ai("containers.ListSettingsView.modal-form.edit-label"),defaultMessage:"Edit {fieldName}"},{fieldName:S}),onClick:f,icon:(0,i.jsx)(Ri.c,{}),noBorder:!0}),(0,i.jsx)(cE,{label:w({id:"global.delete-target",defaultMessage:"Delete {target}"},{target:S}),"data-testid":"delete-field",onClick:E,icon:(0,i.jsx)(Zo.c,{}),noBorder:!0})]})]}),u?.type==="component"&&(0,i.jsx)(Sm,{componentUid:u.component}),u?.type==="dynamiczone"&&(0,i.jsx)(R3,{components:u.components})]})};w3.defaultProps={attribute:void 0},w3.propTypes={attribute:ti.shape({components:ti.array,component:ti.string,type:ti.string}),onEditField:ti.func.isRequired,onDeleteField:ti.func.isRequired,children:ti.string.isRequired};const Z1=(0,Qe.cp)(v.C)`
  position: relative;
  ${({isFirst:u,isLast:f,hasHorizontalPadding:E})=>u?`
        padding-right: 4px;
      `:f?`
        padding-left: 4px;
      `:E?`
        padding: 0 4px;
      `:""}
  ${({showRightCarret:u,showLeftCarret:f,theme:E})=>u?`
        &:after {
          content: '';
          position: absolute;
          right: -1px;
          background-color: ${E.colors.primary600};
          width: 2px;
          height: 100%;
          align-self: stretch;
          z-index: 1;
        }
      `:f?`
        &:before {
          content: '';
          position: absolute;
          left: -1px;
          background-color: ${E.colors.primary600};
          width: 2px;
          height: 100%;
          align-self: stretch;
          z-index: 1;
        }
      `:""};
`,X1=(0,Qe.cp)(Tu.c)`
  height: ${12/16}rem;
  width: ${12/16}rem;
  path {
    fill: ${({theme:u})=>u.colors.neutral600};
  }
`,J1=(0,Qe.cp)(v.C)`
  display: ${({dragStart:u})=>u?"none":"flex"};
  opacity: ${({isDragging:u,isFullSize:f,isHidden:E})=>u&&!f?.2:u&&f||E?0:1};
`,dE=(0,Qe.cp)(v.C)`
  cursor: all-scroll;
  border-right: 1px solid ${({theme:u})=>u.colors.neutral200};
`,Dm=({attribute:u,children:f,index:E,lastIndex:S,moveItem:w,moveRow:q,name:ne,onDeleteField:se,onEditField:Ee,rowIndex:Te,size:Me})=>{const[nt,ht]=(0,ge.useState)(!1),Bt=ne==="_TEMP_",{setIsDraggingSibling:Ft}=pp(),ze=Me===12,_n=(0,ge.useRef)(null),On=(0,ge.useRef)(null),[{clientOffset:Gn,isOver:Vn},mr]=(0,Wl.W)({accept:Ef.EDIT_FIELD,hover(Vr,Ki){if(!On.current||Vr.size!==12)return;const As=Ki.getItem().index,Gi=E,ts=Ki.getItem().rowIndex,Ps=Te;if(As===Gi&&ts===Ps)return;const sa=On.current.getBoundingClientRect(),Ss=(sa.bottom-sa.top)/2,Hi=Ki.getClientOffset().y-sa.top;ts<Ps&&Hi<Ss||ts>Ps&&Hi>Ss||(q(ts,Ps),Vr.rowIndex=Ps,Vr.itemIndex=Gi)},drop(Vr,Ki){if(!On.current)return;const As=Ki.getItem().index,Gi=E,ts=Ki.getItem().rowIndex,Ps=Te;if(Vr.size===12||As===Gi&&ts===Ps)return;const sa=On.current.getBoundingClientRect();if(Math.abs(Ki.getClientOffset().x-sa.left)>sa.width/1.8){w(As,Gi+1,ts,Ps),Vr.itemIndex=Gi+1,Vr.rowIndex=Ps;return}w(As,Gi,ts,Ps),Vr.itemIndex=Gi,Vr.rowIndex=Ps},collect:Vr=>({canDrop:Vr.canDrop(),clientOffset:Vr.getClientOffset(),isOver:Vr.isOver(),isOverCurrent:Vr.isOver({shallow:!0}),itemType:Vr.getItemType()})}),[{isDragging:Dn,getItem:Ir},hr,Mr]=(0,et.I)({type:Ef.EDIT_FIELD,item(){return Ft(!0),{index:E,labelField:f,rowIndex:Te,name:ne,size:Me}},canDrag(){return ne!=="_TEMP_"},collect:Vr=>({isDragging:Vr.isDragging(),getItem:Vr.getItem()}),end(){Ft(!1)}});(0,ge.useEffect)(()=>{Mr((0,pn.s)(),{captureDraggingState:!0})},[Mr]);const _r={dragRef:hr(_n),dropRef:mr(On)};let Br=!1,oi=!1;if(On.current&&Gn){const Vr=On.current.getBoundingClientRect();Br=Vn&&Ir.size!==12&&Math.abs(Gn.x-Vr.left)<Vr.width/2,oi=Vn&&Ir.size!==12&&Math.abs(Gn.x-Vr.left)>Vr.width/2,ne==="_TEMP_"&&(Br=Vn&&Ir.size!==12,oi=!1)}const ri=()=>u&&ze?`${74/16}rem`:`${32/16}rem`,kr=E===0&&!ze,Zr=E===S&&!ze,ai=E!==0&&!ze;return(0,i.jsx)(Y.C,{col:Me,children:(0,i.jsxs)(Z1,{ref:_r.dropRef,showLeftCarret:Br,showRightCarret:oi,isFirst:kr,isLast:Zr,hasHorizontalPadding:ai,onDrag:()=>{ze&&!nt&&ht(!0)},onDragEnd:()=>{ze&&ht(!1)},children:[nt&&ze&&(0,i.jsx)(c.k,{width:"100%",height:"2px",background:"primary600"}),(0,i.jsxs)(J1,{width:ze&&nt?0:"100%",borderColor:"neutral150",hasRadius:!0,background:"neutral100",minHeight:ri(),alignItems:"stretch",isDragging:Dn,dragStart:nt,isFullSize:ze,isHidden:Bt,children:[(0,i.jsx)(dE,{as:"span",type:"button",ref:_r.dragRef,onClick:Vr=>Vr.stopPropagation(),alignItems:"center",paddingLeft:3,paddingRight:3,tabIndex:-1,children:(0,i.jsx)(X1,{})}),!Bt&&(0,i.jsx)(w3,{attribute:u,onEditField:Ee,onDeleteField:se,children:f})]})]})})};Dm.defaultProps={attribute:void 0},Dm.propTypes={attribute:ti.shape({components:ti.array,component:ti.string,type:ti.string}),children:ti.string.isRequired,index:ti.number.isRequired,moveItem:ti.func.isRequired,moveRow:ti.func.isRequired,name:ti.string.isRequired,onDeleteField:ti.func.isRequired,onEditField:ti.func.isRequired,rowIndex:ti.number.isRequired,lastIndex:ti.number.isRequired,size:ti.number.isRequired};const I3=({rowItem:u,onRemoveField:f,rowId:E,rowIndex:S,index:w,lastIndex:q})=>{const{setEditFieldToSelect:ne,attributes:se,modifiedData:Ee,moveRow:Te,moveItem:Me}=pp(),nt=Is(se,[u.name],{}),ht=Is(Ee,["metadatas",u.name,"edit","label"],"");return(0,i.jsx)(Dm,{onEditField:()=>ne(u.name),onDeleteField:()=>f(E,w),attribute:nt,index:w,lastIndex:q,rowIndex:S,name:u.name,size:u.size,moveRow:Te,moveItem:Me,children:ht||u.name})};I3.propTypes={index:ti.number.isRequired,lastIndex:ti.number.isRequired,onRemoveField:ti.func.isRequired,rowId:ti.number.isRequired,rowIndex:ti.number.isRequired,rowItem:ti.object.isRequired};const fE=({row:u,onRemoveField:f,rowIndex:E})=>(0,i.jsx)(K.y,{children:u.rowContent.map((S,w)=>(0,i.jsx)(I3,{rowItem:S,index:w,rowId:u.rowId,onRemoveField:f,rowIndex:E,lastIndex:u.rowContent.length-1},S.name))});fE.propTypes={onRemoveField:ti.func.isRequired,row:ti.object.isRequired,rowIndex:ti.number.isRequired};const M3=({editLayout:u,fields:f,onRemoveField:E,onAddField:S})=>{const{formatMessage:w}=(0,At.c)();return(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:4,children:[(0,i.jsxs)(v.C,{justifyContent:"space-between",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)(c.k,{children:(0,i.jsx)(R.O,{fontWeight:"bold",children:w({id:Ai("containers.ListPage.displayedFields"),defaultMessage:"Displayed fields"})})}),(0,i.jsx)(c.k,{children:(0,i.jsx)(R.O,{variant:"pi",textColor:"neutral600",children:w({id:"containers.SettingPage.editSettings.description",defaultMessage:"Drag & drop the fields to build the layout"})})})]}),(0,i.jsx)(lE,{})]}),(0,i.jsx)(c.k,{padding:4,hasRadius:!0,borderStyle:"dashed",borderWidth:"1px",borderColor:"neutral300",children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:2,children:[u.map((q,ne)=>(0,i.jsx)(fE,{row:q,rowIndex:ne,onRemoveField:E},q.rowId)),(0,i.jsxs)(Oi.Ss,{children:[(0,i.jsx)(Oi.mf,{startIcon:(0,i.jsx)(fo.c,{}),endIcon:null,disabled:f.length===0,fullWidth:!0,variant:"secondary",children:w({id:Ai("containers.SettingPage.add.field"),defaultMessage:"Insert another field"})}),(0,i.jsx)(Oi.kP,{children:f.map(q=>(0,i.jsx)(Oi.iY,{onSelect:()=>S(q),children:q},q))})]})]})})]})};M3.propTypes={editLayout:ti.array.isRequired,fields:ti.array.isRequired,onAddField:ti.func.isRequired,onRemoveField:ti.func.isRequired};const Am={biginteger:(0,i.jsx)(aa.c,{}),boolean:(0,i.jsx)(e0.c,{}),date:(0,i.jsx)(Ic.c,{}),datetime:(0,i.jsx)(Ic.c,{}),decimal:(0,i.jsx)(aa.c,{}),email:(0,i.jsx)(kc.c,{}),enum:(0,i.jsx)(eu.c,{}),enumeration:(0,i.jsx)(eu.c,{}),file:(0,i.jsx)(Dl.c,{}),files:(0,i.jsx)(Dl.c,{}),float:(0,i.jsx)(aa.c,{}),integer:(0,i.jsx)(aa.c,{}),media:(0,i.jsx)(Dl.c,{}),number:(0,i.jsx)(aa.c,{}),relation:(0,i.jsx)(d0.c,{}),string:(0,i.jsx)(Al.c,{}),text:(0,i.jsx)(Al.c,{}),richtext:(0,i.jsx)(Al.c,{}),time:(0,i.jsx)(Ic.c,{}),timestamp:(0,i.jsx)(Ic.c,{}),json:(0,i.jsx)(Sc.c,{}),uid:(0,i.jsx)(Uc.c,{}),component:(0,i.jsx)(eo.c,{}),dynamiczone:(0,i.jsx)(sc.c,{})},q1=({type:u,customFieldUid:f})=>{const E=(0,a.QV)();let S=Am[u];if(f){const q=E.get(f)?.icon;q&&(S=(0,i.jsx)(c.k,{marginRight:3,width:7,height:6,children:(0,i.jsx)(q,{})}))}return Am[u]?S:null},W_=u=>u.reduce((f,E)=>{const S=E?.attributes??{},w=Object.keys(S).filter(q=>!["boolean","component","dynamiczone","json","media","password","relation","text","richtext","blocks"].includes(S?.[q]?.type??""));return f[E.uid]=w,f},{}),N3=u=>{let f;switch(u){case"description":case"label":case"placeholder":f="text";break;case"mainField":f="select";break;case"editable":f="bool";break;default:f=""}const E=Ai(u==="mainField"?"containers.SettingPage.editSettings.entry.title":`form.Input.${u}`);return{type:f,label:{id:E}}},hE=({type:u,options:f,onChange:E,value:S,name:w,...q})=>{const{formatMessage:ne}=(0,At.c)();switch(u){case"text":return(0,i.jsx)(P.g,{onChange:E,value:S,name:w,...q});case"bool":return(0,i.jsx)(_e.a,{onChange:se=>{E({target:{name:w,value:se.target.checked}})},checked:S,name:w,onLabel:ne({id:"app.components.ToggleCheckbox.on-label",defaultMessage:"On"}),offLabel:ne({id:"app.components.ToggleCheckbox.off-label",defaultMessage:"Off"}),...q});case"select":return(0,i.jsx)(me.M,{value:S,name:w,onChange:se=>E({target:{name:w,value:se}}),...q,children:f.map(se=>(0,i.jsx)(fe.c,{value:se,children:se},se))});default:return null}};hE.defaultProps={options:void 0},hE.propTypes={type:ti.string.isRequired,options:ti.arrayOf(ti.string),onChange:ti.func.isRequired,value:ti.oneOfType([ti.string,ti.bool]).isRequired,name:ti.string.isRequired};const pE=[[4,"33%"],[6,"50%"],[8,"66%"],[12,"100%"]],Eg=({onMetaChange:u,onSizeChange:f})=>{const{formatMessage:E}=(0,At.c)(),{modifiedData:S,selectedField:w,attributes:q,fieldForm:ne}=pp(),se=(0,kn.w1)(kE),Ee=Vu(_n=>_n["content-manager_app"].fieldSizes),Te=(0,ge.useMemo)(()=>{if(!w)return[];const _n=Is(S,["metadatas",w,"edit"],{});return Object.keys(_n).filter(On=>On!=="visible")},[w,S]),Me=(0,ge.useMemo)(()=>W_(se),[se]),nt=(0,ge.useCallback)(_n=>{if(_n!=="relation"&&_n!=="component")return[];const Gn=Is(S,["attributes",w,_n==="component"?"component":"targetModel"],"");return Is(Me,[Gn],[])},[w,Me,S]),ht=Te.map(_n=>{const On=Is(q,[w,"type"]);return["component","dynamiczone"].includes(On)&&!["label","description"].includes(_n)||On==="component"&&_n!=="label"||["media","json","boolean"].includes(On)&&_n==="placeholder"||_n==="step"?null:(0,i.jsx)(Y.C,{col:6,children:(0,i.jsx)(hE,{type:N3(_n).type,hint:_n==="mainField"?E({id:Ai("containers.SettingPage.editSettings.relation-field.description")}):"",label:E({id:Is(N3(_n),"label.id","app.utils.defaultMessage")}),name:_n,onChange:u,value:Is(ne,["metadata",_n],""),options:nt(On)})},_n)}),{type:Bt,customField:Ft}=q[w],{isResizable:ze}=Ee[Ft]??Ee[Bt];return(0,i.jsxs)(i.Fragment,{children:[ht,ze&&(0,i.jsx)(Y.C,{col:6,children:(0,i.jsx)(me.M,{value:ne?.size,name:"size",onChange:_n=>{f({name:w,value:_n})},label:E({id:Ai("containers.SettingPage.editSettings.size.label"),defaultMessage:"Size"}),children:pE.map(([_n,On])=>(0,i.jsx)(fe.c,{value:_n,children:On},_n))})},"size")]})};Eg.propTypes={onMetaChange:ti.func.isRequired,onSizeChange:ti.func.isRequired};const mE=(0,Qe.cp)(v.C)`
  svg {
    width: ${32/16}rem;
    height: ${24/16}rem;
    margin-right: ${({theme:u})=>u.spaces[3]};
  }
`,_g=({onToggle:u,onMetaChange:f,onSizeChange:E,onSubmit:S,type:w,customFieldUid:q})=>{const{selectedField:ne}=pp(),{formatMessage:se}=(0,At.c)(),Ee=()=>w==="timestamp"?"date":["decimal","float","integer","biginter"].includes(w)?"number":w;return(0,i.jsx)(Ne.E,{onClose:u,labelledBy:"title",children:(0,i.jsxs)("form",{onSubmit:S,children:[(0,i.jsx)(Le.k,{children:(0,i.jsxs)(mE,{children:[(0,i.jsx)(q1,{type:Ee(),customFieldUid:q}),(0,i.jsx)(R.O,{fontWeight:"bold",textColor:"neutral800",as:"h2",id:"title",children:se({id:Ai("containers.ListSettingsView.modal-form.edit-label"),defaultMessage:"Edit {fieldName}"},{fieldName:Na(ne)})})]})}),(0,i.jsx)(Ke.a,{children:(0,i.jsx)(K.y,{gap:4,children:(0,i.jsx)(Eg,{onMetaChange:f,onSizeChange:E})})}),(0,i.jsx)(bt._,{startActions:(0,i.jsx)(O.Z,{onClick:u,variant:"tertiary",children:se({id:"app.components.Button.cancel",defaultMessage:"Cancel"})}),endActions:(0,i.jsx)(O.Z,{type:"submit",children:se({id:"global.finish",defaultMessage:"Finish"})})})]})})};_g.defaultProps={customFieldUid:null},_g.propTypes={customFieldUid:ti.string,onSubmit:ti.func.isRequired,onToggle:ti.func.isRequired,onMetaChange:ti.func.isRequired,onSizeChange:ti.func.isRequired,type:ti.string.isRequired};const Gp=u=>u.reduce((f,E)=>f+E.size,0),yg=u=>u.reduce((f,E,S)=>{const w={rowId:S,rowContent:E};return f.concat(w)},[]),zp=u=>u.reduce((f,E)=>{let S=[];const w=E.rowContent.reduce((se,Ee)=>{const Te=Gp(se);return Ee.name==="_TEMP_"||(Te+Ee.size<=12?se.push(Ee):S.push(Ee)),se},[]),q=f.length===0?0:Math.max.apply(Math,f.map(se=>se.rowId))+1,ne=Gp(w);if(ne<12&&w.push({name:"_TEMP_",size:12-ne}),f.push({rowId:q,rowContent:w}),S.length>0){const se=Gp(S);se<12&&S.push({name:"_TEMP_",size:12-se}),f.push({rowId:q+1,rowContent:S}),S=[]}return f},[]).filter(f=>f.rowContent.length>0).filter(f=>f.rowContent.length===1?f.rowContent[0].name!=="_TEMP_":!0),gE=u=>u.reduce((f,E)=>{const S=E.rowContent.filter(w=>w.name!=="_TEMP_");return f.concat([S])},[]),P3=(u,f=[])=>f.reduce((E,{rowContent:S})=>{const w=S.find(q=>q.name===u)?.size??null;return w&&(E=w),E},null),vE=(u,f,E=[])=>E.map(S=>(S.rowContent=S.rowContent.map(w=>w.name===u?{...w,size:f}:w),S)),EE=(u,f,E)=>{let S=Fo(f);return xa(S,["layouts","edit"],zp(yg(f.layouts.edit))),{...u,initialData:S,modifiedData:S,componentLayouts:E}},I4=(u,f,E)=>{if(Array.isArray(u)&&f>=0&&E>=0&&f<=u.length-1&&E<=u.length-1){const S=Fo(u),w=S.splice(f,1);return S.splice(E,0,w[0]),S}return u},bg=6,M4={fieldForm:{},componentLayouts:{},metaToEdit:"",initialData:{},metaForm:{},modifiedData:{}},_E=(u=M4,f)=>(0,zo.cp)(u,E=>{const S=["modifiedData","layouts","edit"];switch(f.type){case"MOVE_ROW":{const w=Is(u,S,[]),{fromIndex:q,toIndex:ne}=f;xa(E,S,I4(w,q,ne));break}case"ON_ADD_FIELD":{const w=Fo(u),q=Is(w,["modifiedData","attributes",f.name],{}),ne=f.fieldSizes[q?.customField]?.default??f.fieldSizes[q?.type]?.default??bg,se=Is(w,S,[]).length,Ee=[...S,se-1,"rowContent"],Te=Is(w,Ee,[]);let Me=Is(w,S,[]);Array.isArray(Te)?xa(Me,[se>0?se-1:0,"rowContent"],[...Te,{name:f.name,size:ne}]):xa(Me,[se>0?se-1:0,"rowContent"],[{name:f.name,size:ne}]);const nt=zp(Me);xa(E,S,nt);break}case"ON_CHANGE":{xa(E,["modifiedData",...f.keys],f.value);break}case"ON_CHANGE_META":{xa(E,["metaForm","metadata",...f.keys],f.value);break}case"ON_CHANGE_SIZE":{xa(E,["metaForm","size"],f.value);break}case"ON_RESET":{E.modifiedData=u.initialData;break}case"REMOVE_FIELD":{const w=Is(u,[...S,f.rowIndex,"rowContent"],[]);let q=Fo(u);if(w.length===1||w.length===2&&Is(w,[1,"name"],"")==="_TEMP_"){const se=Is(u,S,[]);xa(q,S,se.filter((Ee,Te)=>f.rowIndex!==Te))}else xa(q,[...S,f.rowIndex,"rowContent"],w.filter((se,Ee)=>Ee!==f.fieldIndex));const ne=zp(Is(q,S,[]));xa(E,S,ne);break}case"REORDER_DIFF_ROW":{const w=Is(u,[...S,f.dragRowIndex,"rowContent"],[]),q=Is(u,[...S,f.hoverRowIndex,"rowContent"],[]),ne=Is(u,[...S,f.dragRowIndex,"rowContent",f.dragIndex],{}),se=[...q,ne];let Ee=Fo(u);xa(Ee,[...S,f.dragRowIndex,"rowContent"],w.filter((Me,nt)=>f.dragIndex!==nt)),xa(Ee,[...S,f.hoverRowIndex,"rowContent"],I4(se,se.length-1,f.hoverIndex));const Te=zp(Is(Ee,S,[]));xa(E,S,Te);break}case"REORDER_ROW":{const w=Fo(u),q=Is(w,[...S,f.dragRowIndex,"rowContent"],[]);xa(w,[...S,f.dragRowIndex,"rowContent"],I4(q,f.dragIndex,f.hoverIndex));const ne=zp(Is(w,S,[]));xa(E,S,ne);break}case"SET_FIELD_TO_EDIT":{E.metaToEdit=f.name,E.metaForm={metadata:Is(u,["modifiedData","metadatas",f.name,"edit"],{}),size:P3(f.name,u.modifiedData?.layouts?.edit)??bg};break}case"SUBMIT_META_FORM":{xa(E,["modifiedData","metadatas",u.metaToEdit,"edit"],u.metaForm.metadata);const w=Fo(Is(u,S,[])),q=vE(u.metaToEdit,u.metaForm.size,w);q.length>0&&xa(E,S,zp(q));break}case"SUBMIT_SUCCEEDED":{E.initialData=u.modifiedData;break}case"UNSET_FIELD_TO_EDIT":{E.metaToEdit="",E.metaForm={};break}default:return E}}),N4=({mainLayout:u,components:f,isContentTypeView:E,slug:S,updateLayout:w})=>{const[q,ne]=(0,ge.useReducer)(_E,M4,()=>EE(M4,u,f)),[se,Ee]=(0,ge.useState)(!1),{trackUsage:Te}=(0,a.m4)(),Me=(0,a.eo)(),{goBack:nt}=(0,Ct.Uz)(),[ht,Bt]=(0,ge.useState)(!1),[Ft,ze]=(0,ge.useState)(!1),{componentLayouts:_n,initialData:On,modifiedData:Gn,metaToEdit:Vn,metaForm:mr}=q,{formatMessage:Dn}=(0,At.c)(),Ir=u.info.displayName,hr=Gn?.attributes??{},Mr=Vu(_i=>_i["content-manager_app"].fieldSizes),{put:_r}=(0,a.Qn)(),Br=Object.keys(hr).filter(_i=>{const ys=hr?.[_i]?.type??"";return!["dynamiczone","json","text","relation","component","boolean","media","password","richtext","timestamp","blocks"].includes(ys)&&!!ys}),oi=Gn.layouts.edit,ri=oi.flatMap(_i=>_i.rowContent),kr=Object.keys(Gn.attributes).filter(_i=>(Gn?.metadatas?.[_i]?.edit?.visible??!1)===!0).filter(_i=>ri.findIndex(ys=>ys.name===_i)===-1).sort(),Zr=({target:{name:_i,value:ys}})=>{ne({type:"ON_CHANGE",keys:_i.split("."),value:ys})},ai=()=>{Bt(_i=>!_i)},Vr=()=>{ze(_i=>!_i)},Ki=({target:{name:_i,value:ys}})=>{ne({type:"ON_CHANGE_META",keys:_i.split("."),value:ys})},As=({name:_i,value:ys})=>{ne({type:"ON_CHANGE_SIZE",name:_i,value:ys})},Gi=_i=>{_i.preventDefault(),ne({type:"SUBMIT_META_FORM"}),ai()},ts=_i=>{_i.preventDefault(),Vr()},Ps=(0,Go.useMutation)(_i=>_r(E?`/content-manager/content-types/${S}/configuration`:`/content-manager/components/${S}/configuration`,_i),{onSuccess({data:_i}){w&&w(_i.data),ne({type:"SUBMIT_SUCCEEDED"}),Vr(),Te("didEditEditSettings")},onError(){Me({type:"warning",message:{id:"notification.error"}})}}),{isLoading:sa}=Ps,Ss=()=>{const{layouts:_i,metadatas:ys,settings:$a}=Fo(Gn);Ps.mutate({layouts:{..._i,edit:gE(_i.edit)},metadatas:ys,settings:$a})},pr=(_i,ys)=>{ne({type:"MOVE_RELATION",fromIndex:_i,toIndex:ys})},Hi=(_i,ys)=>{ne({type:"MOVE_FIELD",fromIndex:_i,toIndex:ys})},Li=(_i,ys,$a,_o)=>{ne($a===_o?{type:"REORDER_ROW",dragRowIndex:$a,dragIndex:_i,hoverIndex:ys}:{type:"REORDER_DIFF_ROW",dragIndex:_i,hoverIndex:ys,dragRowIndex:$a,hoverRowIndex:_o})},ss=(_i,ys)=>{ne({type:"MOVE_ROW",fromIndex:_i,toIndex:ys})};return(0,i.jsx)(vg,{isContentTypeView:E,attributes:hr,modifiedData:Gn,slug:S,componentLayouts:_n,selectedField:Vn,fieldForm:mr,onMoveRelation:pr,onMoveField:Hi,moveRow:ss,moveItem:Li,setEditFieldToSelect:_i=>{ne({type:"SET_FIELD_TO_EDIT",name:_i}),ai()},isDraggingSibling:se,setIsDraggingSibling:Ee,children:(0,i.jsxs)(A.G,{children:[(0,i.jsxs)("form",{onSubmit:ts,children:[(0,i.jsx)(Z.a,{title:Dn({id:Ai("components.SettingsViewWrapper.pluginHeader.title"),defaultMessage:`Configure the view - ${Na(Ir)}`},{name:Na(Ir)}),subtitle:Dn({id:Ai("components.SettingsViewWrapper.pluginHeader.description.edit-settings"),defaultMessage:"Customize how the edit view will look like."}),navigationAction:(0,i.jsx)(a.cH,{startIcon:(0,i.jsx)(Za.c,{}),onClick:_i=>{_i.preventDefault(),nt()},to:"/",children:Dn({id:"global.back",defaultMessage:"Back"})}),primaryAction:(0,i.jsx)(O.Z,{disabled:Ya(On,Gn),startIcon:(0,i.jsx)(hs.c,{}),type:"submit",children:Dn({id:"global.save",defaultMessage:"Save"})})}),(0,i.jsx)(J.S,{children:(0,i.jsx)(c.k,{background:"neutral0",hasRadius:!0,shadow:"filterShadow",paddingTop:6,paddingBottom:6,paddingLeft:7,paddingRight:7,children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:4,children:[(0,i.jsx)(R.O,{variant:"delta",as:"h2",children:Dn({id:Ai("containers.SettingPage.settings"),defaultMessage:"Settings"})}),(0,i.jsx)(K.y,{children:(0,i.jsx)(Y.C,{col:6,s:12,children:(0,i.jsx)(me.M,{label:Dn({id:Ai("containers.SettingPage.editSettings.entry.title"),defaultMessage:"Entry title"}),hint:Dn({id:Ai("containers.SettingPage.editSettings.entry.title.description"),defaultMessage:"Set the display field of your entry"}),onChange:_i=>{Zr({target:{name:"settings.mainField",value:_i===""?null:_i}})},value:Gn.settings.mainField,children:Br.map(_i=>(0,i.jsx)(fe.c,{value:_i,children:_i},_i))})})}),(0,i.jsx)(c.k,{paddingTop:2,paddingBottom:2,children:(0,i.jsx)(yt.c,{})}),(0,i.jsx)(R.O,{variant:"delta",as:"h3",children:Dn({id:Ai("containers.SettingPage.view"),defaultMessage:"View"})}),(0,i.jsx)(M3,{attributes:hr,editLayout:oi,fields:kr,onAddField:_i=>{ne({type:"ON_ADD_FIELD",name:_i,fieldSizes:Mr})},onRemoveField:(_i,ys)=>{ne({type:"REMOVE_FIELD",rowIndex:_i,fieldIndex:ys})}})]})})}),(0,i.jsx)(a.cz,{bodyText:{id:Ai("popUpWarning.warning.updateAllSettings"),defaultMessage:"This will modify all your settings"},iconRightButton:(0,i.jsx)(hs.c,{}),isConfirmButtonLoading:sa,isOpen:Ft,onToggleDialog:Vr,onConfirm:Ss,variantRightButton:"success-light"})]}),ht&&(0,i.jsx)(_g,{onSubmit:Gi,onToggle:ai,onMetaChange:Ki,onSizeChange:As,type:hr?.[Vn]?.type??"",customFieldUid:hr?.[Vn]?.customField??""})]})})};N4.defaultProps={isContentTypeView:!1,updateLayout:null},N4.propTypes={components:ti.object.isRequired,isContentTypeView:ti.bool,mainLayout:ti.shape({attributes:ti.object.isRequired,info:ti.object.isRequired,layouts:ti.shape({list:ti.array.isRequired,edit:ti.array.isRequired}).isRequired,metadatas:ti.object.isRequired,options:ti.object.isRequired}).isRequired,slug:ti.string.isRequired,updateLayout:ti.func};const e_=u=>ge.useEffect(u,t_),t_=[],L3=u=>typeof u=="object"&&u!==null&&Array.isArray(u)===!1,yE=u=>{const[{rawQuery:f}]=(0,a.WK)(),E=Vu(w=>w["content-manager_app"].collectionTypeLinks);return n_(E,u,f)},bE=(u,f)=>Object.keys(u).reduce((E,S)=>{const w=u[S],q=f[S]??w;return L3(w)?{...E,[S]:bE(w,q)}:(E[S]=q,E)},{}),n_=(u,f,E)=>{const S=u.find(({to:Me})=>Me.includes(f));if(!S)return"/";const{to:w,search:q}=S,ne=(0,Iu.parse)(q??""),se=(0,Iu.parse)(E.substring(1)),Ee=bE(ne,se);return`${w}?${(0,Iu.stringify)(Ee,{encode:!1})}`},CE="ContentManager/CrudReducer/GET_DATA",B3="ContentManager/CrudReducer/GET_DATA_SUCCEEDED",SE="ContentManager/CrudReducer/INIT_FORM",F3="ContentManager/CrudReducer/RESET_PROPS",TE="ContentManager/CrudReducer/SET_DATA_STRUCTURES",DE="ContentManager/CrudReducer/SET_STATUS",r_="ContentManager/CrudReducer/SUBMIT_SUCCEEDED",AE="ContentManager/CrudReducer/CLEAR_SET_MODIFIED_DATA_ONLY",Cg=()=>({type:CE}),k3=u=>({type:B3,data:u}),U3=(u,f=!1)=>({type:SE,rawQuery:u,isSingleType:f}),i_=()=>({type:F3}),s_=(u,f)=>({type:TE,componentsDataStructure:u,contentTypeDataStructure:f}),Kd=u=>({type:DE,status:u}),xm=u=>({type:r_,data:u}),a_=()=>({type:AE}),xE=(u={})=>{const{plugins:f,_q:E,...S}={...u,...Object.values(u?.plugins??{}).reduce((w,q)=>Object.assign(w,q),{})};return E&&(S._q=encodeURIComponent(E)),S},j3=(u,f={})=>Object.keys(u).reduce((E,S)=>{const w=u[S]??{},{type:q,required:ne}=w;if("default"in w&&(E[S]=w.default),q==="component"){const se=f[w.component]?.attributes??{},Ee=j3(se,f);if(ne===!0&&(E[S]=w.repeatable===!0?[]:Ee),w.min&&w.repeatable===!0&&ne){E[S]=[];for(let Te=0;Te<w.min;Te+=1)E[S].push(Ee)}}return q==="dynamiczone"&&ne===!0&&(E[S]=[]),E},{}),o_=(u,f,E)=>{const S=(w,q)=>Object.keys(w).reduce((ne,se)=>{const Ee=q.attributes[se],Te=w[se];return Ee?Ee.type==="dynamiczone"&&Array.isArray(Te)?(ne[se]=Te.map(Me=>S(Me,E[Me.__component])),ne):Ee.type==="component"?(Ee.repeatable?ne[se]=Te&&Array.isArray(Te)?Te.map(Me=>S(Me,E[Ee.component])):Te:ne[se]=Te&&S(Te,E[Ee.component]),ne):(Ee.type!=="password"&&(ne[se]=Te),ne):(ne[se]=Te,ne)},{});return S(u,f)},u_=({children:u,slug:f,id:E="",origin:S,collectionType:w})=>{const q=Vu(Ss=>Ss["content-manager_editViewLayoutManager"].currentLayout),ne=(0,Go.useQueryClient)(),se=(0,a.eo)(),{setCurrentStep:Ee}=(0,a.sg)(),{trackUsage:Te}=(0,a.m4)(),{push:Me,replace:nt}=(0,Ct.Uz)(),[{query:ht,rawQuery:Bt}]=(0,a.WK)(),Ft=gf(),{componentsDataStructure:ze,contentTypeDataStructure:_n,data:On,isLoading:Gn,status:Vn}=Vu(Ss=>Ss["content-manager_editViewCrudReducer"]),mr=yE(f),{formatAPIError:Dn}=(0,a.An)(Ai),Ir=ge.useRef(!0),hr=(0,a.Qn)(),{put:Mr,post:_r,del:Br}=hr,oi=w==="single-types",ri=!oi&&!E,kr=ri&&!S?null:`/content-manager/${w}/${f}/${S||E}`,Zr=ge.useCallback(Ss=>{const pr=o_(Ss,q.contentType,q.components);return(0,a.dT)(pr,q.contentType,q.components)},[q]);ge.useEffect(()=>{const Ss=Object.keys(q.components).reduce((Li,ss)=>{const _i=j3(q.components[ss].attributes,q.components);return Li[ss]=(0,a.dT)(_i,q.components[ss],q.components),Li},{}),pr=j3(q.contentType.attributes,q.components),Hi=(0,a.dT)(pr,q.contentType,q.components);Ft(s_(Ss,Hi))},[q,Ft]),ge.useEffect(()=>()=>{Ft(i_())},[Ft]);const ai=ge.useMemo(()=>xE(ht),[ht]);ge.useEffect(()=>{const pr=Ue.default.CancelToken.source(),Hi=async ss=>{if(kr){Ft(Cg());try{const{data:_i}=await hr.get(kr,{cancelToken:ss.token,params:ai});Ft(k3(Zr(_i)))}catch(_i){if(Ue.default.isCancel(_i))return;const ys=Is(_i,"response.status",null);if(ys===404&&!oi){Me(mr);return}else ys===404&&oi&&Ft(U3(Bt,!0));ys===403&&(se({type:"info",message:{id:Ai("permissions.not-allowed.update")}}),Me(mr))}}},Li=async()=>{Ft(Cg()),Ft(U3(Bt))};return Ir.current?(kr?Hi(pr):Li(),()=>{pr.cancel("Operation canceled by the user.")}):()=>{}},[hr,Zr,Me,kr,Ft,Bt,mr,se,oi,ai]);const Vr=ge.useCallback(Ss=>{se({type:"warning",message:Dn(Ss)})},[se,Dn]),Ki=ge.useCallback(async Ss=>{try{Te("willDeleteEntry",Ss);const pr=ht?.plugins?.i18n?.locale,Hi=oi&&pr?{locale:pr}:{},{data:Li}=await Br(`/content-manager/${w}/${f}/${E}`,{params:Hi});return se({type:"success",message:{id:Ai("success.record.delete")}}),Te("didDeleteEntry",Ss),oi?Ft(U3(Bt,!0)):nt(mr),Promise.resolve(Li)}catch(pr){return Te("didNotDeleteEntry",{error:pr,...Ss}),Promise.reject(pr)}},[Te,Br,w,f,E,se,oi,Ft,Bt,nt,mr]),As=ge.useCallback(async(Ss,pr)=>{const Hi=typeof S=="string";try{Ft(Kd("submit-pending"));const{id:Li,...ss}=Ss,{data:_i}=await(oi?Mr:_r)(Hi?`/content-manager/${w}/${f}/clone/${S}`:`/content-manager/${w}/${f}`,Hi?ss:Ss,{params:ai});return Te("didCreateEntry",pr),se({type:"success",message:{id:Ai("success.record.save")}}),Ee("contentManager.success"),ne.invalidateQueries(["relation"]),Ft(xm(Zr(_i))),Ft(Kd("resolved")),oi||nt(`/content-manager/${w}/${f}/${_i.id}${Bt}`),Promise.resolve(_i)}catch(Li){return Li instanceof be.Uh&&Vr(Li),Te("didNotCreateEntry",{error:Li,...pr}),Ft(Kd("resolved")),Promise.reject(Li)}},[S,Ft,w,Mr,_r,f,ai,Te,se,Ee,ne,Zr,oi,nt,Bt,Vr]),Gi=ge.useCallback(async()=>{try{Te("willCheckDraftRelations"),Ft(Kd("draft-relation-check-pending"));const{data:{data:Ss}}=await hr.get(oi?`/content-manager/${w}/${f}/actions/countDraftRelations`:`/content-manager/${w}/${f}/${E}/actions/countDraftRelations`);return Te("didCheckDraftRelations"),Ft(Kd("resolved")),Ss}catch(Ss){return Ss instanceof be.Uh&&Vr(Ss),Ft(Kd("resolved")),Promise.reject(Ss)}},[Te,Ft,hr,oi,w,f,E,Vr]),ts=ge.useCallback(async()=>{try{Te("willPublishEntry"),Ft(Kd("publish-pending"));const{data:Ss}=await _r(oi?`/content-manager/${w}/${f}/actions/publish`:`/content-manager/${w}/${f}/${E}/actions/publish`,void 0,{params:ai});return Te("didPublishEntry"),Ft(xm(Zr(Ss))),Ft(Kd("resolved")),se({type:"success",message:{id:Ai("success.record.publish")}}),Promise.resolve(Ss)}catch(Ss){return Ss instanceof be.Uh&&Vr(Ss),Ft(Kd("resolved")),Promise.reject(Ss)}},[Te,Ft,_r,oi,w,f,E,ai,Zr,se,Vr]),Ps=ge.useCallback(async(Ss,pr)=>{try{Te("willEditEntry",pr),Ft(Kd("submit-pending"));const{data:Hi}=await Mr(`/content-manager/${w}/${f}/${E}`,Ss,{params:ai});return Te("didEditEntry",pr),se({type:"success",message:{id:Ai("success.record.save")}}),ne.invalidateQueries(["relation"]),Ft(xm(Zr(Hi))),Ft(Kd("resolved")),Promise.resolve(Hi)}catch(Hi){return Te("didNotEditEntry",{error:Hi,...pr}),Hi instanceof be.Uh&&Vr(Hi),Ft(Kd("resolved")),Promise.reject(Hi)}},[Te,Ft,Mr,w,f,E,ai,se,ne,Zr,Vr]),sa=ge.useCallback(async()=>{Ft(Kd("unpublish-pending"));try{Te("willUnpublishEntry");const{data:Ss}=await _r(oi?`/content-manager/${w}/${f}/actions/unpublish`:`/content-manager/${w}/${f}/${E}/actions/unpublish`,void 0,{params:ai});Te("didUnpublishEntry"),se({type:"success",message:{id:Ai("success.record.unpublish")}}),Ft(xm(Zr(Ss))),Ft(Kd("resolved"))}catch(Ss){return Ft(Kd("resolved")),Ss instanceof be.Uh&&Vr(Ss),Promise.reject(Ss)}},[Ft,Te,_r,oi,w,f,E,ai,se,Zr,Vr]);return u({componentsDataStructure:ze,contentTypeDataStructure:_n,data:On,isCreatingEntry:ri,isLoadingForData:Gn,onDelete:Ki,onPost:As,onPublish:ts,onDraftRelationCheck:Gi,onPut:Ps,onUnpublish:sa,status:Vn,redirectionLink:mr})},Vp=()=>{const u=Vu(E=>E["content-manager_editViewLayoutManager"].currentLayout),f=(0,ge.useCallback)(E=>u?.components?.[E]??{},[u]);return{...u,getComponentLayout:f}},p=({hasError:u,isDisabled:f,isOpen:E,children:S,onClick:w})=>(0,i.jsx)(o,{type:"button",onClick:w,disabled:f,background:"neutral0",paddingTop:3,paddingBottom:3,paddingLeft:4,paddingRight:4,style:{cursor:f?"not-allowed":"pointer"},children:(0,i.jsxs)(v.C,{as:"span",gap:2,children:[(0,i.jsx)(t,{"aria-hidden":!0,$isOpen:E,$hasError:u&&!E}),(0,i.jsx)(R.O,{variant:"pi",fontWeight:"bold",textColor:u&&!E?"danger600":"neutral500",children:S})]})}),t=(0,Qe.cp)(Eu.c)`
  height: ${({theme:u})=>u.spaces[6]};
  width: ${({theme:u})=>u.spaces[6]};
  transform: ${({$isOpen:u})=>u?"rotate(45deg)":"rotate(0deg)"};

  > circle {
    fill: ${({theme:u,$hasError:f})=>f?u.colors.danger200:u.colors.neutral150};
  }
  > path {
    fill: ${({theme:u,$hasError:f})=>f?u.colors.danger600:u.colors.neutral600};
  }
`,o=(0,Qe.cp)(It.g)`
  border-radius: 26px;
  border-color: ${({theme:u})=>u.colors.neutral150};
  box-shadow: ${({theme:u})=>u.shadows.filterShadow};

  &:hover {
    ${R.O} {
      color: ${({theme:u})=>u.colors.primary600};
    }

    ${t} {
      > circle {
        fill: ${({theme:u})=>u.colors.primary600};
      }
      > path {
        fill: ${({theme:u})=>u.colors.neutral100};
      }
    }
  }
  &:active {
    ${R.O} {
      color: ${({theme:u})=>u.colors.primary600};
    }
    ${t} {
      > circle {
        fill: ${({theme:u})=>u.colors.primary600};
      }
      > path {
        fill: ${({theme:u})=>u.colors.neutral100};
      }
    }
  }
`,d=({category:u,components:f=[],variant:E="primary",isOpen:S,onAddComponent:w,onToggle:q})=>{const{formatMessage:ne}=(0,At.c)(),se=()=>{q(u)};return(0,i.jsxs)(_t.G,{expanded:S,onToggle:se,size:"S",children:[(0,i.jsx)(zt.M,{variant:E,title:ne({id:u,defaultMessage:u}),togglePosition:"left"}),(0,i.jsx)(Vt.u,{children:(0,i.jsx)(c.k,{paddingTop:4,paddingBottom:4,paddingLeft:3,paddingRight:3,children:(0,i.jsx)(g,{children:f.map(({componentUid:Ee,info:{displayName:Te,icon:Me}})=>(0,i.jsx)(D,{as:"button",type:"button",background:"neutral100",justifyContent:"center",onClick:w(Ee),hasRadius:!0,height:(0,a.W8)(84),shrink:0,borderColor:"neutral200",children:(0,i.jsxs)(v.C,{direction:"column",gap:1,alignItems:"center",justifyContent:"center",children:[(0,i.jsx)(w4,{icon:Me}),(0,i.jsx)(R.O,{variant:"pi",fontWeight:"bold",textColor:"neutral600",children:ne({id:Te,defaultMessage:Te})})]})},Ee))})})})]})},g=Qe.cp.div`
  display: grid;
  grid-template-columns: repeat(auto-fit, ${140/16}rem);
  grid-gap: ${({theme:u})=>u.spaces[1]};
`,D=(0,Qe.cp)(v.C)`
  &:focus,
  &:hover {
    border: 1px solid ${({theme:u})=>u.colors.primary200};
    background: ${({theme:u})=>u.colors.primary100};

    ${R.O} {
      color: ${({theme:u})=>u.colors.primary600};
    }

    /* > Flex > ComponentIcon */
    > div > div:first-child {
      background: ${({theme:u})=>u.colors.primary200};
      color: ${({theme:u})=>u.colors.primary600};
    }
  }
`,L=({dynamicComponentsByCategory:u={},isOpen:f,onClickAddComponent:E})=>{const{formatMessage:S}=(0,At.c)(),[w,q]=ge.useState("");ge.useEffect(()=>{const Ee=Object.keys(u);f&&Ee.length>0&&q(Ee[0])},[f,u]);const ne=Ee=>()=>{E(Ee),q("")},se=Ee=>{q(Te=>Te===Ee?"":Ee)};return f?(0,i.jsxs)(c.k,{paddingTop:6,paddingBottom:6,paddingLeft:5,paddingRight:5,background:"neutral0",shadow:"tableShadow",borderColor:"neutral150",hasRadius:!0,children:[(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(R.O,{fontWeight:"bold",textColor:"neutral600",children:S({id:Ai("components.DynamicZone.ComponentPicker-label"),defaultMessage:"Pick one component"})})}),(0,i.jsx)(c.k,{paddingTop:2,children:(0,i.jsx)(St.a,{attributeName:"data-strapi-accordion-toggle",children:Object.entries(u).map(([Ee,Te],Me)=>(0,i.jsx)(d,{category:Ee,components:Te,onAddComponent:ne,isOpen:Ee===w,onToggle:se,variant:Me%2===1?"primary":"secondary"},Ee))})})]}):null},$=u=>u.split(".").filter(f=>Ua(parseInt(f,10))),te=u=>{if(u.length===0)return-1;const f=Math.max(...u.map(E=>Number(E.id??E.__temp_key__??0)));return Number.isNaN(f)?-1:f},he=u=>["integer","biginteger","decimal","float","number"].includes(u),ve=({error:u,isReadOnly:f,onClick:E})=>{const{formatMessage:S}=(0,At.c)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.k,{as:"button",background:"neutral100",borderColor:u?"danger600":"neutral200",disabled:f,hasRadius:!0,onClick:E,paddingTop:9,paddingBottom:9,type:"button",children:(0,i.jsxs)(v.C,{direction:"column",gap:2,children:[(0,i.jsx)(v.C,{justifyContent:"center",style:{cursor:f?"not-allowed":"inherit"},children:(0,i.jsx)(qe,{})}),(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(R.O,{textColor:"primary600",variant:"pi",fontWeight:"bold",children:S({id:Ai("components.empty-repeatable"),defaultMessage:"No entry yet. Click on the button below to add one."})})})]})}),u?.id&&(0,i.jsx)(R.O,{textColor:"danger600",variant:"pi",children:S(u,{...u.values})})]})},qe=(0,Qe.cp)(Eu.c)`
  width: ${(0,a.W8)(24)};
  height: ${(0,a.W8)(24)};
  > circle {
    fill: ${({theme:u})=>u.colors.primary200};
  }
  > path {
    fill: ${({theme:u})=>u.colors.primary600};
  }
`,Rt=new Map,En=(u=[])=>{const[f,E]=(0,ge.useState)(Object.fromEntries(Rt)),S=u.filter(Ee=>!Rt.get(Ee)),[w,q]=(0,ge.useState)(()=>!!S.length),ne=(0,a.QV)();(0,ge.useEffect)(()=>{const Ee=Me=>{E(Me),q(!1)},Te=async(Me,nt)=>{const ht=await Promise.all(nt);Me.forEach((Bt,Ft)=>{Rt.set(Bt,ht[Ft].default)}),Ee(Object.fromEntries(Rt))};if(S.length>0){q(!0);const Me=S.reduce((nt,ht)=>{const Bt=ne.get(ht);return Bt&&nt.push(Bt.components.Input()),nt},[]);Me.length>0&&Te(S,Me)}},[S,ne]);const se=(0,ge.useCallback)(()=>{Rt.clear(),E({})},[]);return{isLazyLoading:w,lazyComponentStore:f,cleanup:se}},qn=({id:u,error:f,name:E,hint:S=""})=>S.length===0||f?null:(0,i.jsx)(R.O,{as:"p",variant:"pi",id:`${u||E}-hint`,textColor:"neutral600",children:S}),zr=(u,f)=>{const[E,S]=Dt.last(u,[]);vi.unwrapNodes(u,{match:Ee=>!Dt.isEditor(Ee)&&Ee.type==="list",split:!0,at:u.selection??S});const[,w]=Dt.last(u,[]),q=Dt.above(u,{match:Ee=>!Dt.isEditor(Ee)&&Ee.type!=="text"&&Ee.type!=="link",at:u.selection??w});if(!q||Dt.isEditor(q[0]))return;const[ne,se]=q;return vi.setNodes(u,{...Qr(ne),...f},{at:se}),se},Qr=u=>{const{children:f,type:E,...S}=u;return Object.keys(S).reduce((q,ne)=>({...q,[ne]:null}),{})},$i=u=>gs.isNode(u)&&!Dt.isEditor(u)&&u.type==="text",_s=u=>{const f=Dt.above(u,{match:se=>!Dt.isEditor(se)&&!["link","text"].includes(se.type)});if(!f||!u.selection)return;const[E,S]=f,w=Dt.isEnd(u,u.selection.anchor,S),q=E.children.at(-1),ne=$i(q)&&q.text.endsWith(`
`);if(w&&ne){vi.delete(u,{distance:1,unit:"character",reverse:!0}),vi.insertNodes(u,{type:"paragraph",children:[{type:"text",text:""}]});return}vi.insertText(u,`
`),w&&["bold","italic","underline","strikethrough","code"].forEach(se=>{Dt.removeMark(u,se)})},ea=Qe.cp.pre.attrs({role:"code"})`
  border-radius: ${({theme:u})=>u.borderRadius};
  background-color: ${({theme:u})=>u.colors.neutral100};
  max-width: 100%;
  overflow: auto;
  padding: ${({theme:u})=>`${u.spaces[3]} ${u.spaces[4]}`};
  flex-shrink: 1;
  & > code {
    font-family: 'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', Menlo, Consolas,
      monospace;
    color: ${({theme:u})=>u.colors.neutral800};
    overflow: auto;
    max-width: 100%;
  }
`,Ws={code:{renderElement:u=>(0,i.jsx)(ea,{...u.attributes,children:(0,i.jsx)("code",{children:u.children})}),icon:fs.c,label:{id:"components.Blocks.blocks.code",defaultMessage:"Code block"},matchNode:u=>u.type==="code",isInBlocksSelector:!0,handleConvert(u){zr(u,{type:"code"})},handleEnterKey(u){_s(u)},snippets:["```"],dragHandleTopMargin:"10px"}},Os=(0,Qe.cp)(R.O).attrs({as:"h1"})`
  font-size: ${42/16}rem;
  line-height: ${({theme:u})=>u.lineHeights[1]};
`,ua=(0,Qe.cp)(R.O).attrs({as:"h2"})`
  font-size: ${35/16}rem;
  line-height: ${({theme:u})=>u.lineHeights[1]};
`,Ls=(0,Qe.cp)(R.O).attrs({as:"h3"})`
  font-size: ${29/16}rem;
  line-height: ${({theme:u})=>u.lineHeights[1]};
`,vo=(0,Qe.cp)(R.O).attrs({as:"h4"})`
  font-size: ${24/16}rem;
  line-height: ${({theme:u})=>u.lineHeights[1]};
`,lo=(0,Qe.cp)(R.O).attrs({as:"h5"})`
  font-size: ${20/16}rem;
  line-height: ${({theme:u})=>u.lineHeights[1]};
`,Ro=(0,Qe.cp)(R.O).attrs({as:"h6"})`
  font-size: 1rem;
  line-height: ${({theme:u})=>u.lineHeights[1]};
`,Mo=(u,f)=>{zr(u,{type:"heading",level:f})},Xo={"heading-one":{renderElement:u=>(0,i.jsx)(Os,{...u.attributes,children:u.children}),icon:dl,label:{id:"components.Blocks.blocks.heading1",defaultMessage:"Heading 1"},handleConvert:u=>Mo(u,1),matchNode:u=>u.type==="heading"&&u.level===1,isInBlocksSelector:!0,snippets:["#"],dragHandleTopMargin:"14px"},"heading-two":{renderElement:u=>(0,i.jsx)(ua,{...u.attributes,children:u.children}),icon:Mc,label:{id:"components.Blocks.blocks.heading2",defaultMessage:"Heading 2"},handleConvert:u=>Mo(u,2),matchNode:u=>u.type==="heading"&&u.level===2,isInBlocksSelector:!0,snippets:["##"],dragHandleTopMargin:"10px"},"heading-three":{renderElement:u=>(0,i.jsx)(Ls,{...u.attributes,children:u.children}),icon:jc,label:{id:"components.Blocks.blocks.heading3",defaultMessage:"Heading 3"},handleConvert:u=>Mo(u,3),matchNode:u=>u.type==="heading"&&u.level===3,isInBlocksSelector:!0,snippets:["###"],dragHandleTopMargin:"7px"},"heading-four":{renderElement:u=>(0,i.jsx)(vo,{...u.attributes,children:u.children}),icon:Xl,label:{id:"components.Blocks.blocks.heading4",defaultMessage:"Heading 4"},handleConvert:u=>Mo(u,4),matchNode:u=>u.type==="heading"&&u.level===4,isInBlocksSelector:!0,snippets:["####"],dragHandleTopMargin:"4px"},"heading-five":{renderElement:u=>(0,i.jsx)(lo,{...u.attributes,children:u.children}),icon:Ho,label:{id:"components.Blocks.blocks.heading5",defaultMessage:"Heading 5"},handleConvert:u=>Mo(u,5),matchNode:u=>u.type==="heading"&&u.level===5,isInBlocksSelector:!0,snippets:["#####"]},"heading-six":{renderElement:u=>(0,i.jsx)(Ro,{...u.attributes,children:u.children}),icon:iu,label:{id:"components.Blocks.blocks.heading6",defaultMessage:"Heading 6"},handleConvert:u=>Mo(u,6),matchNode:u=>u.type==="heading"&&u.level===6,isInBlocksSelector:!0,snippets:["######"],dragHandleTopMargin:"-2px"}},kl=(0,Qe.cp)(v.C)`
  transition-property: box-shadow;
  transition-duration: 0.2s;
  ${u=>u.isFocused&&(0,Qe.gV)`
      box-shadow: ${u.theme.colors.primary600} 0px 0px 0px 3px;
    `}

  & > img {
    height: auto;
    // The max-height is decided with the design team, the 56px is the height of the toolbar
    max-height: calc(512px - 56px);
    max-width: 100%;
    object-fit: contain;
  }
`,ul=["name","alternativeText","url","caption","width","height","formats","hash","ext","mime","size","previewUrl","provider","provider_metadata","createdAt","updatedAt"],Fc=(u,f)=>{const E=f.map(S=>[S,u[S]]);return Object.fromEntries(E)},H0=u=>u.type==="image",wc=({attributes:u,children:f,element:E})=>{const S=nm(),w=K3();if(!H0(E))return null;const{url:q,alternativeText:ne,width:se,height:Ee}=E.image;return(0,i.jsxs)(c.k,{...u,children:[f,(0,i.jsx)(kl,{background:"neutral100",contentEditable:!1,justifyContent:"center",isFocused:S&&w,hasRadius:!0,children:(0,i.jsx)("img",{src:q,alt:ne,width:se,height:Ee})})]})},X0=()=>{const[u,f]=ge.useState(!0),{editor:E}=gp("ImageDialog"),{components:S}=(0,a.um)();if(!S||!u)return null;const w=S["media-library"],q=se=>{vi.unwrapNodes(E,{match:nt=>!Dt.isEditor(nt)&&nt.type==="list",split:!0});const Ee=Dt.above(E,{match(nt){return Dt.isEditor(nt)?!1:!["text","link"].includes(nt.type)}});if(!Ee)return;const[,Te]=Ee;vi.removeNodes(E);const Me=se.map(nt=>({type:"image",image:nt,children:[{type:"text",text:""}]}));vi.insertNodes(E,Me,{at:Te}),vi.select(E,Te)},ne=se=>{const Ee=se.map(Te=>{const Me=Fc(Te,ul);return{...Me,alternativeText:Me.alternativeText||Me.name,url:(0,a.AZ)(Te.url)}});q(Ee),f(!1)};return(0,i.jsx)(w,{allowedTypes:["images"],onClose:()=>f(!1),onSelectAssets:ne})},vd={image:{renderElement:u=>(0,i.jsx)(wc,{...u}),icon:fa.c,label:{id:"components.Blocks.blocks.image",defaultMessage:"Image"},matchNode:u=>u.type==="image",isInBlocksSelector:!0,handleBackspaceKey(u){u.children.length===1?vi.setNodes(u,{type:"paragraph",image:null,children:[{type:"text",text:""}]}):vi.removeNodes(u)},handleEnterKey(u){vi.insertNodes(u,{type:"paragraph",children:[{type:"text",text:""}]})},handleConvert:()=>()=>(0,i.jsx)(X0,{}),snippets:["!["]}},y0=u=>{vi.unwrapNodes(u,{match:f=>!Dt.isEditor(f)&&Us.isElement(f)&&f.type==="link"})},_f=(u,{url:f})=>{if(u.selection)if(Array.from(Dt.nodes(u,{at:u.selection,match:S=>!Dt.isEditor(S)&&S.type==="link"})).forEach(([,S])=>{vi.unwrapNodes(u,{at:S})}),xi.isCollapsed(u.selection)){const S={type:"link",url:f??"",children:[{type:"text",text:f}]};vi.insertNodes(u,S)}else vi.wrapNodes(u,{type:"link",url:f??""},{split:!0})},Eh=(u,f)=>{const{url:E,text:S}=f;if(!u.selection)return;const w=Dt.above(u,{match:q=>!Dt.isEditor(q)&&q.type==="link"});if(w){const[,q]=w;vi.setNodes(u,{url:E},{at:q}),S!==""&&S!==Dt.string(u,q)&&(Array.from(gs.children(u,q,{reverse:!0})).forEach(([,se])=>{vi.removeNodes(u,{at:se})}),vi.insertNodes(u,[{type:"text",text:S}],{at:q.concat(0)}))}},mp=u=>Object.entries(u),P4=u=>Object.keys(u),Om=u=>u.type==="link",Kp=u=>u.type==="list",zy=(0,Qe.cp)(Xt.k)`
  text-decoration: none;
`,Vy=(0,Qe.cp)(O.Z)`
  visibility: ${u=>u.visible?"visible":"hidden"};
`,Ky=ge.forwardRef(({link:u,children:f,attributes:E},S)=>{const{formatMessage:w}=(0,At.c)(),{editor:q}=gp("Link"),ne=Ji.findPath(q,u),[se,Ee]=ge.useState(q.lastInsertedLinkPath?Ar.equals(ne,q.lastInsertedLinkPath):!1),Te=ge.useRef(null),Me=u.children.map(Br=>Br.text).join(""),[nt,ht]=ge.useState(Me),[Bt,Ft]=ge.useState(u.url),ze=ge.useRef(null),[_n,On]=ge.useState(!1),[Gn,Vn]=ge.useState(!1),mr=Br=>{Br.preventDefault(),Ee(!0),On(!0)},Dn=Br=>{Vn(!1),Ft(Br.target.value);try{new URL(Br.target.value?.startsWith("/")?`https://strapi.io${Br.target.value}`:Br.target.value)}catch{Vn(!0)}},Ir=Br=>{if(Br.stopPropagation(),q.selection&&xi.isCollapsed(q.selection)){const[,oi]=Dt.parent(q,q.selection.focus?.path);vi.select(q,oi)}Eh(q,{url:Bt,text:nt}),Ee(!1),q.lastInsertedLinkPath=null},hr=()=>{Ee(!1),u.url===""&&y0(q),Ji.focus(q)},Mr=!nt||!Bt||u.url&&u.url===Bt&&Me&&Me===nt,_r=$p(Te,S);return ge.useEffect(()=>{se&&ze.current?.focus()},[se]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(zy,{...E,ref:_r,href:u.url,onClick:mr,color:"primary600",children:f}),se&&(0,i.jsx)(jt._k,{source:Te,onDismiss:hr,padding:4,contentEditable:!1,children:(0,i.jsxs)(v.C,{as:"form",onSubmit:Ir,direction:"column",gap:4,children:[(0,i.jsx)(N.I,{width:"368px",children:(0,i.jsxs)(v.C,{direction:"column",gap:1,alignItems:"stretch",children:[(0,i.jsx)(z.u,{children:w({id:"components.Blocks.popover.text",defaultMessage:"Text"})}),(0,i.jsx)(X.e,{name:"text",placeholder:w({id:"components.Blocks.popover.text.placeholder",defaultMessage:"Enter link text"}),value:nt,onChange:Br=>{ht(Br.target.value)}})]})}),(0,i.jsx)(N.I,{width:"368px",children:(0,i.jsxs)(v.C,{direction:"column",gap:1,alignItems:"stretch",children:[(0,i.jsx)(z.u,{children:w({id:"components.Blocks.popover.link",defaultMessage:"Link"})}),(0,i.jsx)(X.e,{ref:ze,name:"url",placeholder:w({id:"components.Blocks.popover.link.placeholder",defaultMessage:"Paste link"}),value:Bt,onChange:Dn})]})}),(0,i.jsxs)(v.C,{justifyContent:"space-between",width:"100%",children:[(0,i.jsx)(Vy,{variant:"danger-light",onClick:()=>y0(q),visible:_n,children:w({id:"components.Blocks.popover.remove",defaultMessage:"Remove"})}),(0,i.jsxs)(v.C,{gap:2,children:[(0,i.jsx)(O.Z,{variant:"tertiary",onClick:hr,children:w({id:"components.Blocks.popover.cancel",defaultMessage:"Cancel"})}),(0,i.jsx)(O.Z,{type:"submit",disabled:Boolean(Mr)||Gn,children:w({id:"components.Blocks.popover.save",defaultMessage:"Save"})})]})]})]})})]})}),Yy=ge.forwardRef((u,f)=>Om(u.element)?(0,i.jsx)(Ky,{...u,link:u.element,ref:f}):null),Qy={link:{renderElement:u=>(0,i.jsx)(Yy,{element:u.element,attributes:u.attributes,children:u.children}),matchNode:u=>u.type==="link",isInBlocksSelector:!1}},H_=(0,Qe.gV)`
  display: flex;
  flex-direction: column;
  gap: ${({theme:u})=>u.spaces[2]};
  margin-inline-start: ${({theme:u})=>u.spaces[0]};
  margin-inline-end: ${({theme:u})=>u.spaces[0]};
  padding-inline-start: ${({theme:u})=>u.spaces[2]};

  ol,
  ul {
    margin-block-start: ${({theme:u})=>u.spaces[0]};
    margin-block-end: ${({theme:u})=>u.spaces[0]};
  }

  li {
    margin-inline-start: ${({theme:u})=>u.spaces[3]};
  }
`,Zy=Qe.cp.ol`
  list-style-type: ${u=>u.listStyleType};
  ${H_}
`,Xy=Qe.cp.ul`
  list-style-type: ${u=>u.listStyleType};
  ${H_}
`,Jy=["decimal","lower-alpha","upper-roman"],qy=["disc","circle","square"],G_=({attributes:u,children:f,element:E})=>{if(!Kp(E))return null;const S=E.format==="ordered"?Jy:qy,w=(E.indentLevel||0)%S.length,q=S[w];return E.format==="ordered"?(0,i.jsx)(Zy,{listStyleType:q,...u,children:f}):(0,i.jsx)(Xy,{listStyleType:q,...u,children:f})},z_=(u,f)=>{vi.removeNodes(u,{at:f}),f[0]===0&&(vi.insertNodes(u,{type:"paragraph",children:[{type:"text",text:""}]},{at:f}),vi.select(u,f))},Sg=u=>gs.isNode(u)&&!Dt.isEditor(u)&&u.type==="text",V_=(u,f)=>{if(!u.selection)return;const[E,S]=Dt.parent(u,u.selection.anchor),[w,q]=Dt.parent(u,S),ne=w.children.length===1&&Sg(E.children[0])&&E.children[0].text==="",se=E.children.length===1&&Sg(E.children[0])&&E.children[0].text==="",Ee=u.selection.focus.offset===0&&u.selection.focus.path.at(-2)===0;if(ne)Dt.above(u,{at:q,match:Me=>!Dt.isEditor(Me)&&Me.type==="list"})||(f.preventDefault(),z_(u,q));else if(Ee)vi.liftNodes(u,{match:Te=>!Dt.isEditor(Te)&&Te.type==="list-item"}),vi.setNodes(u,{type:"paragraph"});else if(se){const Te=Dt.previous(u,{at:S}),Me=Dt.next(u,{at:S});if(Te&&Me){f.preventDefault(),vi.removeNodes(u,{at:S});const[nt]=Te,[ht]=Me;!Dt.isEditor(nt)&&!Sg(nt)&&Kp(nt)&&!Dt.isEditor(ht)&&!Sg(ht)&&Kp(ht)&&nt.type==="list"&&ht.type==="list"&&nt.format===ht.format&&nt.indentLevel===ht.indentLevel&&vi.mergeNodes(u,{at:S})}}},K_=u=>{const f=Dt.above(u,{match:Te=>!Dt.isEditor(Te)&&Te.type==="list-item"});if(!f||!u.selection)return;const[E,S]=f,[w,q]=Dt.parent(u,S),ne=w.children.length===1&&Sg(E.children[0])&&E.children[0].text==="",se=E.children.length===1&&Sg(E.children[0])&&E.children[0].text==="",Ee=u.selection.focus.offset===0&&u.selection.focus.path.at(-1)===0;if(ne)z_(u,q);else if(Ee&&!se){const Te=Dt.above(u,{at:u.selection.anchor});if(vi.insertNodes(u,{type:"list-item",children:[{type:"text",text:""}]}),Te){const Me=Te[1],nt=[...Me.slice(0,-1),Me[Me.length-1]+1];vi.select(u,{anchor:{path:nt.concat(0),offset:0},focus:{path:nt.concat(0),offset:0}})}}else if(se){if(!Dt.isEditor(w)&&Kp(w)&&w?.indentLevel&&w.indentLevel>0){const Me=w.indentLevel-1;if(Dt.above(u,{match:ht=>!Dt.isEditor(ht)&&ht.type==="list"&&(ht.indentLevel||0)===Me})){const ht=S.slice(0,-1);ht.length>0&&(ht[ht.length-1]+=1),vi.moveNodes(u,{at:S,to:ht});return}}vi.removeNodes(u,{at:S});const Te=Ar.next(q);vi.insertNodes(u,{type:"paragraph",children:[{type:"text",text:""}]},{at:Te}),vi.select(u,Te)}else Dt.isEnd(u,u.selection.anchor,S)?vi.insertNodes(u,{type:"list-item",children:[{type:"text",text:""}]}):vi.splitNodes(u)},Y_=(u,f)=>{const E=zr(u,{type:"list-item"});E&&vi.wrapNodes(u,{type:"list",format:f,children:[]},{at:E})},Q_=u=>{const f=Dt.above(u,{match:se=>!Dt.isEditor(se)&&se.type==="list-item"});if(!f||!u.selection)return;const[E,S]=f,[w]=Dt.parent(u,S);if(E===w.children[0])return;const q=w.children.findIndex(se=>se===E),ne=w.children[q-1];if(ne.type==="list"){const se=Ji.findPath(u,ne),Ee=ne.children.length;vi.moveNodes(u,{at:S,to:se.concat(Ee)});return}!Dt.isEditor(w)&&Kp(w)&&vi.wrapNodes(u,{type:"list",format:w.format,indentLevel:(w.indentLevel||0)+1,children:[]})},eb={"list-ordered":{renderElement:u=>(0,i.jsx)(G_,{...u}),label:{id:"components.Blocks.blocks.orderedList",defaultMessage:"Numbered list"},icon:_l,matchNode:u=>u.type==="list"&&u.format==="ordered",isInBlocksSelector:!0,handleConvert:u=>Y_(u,"ordered"),handleEnterKey:K_,handleBackspaceKey:V_,handleTab:Q_,snippets:["1."]},"list-unordered":{renderElement:u=>(0,i.jsx)(G_,{...u}),label:{id:"components.Blocks.blocks.unorderedList",defaultMessage:"Bulleted list"},icon:hi.c,matchNode:u=>u.type==="list"&&u.format==="unordered",isInBlocksSelector:!0,handleConvert:u=>Y_(u,"unordered"),handleEnterKey:K_,handleBackspaceKey:V_,handleTab:Q_,snippets:["-","*","+"]},"list-item":{renderElement:u=>(0,i.jsx)(R.O,{as:"li",...u.attributes,children:u.children}),matchNode:u=>u.type==="list-item",isInBlocksSelector:!1,dragHandleTopMargin:"-2px"}},tb={paragraph:{renderElement:u=>(0,i.jsx)(R.O,{as:"p",variant:"omega",...u.attributes,children:u.children}),icon:$c,label:{id:"components.Blocks.blocks.text",defaultMessage:"Text"},matchNode:u=>u.type==="paragraph",isInBlocksSelector:!0,dragHandleTopMargin:"-2px",handleConvert(u){zr(u,{type:"paragraph"})},handleEnterKey(u){if(!u.selection)return;const f=u.selection.anchor.path;vi.splitNodes(u,{always:!0});const E=Dt.above(u,{match:se=>!Dt.isEditor(se)&&se.type!=="text"});if(!E)return;const[,S]=E,w=Dt.isEnd(u,u.selection.anchor,S),[q]=Dt.parent(u,u.selection.anchor.path);vi.removeNodes(u);const ne=u.children.length-f[0]>1;vi.insertNodes(u,{type:"paragraph",children:w?[{type:"text",text:""}]:q.children},{at:ne?[f[0]+1]:[u.children.length]}),vi.select(u,u.start([f[0]+1]))}}},nb=Qe.cp.blockquote.attrs({role:"blockquote"})`
  font-weight: ${({theme:u})=>u.fontWeights.regular};
  border-left: ${({theme:u})=>`${u.spaces[1]} solid ${u.colors.neutral200}`};
  padding: ${({theme:u})=>u.spaces[2]} ${({theme:u})=>u.spaces[4]};
  color: ${({theme:u})=>u.colors.neutral600};
`,rb={quote:{renderElement:u=>(0,i.jsx)("div",{children:(0,i.jsx)(nb,{...u.attributes,children:u.children})}),icon:Io.c,label:{id:"components.Blocks.blocks.quote",defaultMessage:"Quote"},matchNode:u=>u.type==="quote",isInBlocksSelector:!0,handleConvert(u){zr(u,{type:"quote"})},handleEnterKey(u){_s(u)},snippets:[">"],dragHandleTopMargin:"6px"}},ib=(0,Qe.cp)(v.C)`
  &[aria-disabled='true'] {
    cursor: not-allowed;
  }
`,Z_=(0,Qe.cp)(jE)`
  background: ${({theme:u})=>u.colors.neutral150};
  width: 1px;
  height: ${(0,a.W8)(24)};
`,sb=(0,Qe.cp)(v.C)`
  // Inherit the not-allowed cursor from ToolbarWrapper when disabled
  &[aria-disabled] {
    cursor: inherit;
  }

  &[aria-disabled='false'] {
    cursor: pointer;

    // Only apply hover styles if the button is enabled
    &:hover {
      background: ${({theme:u})=>u.colors.primary100};
    }
  }
`,ab=(0,Qe.cp)(c.k)`
  // Styling changes to SingleSelect component don't work, so adding wrapper to target SingleSelect
  div[role='combobox'] {
    border: none;
    cursor: pointer;
    min-height: unset;
    padding-top: 6px;
    padding-bottom: 6px;

    &[aria-disabled='false']:hover {
      cursor: pointer;
      background: ${({theme:u})=>u.colors.primary100};
    }

    &[aria-disabled] {
      background: transparent;
      cursor: inherit;

      // Select text and icons should also have disabled color
      span {
        color: ${({theme:u})=>u.colors.neutral600};
      }
    }
  }
`;function X_(){const[u,f]=ge.useState(null);return{modalElement:u,handleConversionResult:S=>{S&&f(ge.cloneElement(S(),{key:Date.now()}))}}}const l_=({icon:u,name:f,label:E,isActive:S,disabled:w,handleClick:q})=>{const{editor:ne}=gp("ToolbarButton"),{formatMessage:se}=(0,At.c)(),Ee=se(E),Te=S?"primary600":"neutral600";return(0,i.jsx)(Fe.o,{description:Ee,children:(0,i.jsx)($E,{value:f,"data-state":S?"on":"off",onMouseDown:Me=>{Me.preventDefault(),q(),Ji.focus(ne)},"aria-disabled":w,disabled:w,"aria-label":Ee,asChild:!0,children:(0,i.jsx)(sb,{as:"button",background:S?"primary100":"",alignItems:"center",justifyContent:"center",width:7,height:7,hasRadius:!0,children:(0,i.jsx)(Ae.G,{width:3,height:3,as:u,color:w?"neutral300":Te})})})})},ob=()=>{const{editor:u,blocks:f,disabled:E}=gp("BlocksDropdown"),{formatMessage:S}=(0,At.c)(),{modalElement:w,handleConversionResult:q}=X_(),ne=mp(f).reduce((nt,ht)=>{const[Bt,Ft]=ht;return Ft.isInBlocksSelector?[...nt,Bt]:nt},[]),[se,Ee]=ge.useState("paragraph"),Te=nt=>{if(!Nb(nt))return;const ht=u.children.length===1&&Dt.isEmpty(u,u.children[0]);!u.selection&&!ht?vi.insertNodes(u,{type:"quote",children:[{type:"text",text:""}]},{select:!0}):!u.selection&&ht&&vi.select(u,Dt.start(u,[0,0]));const Bt=Dt.above(u,{match:ze=>!Dt.isEditor(ze)&&ze.type==="list"});if(Bt&&["list-ordered","list-unordered"].includes(nt)){const[ze,_n]=Bt,On=nt==="list-ordered"?"ordered":"unordered";!Dt.isEditor(ze)&&c_(ze)&&ze.format!==On&&vi.setNodes(u,{format:On},{at:_n});return}const Ft=f[nt].handleConvert?.(u);q(Ft),Ee(nt),Ji.focus(u)},Me=nt=>nt.preventDefault();return ge.useEffect(()=>{if(u.selection){let nt;const ht=Dt.above(u,{match:Ft=>!Dt.isEditor(Ft)&&Ft.type==="list",at:u.selection.anchor});if(ht){const[Ft]=ht;nt=Ft}else{const[Ft]=Dt.parent(u,u.selection.anchor,{edge:"start",depth:2});Ft.type==="list-item"?(vi.setNodes(u,{type:"paragraph"}),nt={...Ft,type:"paragraph"}):nt=Ft}const Bt=P4(f).find(Ft=>!Dt.isEditor(nt)&&f[Ft].matchNode(nt));Bt&&Bt!==se&&Ee(Bt)}},[u.selection,u,f,se]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ab,{children:(0,i.jsx)(_.K_,{startIcon:(0,i.jsx)(Ae.G,{as:f[se].icon}),onChange:Te,placeholder:S(f[se].label),value:se,onCloseAutoFocus:Me,"aria-label":S({id:"components.Blocks.blocks.selectBlock",defaultMessage:"Select a block"}),disabled:E,children:ne.map(nt=>(0,i.jsx)(ub,{value:nt,label:f[nt].label,icon:f[nt].icon,blockSelected:se},nt))})}),w]})},ub=({value:u,icon:f,label:E,blockSelected:S})=>{const{formatMessage:w}=(0,At.c)(),q=u===S;return(0,i.jsx)(_.kH,{startIcon:(0,i.jsx)(Ae.G,{as:f,color:q?"primary600":"neutral600"}),value:u,children:w(E)})},c_=u=>gs.isNode(u)&&!Dt.isEditor(u)&&u.type==="list",J_=({block:u,format:f})=>{const{editor:E,disabled:S,blocks:w}=gp("ListButton"),q=()=>{if(!E.selection)return!1;const se=Dt.above(E,{match:Ee=>!Dt.isEditor(Ee)&&Ee.type==="list",at:E.selection.anchor});if(se){const[Ee]=se;if(!Dt.isEditor(Ee)&&c_(Ee)&&Ee.format===f)return!0}return!1},ne=se=>{let Ee;if(E.selection)Ee=Dt.above(E,{match:nt=>!Dt.isEditor(nt)&&nt.type==="list"});else{const[nt,ht]=Dt.last(E,[]);Ee=Dt.above(E,{match:Bt=>!Dt.isEditor(Bt)&&Bt.type==="list",at:ht})}if(!Ee){w[`list-${se}`].handleConvert(E);return}const[Te,Me]=Ee;!Dt.isEditor(Te)&&c_(Te)&&(Te.format!==se?vi.setNodes(E,{format:se},{at:Me}):w.paragraph.handleConvert(E))};return(0,i.jsx)(l_,{icon:u.icon,name:f,label:u.label,isActive:q(),disabled:S,handleClick:()=>ne(f)})},lb=({disabled:u})=>{const{editor:f}=gp("LinkButton"),E=()=>{const{selection:q}=f;if(!q)return!1;const[ne]=Array.from(Dt.nodes(f,{at:Dt.unhangRange(f,q),match:se=>Us.isElement(se)&&se.type==="link"}));return Boolean(ne)},S=()=>{if(u)return!0;if(!f.selection)return!1;const q=Dt.above(f,{at:f.selection.anchor,match:se=>!Dt.isEditor(se)&&se.type!=="text"}),ne=Dt.above(f,{at:f.selection.focus,match:se=>!Dt.isEditor(se)&&se.type!=="text"});return!q||!ne?!1:q[0]!==ne[0]},w=()=>{f.shouldSaveLinkPath=!0,_f(f,{url:""})};return(0,i.jsx)(l_,{icon:ll.c,name:"link",label:{id:"components.Blocks.link",defaultMessage:"Link"},isActive:E(),handleClick:w,disabled:S()})},cb=()=>{const{editor:u,blocks:f,modifiers:E,disabled:S}=gp("BlocksToolbar"),q=(()=>{if(S)return!0;if(!u.selection)return!1;const ne=u.children[u.selection.anchor.path[0]];return!!["image","code"].includes(ne.type)})();return(0,i.jsx)(av,{"aria-disabled":S,asChild:!0,children:(0,i.jsxs)(ib,{gap:2,padding:2,children:[(0,i.jsx)(ob,{}),(0,i.jsx)(Z_,{}),(0,i.jsx)(ov,{type:"multiple",asChild:!0,children:(0,i.jsxs)(v.C,{gap:1,children:[Object.entries(E).map(([ne,se])=>(0,i.jsx)(l_,{name:ne,icon:se.icon,label:se.label,isActive:se.checkIsActive(u),handleClick:()=>se.handleToggle(u),disabled:q},ne)),(0,i.jsx)(lb,{disabled:q})]})}),(0,i.jsx)(Z_,{}),(0,i.jsx)(ov,{type:"single",asChild:!0,children:(0,i.jsxs)(v.C,{gap:1,children:[(0,i.jsx)(J_,{block:f["list-unordered"],format:"unordered"}),(0,i.jsx)(J_,{block:f["list-ordered"],format:"ordered"})]})})]})})},db=(0,Qe.cp)(Km)`
  // The outline style is set on the wrapper with :focus-within
  outline: none;
  display: flex;
  flex-direction: column;
  gap: ${({theme:u})=>u.spaces[3]};
  height: 100%;
  // For fullscreen align input in the center with fixed width
  width: ${u=>u.isExpandedMode?"512px":"100%"};
  margin: auto;

  > *:last-child {
    padding-bottom: ${({theme:u})=>u.spaces[3]};
  }
`,fb=(0,Qe.cp)(c.k)`
  position: ${({isOverDropTarget:u})=>u&&"relative"};
`,hb=(0,Qe.cp)(c.k)`
  position: absolute;
  right: 0;

  // Show drop placeholder 8px above or below the drop target
  ${({dragDirection:u,theme:f,placeholderMargin:E})=>(0,Qe.gV)`
    top: ${u===O4.UPWARD&&`-${f.spaces[E]}`};
    bottom: ${u===O4.DOWNWARD&&`-${f.spaces[E]}`};
  `}
`,q_=(0,Qe.cp)(v.C)`
  // Style each block rendered using renderElement()
  & > [data-slate-node='element'] {
    width: 100%;
    opacity: inherit;
  }

  // Set the visibility of drag button
  [role='button'] {
    visibility: ${u=>u.dragVisibility};
    opacity: inherit;
  }
  &[aria-disabled='true'] {
    user-drag: none;
  }
`,ey=(0,Qe.cp)(j.w)`
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: ${({theme:u})=>u.borderRadius};
  width: ${({theme:u})=>u.spaces[4]};
  height: ${({theme:u})=>u.spaces[6]};
  visibility: hidden;
  cursor: grab;
  opacity: inherit;
  margin-top: ${u=>u.dragHandleTopMargin??0};

  &:hover {
    background: ${({theme:u})=>u.colors.neutral200};
  }
  &:active {
    cursor: grabbing;
  }
  &[aria-disabled='true'] {
    cursor: not-allowed;
    background: transparent;
  }
  svg {
    height: auto;
    width: ${({theme:u})=>u.spaces[3]};

    path {
      fill: ${({theme:u})=>u.colors.neutral700};
    }
  }
`,pb=({children:u,index:f,setDragDirection:E,dragDirection:S,dragHandleTopMargin:w})=>{const{editor:q,disabled:ne,name:se,setLiveText:Ee}=gp("drag-and-drop"),{formatMessage:Te}=(0,At.c)(),[Me,nt]=ge.useState("hidden"),ht=ge.useCallback((Dn,Ir)=>{vi.moveNodes(q,{at:Ir,to:Dn});const hr=[Ir[0]+1,...Ir.slice(1)],Mr=[Dn[0]+1,...Dn.slice(1)];Ee(Te({id:Ai("components.Blocks.dnd.reorder"),defaultMessage:"{item}, moved. New position in the editor: {position}."},{item:`${se}.${hr.join(",")}`,position:`${Mr.join(",")} of ${q.children.length}`}))},[q,Te,se,Ee]),[{handlerId:Bt,isDragging:Ft,isOverDropTarget:ze,direction:_n},On,Gn,Vn]=R4(!ne,{type:`${Ef.BLOCKS}_${se}`,index:f,item:{index:f,displayedValue:u},onDropItem(Dn,Ir){Ir&&ht(Ir,Dn)}}),mr=$p(On,Gn);return ge.useEffect(()=>{_n&&E(_n)},[_n,E]),ge.useEffect(()=>{nt("hidden")},[q.selection]),(0,i.jsxs)(fb,{ref:Dn=>mr(Dn),isOverDropTarget:ze,children:[ze&&(0,i.jsx)(hb,{borderStyle:"solid",borderColor:"secondary200",borderWidth:"2px",width:"calc(100% - 24px)",marginLeft:"auto",dragDirection:S,placeholderMargin:u.props.as&&u.props.as==="li"?1:2}),Ft?(0,i.jsx)(mb,{dragHandleTopMargin:w,children:u}):(0,i.jsxs)(q_,{ref:Vn,"data-handler-id":Bt,gap:2,paddingLeft:2,alignItems:"start",onDragStart:Dn=>{const Ir=Dn.target,hr=Dn.currentTarget;Ir.getAttribute("role")!=="button"?Dn.preventDefault():hr.style.opacity="0.5"},onDragEnd:Dn=>{const Ir=Dn.currentTarget;Ir.style.opacity="1"},onMouseMove:()=>nt("visible"),onSelect:()=>nt("visible"),onMouseLeave:()=>nt("hidden"),"aria-disabled":ne,dragVisibility:Me,children:[(0,i.jsx)(ey,{forwardedAs:"div",role:"button",tabIndex:0,"aria-label":Te({id:Ai("components.DragHandle-label"),defaultMessage:"Drag"}),onClick:Dn=>Dn.stopPropagation(),"aria-disabled":ne,disabled:ne,draggable:!0,dragHandleTopMargin:w,children:(0,i.jsx)(Tu.c,{color:"neutral600"})}),u]})]})},mb=({children:u,dragHandleTopMargin:f})=>{const{formatMessage:E}=(0,At.c)();return(0,i.jsxs)(q_,{gap:2,paddingLeft:2,alignItems:"start",dragVisibility:"visible",children:[(0,i.jsx)(ey,{forwardedAs:"div",role:"button","aria-label":E({id:Ai("components.DragHandle-label"),defaultMessage:"Drag"}),dragHandleTopMargin:f,children:(0,i.jsx)(Tu.c,{color:"neutral600"})}),u]})},gb=(u,f)=>{const E=mp(f).reduce((S,w)=>{const[q,ne]=w;return u.leaf[q]?ne.renderLeaf(S):S},u.children);return(0,i.jsx)("span",{...u.attributes,children:E})},vb=({props:u,blocks:f,editor:E,setDragDirection:S,dragDirection:w})=>{const{element:q}=u,se=Object.values(f).find(Te=>Te.matchNode(q))||f.paragraph,Ee=Ji.findPath(E,q);return Om(q)||Kp(q)&&q.indentLevel&&q.indentLevel>0||q.type==="list-item"?se.renderElement(u):(0,i.jsx)(pb,{index:Ee,setDragDirection:S,dragDirection:w,dragHandleTopMargin:se.dragHandleTopMargin,children:se.renderElement(u)})},Eb=({placeholder:u,ariaLabelId:f})=>{const{editor:E,disabled:S,blocks:w,modifiers:q,setLiveText:ne,isExpandedMode:se}=gp("BlocksContent"),Ee=ge.useRef(null),{formatMessage:Te}=(0,At.c)(),[Me,nt]=ge.useState(null),{modalElement:ht,handleConversionResult:Bt}=X_(),Ft=ge.useCallback(Mr=>gb(Mr,q),[q]),ze=(Mr,_r)=>{if(!Mr.selection)return;const oi=[xi.start(Mr.selection).path[0]];let ri=0;_r.key==="ArrowUp"?ri=oi[0]>0?oi[0]-1:oi[0]:ri=oi[0]<Mr.children.length-1?oi[0]+1:oi[0];const kr=[ri];ri!==oi[0]&&(vi.moveNodes(Mr,{at:oi,to:kr}),ne(Te({id:Ai("components.Blocks.dnd.reorder"),defaultMessage:"{item}, moved. New position in the editor: {position}."},{item:`${name}.${oi[0]+1}`,position:`${kr[0]+1} of ${Mr.children.length}`})),_r.preventDefault())},_n=ge.useCallback(Mr=>vb({props:Mr,blocks:w,editor:E,dragDirection:Me,setDragDirection:nt}),[w,E,Me,nt]),On=Mr=>{if(!E.selection)return;const[_r,Br]=Dt.node(E,E.selection.anchor.path);if(Dt.isEditor(_r)||_r.type!=="text"||Br.at(-1)!==0)return;const oi=Object.values(w).find(ri=>ri.snippets?.includes(_r.text));if(oi?.handleConvert){Mr.preventDefault(),vi.delete(E,{distance:_r.text.length,unit:"character",reverse:!0});const ri=oi.handleConvert(E);Bt(ri)}},Gn=Mr=>{if(!E.selection)return;const _r=E.children[E.selection.anchor.path[0]],Br=Object.values(w).find(oi=>oi.matchNode(_r));if(Br){if(Mr.shiftKey&&_r.type!=="image"){vi.insertText(E,`
`);return}Br.handleEnterKey?Br.handleEnterKey(E):w.paragraph.handleEnterKey(E)}},Vn=Mr=>{if(!E.selection)return;const _r=E.children[E.selection.anchor.path[0]],Br=Object.values(w).find(oi=>oi.matchNode(_r));Br&&Br.handleBackspaceKey&&Br.handleBackspaceKey(E,Mr)},mr=Mr=>{if(!E.selection)return;const _r=E.children[E.selection.anchor.path[0]],Br=Object.values(w).find(oi=>oi.matchNode(_r));Br&&Br.handleTab&&(Mr.preventDefault(),Br.handleTab(E))},Dn=Mr=>{(Mr.metaKey||Mr.ctrlKey)&&(Object.values(q).forEach(Br=>{if(Br.isValidEventKey(Mr)){Br.handleToggle(E);return}}),Mr.shiftKey&&["ArrowUp","ArrowDown"].includes(Mr.key)&&ze(E,Mr))},Ir=Mr=>{switch(Mr.key){case"Enter":return Mr.preventDefault(),Gn(Mr);case"Backspace":return Vn(Mr);case"Tab":return mr(Mr);case"Escape":return Ji.blur(E)}Dn(Mr),Mr.key===" "&&On(Mr)},hr=()=>{if(!E.selection)return;const _r=Ji.toDOMRange(E,E.selection).getBoundingClientRect(),Br=Ee.current;if(!Br)return;const oi=Br.getBoundingClientRect();(_r.top<oi.top||_r.bottom>oi.bottom)&&Br.scrollBy({top:28,behavior:"smooth"})};return(0,i.jsxs)(c.k,{ref:Ee,grow:1,width:"100%",overflow:"auto",fontSize:2,background:"neutral0",color:"neutral800",lineHeight:6,paddingRight:4,paddingTop:6,paddingBottom:3,children:[(0,i.jsx)(db,{"aria-labelledby":f,readOnly:S,placeholder:u,isExpandedMode:se,renderElement:_n,renderLeaf:Ft,onKeyDown:Ir,scrollSelectionIntoView:hr,onDrop:()=>!0,onDragStart:()=>!0}),ht]})},_b=(0,Qe.cp)(j.w)`
  position: absolute;
  bottom: ${(0,a.W8)(12)};
  right: ${(0,a.W8)(12)};
`,yb=(0,Qe.cp)(v.C)`
  // Background with 20% opacity
  background: ${({theme:u})=>`${u.colors.neutral800}1F`};
`,bb=({children:u,error:f,disabled:E,onCollapse:S,ariaDescriptionId:w})=>{const{formatMessage:q}=(0,At.c)(),{isExpandedMode:ne}=gp("editorLayout");return(0,a.Ki)({lockScroll:ne}),ne?(0,i.jsx)(B.a,{role:"dialog","aria-modal":!1,children:(0,i.jsx)(sn.W,{onEscape:S,children:(0,i.jsx)(yb,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:4,justifyContent:"center",onClick:S,children:(0,i.jsx)(c.k,{background:"neutral0",hasRadius:!0,shadow:"popupShadow",overflow:"hidden",width:"90%",height:"90%",onClick:se=>se.stopPropagation(),"aria-describedby":w,position:"relative",children:(0,i.jsxs)(v.C,{height:"100%",alignItems:"flex-start",direction:"column",children:[u,(0,i.jsx)(_b,{"aria-label":q({id:Ai("components.Blocks.collapse"),defaultMessage:"Collapse"}),onClick:S,children:(0,i.jsx)(ma.c,{})})]})})})})}):(0,i.jsx)(X.S,{direction:"column",alignItems:"flex-start",height:"512px",disabled:E,hasError:Boolean(f),style:{overflow:"hidden"},"aria-describedby":w,position:"relative",children:u})},OE=(0,Qe.gV)`
  font-size: inherit;
  color: inherit;
  line-height: inherit;
`,Cb=(0,Qe.cp)(R.O).attrs({fontWeight:"bold"})`
  ${OE}
`,Sb=(0,Qe.cp)(R.O)`
  font-style: italic;
  ${OE}
`,Tb=(0,Qe.cp)(R.O).attrs({textDecoration:"underline"})`
  ${OE}
`,Db=(0,Qe.cp)(R.O).attrs({textDecoration:"line-through"})`
  ${OE}
`,Ab=Qe.cp.code`
  background-color: ${({theme:u})=>u.colors.neutral150};
  border-radius: ${({theme:u})=>u.borderRadius};
  padding: ${({theme:u})=>`0 ${u.spaces[2]}`};
  font-family: 'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', Menlo, Consolas,
    monospace;
  color: inherit;
`,$3=(u,f)=>{const E=Dt.marks(u);return E?Boolean(E[f]):!1},W3=(u,f)=>{const E=Dt.marks(u);if(!u.selection){const S=Dt.end(u,[]);vi.select(u,S)}E?.[f]?Dt.removeMark(u,f):Dt.addMark(u,f,!0)},xb={bold:{icon:ru.c,isValidEventKey:u=>u.key==="b",label:{id:"components.Blocks.modifiers.bold",defaultMessage:"Bold"},checkIsActive:u=>$3(u,"bold"),handleToggle:u=>W3(u,"bold"),renderLeaf:u=>(0,i.jsx)(Cb,{children:u})},italic:{icon:Ru.c,isValidEventKey:u=>u.key==="i",label:{id:"components.Blocks.modifiers.italic",defaultMessage:"Italic"},checkIsActive:u=>$3(u,"italic"),handleToggle:u=>W3(u,"italic"),renderLeaf:u=>(0,i.jsx)(Sb,{children:u})},underline:{icon:Ml.c,isValidEventKey:u=>u.key==="u",label:{id:"components.Blocks.modifiers.underline",defaultMessage:"Underline"},checkIsActive:u=>$3(u,"underline"),handleToggle:u=>W3(u,"underline"),renderLeaf:u=>(0,i.jsx)(Tb,{children:u})},strikethrough:{icon:Ra.c,isValidEventKey:u=>u.key==="S"&&u.shiftKey,label:{id:"components.Blocks.modifiers.strikethrough",defaultMessage:"Strikethrough"},checkIsActive:u=>$3(u,"strikethrough"),handleToggle:u=>W3(u,"strikethrough"),renderLeaf:u=>(0,i.jsx)(Db,{children:u})},code:{icon:fs.c,isValidEventKey:u=>u.key==="e",label:{id:"components.Blocks.modifiers.code",defaultMessage:"Inline code"},checkIsActive:u=>$3(u,"code"),handleToggle:u=>W3(u,"code"),renderLeaf:u=>(0,i.jsx)(Ab,{children:u})}},Ob=u=>{const{isVoid:f}=u;return u.isVoid=E=>E.type==="image"?!0:f(E),u},Rb=u=>{const{isInline:f,apply:E,insertText:S,insertData:w}=u;return u.isInline=q=>q.type==="link"?!0:f(q),u.lastInsertedLinkPath=null,u.apply=q=>{q.type==="insert_node"?!Dt.isEditor(q.node)&&q.node.type==="link"&&u.shouldSaveLinkPath&&(u.lastInsertedLinkPath=q.path):q.type==="move_node"&&Ar.hasPrevious(q.path)&&u.lastInsertedLinkPath&&u.shouldSaveLinkPath&&(u.lastInsertedLinkPath=Ar.transform(u.lastInsertedLinkPath,q)),E(q)},u.insertText=q=>{if(u.selection&&xi.isCollapsed(u.selection)&&q===" "){const ne=Array.from(Dt.nodes(u,{at:u.selection,match:Te=>!Dt.isEditor(Te)&&Te.type==="link"}));if(u.selection&&ne.length>0&&ro.equals(u.selection.anchor,Dt.end(u,ne[0][1]))){vi.insertNodes(u,{text:" ",type:"text"},{at:Ar.next(ne[0][1]),select:!0});return}}S(q)},u.insertData=q=>{const ne=q.getData("text/plain");if(ne)try{new URL(ne),u.shouldSaveLinkPath=!1,_f(u,{url:ne});return}catch{}w(q)},u},wb=u=>gs.isNode(u)&&!Dt.isEditor(u)&&u.type==="text",Ib=u=>{const{normalizeNode:f}=u;return u.normalizeNode=E=>{const[S,w]=E;if(!Us.isElement(S)&&!wb(S)){vi.setNodes(u,{type:"text"},{at:w});return}f(E)},u},Mb=["paragraph","heading-one","heading-two","heading-three","heading-four","heading-five","heading-six","list-ordered","list-unordered","image","quote","code"],Nb=u=>typeof u=="string"&&Mb.includes(u),[Pb,Lb]=(0,ut.G)("BlocksEditor");function gp(u){const f=Lb(u),E=zm();return{...f,editor:E}}const Bb=(0,Qe.cp)(yt.c)`
  background: ${({theme:u})=>u.colors.neutral200};
`,Fb=(0,Qe.cp)(j.w)`
  position: absolute;
  bottom: ${(0,a.W8)(12)};
  right: ${(0,a.W8)(12)};
`;function kb(u){const f=ge.useRef(0),E=ge.useRef(0),[S,w]=ge.useState(0);return ge.useEffect(()=>{E.current+=1,E.current!==f.current&&(w(q=>q+1),f.current=E.current)},[u]),{key:S,incrementSlateUpdatesCount:()=>f.current+=1}}const Ub=(...u)=>f=>u.reduce((E,S)=>S(E),f),jb=ge.forwardRef(({disabled:u=!1,name:f,onChange:E,value:S,error:w,...q},ne)=>{const{formatMessage:se}=(0,At.c)(),[Ee]=ge.useState(()=>Ub(k4,Ob,Ib,fh,Rb)(Yh())),[Te,Me]=ge.useState(""),nt=ge.useId(),[ht,Bt]=ge.useState(!1),Ft=()=>{Bt(Vn=>!Vn)};ge.useImperativeHandle(ne,()=>({focus(){Ji.focus(Ee)}}),[Ee]);const{key:ze,incrementSlateUpdatesCount:_n}=kb(S),On=Vn=>{Ee.operations.some(Dn=>Dn.type!=="set_selection")&&(_n(),E({target:{name:f,value:Vn,type:"blocks"}}))},Gn={...tb,...Xo,...eb,...Qy,...vd,...rb,...Ws};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(W.K,{id:nt,children:se({id:Ai("components.Blocks.dnd.instruction"),defaultMessage:"To reorder blocks, press Command or Control along with Shift and the Up or Down arrow keys"})}),(0,i.jsx)(W.K,{"aria-live":"assertive",children:Te}),(0,i.jsx)(Xg,{editor:Ee,initialValue:S||[{type:"paragraph",children:[{type:"text",text:""}]}],onChange:On,children:(0,i.jsx)(Pb,{blocks:Gn,modifiers:xb,disabled:u,name:f,setLiveText:Me,isExpandedMode:ht,children:(0,i.jsxs)(bb,{error:w,disabled:u,onCollapse:Ft,ariaDescriptionId:nt,children:[(0,i.jsx)(cb,{}),(0,i.jsx)(Bb,{width:"100%"}),(0,i.jsx)(Eb,{...q}),!ht&&(0,i.jsx)(Fb,{"aria-label":se({id:Ai("components.Blocks.expand"),defaultMessage:"Expand"}),onClick:Ft,children:(0,i.jsx)(ke.c,{})})]})})},ze)]})}),$b=(0,Qe.cp)(c.k)`
  svg path {
    fill: ${({theme:u})=>u.colors.neutral500};
  }
`,Wb=ge.forwardRef(({intlLabel:u,labelAction:f,name:E,required:S=!1,error:w="",hint:q,placeholder:ne,...se},Ee)=>{const{formatMessage:Te}=(0,At.c)(),Me=ge.useId(),nt=u.id?Te(u):E,ht=ne&&Te({id:ne.id,defaultMessage:ne.defaultMessage});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,i.jsxs)(v.C,{gap:1,children:[(0,i.jsxs)(R.O,{variant:"pi",fontWeight:"bold",textColor:"neutral800",as:"label",id:Me,children:[nt,S&&(0,i.jsx)(R.O,{textColor:"danger600",lineHeight:"0px",children:"*"})]}),f&&(0,i.jsx)($b,{paddingLeft:1,children:f})]}),(0,i.jsx)(jb,{name:E,error:w,ref:Ee,...se,ariaLabelId:Me,placeholder:ht}),(0,i.jsx)(qn,{hint:q,name:E,error:w})]}),w&&(0,i.jsx)(c.k,{paddingTop:1,children:(0,i.jsx)(R.O,{variant:"pi",textColor:"danger600","data-strapi-field-error":!0,children:w})})]})});function ty(u,f){const[E,S]=ge.useState(u);return ge.useEffect(()=>{const w=setTimeout(()=>{S(u)},f);return()=>{clearTimeout(w)}},[u,f]),E}const Hb=/^[A-Za-z0-9-_.~]*$/,Gb=ge.forwardRef(({contentTypeUID:u,hint:f,disabled:E,error:S,intlLabel:w,labelAction:q,name:ne,onChange:se,value:Ee="",placeholder:Te,required:Me},nt)=>{const[ht,Bt]=ge.useState(),[Ft,ze]=ge.useState(!1),_n=ty(Ee,300),{modifiedData:On,initialData:Gn}=(0,a.O_)(),Vn=(0,a.eo)(),{formatAPIError:mr}=(0,a.An)(),{formatMessage:Dn}=(0,At.c)(),{post:Ir}=(0,a.Qn)(),hr=w.id?Dn({id:w.id,defaultMessage:w.defaultMessage},{...w.values}):ne,Mr=Te?Dn({id:Te.id,defaultMessage:Te.defaultMessage},{...Te.values}):"",{data:_r,isLoading:Br}=(0,Go.useQuery)({queryKey:["uid",{contentTypeUID:u,field:ne,data:On}],async queryFn({queryKey:Vr}){const[,Ki]=Vr,{data:{data:As}}=await Ir("/content-manager/uid/generate",Ki);return As},onError(Vr){Vr instanceof be.Uh&&Vn({type:"warning",message:mr(Vr)})},enabled:!Ee&&Me});ge.useEffect(()=>{_r&&se({target:{name:ne,value:_r,type:"text"}},!0)},[_r,ne,se]);const{mutate:oi,isLoading:ri}=(0,Go.useMutation)({async mutationFn(Vr){const{data:{data:Ki}}=await Ir("/content-manager/uid/generate",Vr);return Ki},onSuccess(Vr){se({target:{name:ne,value:Vr,type:"text"}})},onError(Vr){Vr instanceof be.Uh&&Vn({type:"warning",message:mr(Vr)})}}),{data:kr,isLoading:Zr}=(0,Go.useQuery)({queryKey:["uid",{contentTypeUID:u,field:ne,value:_n?_n.trim():""}],async queryFn({queryKey:Vr}){const[,Ki]=Vr,{data:As}=await Ir("/content-manager/uid/check-availability",Ki);return As},enabled:Boolean(_n!==Gn[ne]&&_n&&Hb.test(_n.trim())),onError(Vr){Vr instanceof be.Uh&&Vn({type:"warning",message:mr(Vr)})}});ge.useEffect(()=>{Bt(kr);let Vr;return kr?.isAvailable&&(Vr=window.setTimeout(()=>{Bt(void 0)},4e3)),()=>{Vr&&clearTimeout(Vr)}},[kr]);const ai=Br||ri||Zr;return(0,i.jsx)(P.g,{ref:nt,disabled:E,error:S,endAction:(0,i.jsxs)(v.C,{position:"relative",gap:1,children:[ht&&!Ft&&(0,i.jsxs)(ny,{alignItems:"center",gap:1,justifyContent:"flex-end",available:!!ht?.isAvailable,"data-not-here-outer":!0,position:"absolute",pointerEvents:"none",right:6,width:"100px",children:[ht?.isAvailable?(0,i.jsx)(hc.c,{}):(0,i.jsx)(il.c,{}),(0,i.jsx)(R.O,{textColor:ht.isAvailable?"success600":"danger600",variant:"pi",children:Dn(ht.isAvailable?{id:"content-manager.components.uid.available",defaultMessage:"Available"}:{id:"content-manager.components.uid.unavailable",defaultMessage:"Unavailable"})})]}),!E&&(0,i.jsxs)(i.Fragment,{children:[Ft&&(0,i.jsx)(ny,{alignItems:"center",justifyContent:"flex-end",gap:1,children:(0,i.jsx)(R.O,{textColor:"primary600",variant:"pi",children:Dn({id:"content-manager.components.uid.regenerate",defaultMessage:"Regenerate"})})}),(0,i.jsx)(zb,{onClick:()=>oi({contentTypeUID:u,field:ne,data:On}),label:Dn({id:"content-manager.components.uid.regenerate",defaultMessage:"Regenerate"}),onMouseEnter:()=>ze(!0),onMouseLeave:()=>ze(!1),children:ai?(0,i.jsx)(Kb,{"data-testid":"loading-wrapper",children:(0,i.jsx)(V0.c,{})}):(0,i.jsx)(uu.c,{})})]})]}),hint:f,label:hr,labelAction:q,name:ne,onChange:se,placeholder:Mr,value:Ee,required:Me})}),zb=(0,Qe.cp)(T.d)`
  svg {
    height: 1rem;
    width: 1rem;
    path {
      fill: ${({theme:u})=>u.colors.neutral400};
    }
  }

  svg:hover {
    path {
      fill: ${({theme:u})=>u.colors.primary600};
    }
  }
`,ny=(0,Qe.cp)(v.C)`
  svg {
    height: ${12/16}rem;
    width: ${12/16}rem;

    path {
      fill: ${({theme:u,available:f})=>f?u.colors.success600:u.colors.danger600};
    }
  }
`,Vb=(0,Qe.xZ)`
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
`,Kb=(0,Qe.cp)(v.C)`
  animation: ${Vb} 2s infinite linear;
`,Tg=new qm({html:!0,xhtmlOut:!1,breaks:!0,langPrefix:"language-",linkify:!0,typographer:!0,highlight(u,f){if(f&&f!=="auto"&&(0,i3.getLanguage)(f))return'<pre class="hljs language-'+Tg.utils.escapeHtml(f.toLowerCase())+'"><code>'+(0,i3.highlight)(f,u,!0).value+"</code></pre>";if(f==="auto"){const E=(0,i3.highlightAuto)(u);return'<pre class="hljs language-'+Tg.utils.escapeHtml(E.language)+'"><code>'+E.value+"</code></pre>"}return'<pre class="hljs"><code>'+Tg.utils.escapeHtml(u)+"</code></pre>"}}).use(cv).use(dv,"warning").use(dv,"tip").use(WE).use(fv).use(HE).use(GE).use(zE).use(D_).use(VE);Tg.renderer.rules.footnote_ref=(u,f,E,S,w)=>'<sup class="footnote-ref"><span>'+w.rules.footnote_caption?.(u,f,E,S,w)+"</span></sup>",Tg.renderer.rules.footnote_anchor=()=>' <span class="footnote-backref">\u21A9\uFE0E</span>';const ry=({data:u=""})=>{const f=ge.useMemo(()=>lv(Tg.render(u.replaceAll("\\n",`
`)||""),{...lv.defaults,allowedTags:!1,allowedAttributes:{"*":["href","align","alt","center","width","height","type","controls","target"],img:["src","alt"],source:["src","type"]}}),[u]);return(0,i.jsx)(Yb,{children:(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:f}})})},Yb=Qe.cp.div`
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: ${({theme:u})=>`${u.spaces[3]} ${u.spaces[4]}`};
  font-size: ${14/16}rem;
  background-color: ${({theme:u})=>u.colors.neutral0};
  color: ${({theme:u})=>u.colors.neutral800};
  line-height: ${({theme:u})=>u.lineHeights[6]};

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-block-start: ${({theme:u})=>u.spaces[2]};
    margin-block-end: ${({theme:u})=>u.spaces[2]};
  }

  p {
    margin-bottom: ${({theme:u})=>u.spaces[2]};
  }

  h1 {
    font-size: ${36/16}rem;
    font-weight: 600;
  }

  h2 {
    font-size: ${30/16}rem;
    font-weight: 500;
  }

  h3 {
    font-size: ${24/16}rem;
    font-weight: 500;
  }

  h4 {
    font-size: ${20/16}rem;
    font-weight: 500;
  }

  strong {
    font-weight: 800;
  }

  em {
    font-style: italic;
  }

  blockquote {
    margin-top: ${({theme:u})=>u.spaces[8]};
    margin-bottom: ${({theme:u})=>u.spaces[7]};
    font-size: ${14/16}rem;
    font-weight: 400;
    border-left: 4px solid ${({theme:u})=>u.colors.neutral150};
    font-style: italic;
    padding: ${({theme:u})=>u.spaces[2]} ${({theme:u})=>u.spaces[5]};
  }

  img {
    max-width: 100%;
  }

  table {
    thead {
      background: ${({theme:u})=>u.colors.neutral150};

      th {
        padding: ${({theme:u})=>u.spaces[4]};
      }
    }
    tr {
      border: 1px solid ${({theme:u})=>u.colors.neutral200};
    }
    th,
    td {
      padding: ${({theme:u})=>u.spaces[4]};
      border: 1px solid ${({theme:u})=>u.colors.neutral200};
      border-bottom: 0;
      border-top: 0;
    }
  }

  pre,
  code {
    font-size: ${14/16}rem;
    border-radius: 4px;
    /* 
      Hard coded since the color is the same between themes,
      theme.colors.neutral800 changes between themes.

      Matches the color of the JSON Input component.
    */
    background-color: #32324d;
    max-width: 100%;
    overflow: auto;
    padding: ${({theme:u})=>u.spaces[2]};
  }

  /* Inline code */
  p,
  pre,
  td {
    > code {
      color: #839496;
    }
  }

  ol {
    list-style-type: decimal;
    margin-block-start: ${({theme:u})=>u.spaces[4]};
    margin-block-end: ${({theme:u})=>u.spaces[4]};
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: ${({theme:u})=>u.spaces[4]};

    ol,
    ul {
      margin-block-start: 0px;
      margin-block-end: 0px;
    }
  }

  ul {
    list-style-type: disc;
    margin-block-start: ${({theme:u})=>u.spaces[4]};
    margin-block-end: ${({theme:u})=>u.spaces[4]};
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: ${({theme:u})=>u.spaces[4]};

    ul,
    ol {
      margin-block-start: 0px;
      margin-block-end: 0px;
    }
  }
`;var RE=/^(\s*)(>[> ]*|[*+-] \[[x ]\]\s|[*+-]\s|(\d+)([.)]))(\s*)/,Qb=/^(\s*)(>[> ]*|[*+-] \[[x ]\]|[*+-]|(\d+)[.)])(\s*)$/,Zb=/[*+-]\s/;function Xb(u){if(u.getOption("disableInput"))return uv.Pass;for(var f=u.listSelections(),E=[],S=0;S<f.length;S++){var w=f[S].head,q=u.getStateAfter(w.line),ne=q.list!==!1,se=q.quote!==0,Ee=u.getLine(w.line),Te=RE.exec(Ee),Me=/^\s*$/.test(Ee.slice(0,w.ch));if(!f[S].empty()||!ne&&!se||!Te||Me){u.execCommand("newlineAndIndent");return}if(Qb.test(Ee)){var nt=se&&/>\s*$/.test(Ee),ht=!/>\s*$/.test(Ee);(nt||ht)&&u.replaceRange("",{line:w.line,ch:0},{line:w.line,ch:w.ch+1}),E[S]=`
`}else{var Bt=Te[1],Ft=Te[5],ze=!(Zb.test(Te[2])||Te[2].indexOf(">")>=0),_n=ze?parseInt(Te[3],10)+1+Te[4]:Te[2].replace("x"," ");E[S]=`
`+Bt+_n+Ft,ze&&Jb(u,w)}}u.replaceSelections(E)}function Jb(u,f){var E=f.line,S=0,w=0,q=RE.exec(u.getLine(E)),ne=q[1];do{S+=1;var se=E+S,Ee=u.getLine(se),Te=RE.exec(Ee);if(Te){var Me=Te[1],nt=parseInt(q[3],10)+S-w,ht=parseInt(Te[3],10),Bt=ht;if(ne===Me&&!isNaN(ht))nt===ht&&(Bt=ht+1),nt>ht&&(Bt=nt+1),u.replaceRange(Ee.replace(RE,Me+Bt+Te[4]+Te[5]),{line:se,ch:0},{line:se,ch:Ee.length});else{if(ne.length>Me.length||ne.length<Me.length&&S===1)return;w+=1}}}while(Te)}const qb=ge.forwardRef(({disabled:u,editorRef:f,error:E,isPreviewMode:S,isExpandMode:w,name:q,onChange:ne,placeholder:se,textareaRef:Ee,value:Te},Me)=>{const nt=ge.useRef(ne);return ge.useEffect(()=>{f.current&&f.current.toTextArea(),f.current=uv.fromTextArea(Ee.current,{lineWrapping:!0,extraKeys:{Enter:"newlineAndIndentContinueMarkdownList",Tab:!1,"Shift-Tab":!1},readOnly:!1,smartIndent:!1,placeholder:se,spellcheck:!0,inputStyle:"contenteditable"}),uv.commands.newlineAndIndentContinueMarkdownList=Xb,f.current.on("change",ht=>{nt.current({target:{name:q,value:ht.getValue(),type:"wysiwyg"}})})},[f,Ee,q,se]),ge.useEffect(()=>{Te&&!f.current.hasFocus()&&f.current.setValue(Te)},[f,Te]),ge.useEffect(()=>{S||u?f.current.setOption("readOnly","nocursor"):f.current.setOption("readOnly",!1)},[u,S,f]),ge.useEffect(()=>{E?f.current.setOption("screenReaderLabel",E):f.current.setOption("screenReaderLabel","Editor")},[f,E]),ge.useImperativeHandle(Me,()=>({focus(){f.current.getInputField().focus()},scrollIntoView(ht){f.current.getInputField().scrollIntoView(ht)}}),[f]),(0,i.jsxs)(eC,{children:[(0,i.jsx)(tC,{isExpandMode:w,disabled:u||S,children:(0,i.jsx)("textarea",{ref:Ee})}),S&&(0,i.jsx)(ry,{data:Te})]})}),eC=Qe.cp.div`
  position: relative;
  height: calc(100% - 48px);
`,tC=Qe.cp.div`
  cursor: ${({disabled:u})=>u?"not-allowed !important":"auto"};
  height: 100%;
  /* BASICS */
  .CodeMirror-placeholder {
    color: ${({theme:u})=>u.colors.neutral600} !important;
  }

  .CodeMirror {
    /* Set height, width, borders, and global font properties here */
    font-size: ${14/16}rem;
    height: ${({isExpandMode:u})=>u?"100%":"410px"}; //  512px(total height) - 48px (header) - 52px(footer) - 2px border
    color: ${({theme:u})=>u.colors.neutral800};
    direction: ltr;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
      'Open Sans', 'Helvetica Neue', sans-serif;
  }

  /* PADDING */

  .CodeMirror-lines {
    padding: ${({theme:u})=>`${u.spaces[3]} ${u.spaces[4]}`};
    /* Vertical padding around content */
  }

  .CodeMirror-scrollbar-filler,
  .CodeMirror-gutter-filler {
    /* The little square between H and V scrollbars */
    background-color: ${({theme:u})=>`${u.colors.neutral0}`};
  }

  /* GUTTER */

  .CodeMirror-gutters {
    border-right: 1px solid #ddd;
    background-color: #f7f7f7;
    white-space: nowrap;
  }
  .CodeMirror-linenumbers {
  }
  .CodeMirror-linenumber {
    padding: 0 3px 0 5px;
    min-width: 20px;
    text-align: right;
    color: #999;
    white-space: nowrap;
  }

  .CodeMirror-guttermarker {
    color: black;
  }
  .CodeMirror-guttermarker-subtle {
    color: #999;
  }

  /* CURSOR */

  .CodeMirror-cursor {
    border-left: 1px solid black;
    border-right: none;
    width: 0;
  }
  /* Shown when moving in bi-directional text */
  .CodeMirror div.CodeMirror-secondarycursor {
    border-left: 1px solid silver;
  }
  .cm-fat-cursor .CodeMirror-cursor {
    width: auto;
    border: 0 !important;
    background: #7e7;
  }
  .cm-fat-cursor div.CodeMirror-cursors {
    /* z-index: 1; */
  }

  .cm-fat-cursor-mark {
    background-color: rgba(20, 255, 20, 0.5);
    -webkit-animation: blink 1.06s steps(1) infinite;
    -moz-animation: blink 1.06s steps(1) infinite;
    animation: blink 1.06s steps(1) infinite;
  }
  .cm-animate-fat-cursor {
    width: auto;
    border: 0;
    -webkit-animation: blink 1.06s steps(1) infinite;
    -moz-animation: blink 1.06s steps(1) infinite;
    animation: blink 1.06s steps(1) infinite;
    background-color: #7e7;
  }

  /* Can style cursor different in overwrite (non-insert) mode */
  .CodeMirror-overwrite .CodeMirror-cursor {
  }

  .cm-tab {
    display: inline-block;
    text-decoration: inherit;
  }

  .CodeMirror-rulers {
    position: absolute;
    left: 0;
    right: 0;
    top: -50px;
    bottom: 0;
    overflow: hidden;
  }
  .CodeMirror-ruler {
    border-left: 1px solid #ccc;
    top: 0;
    bottom: 0;
    position: absolute;
  }

  /* DEFAULT THEME */

  .cm-header,
  .cm-strong {
    font-weight: bold;
  }
  .cm-em {
    font-style: italic;
  }
  .cm-link {
    text-decoration: underline;
  }
  .cm-strikethrough {
    text-decoration: line-through;
  }

  .CodeMirror-composing {
    border-bottom: 2px solid;
  }

  /* Default styles for common addons */

  div.CodeMirror span.CodeMirror-matchingbracket {
    color: #0b0;
  }
  div.CodeMirror span.CodeMirror-nonmatchingbracket {
    color: #a22;
  }
  .CodeMirror-matchingtag {
    background: rgba(255, 150, 0, 0.3);
  }
  .CodeMirror-activeline-background {
    background: #e8f2ff;
  }

  /* STOP */

  /* The rest of this file contains styles related to the mechanics of
    the editor. You probably shouldn't touch them. */

  .CodeMirror {
    position: relative;
    overflow: hidden;
    background: ${({theme:u})=>`${u.colors.neutral0}`};
  }

  .CodeMirror-scroll {
    overflow: scroll !important; /* Things will break if this is overridden */
    /* 50px is the magic margin used to hide the element's real scrollbars */
    /* See overflow: hidden in .CodeMirror */
    margin-bottom: -50px;
    margin-right: -50px;
    padding-bottom: 50px;
    height: 100%;
    outline: none; /* Prevent dragging from highlighting the element */
    position: relative;
  }
  .CodeMirror-sizer {
    position: relative;
    border-right: 50px solid transparent;
  }

  /* The fake, visible scrollbars. Used to force redraw during scrolling
    before actual scrolling happens, thus preventing shaking and
    flickering artifacts. */
  .CodeMirror-vscrollbar,
  .CodeMirror-hscrollbar,
  .CodeMirror-scrollbar-filler,
  .CodeMirror-gutter-filler {
    position: absolute;
    z-index: 1;
    display: none;
    outline: none;
  }

  .CodeMirror-vscrollbar {
    right: 0;
    top: 0;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  .CodeMirror-hscrollbar {
    bottom: 0;
    left: 0;
    overflow-y: hidden;
    overflow-x: scroll;
  }
  .CodeMirror-scrollbar-filler {
    right: 0;
    bottom: 0;
  }

  .CodeMirror-lines {
    cursor: text;
    min-height: 1px; /* prevents collapsing before first draw */
  }
  /* Reset some styles that the rest of the page might have set */
  .CodeMirror pre.CodeMirror-line,
  .CodeMirror pre.CodeMirror-line-like {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    border-width: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    white-space: pre;
    word-wrap: normal;
    line-height: 1.5;
    color: inherit;
    /* z-index: 2; */
    position: relative;
    overflow: visible;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-variant-ligatures: contextual;
    font-variant-ligatures: contextual;
  }

  .CodeMirror pre.CodeMirror-line-like {
    z-index: 2;
  }

  .CodeMirror-wrap pre.CodeMirror-line,
  .CodeMirror-wrap pre.CodeMirror-line-like {
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: normal;
  }

  .CodeMirror-linebackground {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
  }

  .CodeMirror-linewidget {
    position: relative;
    /* z-index: 2; */
    padding: 0.1px; /* Force widget margins to stay inside of the container */
  }

  .CodeMirror-widget {
  }

  .CodeMirror-rtl pre {
    direction: rtl;
  }

  .CodeMirror-code {
    outline: none;
  }

  /* Force content-box sizing for the elements where we expect it */
  .CodeMirror-scroll,
  .CodeMirror-sizer,
  .CodeMirror-gutter,
  .CodeMirror-gutters,
  .CodeMirror-linenumber {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
  }

  .CodeMirror-measure {
    position: absolute;
    width: 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden;
  }

  .CodeMirror-cursor {
    position: absolute;
    pointer-events: none;
    border-color: ${({theme:u})=>`${u.colors.neutral800}`};
  }
  .CodeMirror-measure pre {
    position: static;
  }

  div.CodeMirror-cursors {
    visibility: hidden;
    position: relative;
    + div {
      z-index: 0 !important;
    }
  }

  div.CodeMirror-dragcursors {
    visibility: visible;
  }

  .CodeMirror-focused div.CodeMirror-cursors {
    visibility: visible;
  }

  .CodeMirror-selected {
    background: ${({theme:u})=>u.colors.neutral200};
    /* z-index: -10; */
  }
  .CodeMirror-crosshair {
    cursor: crosshair;
  }

  /* Used to force a border model for a node */
  .cm-force-border {
    padding-right: 0.1px;
  }

  /* See issue #2901 */
  .cm-tab-wrap-hack:after {
    content: '';
  }

  /* Help users use markselection to safely style text background */
  span.CodeMirror-selectedtext {
    background: none;
  }

  span {
    color: ${({theme:u})=>u.colors.neutral800} !important;
  }
`,nC=({children:u,isExpandMode:f,error:E,previewContent:S="",onCollapse:w})=>{const{formatMessage:q}=(0,At.c)();return(0,a.Ki)({lockScroll:f}),f?(0,i.jsx)(B.a,{role:"dialog","aria-modal":!1,children:(0,i.jsx)(sn.W,{onEscape:w,children:(0,i.jsx)(rC,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:4,justifyContent:"center",onClick:w,children:(0,i.jsx)(c.k,{background:"neutral0",hasRadius:!0,shadow:"popupShadow",overflow:"hidden",width:"90%",height:"90%",onClick:ne=>ne.stopPropagation(),children:(0,i.jsxs)(v.C,{height:"100%",alignItems:"flex-start",children:[(0,i.jsx)(iC,{flex:"1",height:"100%",children:u}),(0,i.jsxs)(v.C,{alignItems:"start",direction:"column",flex:1,height:"100%",width:"100%",children:[(0,i.jsx)(v.C,{height:(0,a.W8)(48),background:"neutral100",justifyContent:"flex-end",shrink:0,width:"100%",children:(0,i.jsxs)(sC,{onClick:w,children:[(0,i.jsx)(R.O,{children:q({id:"components.Wysiwyg.collapse",defaultMessage:"Collapse"})}),(0,i.jsx)(ma.c,{})]})}),(0,i.jsx)(c.k,{position:"relative",height:"100%",width:"100%",children:(0,i.jsx)(ry,{data:S})})]})]})})})})}):(0,i.jsx)(c.k,{borderColor:E?"danger600":"neutral200",borderStyle:"solid",borderWidth:"1px",hasRadius:!0,children:u})},rC=(0,Qe.cp)(v.C)`
  background: ${({theme:u})=>`${u.colors.neutral800}${Math.floor(.2*255).toString(16).padStart(2,"0")}`};
`,iC=(0,Qe.cp)(c.k)`
  border-right: 1px solid ${({theme:u})=>u.colors.neutral200};
`,sC=(0,Qe.cp)(It.g)`
  background-color: transparent;
  border: none;
  align-items: center;

  svg {
    margin-left: ${({theme:u})=>`${u.spaces[2]}`};

    path {
      fill: ${({theme:u})=>u.colors.neutral700};
      width: ${12/16}rem;
      height: ${12/16}rem;
    }
  }
`,iy=(u,f)=>{let E;switch(u){case"Strikethrough":E=`~~${f}~~`;break;case"Bold":E=`**${f}**`;break;case"Italic":E=`_${f}_`;break;case"Underline":E=`<u>${f}</u>`;break;case"Code":E=`\`\`\`
${f}
\`\`\``;break;case"Link":E=`[${f}](link)`;break;case"Quote":E=`>${f}`;break;default:E=f}return E},sy=u=>{let f;const E={start:u.length,end:0};switch(u){case"Strikethrough":f=`~~${u}~~`,E.end=2;break;case"Bold":f=`**${u}**`,E.end=2;break;case"Italic":f=`_${u}_`,E.end=1;break;case"alt":f=`[${u}]()`,E.end=3;break;case"Underline":f=`<u>${u}</u>`,E.end=4;break;case"Code":f=`\`\`\`
${u}
\`\`\``,E.end=3;break;case"Link":f=`[${u}](link)`,E.end=7;break;case"Quote":f=`>${u}`,E.end=0;break;default:f=""}return{editedText:f,selection:E}},ay=u=>{let f;switch(u){case"BulletList":f="- ";break;case"NumberList":f="1. ";break;case"h1":f="# ";break;case"h2":f="## ";break;case"h3":f="### ";break;case"h4":f="#### ";break;case"h5":f="##### ";break;case"h6":f="###### ";break;default:return""}return f},oy=(u,f)=>{const E=u.current.getSelection();let S;if(E){const w=iy(f,E);u.current.replaceSelection(w),u.current.focus()}else{S=sy(f),u.current.replaceSelection(S.editedText),u.current.focus();const{line:w,ch:q}=u.current.getCursor(),ne=q-S.selection.end,se=q-S.selection.end-S.selection.start;u.current.setSelection({line:w,ch:se},{line:w,ch:ne})}},aC=(u,f)=>{const E=u.current.getDoc(),S=f==="BulletList"?"- ":"1. ";if(E.somethingSelected()){const w=E.listSelections();let q=null;u.current.operation(function(){w.forEach(function(ne){const se=[ne.head.line,ne.anchor.line].sort();q==null&&(q=E.getLine(se[0]).startsWith(S));for(let Ee=se[0];Ee<=se[1];Ee++)if(q)E.getLine(Ee).startsWith(S)&&E.replaceRange("",{line:Ee,ch:0},{line:Ee,ch:S.length});else{const Te=f==="BulletList"?"- ":`${Ee+1}. `;E.replaceRange(Te,{line:Ee,ch:0})}})})}else{const{line:w}=E.getCursor(),q=ay(f),ne=u.current.getLine(w),se=q+ne;u.current.setSelection({line:w,ch:0},{line:w,ch:ne.length}),u.current.replaceSelection(se)}u.current.focus()},oC=(u,f)=>{const{line:E}=u.current.getCursor(),S=ay(f),w=u.current.getLine(E),q=w.replace(/#{1,6}\s/g,"").trim(),ne=S+q;u.current.setSelection({line:E,ch:0},{line:E,ch:w.length}),u.current.replaceSelection(ne),setTimeout(()=>{const se=u.current.getLine(E).length;u.current.focus(),u.current.setCursor({line:E,ch:se})},0)},uC=(u,f)=>{let{line:E}=u.current.getCursor();const{ch:S}=u.current.getCursor();f.forEach((w,q)=>{let ne=u.current.getLine(E).length;u.current.setCursor({line:E,ch:ne}),(q>0||q===0&&S!==0)&&(ne=u.current.getLine(E).length,u.current.setCursor({line:E,ch:ne}),E++,u.current.replaceSelection(`
`)),w.mime.includes("image")?u.current.replaceSelection(`![${w.alt}](${w.url})`):u.current.replaceSelection(`[${w.alt}](${w.url})`)}),setTimeout(()=>u.current.focus(),0)},lC=(u,f,E,S,w)=>{const q=iy(f,w),ne=u.current.getRange({line:E+1,ch:0},{line:1/0,ch:1/0});if(u.current.replaceRange("",{line:E+1,ch:0},{line:1/0,ch:1/0}),u.current.replaceSelection(""),u.current.setCursor({line:E,ch:S}),u.current.replaceSelection(`
`),u.current.replaceSelection(q),f==="Code"){const{line:se}=u.current.getCursor();u.current.setCursor({line:se-1,ch:w.length})}u.current.replaceRange(ne,{line:E+4,ch:0},{line:1/0,ch:1/0}),u.current.focus()},cC=(u,f,E,S)=>{const w=sy(f),q=u.current.getRange({line:E+1,ch:0},{line:1/0,ch:1/0});if(u.current.replaceRange("",{line:E+1,ch:0},{line:1/0,ch:1/0}),u.current.setCursor({line:E,ch:S}),u.current.replaceSelection(`
`),u.current.replaceSelection(w.editedText),f==="Code")E+=2,u.current.setSelection({line:E,ch:0},{line:E,ch:4});else{E+=1;const{ch:ne}=u.current.getCursor(),se=ne-w.selection.end,Ee=ne-w.selection.end-w.selection.start;u.current.setSelection({line:E,ch:Ee},{line:E,ch:se})}u.current.replaceRange(q,{line:E+2,ch:0},{line:1/0,ch:1/0}),u.current.focus()},dC=(u,f)=>{const E=u.current.getSelection(),{line:S}=u.current.getCursor(),w=u.current.getLine(S).length;E?lC(u,f,S,w,E):cC(u,f,S,w)},Xf=(0,Qe.cp)(j.w)`
  padding: ${({theme:u})=>u.spaces[2]};
  /* Trick to prevent the outline from overflowing because of the general outline-offset */
  outline-offset: -2px !important;

  svg {
    width: ${18/16}rem;
    height: ${18/16}rem;
  }
`,fC=(0,Qe.cp)(Xf)`
  svg {
    width: ${8/16}rem;
    height: ${8/16}rem;
  }
`,uy=(0,Qe.cp)(j.S)`
  margin-left: ${({theme:u})=>u.spaces[4]};
`,ly=(0,Qe.cp)(j.w)`
  margin: ${({theme:u})=>`0 ${u.spaces[2]}`};
  padding: ${({theme:u})=>u.spaces[2]};

  svg {
    width: ${18/16}rem;
    height: ${18/16}rem;
  }
`,hC=(0,Qe.cp)(j.S)`
  margin-right: ${({theme:u})=>`${u.spaces[2]}`};
`,pC=(0,Qe.cp)(It.g)`
  background-color: transparent;
  border: none;
  align-items: center;

  svg {
    margin-left: ${({theme:u})=>`${u.spaces[2]}`};
    path {
      fill: ${({theme:u})=>u.colors.neutral700};
      width: ${12/16}rem;
      height: ${12/16}rem;
    }
  }
`,mC=({onToggleExpand:u})=>{const{formatMessage:f}=(0,At.c)();return(0,i.jsx)(c.k,{padding:2,background:"neutral100",borderRadius:`0 0 ${4/16}rem ${4/16}rem`,children:(0,i.jsx)(v.C,{justifyContent:"flex-end",alignItems:"flex-end",children:(0,i.jsxs)(pC,{id:"expand",onClick:u,children:[(0,i.jsx)(R.O,{children:f({id:"components.WysiwygBottomControls.fullscreen",defaultMessage:"Expand"})}),(0,i.jsx)(ke.c,{})]})})})},gC=({disabled:u,editorRef:f,isExpandMode:E,isPreviewMode:S,onActionClick:w,onToggleMediaLib:q,onTogglePreviewMode:ne})=>{const[se,Ee]=ge.useState(!1),{formatMessage:Te}=(0,At.c)(),Me=Te({id:"components.Wysiwyg.selectOptions.title",defaultMessage:"Add a title"}),nt=ge.useRef(null),ht=()=>{Ee(Bt=>!Bt)};return u||S?(0,i.jsxs)(v.C,{padding:2,background:"neutral100",justifyContent:"space-between",borderRadius:`${4/16}rem ${4/16}rem 0 0`,children:[(0,i.jsxs)(cy,{children:[(0,i.jsxs)(_.K_,{disabled:!0,placeholder:Me,size:"S",label:Me,children:[(0,i.jsx)(_.kH,{value:"h1",children:"h1"}),(0,i.jsx)(_.kH,{value:"h2",children:"h2"}),(0,i.jsx)(_.kH,{value:"h3",children:"h3"}),(0,i.jsx)(_.kH,{value:"h4",children:"h4"}),(0,i.jsx)(_.kH,{value:"h5",children:"h5"}),(0,i.jsx)(_.kH,{value:"h6",children:"h6"})]}),(0,i.jsxs)(uy,{children:[(0,i.jsx)(Xf,{disabled:!0,label:"Bold",name:"Bold",icon:(0,i.jsx)(ru.c,{})}),(0,i.jsx)(Xf,{disabled:!0,label:"Italic",name:"Italic",icon:(0,i.jsx)(Ru.c,{})}),(0,i.jsx)(Xf,{disabled:!0,label:"Underline",name:"Underline",icon:(0,i.jsx)(Ml.c,{})})]}),(0,i.jsx)(ly,{disabled:!0,label:"More",icon:(0,i.jsx)(Wc.c,{})})]}),!E&&(0,i.jsx)(O.Z,{onClick:ne,variant:"tertiary",children:Te({id:"components.Wysiwyg.ToggleMode.markdown-mode",defaultMessage:"Markdown mode"})})]}):(0,i.jsxs)(v.C,{padding:2,background:"neutral100",justifyContent:"space-between",borderRadius:`${4/16}rem ${4/16}rem 0 0`,children:[(0,i.jsxs)(cy,{children:[(0,i.jsxs)(_.K_,{placeholder:Me,label:Me,size:"S",onChange:Bt=>w(Bt,f),children:[(0,i.jsx)(_.kH,{value:"h1",children:"h1"}),(0,i.jsx)(_.kH,{value:"h2",children:"h2"}),(0,i.jsx)(_.kH,{value:"h3",children:"h3"}),(0,i.jsx)(_.kH,{value:"h4",children:"h4"}),(0,i.jsx)(_.kH,{value:"h5",children:"h5"}),(0,i.jsx)(_.kH,{value:"h6",children:"h6"})]}),(0,i.jsxs)(uy,{children:[(0,i.jsx)(Xf,{onClick:()=>w("Bold",f),label:"Bold",name:"Bold",icon:(0,i.jsx)(ru.c,{})}),(0,i.jsx)(Xf,{onClick:()=>w("Italic",f),label:"Italic",name:"Italic",icon:(0,i.jsx)(Ru.c,{})}),(0,i.jsx)(Xf,{onClick:()=>w("Underline",f),label:"Underline",name:"Underline",icon:(0,i.jsx)(Ml.c,{})})]}),(0,i.jsx)(ly,{ref:nt,onClick:ht,label:"More",icon:(0,i.jsx)(Wc.c,{})}),se&&(0,i.jsx)(jt._k,{onDismiss:ht,centered:!0,source:nt,spacing:4,children:(0,i.jsxs)(v.C,{children:[(0,i.jsxs)(hC,{children:[(0,i.jsx)(Xf,{onClick:()=>w("Strikethrough",f,ht),label:"Strikethrough",name:"Strikethrough",icon:(0,i.jsx)(Ra.c,{})}),(0,i.jsx)(Xf,{onClick:()=>w("BulletList",f,ht),label:"BulletList",name:"BulletList",icon:(0,i.jsx)(hi.c,{})}),(0,i.jsx)(Xf,{onClick:()=>w("NumberList",f,ht),label:"NumberList",name:"NumberList",icon:(0,i.jsx)(_l,{})})]}),(0,i.jsxs)(j.S,{children:[(0,i.jsx)(Xf,{onClick:()=>w("Code",f,ht),label:"Code",name:"Code",icon:(0,i.jsx)(fs.c,{})}),(0,i.jsx)(Xf,{onClick:()=>{ht(),q()},label:"Image",name:"Image",icon:(0,i.jsx)(fa.c,{})}),(0,i.jsx)(fC,{onClick:()=>w("Link",f,ht),label:"Link",name:"Link",icon:(0,i.jsx)(ll.c,{})}),(0,i.jsx)(Xf,{onClick:()=>w("Quote",f,ht),label:"Quote",name:"Quote",icon:(0,i.jsx)(Io.c,{})})]})]})})]}),ne&&(0,i.jsx)(O.Z,{onClick:ne,variant:"tertiary",children:Te({id:"components.Wysiwyg.ToggleMode.preview-mode",defaultMessage:"Preview mode"})})]})},cy=(0,Qe.cp)(v.C)`
  /* Hide the label, every input needs a label. */
  label {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
`,vC=ge.forwardRef(({hint:u,disabled:f,error:E,intlLabel:S,labelAction:w,name:q,onChange:ne,placeholder:se,value:Ee,required:Te},Me)=>{const{formatMessage:nt}=(0,At.c)(),ht=ge.useRef(null),Bt=ge.useRef(null),[Ft,ze]=ge.useState(!1),[_n,On]=ge.useState(!1),[Gn,Vn]=ge.useState(!1),{components:mr={}}=(0,a.um)(),Dn=mr["media-library"],Ir=()=>On(kr=>!kr),hr=()=>ze(kr=>!kr),Mr=()=>{ze(!1),Vn(kr=>!kr)},_r=(kr,Zr,ai)=>{switch(kr){case"Link":case"Strikethrough":{oy(Zr,kr),ai?.();break}case"Code":case"Quote":{dC(Zr,kr),ai?.();break}case"Bold":case"Italic":case"Underline":{oy(Zr,kr);break}case"BulletList":case"NumberList":{aC(Zr,kr),ai?.();break}case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":{oC(Zr,kr);break}}},Br=kr=>{const Zr=kr.map(ai=>({alt:ai.alternativeText||ai.name,url:(0,a.AZ)(ai.url),mime:ai.mime}));uC(Bt,Zr),On(!1)},oi=se?nt({id:se.id,defaultMessage:se.defaultMessage},{...se.values}):"",ri=S.id?nt({id:S.id,defaultMessage:S.defaultMessage},{...S.values}):q;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,i.jsxs)(v.C,{gap:1,children:[(0,i.jsxs)(R.O,{variant:"pi",fontWeight:"bold",textColor:"neutral800",children:[ri,Te&&(0,i.jsx)(_C,{textColor:"danger600",children:"*"})]}),w&&(0,i.jsx)(EC,{paddingLeft:1,children:w})]}),(0,i.jsxs)(nC,{isExpandMode:Gn,error:E,previewContent:Ee,onCollapse:Mr,children:[(0,i.jsx)(gC,{isExpandMode:Gn,editorRef:Bt,isPreviewMode:Ft,onActionClick:_r,onToggleMediaLib:Ir,onTogglePreviewMode:Gn?void 0:hr,disabled:f}),(0,i.jsx)(qb,{disabled:f,isExpandMode:Gn,editorRef:Bt,error:E,isPreviewMode:Ft,name:q,onChange:ne,placeholder:oi,textareaRef:ht,value:Ee,ref:Me}),!Gn&&(0,i.jsx)(mC,{onToggleExpand:Mr})]}),(0,i.jsx)(qn,{hint:u,name:q,error:E})]}),E&&(0,i.jsx)(c.k,{paddingTop:1,children:(0,i.jsx)(R.O,{variant:"pi",textColor:"danger600","data-strapi-field-error":!0,children:E})}),_n&&(0,i.jsx)(Dn,{onClose:Ir,onSelectAssets:Br})]})}),EC=(0,Qe.cp)(c.k)`
  svg path {
    fill: ${({theme:u})=>u.colors.neutral500};
  }
`,_C=(0,Qe.cp)(R.O)`
  line-height: 0;
`,dy=["type","model","via","collection","default","plugin","enum","regex","pluginOptions"],d_=({componentUid:u,fieldSchema:f,keys:E,labelAction:S,metadatas:w,queryInfos:q,size:ne,customFieldInputs:se})=>{const{createActionAllowedFields:Ee,formErrors:Te,isCreatingEntry:Me,modifiedData:nt,onChange:ht,readActionAllowedFields:Bt,shouldNotRunValidations:Ft,updateActionAllowedFields:ze}=(0,a.O_)(),{fields:_n}=(0,a.um)(),{formatMessage:On}=(0,At.c)(),{contentType:Gn}=Vp(),Vn=ge.useMemo(()=>Me?Ee:ze,[Me,Ee,ze]),mr=ge.useMemo(()=>Me?[]:Bt,[Me,Bt]),Dn=Is(nt,E,null),Ir=ge.useMemo(()=>!Is(w,"editable",!0),[w]),{type:hr,customField:Mr}=f,_r=Is(Te,[E],void 0),Br=$(E),oi=ge.useMemo(()=>{const Li=Xu(f,Ft?[...dy,"required","minLength"]:dy),ss="regex"in f?f.regex:null;if(ss){const _i=new RegExp(ss);_i&&(Li.regex=_i)}return Li},[f,Ft]),ri=ge.useMemo(()=>Is(oi,["required"],!1),[oi]),kr=ge.useMemo(()=>{const Li=Is(Gn,["attributes"],{});return Is(Li,[Br[0],"type"],null)==="dynamiczone"},[Gn,Br]),Zr=bC(hr),ai=hr==="media"&&!Dn?[]:Dn,Vr=ge.useMemo(()=>{const Li=Br.join(".");if(Vn.includes(Li))return!0;if(kr)return Vn.includes(Br[0]);if(Br.length>1){const _i=fl(Br,Br.length-1).join(".");return Vn.includes(_i)}return!1},[Vn,Br,kr]),Ki=ge.useMemo(()=>{const Li=Br.join(".");if(mr.includes(Li))return!0;if(kr)return mr.includes(Br[0]);if(Br.length>1){const _i=fl(Br,Br.length-1).join(".");return mr.includes(_i)}return!1},[mr,Br,kr]),As=Ki||Vr,Gi=ge.useMemo(()=>Me?Ir:Ki&&!Vr?!0:Ir,[Ir,Me,Vr,Ki]),ts=[{metadatas:{intlLabel:{id:"components.InputSelect.option.placeholder",defaultMessage:"Choose here"},disabled:ri,hidden:ri},key:"__enum_option_null",value:""},...(f.enum??[]).map(Li=>({metadatas:{intlLabel:{id:Li,defaultMessage:Li},hidden:!1,disabled:!1},key:Li,value:Li}))],{label:Ps,description:sa,placeholder:Ss,visible:pr}=w;if(pr===!1)return null;if(!As)return(0,i.jsx)(a.Q$,{description:sa?{id:sa,defaultMessage:sa}:void 0,intlLabel:{id:Ps,defaultMessage:Ps},labelAction:S,error:_r?On(_r):void 0,name:E});if(hr==="relation")return(0,i.jsx)(U_,{...w,...f,componentUid:u,description:w.description?On({id:w.description,defaultMessage:w.description}):void 0,intlLabel:{id:w.label,defaultMessage:w.label},labelAction:S,isUserAllowedToEditField:Vr,isUserAllowedToReadField:Ki,name:E,placeholder:w.placeholder?{id:w.placeholder,defaultMessage:w.placeholder}:void 0,queryInfos:q??{},size:ne,error:_r?On(_r):void 0});const Hi={uid:Gb,media:_n.media,wysiwyg:vC,blocks:Wb,..._n,...se};return(0,i.jsx)(a.u,{attribute:f,autoComplete:"new-password",intlLabel:{id:Ps,defaultMessage:Ps},isNullable:Zr==="bool"&&"default"in f&&(f.default===null||f.default===void 0),description:sa?{id:sa,defaultMessage:sa}:void 0,disabled:Gi,error:_r,labelAction:S,contentTypeUID:Gn.uid,customInputs:Hi,multiple:"multiple"in f?f.multiple:!1,name:E,onChange:ht,options:ts,placeholder:Ss?{id:Ss,defaultMessage:Ss}:void 0,required:f.required||!1,step:yC(hr),type:Mr||Zr,value:ai,withDefaultValue:!1})},yC=u=>{switch(u){case"float":case"decimal":return .01;default:return 1}},bC=(u="")=>{switch(u.toLowerCase()){case"blocks":return"blocks";case"boolean":return"bool";case"biginteger":return"text";case"decimal":case"float":case"integer":return"number";case"date":case"datetime":case"time":return u;case"email":return"email";case"enumeration":return"select";case"password":return"password";case"string":return"text";case"text":return"textarea";case"media":case"file":case"files":return"media";case"json":return"json";case"wysiwyg":case"WYSIWYG":case"richtext":return"wysiwyg";case"uid":return"uid";default:return u||"text"}},CC=({componentUid:u,isFromDynamicZone:f,isNested:E,name:S})=>{const{getComponentLayout:w}=Vp(),ne=w(u).layouts.edit,{lazyComponentStore:se}=En();return(0,i.jsx)(c.k,{background:f?"":"neutral100",paddingLeft:6,paddingRight:6,paddingTop:6,paddingBottom:6,hasRadius:E,borderColor:E?"neutral200":void 0,children:(0,i.jsx)(v.C,{direction:"column",alignItems:"stretch",gap:6,children:ne.map((Ee,Te)=>(0,i.jsx)(K.y,{gap:4,children:Ee.map(({name:Me,size:nt,metadatas:ht,fieldSchema:Bt,queryInfos:Ft})=>{const ze=Bt.type==="component",_n=`${S}.${Me}`;if(ze){const On=Bt.component;return(0,i.jsx)(Y.C,{col:nt,s:12,xs:12,children:(0,i.jsx)(wE,{componentUid:On,intlLabel:{id:ht.label,defaultMessage:ht.label},isNested:!0,isRepeatable:Bt.repeatable,max:Bt.max,min:Bt.min,name:_n,required:Bt.required||!1})},Me)}return(0,i.jsx)(Y.C,{col:nt,s:12,xs:12,children:(0,i.jsx)(d_,{componentUid:u,keys:_n,fieldSchema:Bt,metadatas:ht,queryInfos:Ft,size:nt,customFieldInputs:se})},Me)})},Te))})})},SC=({componentUid:u,componentValue:f=[],componentValueLength:E=0,isReadOnly:S,max:w=1/0,min:q=-1/0,name:ne})=>{const{addRepeatableComponentToField:se,formErrors:Ee,moveComponentField:Te}=(0,a.O_)(),Me=(0,a.eo)(),{formatMessage:nt}=(0,At.c)(),[ht,Bt]=ge.useState(null),[Ft,ze]=ge.useState(""),{getComponentLayout:_n,components:On}=Vp(),Gn=_n(u),Vn=(0,a.UL)(),mr=ge.useMemo(()=>{if(Vn.has("field")){const ts=Vn.get("field");if(!ts)return;const[,Ps]=ts.split(`${ne}.`);if(Is(f,Ps,void 0)!==void 0){const[sa]=Ps.split(".");return f[parseInt(sa,10)]?.__temp_key__}}},[f,Vn,ne]);ge.useEffect(()=>{typeof mr=="number"&&Bt(mr)},[mr]);const Dn=te(f)+1,Ir=NC(ne,Ee),hr=q-E,Mr=Ee[ne]?.id?.includes("min")??!1,_r=()=>{Bt(null)},Br=()=>{S||(E<w?(se?.(ne,Gn,On,Mr),Bt(Dn)):E>=w&&Me({type:"info",message:{id:Ai("components.notification.info.maximum-requirement")}}))},oi=(ts,Ps)=>{ze(nt({id:Ai("dnd.reorder"),defaultMessage:"{item}, moved. New position in list: {position}."},{item:`${ne}.${Ps}`,position:Zr(ts)})),Te?.({name:ne,newIndex:ts,currentIndex:Ps})},ri="settings"in Gn?Gn.settings.mainField??"id":"id",kr=ts=>()=>{Bt(ht===ts?null:ts)},Zr=ts=>`${ts+1} of ${E}`,ai=ts=>{ze(nt({id:Ai("dnd.cancel-item"),defaultMessage:"{item}, dropped. Re-order cancelled."},{item:`${ne}.${ts}`}))},Vr=ts=>{ze(nt({id:Ai("dnd.grab-item"),defaultMessage:"{item}, grabbed. Current position in list: {position}. Press up and down arrow to change position, Spacebar to drop, Escape to cancel."},{item:`${ne}.${ts}`,position:Zr(ts)}))},Ki=ts=>{ze(nt({id:Ai("dnd.drop-item"),defaultMessage:"{item}, dropped. Final position in list: {position}."},{item:`${ne}.${ts}`,position:Zr(ts)}))};let As=Ee[ne];if(Mr?As={id:Ai("components.DynamicZone.missing-components"),defaultMessage:"There {number, plural, =0 {are # missing components} one {is # missing component} other {are # missing components}}",values:{number:hr}}:Ir.some(ts=>ts.split(".").length>1)&&!Mr&&(As={id:Ai("components.RepeatableComponent.error-message"),defaultMessage:"The component(s) contain error(s)"}),E===0)return(0,i.jsx)(ve,{error:As,isReadOnly:S,onClick:Br});const Gi=`${ne}-item-instructions`;return(0,i.jsxs)(c.k,{hasRadius:!0,children:[(0,i.jsx)(W.K,{id:Gi,children:nt({id:Ai("dnd.instructions"),defaultMessage:"Press spacebar to grab and re-order"})}),(0,i.jsx)(W.K,{"aria-live":"assertive",children:Ft}),(0,i.jsxs)(xC,{error:As,children:[(0,i.jsx)(AC,{"aria-describedby":Gi,children:f.map(({__temp_key__:ts},Ps)=>(0,i.jsx)(wC,{componentFieldName:`${ne}.${Ps}`,componentUid:u,fields:Gn.layouts.edit,index:Ps,isOpen:ht===ts,isReadOnly:S,mainField:ri,moveComponentField:oi,onClickToggle:kr(ts),toggleCollapses:_r,onCancel:ai,onDropItem:Ki,onGrabItem:Vr},ts))}),(0,i.jsx)(DC,{children:(0,i.jsx)(v.C,{justifyContent:"center",height:"48px",background:"neutral0",children:(0,i.jsx)(TC,{disabled:S,onClick:Br,startIcon:(0,i.jsx)(fo.c,{}),children:nt({id:Ai("containers.EditView.add.new-entry"),defaultMessage:"Add an entry"})})})})]})]})},TC=(0,Qe.cp)(le.c)`
  height: 100%;
  width: 100%;
  border-radius: 0 0 4px 4px;
  display: flex;
  justify-content: center;
  span {
    font-weight: 600;
    font-size: 14px;
  }
`,DC=(0,Qe.cp)(c.k)`
  overflow: hidden;
  border-bottom: 1px solid ${({theme:u})=>u.colors.neutral200};
  border-right: 1px solid ${({theme:u})=>u.colors.neutral200};
  border-left: 1px solid ${({theme:u})=>u.colors.neutral200};
  border-radius: 0 0 ${({theme:u})=>u.borderRadius} ${({theme:u})=>u.borderRadius};
`,AC=(0,Qe.cp)(c.k)`
  border-bottom: none;

  /* add the borders and make sure the top is transparent to avoid jumping with the hover effect  */
  & > div > div {
    border: 1px solid ${({theme:u})=>u.colors.neutral200};
    border-top-color: transparent;
  }

  /* the top accordion _does_ need a border though */
  & > div:first-child > div {
    border-top: 1px solid ${({theme:u})=>u.colors.neutral200};
  }

  /* Reset all the border-radius' */
  & > div > div,
  & > div > div > div {
    border-radius: unset;
  }

  /* Give the border radius back to the first accordion */
  & > div:first-child > div,
  & > div:first-child > div > div {
    border-radius: ${({theme:u})=>u.borderRadius} ${({theme:u})=>u.borderRadius} 0 0;
  }

  & > div > div[data-strapi-expanded='true'] {
    border: 1px solid ${({theme:u})=>u.colors.primary600};
  }
`,xC=({children:u,error:f})=>{const{formatMessage:E}=(0,At.c)();return(0,i.jsxs)(St.a,{attributeName:"data-strapi-accordion-toggle",children:[u,f&&(0,i.jsx)(c.k,{paddingTop:1,children:(0,i.jsx)(R.O,{variant:"pi",textColor:"danger600",children:E({id:f.id,defaultMessage:f.defaultMessage},{...f.values})})})]})},OC=(0,Qe.cp)(j.w)`
  background-color: transparent;

  svg {
    path {
      fill: ${({theme:u,expanded:f})=>f?u.colors.primary600:u.colors.neutral600};
    }
  }

  &:hover {
    svg {
      path {
        fill: ${({theme:u})=>u.colors.primary600};
      }
    }
  }
`,RC=(0,Qe.cp)(v.C)`
  & .drag-handle {
    background: unset;

    svg {
      path {
        fill: ${({theme:u,expanded:f})=>f?u.colors.primary600:void 0};
      }
    }

    &:hover {
      svg {
        path {
          /* keeps the hover style of the accordion */
          fill: ${({theme:u})=>u.colors.primary600};
        }
      }
    }
  }
`,wC=({componentFieldName:u,componentUid:f,fields:E=[],index:S,isOpen:w,isReadOnly:q,mainField:ne,moveComponentField:se,onClickToggle:Ee,toggleCollapses:Te,onGrabItem:Me,onDropItem:nt,onCancel:ht})=>{const{modifiedData:Bt,removeRepeatableField:Ft,triggerFormValidation:ze}=(0,a.O_)(),_n=s3(Is(Bt,[...u.split("."),ne],"")),On=ge.useRef(null),{formatMessage:Gn}=(0,At.c)(),Vn=u.split(".").slice(0,-1).join("."),[{handlerId:mr,isDragging:Dn,handleKeyDown:Ir},hr,Mr,_r,Br]=R4(!q,{type:`${Ef.COMPONENT}_${Vn}`,index:S,item:{index:S,displayedValue:_n},onStart(){Te()},onEnd(){ze()},onMoveItem:se,onDropItem:nt,onGrabItem:Me,onCancel:ht});ge.useEffect(()=>{Br((0,pn.s)(),{captureDraggingState:!1})},[Br,S]);const oi=$p(On,_r),ri=$p(hr,Mr),{lazyComponentStore:kr}=En();return(0,i.jsx)(c.k,{ref:Zr=>ri(Zr),children:Dn?(0,i.jsx)(IC,{}):(0,i.jsxs)(_t.G,{expanded:w,onToggle:Ee,id:u,size:"S",children:[(0,i.jsx)(zt.M,{action:q?null:(0,i.jsxs)(RC,{gap:0,expanded:w,children:[(0,i.jsx)(OC,{expanded:w,noBorder:!0,onClick:()=>{Ft?.(u),Te()},label:Gn({id:Ai("containers.Edit.delete"),defaultMessage:"Delete"}),icon:(0,i.jsx)(Zo.c,{})}),(0,i.jsx)(j.w,{className:"drag-handle",ref:oi,forwardedAs:"div",role:"button",noBorder:!0,tabIndex:0,onClick:Zr=>Zr.stopPropagation(),"data-handler-id":mr,label:Gn({id:Ai("components.DragHandle-label"),defaultMessage:"Drag"}),onKeyDown:Ir,children:(0,i.jsx)(Tu.c,{})})]}),title:_n,togglePosition:"left"}),(0,i.jsx)(Vt.u,{children:(0,i.jsx)(v.C,{direction:"column",alignItems:"stretch",background:"neutral100",padding:6,gap:6,children:E.map((Zr,ai)=>(0,i.jsx)(K.y,{gap:4,children:Zr.map(({name:Vr,fieldSchema:Ki,metadatas:As,queryInfos:Gi,size:ts})=>{const Ps=Ki.type==="component",sa=`${u}.${Vr}`;if(Ps){const Ss=Ki.component;return(0,i.jsx)(Y.C,{col:ts,s:12,xs:12,children:(0,i.jsx)(wE,{componentUid:Ss,intlLabel:{id:As.label,defaultMessage:As.label},isRepeatable:Ki.repeatable,isNested:!0,name:sa,max:Ki.max,min:Ki.min,required:Ki.required})},Vr)}return(0,i.jsx)(Y.C,{col:ts,s:12,xs:12,children:(0,i.jsx)(d_,{componentUid:f,fieldSchema:Ki,keys:sa,metadatas:As,queryInfos:Gi,size:ts,customFieldInputs:kr})},sa)})},ai))})})]})})},IC=()=>(0,i.jsx)(MC,{as:"span",padding:6,background:"primary100"}),MC=(0,Qe.cp)(c.k)`
  display: block;
  outline: 1px dashed ${({theme:u})=>u.colors.primary500};
  outline-offset: -1px;
`;function NC(u,f={}){return Object.keys(f).filter(E=>E.startsWith(u)).map(E=>E.split(".").slice(0,u.split(".").length+1).join("."))}const wE=({componentUid:u,intlLabel:f,isFromDynamicZone:E,isRepeatable:S,isNested:w,labelAction:q,max:ne=1/0,min:se=-1/0,name:Ee,required:Te})=>{const{formatMessage:Me}=(0,At.c)(),{addNonRepeatableComponentToField:nt,createActionAllowedFields:ht,isCreatingEntry:Bt,modifiedData:Ft,removeComponentFromField:ze,readActionAllowedFields:_n,updateActionAllowedFields:On}=(0,a.O_)(),{contentType:Gn}=Vp(),Vn=ge.useMemo(()=>{const Ki=Gn?.attributes??{};return Object.keys(Ki).filter(As=>Ki[As].type==="dynamiczone")},[Gn]),mr=Bt?ht:On,Dn=(0,ra.get)(Ee,Ft)??null,Ir=$(Ee),hr=ge.useMemo(()=>E&&Bt||mr.filter(Gi=>Gi===Ir[0]).length>0?!0:mr.map(Gi=>Gi.split(".")).filter(Gi=>Gi.length<Ir.length?!1:Gi.slice(0,Ir.length).join(".")===Ir.join(".")).length>0,[E,Bt,mr,Ir]),Mr=ge.useMemo(()=>E||Vn.includes(Ir[0])?!0:(Bt?[]:_n).map(Gi=>Gi.split(".")).filter(Gi=>Gi.length<Ir.length?!1:Gi.slice(0,Ir.length).join(".")===Ir.join(".")).length>0,[E,Vn,Ir,Bt,_n]),_r=Bt||hr?!1:Mr,Br=(0,ra.size)(Dn),oi=Dn!==null||E,ri=!S&&oi&&!E&&hr,{getComponentLayout:kr,components:Zr}=Vp(),ai=kr(u);if(!hr&&Bt)return(0,i.jsx)(a.Q$,{labelAction:q,intlLabel:f,name:Ee});if(!hr&&!Bt&&!Mr)return(0,i.jsx)(a.Q$,{labelAction:q,intlLabel:f,name:Ee});const Vr=()=>{nt?.(Ee,ai,Zr)};return(0,i.jsxs)(c.k,{children:[(0,i.jsxs)(v.C,{justifyContent:"space-between",children:[f&&(0,i.jsxs)(v.C,{paddingBottom:1,children:[(0,i.jsxs)(R.O,{textColor:"neutral800",htmlFor:Ee,variant:"pi",fontWeight:"bold",as:"label",children:[Me(f),S&&(0,i.jsxs)(i.Fragment,{children:["\xA0(",Br,")"]}),Te&&(0,i.jsx)(R.O,{textColor:"danger600",children:"*"})]}),q&&(0,i.jsx)(PC,{paddingLeft:1,children:q})]}),ri&&(0,i.jsx)(j.w,{label:Me({id:Ai("components.reset-entry"),defaultMessage:"Reset Entry"}),icon:(0,i.jsx)(Zo.c,{}),noBorder:!0,onClick:()=>{ze?.(Ee,u)}})]}),(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:1,children:[!S&&!oi&&(0,i.jsx)(ve,{isReadOnly:_r,onClick:Vr}),!S&&oi&&(0,i.jsx)(CC,{componentUid:u,isFromDynamicZone:E,isNested:w,name:Ee}),S&&(0,i.jsx)(SC,{componentValue:Dn??void 0,componentValueLength:Br,componentUid:u,isReadOnly:_r,max:ne,min:se,name:Ee})]})]})},PC=(0,Qe.cp)(c.k)`
  svg path {
    fill: ${({theme:u})=>u.colors.neutral500};
  }
`,LC=({componentUid:u,formErrors:f={},index:E=0,isFieldAllowed:S=!1,name:w,onRemoveComponentClick:q,onMoveComponent:ne,onGrabItem:se,onDropItem:Ee,onCancel:Te,dynamicComponentsByCategory:Me={},onAddComponent:nt})=>{const[ht,Bt]=ge.useState(!0),{formatMessage:Ft}=(0,At.c)(),{getComponentLayout:ze}=Vp(),{modifiedData:_n}=(0,a.O_)(),{icon:On,friendlyName:Gn,mainValue:Vn}=ge.useMemo(()=>{const Vr=ze(u),{info:{icon:Ki,displayName:As}}=Vr,Gi=Is(Vr,["settings","mainField"],"id"),ts=Is(_n,[w,E,Gi])??"",Ps=Gi==="id"?"":String(ts).trim(),sa=Ps.length>0?` - ${Ps}`:Ps;return{friendlyName:As,icon:Ki,mainValue:sa}},[u,ze,_n,w,E]),mr=Object.keys(f).filter(Vr=>{const Ki=Vr.split(".");return`${Ki[0]}.${Ki[1]}`==`${w}.${E}`});let Dn;mr.length>0&&(Dn=Ft({id:Ai("components.DynamicZone.error-message"),defaultMessage:"The component contains error(s)"}));const Ir=()=>{Bt(Vr=>!Vr)},[{handlerId:hr,isDragging:Mr,handleKeyDown:_r},Br,oi,ri,kr]=R4(S,{type:`${Ef.DYNAMIC_ZONE}_${w}`,index:E,item:{index:E,displayedValue:`${Gn}${Vn}`,icon:On},onMoveItem:ne,onDropItem:Ee,onGrabItem:se,onCancel:Te});ge.useEffect(()=>{kr((0,pn.s)(),{captureDraggingState:!1})},[kr,E]);const Zr=$p(Br,oi),ai=S?(0,i.jsxs)(BC,{gap:0,children:[(0,i.jsx)(FC,{noBorder:!0,label:Ft({id:Ai("components.DynamicZone.delete-label"),defaultMessage:"Delete {name}"},{name:Gn}),onClick:q,children:(0,i.jsx)(Zo.c,{})}),(0,i.jsx)(j.w,{forwardedAs:"div",role:"button",noBorder:!0,tabIndex:0,onClick:Vr=>Vr.stopPropagation(),"data-handler-id":hr,ref:ri,label:Ft({id:Ai("components.DragHandle-label"),defaultMessage:"Drag"}),onKeyDown:_r,children:(0,i.jsx)(Tu.c,{})}),(0,i.jsxs)(Oi.Ss,{children:[(0,i.jsxs)(Oi.mf,{size:"S",endIcon:null,paddingLeft:2,paddingRight:2,children:[(0,i.jsx)(Wc.c,{"aria-hidden":!0,focusable:!1}),(0,i.jsx)(W.K,{as:"span",children:Ft({id:Ai("components.DynamicZone.more-actions"),defaultMessage:"More actions"})})]}),(0,i.jsxs)(Oi.kP,{children:[(0,i.jsxs)(Oi.gN,{children:[(0,i.jsx)(Oi.Ab,{children:Ft({id:Ai("components.DynamicZone.add-item-above"),defaultMessage:"Add component above"})}),(0,i.jsx)(Oi.ok,{children:Object.entries(Me).map(([Vr,Ki])=>(0,i.jsxs)(ge.Fragment,{children:[(0,i.jsx)(Oi.iM,{children:Vr}),Ki.map(({componentUid:As,info:{displayName:Gi}})=>(0,i.jsx)(ni.IP,{onSelect:()=>nt?.(As,E),children:Gi},As))]},Vr))})]}),(0,i.jsxs)(Oi.gN,{children:[(0,i.jsx)(Oi.Ab,{children:Ft({id:Ai("components.DynamicZone.add-item-below"),defaultMessage:"Add component below"})}),(0,i.jsx)(Oi.ok,{children:Object.entries(Me).map(([Vr,Ki])=>(0,i.jsxs)(ge.Fragment,{children:[(0,i.jsx)(Oi.iM,{children:Vr}),Ki.map(({componentUid:As,info:{displayName:Gi}})=>(0,i.jsx)(ni.IP,{onSelect:()=>nt?.(As,E+1),children:Gi},As))]},Vr))})]})]})]})]}):null;return(0,i.jsxs)(WC,{as:"li",width:"100%",children:[(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(jC,{background:"neutral200"})}),(0,i.jsx)(kC,{ref:Zr,hasRadius:!0,children:Mr?(0,i.jsx)($C,{}):(0,i.jsxs)(_t.G,{expanded:ht,onToggle:Ir,size:"S",error:Dn,children:[(0,i.jsx)(zt.M,{startIcon:(0,i.jsx)(w4,{icon:On,showBackground:!1,size:"S"}),action:ai,title:`${Gn}${Vn}`,togglePosition:"left"}),(0,i.jsx)(Vt.u,{children:(0,i.jsx)(UC,{background:"neutral0",children:(0,i.jsx)(wE,{componentUid:u,name:`${w}.${E}`,isFromDynamicZone:!0})})})]})})]})},BC=(0,Qe.cp)(v.C)`
  /* 
    we need to remove the background from the button but we can't 
    wrap the element in styled because it breaks the forwardedAs which
    we need for drag handler to work on firefox
  */
  div[role='button'] {
    background: transparent;
  }
`,FC=(0,Qe.cp)(j.w)`
  background-color: transparent;

  svg path {
    fill: ${({theme:u,expanded:f})=>f?u.colors.primary600:u.colors.neutral600};
  }
`,kC=(0,Qe.cp)(c.k)`
  > div:first-child {
    box-shadow: ${({theme:u})=>u.shadows.tableShadow};
  }
`,UC=(0,Qe.cp)(c.k)`
  border-radius: 0 0 ${({theme:u})=>u.spaces[1]} ${({theme:u})=>u.spaces[1]};
`,jC=(0,Qe.cp)(c.k)`
  width: ${({theme:u})=>u.spaces[2]};
  height: ${({theme:u})=>u.spaces[4]};
`,$C=Qe.cp.span`
  display: block;
  background-color: ${({theme:u})=>u.colors.primary100};
  outline: 1px dashed ${({theme:u})=>u.colors.primary500};
  outline-offset: -1px;
  padding: ${({theme:u})=>u.spaces[6]};
`,WC=(0,Qe.cp)(c.k)`
  list-style: none;
  padding: 0;
  margin: 0;
`,HC=({label:u,labelAction:f,name:E,numberOfComponents:S=0,required:w,intlDescription:q})=>{const{formatMessage:ne}=(0,At.c)(),se=ne({id:u||E,defaultMessage:u||E});return(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(c.k,{paddingTop:3,paddingBottom:3,paddingRight:4,paddingLeft:4,borderRadius:"26px",background:"neutral0",shadow:"filterShadow",color:"neutral500",children:(0,i.jsxs)(v.C,{direction:"column",justifyContent:"center",children:[(0,i.jsxs)(v.C,{maxWidth:(0,a.W8)(356),children:[(0,i.jsxs)(R.O,{variant:"pi",textColor:"neutral600",fontWeight:"bold",ellipsis:!0,children:[se,"\xA0"]}),(0,i.jsxs)(R.O,{variant:"pi",textColor:"neutral600",fontWeight:"bold",children:["(",S,")"]}),w&&(0,i.jsx)(R.O,{textColor:"danger600",children:"*"}),f&&(0,i.jsx)(c.k,{paddingLeft:1,children:f})]}),q&&(0,i.jsx)(c.k,{paddingTop:1,maxWidth:(0,a.W8)(356),children:(0,i.jsx)(R.O,{variant:"pi",textColor:"neutral600",ellipsis:!0,children:ne(q)})})]})})})},f_=({name:u,labelAction:f,fieldSchema:E,metadatas:S})=>{const{max:w=1/0,min:q=-1/0,components:ne=[],required:se=!1}=E??{},[Ee,Te]=ge.useState(!1),[Me,nt]=ge.useState(""),{addComponentToDynamicZone:ht,createActionAllowedFields:Bt,isCreatingEntry:Ft,formErrors:ze,modifiedData:_n,moveComponentField:On,removeComponentFromDynamicZone:Gn,readActionAllowedFields:Vn,updateActionAllowedFields:mr}=(0,a.O_)(),Dn=ge.useMemo(()=>(_n?.[u]??[]).map(_i=>({componentUid:_i.__component,id:_i.id??_i.__temp_key__})),[_n,u]),{getComponentLayout:Ir,components:hr}=Vp(),Mr=ge.useMemo(()=>ne.reduce((_i,ys)=>{const $a=Ir(ys),{category:_o,info:$o,attributes:Ku}=$a,La={componentUid:ys,info:$o,attributes:Ku};return _i[_o]||(_i[_o]=[]),_i[_o]=[..._i[_o],La],_i},{}),[ne,Ir]),{formatMessage:_r}=(0,At.c)(),Br=(0,a.eo)(),oi=(Ft?Bt:mr).includes(u),ri=(Ft?[]:Vn).includes(u),kr=Dn.length,Zr=S.description?{id:S.description,defaultMessage:S.description}:void 0,ai=ze[u],Vr=q-kr,Ki=!!ai,As=(_i,ys)=>{Te(!1);const $a=Ir(_i);ht?.(u,$a,hr,Ki,ys)},Gi=()=>{kr<w?Te(_i=>!_i):Br({type:"info",message:{id:Ai("components.notification.info.maximum-requirement")}})},ts=(_i,ys)=>{nt(_r({id:Ai("dnd.reorder"),defaultMessage:"{item}, moved. New position in list: {position}."},{item:`${u}.${ys}`,position:Ps(_i)})),On?.({name:u,newIndex:_i,currentIndex:ys})},Ps=_i=>`${_i+1} of ${Dn.length}`,sa=_i=>{nt(_r({id:Ai("dnd.cancel-item"),defaultMessage:"{item}, dropped. Re-order cancelled."},{item:`${u}.${_i}`}))},Ss=_i=>{nt(_r({id:Ai("dnd.grab-item"),defaultMessage:"{item}, grabbed. Current position in list: {position}. Press up and down arrow to change position, Spacebar to drop, Escape to cancel."},{item:`${u}.${_i}`,position:Ps(_i)}))},pr=_i=>{nt(_r({id:Ai("dnd.drop-item"),defaultMessage:"{item}, dropped. Final position in list: {position}."},{item:`${u}.${_i}`,position:Ps(_i)}))},Hi=(_i,ys)=>()=>{Gn?.(_i,ys)},Li=()=>Ee?_r({id:"app.utils.close-label",defaultMessage:"Close"}):Ki&&ai.id?.includes("max")?_r({id:"components.Input.error.validation.max",defaultMessage:"The value is too high."}):Ki&&ai.id?.includes("min")?_r({id:Ai("components.DynamicZone.missing-components"),defaultMessage:"There {number, plural, =0 {are # missing components} one {is # missing component} other {are # missing components}}"},{number:Vr}):_r({id:Ai("components.DynamicZone.add-component"),defaultMessage:"Add a component to {componentName}"},{componentName:S.label||u});if(!oi&&(Ft||!ri&&!Ft))return(0,i.jsx)(a.Q$,{description:Zr,intlLabel:{id:S.label,defaultMessage:S.label},labelAction:f,name:u});const ss=`${u}-item-instructions`;return(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:6,children:[kr>0&&(0,i.jsxs)(c.k,{children:[(0,i.jsx)(HC,{intlDescription:Zr,label:S.label,labelAction:f,name:u,numberOfComponents:kr,required:se}),(0,i.jsx)(W.K,{id:ss,children:_r({id:Ai("dnd.instructions"),defaultMessage:"Press spacebar to grab and re-order"})}),(0,i.jsx)(W.K,{"aria-live":"assertive",children:Me}),(0,i.jsx)("ol",{"aria-describedby":ss,children:Dn.map(({componentUid:_i,id:ys},$a)=>(0,i.jsx)(LC,{componentUid:_i,formErrors:ze,index:$a,isFieldAllowed:oi,name:u,onMoveComponent:ts,onRemoveComponentClick:Hi(u,$a),onCancel:sa,onDropItem:pr,onGrabItem:Ss,onAddComponent:As,dynamicComponentsByCategory:Mr},`${_i}-${ys}`))})]}),(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(p,{hasError:Ki,isDisabled:!oi,isOpen:Ee,onClick:Gi,children:Li()})}),(0,i.jsx)(L,{dynamicComponentsByCategory:Mr,isOpen:Ee,onClickAddComponent:As})]})};f_.defaultProps={fieldSchema:{},labelAction:null},f_.propTypes={fieldSchema:ti.shape({components:ti.array,max:ti.number,min:ti.number,required:ti.bool}),labelAction:ti.element,metadatas:ti.shape({description:ti.string,label:ti.string}).isRequired,name:ti.string.isRequired};const Dg=(u,{components:f},E={isCreatingEntry:!0,isDraft:!0,isFromComponent:!1,isJSONTestDisabled:!1})=>{const{attributes:S}=u;return Ts.kt().shape(Object.keys(S).reduce((w,q)=>{const ne=S[q];if(ne.type!=="relation"&&ne.type!=="component"&&ne.type!=="dynamiczone"){const se=GC(ne.type,ne,E);w[q]=se}if(ne.type==="relation"&&(w[q]=["oneWay","oneToOne","manyToOne","oneToManyMorph","oneToOneMorph"].includes(ne.relationType)?Ts.kt().nullable():Ts.M$().nullable()),ne.type==="component"){const se=Dg(f[ne.component],{components:f},{...E,isFromComponent:!0});if(ne.repeatable===!0){const{min:Te,max:Me,required:nt}=ne,ht=Ts.Wk(Bt=>{let Ft=Ts.M$().of(se);return Te?nt?Ft=Ft.min(Te,a.aO.min):nt!==!0&&mf(Bt)?Ft=Ft.nullable():Ft=Ft.min(Te,a.aO.min):nt&&!E.isDraft&&(Ft=Ft.min(1,a.aO.required)),Me&&(Ft=Ft.max(Me,a.aO.max)),Ft});return w[q]=ht,w}const Ee=Ts.Wk(Te=>Te!==void 0?ne.required===!0&&!E.isDraft?se.defined():se.nullable():ne.required===!0?Ts.kt().defined():Ts.kt().nullable());return w[q]=Ee,w}if(ne.type==="dynamiczone"){let se=Ts.M$().of(Ts.Wk(({__component:Me})=>Dg(f[Me],{components:f},{...E,isFromComponent:!0})));const{max:Ee,min:Te}=ne;Te?ne.required?se=se.test("min",a.aO.min,Me=>E.isCreatingEntry?Me&&Me.length>=Te:Me===void 0?!0:Me!==null&&Me.length>=Te).test("required",a.aO.required,Me=>E.isCreatingEntry?Me!==null||Me!==void 0:Me===void 0?!0:Me!==null):se=se.notEmptyMin(Te):ne.required&&!E.isDraft&&(se=se.test("required",a.aO.required,Me=>E.isCreatingEntry?Me!==null||Me!==void 0:Me===void 0?!0:Me!==null)),Ee&&(se=se.max(Ee,a.aO.max)),w[q]=se}return w},{}))},GC=(u,f,E)=>{let S=Ts.Er();return["string","uid","text","richtext","email","password","enumeration"].includes(u)&&(S=Ts.Qb()),u==="blocks"&&(S=Ts.Er().test("isJSON",a.aO.json,w=>E.isJSONTestDisabled||E.isDraft?!0:!(w&&!Array.isArray(w)))),u==="json"&&(S=Ts.Er(a.aO.json).test("isJSON",a.aO.json,w=>{if(E.isJSONTestDisabled||!w||!w.length)return!0;try{return JSON.parse(w),!0}catch{return!1}}).nullable().test("required",a.aO.required,w=>!(f.required&&(!w||!w.length)))),u==="email"&&(S=S.email(a.aO.email)),["number","integer","float","decimal"].includes(u)&&(S=Ts.CQ().transform(w=>Ua(w)?void 0:w).typeError()),u==="biginteger"&&(S=Ts.Qb().matches(/^-?\d*$/)),["date","datetime"].includes(u)&&(S=Ts.tV()),Object.keys(f).forEach(w=>{const q=f[w];if(q||!KE(q)&&Number.isInteger(Math.floor(q))||q===0)switch(w){case"required":{E.isDraft||(u==="password"&&E.isCreatingEntry&&(S=S.required(a.aO.required)),u!=="password"&&(E.isCreatingEntry?S=S.required(a.aO.required):S=S.test("required",a.aO.required,ne=>ne===void 0&&!E.isFromComponent?!0:he(u)?ne===0?!0:!!ne:u==="boolean"?ne!=null:u==="date"||u==="datetime"?typeof ne=="string"?!mf(ne):!mf(ne?.toString()):!mf(ne))));break}case"max":{u==="biginteger"?S=S.isInferior(a.aO.max,q):S=S.max(q,a.aO.max);break}case"maxLength":S=S.max(q,a.aO.maxLength);break;case"min":{u==="biginteger"?S=S.isSuperior(a.aO.min,q):S=S.min(q,a.aO.min);break}case"minLength":{E.isDraft||(S=S.min(q,a.aO.minLength));break}case"regex":S=S.matches(new RegExp(q),{message:a.aO.regex,excludeEmptyString:!f.required});break;case"lowercase":["text","textarea","email","string"].includes(u)&&(S=S.strict().lowercase());break;case"uppercase":["text","textarea","email","string"].includes(u)&&(S=S.strict().uppercase());break;case"positive":he(u)&&(S=S.positive());break;case"negative":he(u)&&(S=S.negative());break;default:S=S.nullable()}}),S};Ts.eE(Ts.Er,"defined",function(){return this.test("defined",a.aO.required,u=>u!==void 0)}),Ts.eE(Ts.M$,"notEmptyMin",function(u){return this.test("notEmptyMin",a.aO.min,f=>!f||!f.length?!0:f.length>=u)}),Ts.eE(Ts.Qb,"isInferior",function(u,f){return this.test("isInferior",u,function(E){return!E||Number.isNaN(lp(E))?!0:lp(f)>=lp(E)})}),Ts.eE(Ts.Qb,"isSuperior",function(u,f){return this.test("isSuperior",u,function(E){return!E||Number.isNaN(lp(E))?!0:lp(E)>=lp(f)})});const IE=["createdBy","updatedBy"],ME=(u,f=()=>!1,E)=>{const S=(w,q,{ignoreFalseyValues:ne=!1,path:se=[],parent:Ee=q}={})=>Object.entries(q).reduce((Te,[Me,nt])=>{if(ne&&(Te==null||Te[Me]===void 0||Te[Me]===null))return Te;if(f(nt,{path:[...se,Me],parent:Ee})&&(Te[Me]=typeof E=="function"?E(Te[Me],{path:[...se,Me],parent:Te}):E),nt.type==="component"){const ht=u[nt.component].attributes;!nt.repeatable&&Te[Me]&&typeof Te[Me]=="object"?Te[Me]=S(Te[Me],ht,{ignoreFalseyValues:ne,path:[...se,Me],parent:q[Me]}):nt.repeatable&&Array.isArray(Te[Me])&&(Te[Me]=Te[Me].map((Bt,Ft)=>S(Bt,ht,{ignoreFalseyValues:ne,path:[...se,Me,Ft.toString()],parent:q[Me]})))}else nt.type==="dynamiczone"&&Array.isArray(Te[Me])&&(Te[Me]=Te[Me].map((ht,Bt)=>{const Ft=u[ht.__component].attributes;return S(ht,Ft,{ignoreFalseyValues:ne,path:[...se,Me,Bt.toString()],parent:q[Me]})}));return Te},{...w});return S},fy=(u,f,E,S)=>{const w=u.slice();return w.splice(f,1),w.splice(E,0,S),w},zC={componentsDataStructure:{},contentTypeDataStructure:{},formErrors:{},initialData:{},modifiedData:{},shouldCheckErrors:!1,modifiedDZName:null,publishConfirmation:{show:!1,draftCount:0}},VC=(u,f)=>(0,zo.cp)(u,E=>{switch(f.type){case"ADD_NON_REPEATABLE_COMPONENT_TO_FIELD":{const{componentLayoutData:S,allComponents:w}=f,q={...u.componentsDataStructure[S.uid]},se=ME(w,Ee=>Ee.type==="relation",[])(q,S.attributes);xa(E,["modifiedData",...f.keys],se);break}case"ADD_COMPONENT_TO_DYNAMIC_ZONE":case"ADD_REPEATABLE_COMPONENT_TO_FIELD":{const{keys:S,allComponents:w,componentLayoutData:q,shouldCheckErrors:ne,position:se=void 0}=f;ne&&(E.shouldCheckErrors=!u.shouldCheckErrors),f.type==="ADD_COMPONENT_TO_DYNAMIC_ZONE"&&(E.modifiedDZName=S[0]);const Ee=[...Is(u,["modifiedData",...S],[])];let Te=se;Te===void 0?Te=Ee.length:Te<0&&(Te=0);const Me=f.type==="ADD_COMPONENT_TO_DYNAMIC_ZONE"?{...u.componentsDataStructure[q.uid],__component:q.uid,__temp_key__:te(Ee)+1}:{...u.componentsDataStructure[q.uid],__temp_key__:te(Ee)+1},ht=ME(w,Bt=>Bt.type==="relation",[])(Me,q.attributes);Ee.splice(Te,0,ht),xa(E,["modifiedData",...S],Ee);break}case"LOAD_RELATION":{const{initialDataPath:S,modifiedDataPath:w,value:q}=f,ne=Is(u,S)??[],se=Is(u,w),Ee=q.filter(nt=>!ne.some(ht=>ht.id===nt.id)),Te=ph(null,se[0]?.__temp_key__,Ee.length),Me=Ee.map((nt,ht)=>({...nt,__temp_key__:Te[ht]}));xa(E,S,o3([...Me,...ne],"id")),xa(E,w,o3([...Me,...se],"id"));break}case"CONNECT_RELATION":{const S=["modifiedData",...f.keys],{value:w,toOneRelation:q}=f;if(q)xa(E,S,[w]);else{const ne=Is(u,S),[se]=ph(ne.at(-1)?.__temp_key__,null,1),Ee=[...ne,{...w,__temp_key__:se}];xa(E,S,Ee)}break}case"DISCONNECT_RELATION":{const S=["modifiedData",...f.keys],{id:w}=f,ne=Is(u,[...S]).filter(se=>se.id!==w);xa(E,S,ne);break}case"MOVE_COMPONENT_FIELD":case"REORDER_RELATION":{const{oldIndex:S,newIndex:w,keys:q}=f,ne=["modifiedData",...q],se=Is(u,[...ne]),Ee=se[S],Te=[...se];if(f.type==="REORDER_RELATION"){const Me=S>w?se[w-1]?.__temp_key__:se[w]?.__temp_key__,nt=S>w?se[w]?.__temp_key__:se[w+1]?.__temp_key__,[ht]=ph(Me,nt,1);Te.splice(S,1),Te.splice(w,0,{...Ee,__temp_key__:ht})}else Te.splice(S,1),Te.splice(w,0,Ee);xa(E,ne,Te);break}case"INIT_FORM":{const{initialValues:S,components:w={},attributes:q={},setModifiedDataOnly:ne}=f,se=Fo(S),Te=ME(w,(ht,{path:Bt})=>{const Ft=Bt[Bt.length-1],ze=IE.includes(Ft);return ht.type==="relation"&&!ze},(ht,{path:Bt})=>u.modifiedData?.id===se.id&&Is(u.modifiedData,Bt)?Is(u.modifiedData,Bt):[])(se,q),nt=ME(w,ht=>ht.type==="dynamiczone"||ht.type==="component"&&!ht.repeatable,ht=>Array.isArray(ht)?ht.map((Bt,Ft)=>({...Bt,__temp_key__:Ft})):{...ht,__temp_key__:0})(Te,q,{ignoreFalseyValues:!0});ne||(E.initialData=nt),E.modifiedData=nt,E.formErrors={},E.modifiedDZName=null,E.shouldCheckErrors=!1;break}case"MOVE_COMPONENT_UP":case"MOVE_COMPONENT_DOWN":{const{currentIndex:S,dynamicZoneName:w,shouldCheckErrors:q}=f;q&&(E.shouldCheckErrors=!u.shouldCheckErrors);const ne=u.modifiedData[w],se=f.type==="MOVE_COMPONENT_UP"?S-1:S+1,Ee=u.modifiedData[w][S],Te=fy(ne,S,se,Ee);xa(E,["modifiedData",f.dynamicZoneName],Te);break}case"MOVE_FIELD":{const S=Is(u,["modifiedData",...f.keys],[]).slice(),w=Is(u,["modifiedData",...f.keys,f.dragIndex]),q=fy(S,f.dragIndex,f.overIndex,w);xa(E,["modifiedData",...f.keys],q);break}case"ON_CHANGE":{const[S]=f.keys;if(f.shouldSetInitialValue&&xa(E,["initialData",...f.keys],f.value),f.keys.length===2&&Is(u,["modifiedData",S])===null){xa(E,["modifiedData",S],{[f.keys[1]]:f.value});break}xa(E,["modifiedData",...f.keys],f.value);break}case"REMOVE_COMPONENT_FROM_DYNAMIC_ZONE":{f.shouldCheckErrors&&(E.shouldCheckErrors=!u.shouldCheckErrors),E.modifiedData[f.dynamicZoneName].splice(f.index,1);break}case"REMOVE_COMPONENT_FROM_FIELD":{const S=["modifiedData",...f.keys];xa(E,S,null);break}case"REMOVE_PASSWORD_FIELD":{u3(E,["modifiedData",...f.keys]);break}case"REMOVE_REPEATABLE_FIELD":{const S=f.keys.length-1,w=["modifiedData",...fl(f.keys,S)];Object.keys(u.formErrors).length>0&&(E.shouldCheckErrors=!u.shouldCheckErrors);const ne=Is(u,w).slice();ne.splice(parseInt(f.keys[S],10),1),xa(E,w,ne);break}case"SET_DEFAULT_DATA_STRUCTURES":{E.componentsDataStructure=f.componentsDataStructure,E.contentTypeDataStructure=f.contentTypeDataStructure;break}case"SET_FORM_ERRORS":{E.modifiedDZName=null,E.formErrors=f.errors;break}case"TRIGGER_FORM_VALIDATION":{Object.keys(u.formErrors).length>0&&(E.shouldCheckErrors=!u.shouldCheckErrors);break}case"SET_PUBLISH_CONFIRMATION":{E.publishConfirmation={...f.publishConfirmation};break}case"RESET_PUBLISH_CONFIRMATION":{E.publishConfirmation={...u.publishConfirmation,show:!1};break}default:return E}}),KC=({browserState:u,serverState:f},E,S)=>{const w=f,q=u,ne=(se,Ee,Te,Me)=>Object.keys(se).reduce((nt,ht)=>{if(IE.includes(ht))return nt;const Bt=Me?`${Me}.${ht}`:ht,Ft=Te.attributes[ht]??{},{type:ze}=Ft,_n=Is(se,ht),On=Is(Ee,ht);let Gn;switch(ze){case"json":Gn=JSON.parse(_n);break;case"time":{Gn=_n,_n&&_n.split(":").length<3&&(Gn=`${_n}:00`);break}case"media":Ft.multiple===!0?Gn=_n?_n.filter(Vn=>!(Vn instanceof File)):null:Gn=Is(_n,0)instanceof File?null:Is(_n,"id",null);break;case"component":Ft.repeatable?Gn=_n&&_n.map((Vn,mr)=>ne(Vn,(On??[])[mr],S[Ft.component],`${Bt}.${mr}`)):Gn=_n&&ne(_n,On,S[Ft.component],Bt);break;case"relation":{const Vn=D3(w,q)(Bt),mr=Is(w,Vn,[]),Dn=_n.reduce((hr,Mr,_r,Br)=>{const oi=mr.find(kr=>kr.id===Mr.id),ri=Br[_r+1];if(!oi||oi.__temp_key__!==Mr.__temp_key__){const kr=ri?{before:ri.id}:{end:!0};return[...hr,{id:Mr.id,position:kr}]}return hr},[]);Gn={disconnect:mr.reduce((hr,Mr)=>_n.find(_r=>_r.id===Mr.id)?hr:[...hr,{id:Mr.id}],[]),connect:Dn.reverse()};break}case"dynamiczone":Gn=_n.map((Vn,mr)=>ne(Vn,(On??[])[mr],S[Vn.__component],`${Bt}.${mr}`));break;default:Gn=YC(_n,"id")}return nt[ht]=Gn,nt},{});return ne(u,f,E,"")},YC=(u,f)=>vv(u)?u.map(E=>E[f]?E[f]:E):L3(u)?u[f]:u,QC=({allowedActions:{canRead:u,canUpdate:f},children:E,componentsDataStructure:S,contentTypeDataStructure:w,createActionAllowedFields:q,from:ne,initialValues:se,isCreatingEntry:Ee,isLoadingForData:Te,isSingleType:Me,onPost:nt,onPublish:ht,onDraftRelationCheck:Bt,onPut:Ft,onUnpublish:ze,readActionAllowedFields:_n,redirectToPreviousPage:On,slug:Gn,status:Vn,updateActionAllowedFields:mr})=>{const Dn=Vu(so=>so["content-manager_editViewLayoutManager"].currentLayout),[Ir,hr]=ge.useState(!1),[Mr,_r]=ge.useReducer(VC,zC),{formErrors:Br,initialData:oi,modifiedData:ri,modifiedDZName:kr,shouldCheckErrors:Zr,publishConfirmation:ai}=Mr,{setModifiedDataOnly:Vr}=Vu(so=>so["content-manager_editViewCrudReducer"]),Ki=gf(),As=(0,a.eo)(),{lockApp:Gi,unlockApp:ts}=(0,a.H6)(),Ps=Dn.contentType,sa=ge.useMemo(()=>Is(Ps,["options","draftAndPublish"],!1),[Ps]),Ss=ge.useMemo(()=>sa&&!oi.publishedAt,[sa,oi.publishedAt]),{trackUsage:pr}=(0,a.m4)(),{formatMessage:Hi}=(0,At.c)(),Li=ge.useMemo(()=>Te||Ee?!1:u===!1&&f===!1,[Te,Ee,u,f]);ge.useEffect(()=>{Vn==="resolved"?ts():Gi()},[Gi,ts,Vn]),ge.useEffect(()=>{Te||b0()},[Zr]),ge.useEffect(()=>{const so=Object.keys(Br);if(so.length>0){const No=so[0],Cu=document.getElementById(No);Cu&&Cu.focus()}},[Br]),ge.useEffect(()=>{Li&&As({type:"info",message:{id:Ai("permissions.not-allowed.update")}})},[Li,As]),ge.useEffect(()=>{_r({type:"SET_DEFAULT_DATA_STRUCTURES",componentsDataStructure:S,contentTypeDataStructure:w})},[S,w]);const{components:ss}=Dn,_i=Jv(se);ge.useEffect(()=>{se&&Ps?.attributes&&!Ya(_i,se)&&(_r({type:"INIT_FORM",initialValues:se,components:ss,attributes:Ps.attributes,setModifiedDataOnly:Vr}),Vr&&Ki(a_()))},[se,Ps,ss,Vr,Ki,_i]);const ys=ge.useCallback(so=>(No,Cu,Id,Yp=!1,vp=void 0)=>{pr("didAddComponentToDynamicZone"),_r({type:so,keys:No.split("."),position:vp,componentLayoutData:Cu,allComponents:Id,shouldCheckErrors:Yp})},[pr]),$a=ys("ADD_COMPONENT_TO_DYNAMIC_ZONE"),_o=ge.useCallback((so,No,Cu)=>{_r({type:"ADD_NON_REPEATABLE_COMPONENT_TO_FIELD",keys:so.split("."),componentLayoutData:No,allComponents:Cu})},[]),$o=ge.useCallback(({name:so,value:No,toOneRelation:Cu})=>{_r({type:"CONNECT_RELATION",keys:so.split("."),value:No,toOneRelation:Cu})},[]),Ku=ge.useCallback(({target:{initialDataPath:so,modifiedDataPath:No,value:Cu}})=>{_r({type:"LOAD_RELATION",modifiedDataPath:No,initialDataPath:so,value:Cu})},[]),La=ys("ADD_REPEATABLE_COMPONENT_TO_FIELD"),zl=ge.useMemo(()=>{const so={isCreatingEntry:Ee,isDraft:Ss,isFromComponent:!1};return Dg(Ps,{components:Dn.components},so)},[Dn.components,Ps,Ee,Ss]),b0=ge.useCallback(async(so={})=>{let No={};const Cu=Fo(ri);!mf(Cu)&&so.path&&xa(Cu,so.path,so.value);try{await zl.validate(Cu,{abortEarly:!1})}catch(Id){Id instanceof Ts.$D&&(No=(0,a.CK)(Id)),kr&&(No=Object.keys(No).reduce((Yp,vp)=>(vp.split(".")[0]!==kr&&(Yp[vp]=No[vp]),Yp),{}))}_r({type:"SET_FORM_ERRORS",errors:No})},[kr,ri,zl]),Vl=ge.useCallback(({target:so},No=!1)=>{const{name:Cu,value:Id,type:Yp}=so;let vp=Id;if(["text","textarea","string","email","uid","select","select-one","number"].includes(Yp)&&!Id&&Id!==0&&(vp=null),Yp==="password"&&!Id){_r({type:"REMOVE_PASSWORD_FIELD",keys:Cu.split(".")});return}_r({type:"ON_CHANGE",keys:Cu.split("."),value:vp,shouldSetInitialValue:No})},[]),G0=ge.useCallback((so,No)=>KC({browserState:so,serverState:No},Ps,Dn.components),[Dn.components,Ps]),J0=ge.useMemo(()=>sa?Ss?{status:"draft"}:{}:{},[sa,Ss]),q0=ge.useCallback(async so=>(so.preventDefault(),_r({type:"RESET_PUBLISH_CONFIRMATION"})),[]),ed=ge.useCallback(async so=>{so.preventDefault();let No={};try{await zl.validate(ri,{abortEarly:!1})}catch(Cu){Cu instanceof Ts.$D?No=(0,a.CK)(Cu):console.error(Cu)}try{if(mf(No)){const Cu=G0(ri,oi);(0,Qn.flushSync)(()=>{hr(!0)}),Ee?await nt(Cu,J0):await Ft(Cu,J0),hr(!1)}}catch(Cu){hr(!1),No={...No,...(0,a.st)(Cu,{getTranslation:Ai})}}_r({type:"SET_FORM_ERRORS",errors:No})},[G0,Ee,ri,oi,nt,Ft,J0,zl]),cc=ge.useCallback(async()=>{const so=Dg(Ps,{components:Is(Dn,"components",{})},{isCreatingEntry:Ee,isDraft:!1,isFromComponent:!1}),No=await Bt();if(!ai.show&&No>0){_r({type:"SET_PUBLISH_CONFIRMATION",publishConfirmation:{show:!0,draftCount:No}});return}_r({type:"RESET_PUBLISH_CONFIRMATION"});let Cu={};try{await so.validate(ri,{abortEarly:!1})}catch(Id){Id instanceof Ts.$D&&(Cu=(0,a.CK)(Id))}try{mf(Cu)&&((0,Qn.flushSync)(()=>{hr(!0)}),await ht(),hr(!1))}catch(Id){hr(!1),Cu={...Cu,...(0,a.st)(Id,{getTranslation:Ai})}}_r({type:"SET_FORM_ERRORS",errors:Cu})},[Dn,Ps,Ee,ri,ai.show,ht,Bt]),C0=ge.useCallback(so=>{const No=Object.keys(Br).some(Id=>Id.split(".")[0]===so);return!mf(Br)&&No},[Br]),Yd=ge.useCallback((so,No)=>{pr("changeComponentsOrder"),_r({type:"MOVE_COMPONENT_DOWN",dynamicZoneName:so,currentIndex:No,shouldCheckErrors:C0(so)})},[C0,pr]),gl=ge.useCallback((so,No)=>{pr("changeComponentsOrder"),_r({type:"MOVE_COMPONENT_UP",dynamicZoneName:so,currentIndex:No,shouldCheckErrors:C0(so)})},[C0,pr]),Ed=ge.useCallback(({name:so,newIndex:No,currentIndex:Cu})=>{_r({type:"MOVE_COMPONENT_FIELD",keys:so.split("."),newIndex:No,oldIndex:Cu})},[]),Gh=ge.useCallback(({name:so,id:No})=>{_r({type:"DISCONNECT_RELATION",keys:so.split("."),id:No})},[]),Qd=ge.useCallback(({name:so,oldIndex:No,newIndex:Cu})=>{_r({type:"REORDER_RELATION",keys:so.split("."),oldIndex:No,newIndex:Cu})},[]),Ea=ge.useCallback((so,No)=>{pr("removeComponentFromDynamicZone"),_r({type:"REMOVE_COMPONENT_FROM_DYNAMIC_ZONE",dynamicZoneName:so,index:No,shouldCheckErrors:C0(so)})},[C0,pr]),Oa=ge.useCallback(so=>{_r({type:"REMOVE_COMPONENT_FROM_FIELD",keys:so.split(".")})},[]),Ga=ge.useCallback(so=>{_r({type:"REMOVE_REPEATABLE_FIELD",keys:so.split(".")})},[]),nc=ge.useCallback(()=>{_r({type:"TRIGGER_FORM_VALIDATION"})},[]);return Li?(0,i.jsx)(Ct.YJ,{to:ne}):ri?(0,i.jsx)(a.Wc.Provider,{value:{addComponentToDynamicZone:$a,addNonRepeatableComponentToField:_o,addRepeatableComponentToField:La,allLayoutData:Dn,checkFormErrors:b0,createActionAllowedFields:q,formErrors:Br,hasDraftAndPublish:sa,initialData:oi,isCreatingEntry:Ee,isSingleType:Me,shouldNotRunValidations:Ss,status:Vn,layout:Ps,modifiedData:ri,moveComponentField:Ed,moveComponentDown:Yd,moveComponentUp:gl,onChange:Vl,onPublish:cc,onUnpublish:ze,readActionAllowedFields:_n,redirectToPreviousPage:On,removeComponentFromDynamicZone:Ea,removeComponentFromField:Oa,removeRepeatableField:Ga,relationConnect:$o,relationDisconnect:Gh,relationLoad:Ku,relationReorder:Qd,slug:Gn,triggerFormValidation:nc,updateActionAllowedFields:mr,onPublishPromptDismissal:q0,publishConfirmation:ai},children:Te||!Ee&&!oi.id&&!Me?(0,i.jsx)(A.G,{"aria-busy":"true",children:(0,i.jsx)(a.Wm,{})}):(0,i.jsxs)(i.Fragment,{children:[Ir?null:(0,i.jsx)(Ct.K2,{when:!Ya(ri,oi),message:Hi({id:"global.prompt.unsaved"})}),(0,i.jsx)("form",{noValidate:!0,onSubmit:ed,children:E})]})}):null},hy=u=>Object.entries({create:[{action:"plugin::content-manager.explorer.create",subject:null}],delete:[{action:"plugin::content-manager.explorer.delete",subject:null}],publish:[{action:"plugin::content-manager.explorer.publish",subject:null}],read:[{action:"plugin::content-manager.explorer.read",subject:null}],update:[{action:"plugin::content-manager.explorer.update",subject:null}]}).reduce((E,[S,w])=>(E[S]=w.map(q=>({...q,subject:u})),E),{}),ZC=(u,f)=>{const E=S=>(0,a.zV)(u,[{action:`plugin::content-manager.explorer.${S}`,subject:f}]).flatMap(q=>q.properties?.fields).filter((q,ne,se)=>se.indexOf(q)===ne&&typeof q=="string");return{createActionAllowedFields:E("create"),readActionAllowedFields:E("read"),updateActionAllowedFields:E("update")}},XC=({onDelete:u})=>{const{hasDraftAndPublish:f,modifiedData:E}=(0,a.O_)(),S=f?typeof E.publishedAt=="string"?{status:"draft"}:{status:"published"}:{},[w,q]=ge.useState(!1),[ne,se]=ge.useState(!1),{formatMessage:Ee}=(0,At.c)(),{formatAPIError:Te}=(0,a.An)(Ai),Me=(0,a.eo)(),nt=()=>q(Bt=>!Bt),ht=async()=>{try{se(!0),await u(S),se(!1),nt()}catch(Bt){se(!1),nt(),(0,be.y4)(Bt)&&Me({type:"warning",message:Te(Bt)})}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O.Z,{onClick:nt,size:"S",startIcon:(0,i.jsx)(Zo.c,{}),variant:"danger-light",children:Ee({id:Ai("containers.Edit.delete-entry"),defaultMessage:"Delete this entry"})}),(0,i.jsx)(a.cz,{isConfirmButtonLoading:ne,isOpen:w,onConfirm:ht,onToggleDialog:nt})]})},JC=()=>{const{initialData:u,hasDraftAndPublish:f}=(0,a.O_)(),{formatMessage:E}=(0,At.c)();if(!f)return null;const S=typeof u.publishedAt=="string",w={draft:{textColor:"secondary700",bulletColor:"secondary600",box:{background:"secondary100",borderColor:"secondary200"}},published:{textColor:"success700",bulletColor:"success600",box:{background:"success100",borderColor:"success200"}}},q=S?w.published:w.draft;return(0,i.jsx)(c.k,{hasRadius:!0,as:"aside",paddingTop:4,paddingBottom:4,paddingLeft:5,paddingRight:5,...q.box,children:(0,i.jsxs)(c.k,{as:v.C,children:[(0,i.jsx)(qC,{$bulletColor:q.bulletColor}),(0,i.jsxs)(c.k,{paddingLeft:3,children:[(0,i.jsxs)(R.O,{textColor:q.textColor,children:[E({id:Ai("containers.Edit.information.editing"),defaultMessage:"Editing"}),"\xA0"]}),(0,i.jsxs)(R.O,{fontWeight:"bold",textColor:q.textColor,children:[S&&E({id:Ai("containers.Edit.information.publishedVersion"),defaultMessage:"published version"}),!S&&E({id:Ai("containers.Edit.information.draftVersion"),defaultMessage:"draft version"})]})]})]})})},qC=(0,Qe.cp)(A0.c)`
  width: ${(0,a.W8)(6)};
  height: ${(0,a.W8)(6)};
  * {
    fill: ${({theme:u,$bulletColor:f})=>u.colors[f]};
  }
`,eS=({allowedActions:{canUpdate:u,canCreate:f,canPublish:E}})=>{const{initialData:S,isCreatingEntry:w,isSingleType:q,status:ne,layout:se,hasDraftAndPublish:Ee,modifiedData:Te,onPublish:Me,onUnpublish:nt,publishConfirmation:{show:ht,draftCount:Bt}={},onPublishPromptDismissal:Ft}=(0,a.O_)(),{goBack:ze}=(0,Ct.Uz)(),[_n,On]=ge.useState(!1),{formatMessage:Gn}=(0,At.c)(),Vn=Is(se,["settings","mainField"],"id"),mr=Is(se,["info","displayName"],"NOT FOUND"),Dn=!Ya(S,Te)||w&&Object.keys(Te).length>0;let hr=Gn({id:Ai("containers.Edit.pluginHeader.title.new"),defaultMessage:"Create an entry"});!w&&!q&&(hr=S[Vn]||mr),q&&(hr=mr);let Mr=null;if(w&&f&&(Mr=(0,i.jsxs)(v.C,{gap:2,children:[Ee&&(0,i.jsx)(O.Z,{disabled:!0,startIcon:(0,i.jsx)(hs.c,{}),variant:"secondary",children:Gn({id:"app.utils.publish",defaultMessage:"Publish"})}),(0,i.jsx)(O.Z,{disabled:!Dn,loading:ne==="submit-pending",type:"submit",children:Gn({id:Ai("containers.Edit.submit"),defaultMessage:"Save"})})]})),!w&&u){const ri=Ee&&E,kr=typeof S.publishedAt=="string",Zr=kr?ne==="unpublish-pending":ne==="publish-pending",ai=kr?{id:"app.utils.unpublish",defaultMessage:"Unpublish"}:{id:"app.utils.publish",defaultMessage:"Publish"},Vr=kr?()=>On(!0):()=>Me?.();Mr=(0,i.jsxs)(v.C,{children:[ri&&(0,i.jsx)(O.Z,{disabled:Dn,loading:Zr,onClick:Vr,startIcon:(0,i.jsx)(hs.c,{}),variant:"secondary",children:Gn(ai)}),(0,i.jsx)(c.k,{paddingLeft:ri?2:0,children:(0,i.jsx)(O.Z,{disabled:!Dn,loading:ne==="submit-pending",type:"submit",children:Gn({id:Ai("containers.Edit.submit"),defaultMessage:"Save"})})})]})}const _r=()=>On(ri=>!ri),Br=()=>{_r(),nt?.()},oi=`${Gn({id:Ai("api.id"),defaultMessage:"API ID"})}: ${se?.apiID}`;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Z.a,{title:hr.toString(),primaryAction:Mr,subtitle:oi,navigationAction:(0,i.jsx)(Ht.c,{startIcon:(0,i.jsx)(Za.c,{}),onClick:ri=>{ri.preventDefault(),ze()},as:tn.Af,to:"/",children:Gn({id:"global.back",defaultMessage:"Back"})})}),(0,i.jsxs)(dt.C,{onClose:_r,title:"Confirmation","aria-labelledby":"confirmation","aria-describedby":"confirm-description",isOpen:_n,children:[(0,i.jsx)(Ln.a,{icon:(0,i.jsx)(il.c,{}),children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,i.jsx)(v.C,{justifyContent:"center",style:{textAlign:"center"},children:(0,i.jsx)(R.O,{id:"confirm-description",children:Gn({id:Ai("popUpWarning.warning.unpublish"),defaultMessage:"Unpublish this content will automatically change it to a draft."})})}),(0,i.jsx)(v.C,{justifyContent:"center",style:{textAlign:"center"},children:(0,i.jsx)(R.O,{id:"confirm-description",children:Gn({id:Ai("popUpWarning.warning.unpublish-question"),defaultMessage:"Are you sure you want to unpublish it?"})})})]})}),(0,i.jsx)(fn.K,{startAction:(0,i.jsx)(O.Z,{onClick:_r,variant:"tertiary",children:Gn({id:"components.popUpWarning.button.cancel",defaultMessage:"Cancel"})}),endAction:(0,i.jsx)(O.Z,{variant:"danger-light",onClick:Br,children:Gn({id:"components.popUpWarning.button.confirm",defaultMessage:"Confirm"})})})]}),(0,i.jsxs)(dt.C,{onClose:Ft,title:Gn({id:Ai("popUpWarning.warning.has-draft-relations.title"),defaultMessage:"Confirmation"}),labelledBy:"confirmation",describedBy:"confirm-description",isOpen:ht,children:[(0,i.jsx)(Ln.a,{icon:(0,i.jsx)(il.c,{}),children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,i.jsxs)(R.O,{textAlign:"center",id:"confirm-description",children:[Bt,Gn({id:Ai("popUpwarning.warning.has-draft-relations.message"),defaultMessage:"<b>{count, plural, one { relation is} other { relations are}}</b> not published yet and might lead to unexpected behavior."},{b:ri=>(0,i.jsx)(R.O,{fontWeight:"bold",children:ri}),count:Bt})]}),(0,i.jsx)(R.O,{textAlign:"center",id:"confirm-description",children:Gn({id:Ai("popUpWarning.warning.publish-question"),defaultMessage:"Do you still want to publish?"})})]})}),(0,i.jsx)(fn.K,{startAction:(0,i.jsx)(O.Z,{onClick:Ft,variant:"tertiary",children:Gn({id:"components.popUpWarning.button.cancel",defaultMessage:"Cancel"})}),endAction:(0,i.jsx)(O.Z,{variant:"success",onClick:Me,children:Gn({id:Ai("popUpwarning.warning.has-draft-relations.button-confirm"),defaultMessage:"Publish"})})})]})]})},Ag=({firstname:u,lastname:f,username:E,email:S},w)=>E||(u?w({id:"global.fullname",defaultMessage:"{firstname} {lastname}"},{firstname:u,lastname:f}).trim():S),tS=({children:u})=>(0,i.jsx)(v.C,{direction:"column",alignItems:"stretch",gap:4,children:u}),nS=()=>{const{formatMessage:u}=(0,At.c)();return(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,i.jsx)(R.O,{variant:"sigma",textColor:"neutral600",id:"additional-information",children:u({id:Ai("containers.Edit.information"),defaultMessage:"Information"})}),(0,i.jsx)(c.k,{children:(0,i.jsx)(yt.c,{})})]})},rS=()=>{const{formatMessage:u,formatRelativeTime:f}=(0,At.c)(),{initialData:E,isCreatingEntry:S}=(0,a.O_)(),w=ge.useRef(Date.now()),q=(Ee,Te)=>{const Me=E[Te],nt=E[Ee],ht=Me?Ag(Me,u):"-",Ft=(nt?new Date(nt).getTime():Date.now())-w.current,{unit:ze,value:_n}=iS(-Ft);return{at:f(_n,ze,{numeric:"auto"}),by:S?"-":ht}},ne=q("updatedAt","updatedBy"),se=q("createdAt","createdBy");return(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:4,children:[(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:2,as:"dl",children:[(0,i.jsx)(NE,{label:u({id:Ai("containers.Edit.information.created"),defaultMessage:"Created"}),value:se.at}),(0,i.jsx)(NE,{label:u({id:Ai("containers.Edit.information.by"),defaultMessage:"By"}),value:se.by})]}),(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:2,as:"dl",children:[(0,i.jsx)(NE,{label:u({id:Ai("containers.Edit.information.lastUpdate"),defaultMessage:"Last update"}),value:ne.at}),(0,i.jsx)(NE,{label:u({id:Ai("containers.Edit.information.by"),defaultMessage:"By"}),value:ne.by})]})]})},NE=({label:u,value:f="-"})=>(0,i.jsxs)(v.C,{justifyContent:"space-between",children:[(0,i.jsx)(R.O,{as:"dt",fontWeight:"bold",textColor:"neutral800",variant:"pi",children:u}),(0,i.jsx)(R.O,{as:"dd",variant:"pi",textColor:"neutral600",children:f})]}),h_=60*1e3,p_=h_*60,PE=p_*24,py=PE*30,my=PE*365,iS=u=>u<h_?{unit:"second",value:-Math.round(u/1e3)}:u<p_?{unit:"minute",value:-Math.round(u/h_)}:u<PE?{unit:"hour",value:-Math.round(u/p_)}:u<py?{unit:"day",value:-Math.round(u/PE)}:u<my?{unit:"month",value:-Math.round(u/py)}:{unit:"year",value:-Math.round(u/my)},LE={Root:tS,Title:nS,Body:rS},sS=()=>(0,i.jsxs)(LE.Root,{children:[(0,i.jsx)(LE.Title,{}),(0,i.jsx)(LE.Body,{})]}),aS=[{action:"plugin::content-type-builder.read",subject:null}],oS=({allowedActions:u,history:{goBack:f},match:{params:{slug:E,collectionType:S,id:w,origin:q}},userPermissions:ne=[]})=>{const{trackUsage:se}=(0,a.m4)(),{formatMessage:Ee}=(0,At.c)(),Te=Vu(Ir=>Ir.admin_app.permissions),Me=(0,Ct.IT)(),nt=(0,a.eo)(),ht=vf(sS,async()=>(await Promise.all([e.e(700),e.e(4300)]).then(e.bind(e,4300))).InformationBoxEE);e_(()=>{Me?.state&&"error"in Me.state&&nt({type:"warning",message:Me.state.error,timeout:5e3})});const Bt=Vu(uS),Ft=Vu(lS),{isLazyLoading:ze,lazyComponentStore:_n}=En(Ft),{createActionAllowedFields:On,readActionAllowedFields:Gn,updateActionAllowedFields:Vn}=ZC(ne,E),mr=(S==="single-types"?Te.contentManager?.singleTypesConfigurations:Te.contentManager?.collectionTypesConfigurations)??[],Dn=Ir=>Ir.every(hr=>hr.every(Mr=>Mr.fieldSchema.type==="dynamiczone"));return ze?(0,i.jsx)(a.Wm,{}):ht?(0,i.jsx)(u_,{collectionType:S,slug:E,id:w,origin:q,children:({componentsDataStructure:Ir,contentTypeDataStructure:hr,data:Mr,isCreatingEntry:_r,isLoadingForData:Br,onDelete:oi,onPost:ri,onPublish:kr,onDraftRelationCheck:Zr,onPut:ai,onUnpublish:Vr,redirectionLink:Ki,status:As})=>(0,i.jsx)(QC,{allowedActions:u,createActionAllowedFields:On,componentsDataStructure:Ir,contentTypeDataStructure:hr,from:Ki,initialValues:Mr,isCreatingEntry:_r,isLoadingForData:Br,isSingleType:S==="single-types",onPost:ri,onPublish:kr,onDraftRelationCheck:Zr,onPut:ai,onUnpublish:Vr,readActionAllowedFields:Gn,redirectToPreviousPage:f,slug:E,status:As,updateActionAllowedFields:Vn,children:(0,i.jsxs)(A.G,{"aria-busy":As!=="resolved",children:[(0,i.jsx)(eS,{allowedActions:u}),(0,i.jsx)(J.S,{children:(0,i.jsxs)(K.y,{gap:4,children:[(0,i.jsx)(Y.C,{col:9,s:12,children:(0,i.jsx)(v.C,{direction:"column",alignItems:"stretch",gap:6,children:Bt.map((Gi,ts)=>{if(Dn(Gi)){const[[{name:Ps,fieldSchema:sa,metadatas:Ss,...pr}]]=Gi;return(0,i.jsx)(c.k,{children:(0,i.jsx)(K.y,{gap:4,children:(0,i.jsx)(Y.C,{col:12,s:12,xs:12,children:(0,i.jsx)(f_,{name:Ps,fieldSchema:sa,metadatas:Ss,...pr})})})},ts)}return(0,i.jsx)(c.k,{hasRadius:!0,background:"neutral0",shadow:"tableShadow",paddingLeft:6,paddingRight:6,paddingTop:6,paddingBottom:6,borderColor:"neutral150",children:(0,i.jsx)(v.C,{direction:"column",alignItems:"stretch",gap:6,children:Gi.map((Ps,sa)=>(0,i.jsx)(K.y,{gap:4,children:Ps.map(({fieldSchema:Ss,metadatas:pr,name:Hi,size:Li,queryInfos:ss,..._i})=>{if(Ss.type==="component"){const{component:$a,max:_o,min:$o,repeatable:Ku=!1,required:La=!1}=Ss;return(0,i.jsx)(Y.C,{col:Li,s:12,xs:12,children:(0,i.jsx)(wE,{componentUid:$a,isRepeatable:Ku,intlLabel:{id:pr.label,defaultMessage:pr.label},max:_o,min:$o,name:Hi,required:La,..._i})},$a)}return(0,i.jsx)(Y.C,{col:Li,s:12,xs:12,children:(0,i.jsx)(d_,{size:Li,fieldSchema:Ss,keys:Hi,metadatas:pr,queryInfos:ss,customFieldInputs:_n,..._i})},Hi)})},sa))})},ts)})})}),(0,i.jsx)(Y.C,{col:3,s:12,children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,i.jsx)(JC,{}),(0,i.jsxs)(c.k,{as:"aside","aria-labelledby":"additional-information",background:"neutral0",borderColor:"neutral150",hasRadius:!0,paddingBottom:4,paddingLeft:4,paddingRight:4,paddingTop:6,shadow:"tableShadow",children:[(0,i.jsx)(ht,{}),(0,i.jsx)(lg,{area:"contentManager.editView.informations"})]}),(0,i.jsx)(c.k,{as:"aside","aria-labelledby":"links",children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,i.jsx)(lg,{area:"contentManager.editView.right-links",slug:E}),E!=="strapi::administrator"&&(0,i.jsx)(a.Yj,{permissions:aS,children:(0,i.jsx)(a.EZ,{onClick:()=>{se("willEditEditLayout")},size:"S",startIcon:(0,i.jsx)(Ri.c,{}),style:{width:"100%"},to:`/plugins/content-type-builder/content-types/${E}`,variant:"secondary",children:Ee({id:Ai("link-to-ctb"),defaultMessage:"Edit the model"})})}),(0,i.jsx)(a.Yj,{permissions:mr,children:(0,i.jsx)(a.EZ,{size:"S",startIcon:(0,i.jsx)(gu.c,{}),style:{width:"100%"},to:`/content-manager/${S}/${E}/configurations/edit`,variant:"secondary",children:Ee({id:"app.links.configure-view",defaultMessage:"Configure the view"})})}),u.canDelete&&!_r&&(0,i.jsx)(XC,{onDelete:oi})]})})]})})]})})]})})}):null},uS=(0,jr.M3)(u=>u["content-manager_editViewLayoutManager"].currentLayout,u=>{const f=u?.contentType;if(!f)return[];const E=f.layouts.edit;let S=0;const w=[];return E.forEach(q=>{const ne=q.some(({name:se})=>f.attributes[se].type==="dynamiczone");w[S]||(w[S]=[]),ne?(S=S===0&&w[0].length===0?0:S+1,w[S]||(w[S]=[]),w[S].push(q),S+=1):w[S].push(q)}),w.filter(q=>q.length>0)}),lS=(0,jr.M3)(u=>u["content-manager_editViewLayoutManager"].currentLayout,u=>{if(!u.contentType)return[];const E=[...u.contentType.layouts.edit,...Object.values(u.components).flatMap(w=>w.layouts.edit)].flat().filter(w=>w.fieldSchema.customField).map(w=>w.fieldSchema.customField);return[...new Set(E)]}),cS=({userPermissions:u=[],...f})=>{const E=ge.useMemo(()=>hy(f.match.params.slug),[f.match.params.slug]),{isLoading:S,allowedActions:w}=(0,a.aU)(E,u);return S?(0,i.jsx)(a.Wm,{}):(0,i.jsx)(oS,{...f,allowedActions:w,userPermissions:u})},{MUTATE_EDIT_VIEW_LAYOUT:dS}=Fp,m_=({layout:u,...f})=>{const E=Vu(Ee=>Ee["content-manager_editViewLayoutManager"].currentLayout),S=gf(),[{query:w}]=(0,a.WK)(),{runHookWaterfall:q}=(0,a.U7)(),{permissions:ne,isValid:se}=Kv(w,f.match.params.slug,"editView");return ge.useEffect(()=>{const Ee=q(dS,{layout:u,query:w});return S(hS(Ee.layout,w)),()=>{S(fS())}},[u,S,w,q]),!E.contentType||!se?(0,i.jsx)(a.Wm,{}):(0,i.jsx)(cS,{...f,userPermissions:ne??[]})},gy="ContentManager/EditViewLayoutManager/RESET_PROPS",fS=()=>({type:gy}),vy="ContentManager/EditViewLayoutManager/SET_LAYOUT",hS=(u,f)=>({type:vy,layout:u,query:f}),Ey={currentLayout:{components:{},contentType:null}},pS=(u=Ey,f)=>(0,zo.cp)(u,E=>{switch(f.type){case gy:{E.currentLayout=Ey.currentLayout;break}case vy:{E.currentLayout=f.layout;break}default:return E}}),_y=u=>{const{type:f}=u;return f==="relation"?!u.relation.toLowerCase().includes("morph"):!["json","dynamiczone","richtext","password","blocks"].includes(f)&&!!f},mS=(0,Qe.cp)(v.C)`
  svg {
    width: ${32/16}rem;
    height: ${24/16}rem;
    margin-right: ${({theme:u})=>u.spaces[3]};
  }
`,yy=({attributes:u,fieldForm:f,fieldToEdit:E,onCloseModal:S,onChangeEditLabel:w,onSubmit:q,type:ne})=>{const{formatMessage:se}=(0,At.c)(),Ee=u[E].relationType;let Te=!["media","relation"].includes(ne);return["oneWay","oneToOne","manyToOne"].includes(Ee)&&(Te=!0),(0,i.jsx)(Ne.E,{onClose:S,labelledBy:"title",children:(0,i.jsxs)("form",{onSubmit:q,children:[(0,i.jsx)(Le.k,{children:(0,i.jsxs)(mS,{children:[(0,i.jsx)(q1,{type:ne}),(0,i.jsx)(R.O,{fontWeight:"bold",textColor:"neutral800",as:"h2",id:"title",children:se({id:Ai("containers.ListSettingsView.modal-form.edit-label"),defaultMessage:"Edit {fieldName}"},{fieldName:Na(E)})})]})}),(0,i.jsx)(Ke.a,{children:(0,i.jsxs)(K.y,{gap:4,children:[(0,i.jsx)(Y.C,{s:12,col:6,children:(0,i.jsx)(P.g,{id:"label-input",label:se({id:Ai("form.Input.label"),defaultMessage:"Label"}),name:"label",onChange:Me=>w(Me),value:f.label,hint:se({id:Ai("form.Input.label.inputDescription"),defaultMessage:"This value overrides the label displayed in the table's head"})})}),Te&&(0,i.jsx)(Y.C,{s:12,col:6,children:(0,i.jsx)(_e.a,{"data-testid":"Enable sort on this field",checked:f.sortable,label:se({id:Ai("form.Input.sort.field"),defaultMessage:"Enable sort on this field"}),name:"sortable",onChange:Me=>w({target:{name:"sortable",value:Me.target.checked}}),onLabel:se({id:"app.components.ToggleCheckbox.on-label",defaultMessage:"on"}),offLabel:se({id:"app.components.ToggleCheckbox.off-label",defaultMessage:"off"})})})]})}),(0,i.jsx)(bt._,{startActions:(0,i.jsx)(O.Z,{onClick:S,variant:"tertiary",children:se({id:"app.components.Button.cancel",defaultMessage:"Cancel"})}),endActions:(0,i.jsx)(O.Z,{type:"submit",children:se({id:"global.finish",defaultMessage:"Finish"})})})]})})};yy.propTypes={attributes:ti.objectOf(ti.shape({relationType:ti.string})).isRequired,fieldForm:ti.shape({label:ti.string,sortable:ti.bool}).isRequired,fieldToEdit:ti.string.isRequired,onChangeEditLabel:ti.func.isRequired,onCloseModal:ti.func.isRequired,onSubmit:ti.func.isRequired,type:ti.string.isRequired};const g_=({contentTypeOptions:u,modifiedData:f,onChange:E,sortOptions:S})=>{const{formatMessage:w,locale:q}=(0,At.c)(),ne=(0,a.In)(q,{sensitivity:"base"}),Ee=vf(S,async()=>(await e.e(7932).then(e.bind(e,47932))).REVIEW_WORKFLOW_STAGE_SORT_OPTION_NAME,{combine(Me,nt){return[...Me,{...nt,label:w(nt.label)}]},defaultValue:S,enabled:!!u?.reviewWorkflows}).sort((Me,nt)=>ne.compare(Me.label,nt.label)),{settings:Te}=f;return(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:4,children:[(0,i.jsx)(R.O,{variant:"delta",as:"h2",children:w({id:Ai("containers.SettingPage.settings"),defaultMessage:"Settings"})}),(0,i.jsxs)(v.C,{justifyContent:"space-between",gap:4,children:[(0,i.jsx)(c.k,{width:"100%",children:(0,i.jsx)(_e.a,{label:w({id:Ai("form.Input.search"),defaultMessage:"Enable search"}),onChange:Me=>{E({target:{name:"settings.searchable",value:Me.target.checked}})},onLabel:w({id:"app.components.ToggleCheckbox.on-label",defaultMessage:"on"}),offLabel:w({id:"app.components.ToggleCheckbox.off-label",defaultMessage:"off"}),name:"settings.searchable",checked:Te.searchable})}),(0,i.jsx)(c.k,{width:"100%",children:(0,i.jsx)(_e.a,{label:w({id:Ai("form.Input.filters"),defaultMessage:"Enable filters"}),onChange:Me=>{E({target:{name:"settings.filterable",value:Me.target.checked}})},onLabel:w({id:"app.components.ToggleCheckbox.on-label",defaultMessage:"on"}),offLabel:w({id:"app.components.ToggleCheckbox.off-label",defaultMessage:"off"}),name:"settings.filterable",checked:Te.filterable})}),(0,i.jsx)(c.k,{width:"100%",children:(0,i.jsx)(_e.a,{label:w({id:Ai("form.Input.bulkActions"),defaultMessage:"Enable bulk actions"}),onChange:Me=>{E({target:{name:"settings.bulkable",value:Me.target.checked}})},onLabel:w({id:"app.components.ToggleCheckbox.on-label",defaultMessage:"on"}),offLabel:w({id:"app.components.ToggleCheckbox.off-label",defaultMessage:"off"}),name:"settings.bulkable",checked:Te.bulkable})})]}),(0,i.jsxs)(K.y,{gap:4,children:[(0,i.jsx)(Y.C,{s:12,col:6,children:(0,i.jsx)(me.M,{label:w({id:Ai("form.Input.pageEntries"),defaultMessage:"Entries per page"}),hint:w({id:Ai("form.Input.pageEntries.inputDescription"),defaultMessage:"Note: You can override this value in the Collection Type settings page."}),onChange:Me=>E({target:{name:"settings.pageSize",value:Me}}),name:"settings.pageSize",value:f.settings.pageSize||"",children:[10,20,50,100].map(Me=>(0,i.jsx)(fe.c,{value:Me,children:Me},Me))})}),(0,i.jsx)(Y.C,{s:12,col:3,children:(0,i.jsx)(me.M,{label:w({id:Ai("form.Input.defaultSort"),defaultMessage:"Default sort attribute"}),onChange:Me=>E({target:{name:"settings.defaultSortBy",value:Me}}),name:"settings.defaultSortBy",value:f.settings.defaultSortBy||"",children:Ee.map(({value:Me,label:nt})=>(0,i.jsx)(fe.c,{value:Me,children:nt},Me))})}),(0,i.jsx)(Y.C,{s:12,col:3,children:(0,i.jsx)(me.M,{label:w({id:Ai("form.Input.sort.order"),defaultMessage:"Default sort order"}),onChange:Me=>E({target:{name:"settings.defaultSortOrder",value:Me}}),name:"settings.defaultSortOrder",value:f.settings.defaultSortOrder||"",children:["ASC","DESC"].map(Me=>(0,i.jsx)(fe.c,{value:Me,children:Me},Me))})})]})]})};g_.defaultProps={modifiedData:{},sortOptions:[]},g_.propTypes={contentTypeOptions:ti.object.isRequired,modifiedData:ti.object,onChange:ti.func.isRequired,sortOptions:ti.arrayOf(ti.shape({value:ti.string,label:ti.string}).isRequired)};const v_=Qe.cp.button`
  display: flex;
  align-items: center;
  height: ${({theme:u})=>u.spaces[7]};

  &:last-child {
    padding: 0 ${({theme:u})=>u.spaces[3]};
  }
`,by=(0,Qe.cp)(v_)`
  padding: 0 ${({theme:u})=>u.spaces[3]};
  border-right: 1px solid ${({theme:u})=>u.colors.neutral150};
  cursor: all-scroll;

  svg {
    width: ${12/16}rem;
    height: ${12/16}rem;
  }
`,gS=(0,Qe.cp)(v.C)`
  max-height: ${32/16}rem;
  cursor: pointer;

  svg {
    width: ${10/16}rem;
    height: ${10/16}rem;

    path {
      fill: ${({theme:u})=>u.colors.neutral600};
    }
  }

  &:hover {
    background-color: ${({theme:u})=>u.colors.primary100};
    border-color: ${({theme:u})=>u.colors.primary200};

    svg {
      path {
        fill: ${({theme:u})=>u.colors.primary600};
      }
    }

    ${R.O} {
      color: ${({theme:u})=>u.colors.primary600};
    }

    ${by} {
      border-right: 1px solid ${({theme:u})=>u.colors.primary200};
    }
  }
`,vS=(0,Qe.cp)(c.k)`
  &:last-child {
    padding-right: ${({theme:u})=>u.spaces[3]};
  }
`,Cy=({index:u,isDraggingSibling:f,labelField:E,onClickEditField:S,onMoveField:w,onRemoveField:q,name:ne,setIsDraggingSibling:se})=>{const{formatMessage:Ee}=(0,At.c)(),Te=(0,ge.useRef)(null),Me=(0,ge.useRef)(null),[,nt]=(0,ge.useState)(!1),ht=(0,ge.useRef)(),Bt=()=>{ht.current&&ht.current.click()},[,Ft]=(0,Wl.W)({accept:Ef.FIELD,hover(Vn,mr){if(!Me.current)return;const Dn=Vn.index,Ir=u;if(Dn===Ir)return;const hr=Me.current.getBoundingClientRect(),Mr=(hr.right-hr.left)/2,Br=mr.getClientOffset().x-hr.left;Dn>Ir&&Br>Mr||Dn<Ir&&Br<Mr||(w(Dn,Ir),Vn.index=Ir)}}),[{isDragging:ze},_n,On]=(0,et.I)({type:Ef.FIELD,item(){return{index:u,labelField:E,name:ne}},collect:Vn=>({isDragging:Vn.isDragging()}),end(){se(!1)}});(0,ge.useEffect)(()=>{On((0,pn.s)(),{captureDraggingState:!1})},[On]),(0,ge.useEffect)(()=>{ze&&se(!0)},[ze,se]),(0,ge.useEffect)(()=>{f||nt(Vn=>!Vn)},[f]);const Gn={dragRef:_n(Te),dropRef:Ft(Me)};return(0,i.jsxs)(vS,{ref:Gn?Gn.dropRef:null,children:[ze&&(0,i.jsx)(dg,{labelField:E}),!ze&&f&&(0,i.jsx)(dg,{isSibling:!0,labelField:E}),!ze&&!f&&(0,i.jsxs)(gS,{borderColor:"neutral150",background:"neutral100",hasRadius:!0,justifyContent:"space-between",onClick:Bt,isDragging:ze,children:[(0,i.jsxs)(v.C,{gap:3,children:[(0,i.jsx)(by,{as:"span","aria-label":Ee({id:Ai("components.DraggableCard.move.field"),defaultMessage:"Move {item}"},{item:E}),onClick:Vn=>Vn.stopPropagation(),ref:Gn.dragRef,type:"button",children:(0,i.jsx)(Tu.c,{})}),(0,i.jsx)(R.O,{fontWeight:"bold",children:E})]}),(0,i.jsxs)(v.C,{paddingLeft:3,children:[(0,i.jsx)(v_,{ref:ht,onClick:Vn=>{Vn.stopPropagation(),S(ne)},"aria-label":Ee({id:Ai("components.DraggableCard.edit.field"),defaultMessage:"Edit {item}"},{item:E}),type:"button",children:(0,i.jsx)(Ri.c,{})}),(0,i.jsx)(v_,{onClick:q,"data-testid":`delete-${ne}`,"aria-label":Ee({id:Ai("components.DraggableCard.delete.field"),defaultMessage:"Delete {item}"},{item:E}),type:"button",children:(0,i.jsx)(Zu.c,{})})]})]})]})};Cy.propTypes={index:ti.number.isRequired,isDraggingSibling:ti.bool.isRequired,labelField:ti.string.isRequired,name:ti.string.isRequired,onClickEditField:ti.func.isRequired,onMoveField:ti.func.isRequired,onRemoveField:ti.func.isRequired,setIsDraggingSibling:ti.func.isRequired};const Sy=({displayedFields:u,listRemainingFields:f,metadatas:E,onAddField:S,onClickEditField:w,onMoveField:q,onRemoveField:ne})=>{const{formatMessage:se}=(0,At.c)(),[Ee,Te]=(0,ge.useState)(!1),[Me,nt]=(0,ge.useState)(null),ht=(0,ge.useRef)();function Bt(...ze){nt("add"),S(...ze)}function Ft(...ze){nt("remove"),ne(...ze)}return(0,ge.useEffect)(()=>{Me==="add"&&ht?.current&&(ht.current.scrollLeft=ht.current.scrollWidth)},[u,Me]),(0,i.jsxs)(v.C,{alignItems:"stretch",direction:"column",gap:4,children:[(0,i.jsx)(R.O,{variant:"delta",as:"h2",children:se({id:Ai("containers.SettingPage.view"),defaultMessage:"View"})}),(0,i.jsxs)(v.C,{padding:4,borderColor:"neutral300",borderStyle:"dashed",borderWidth:"1px",hasRadius:!0,children:[(0,i.jsx)(c.k,{flex:"1",overflow:"scroll hidden",ref:ht,children:(0,i.jsx)(v.C,{gap:3,children:u.map((ze,_n)=>(0,i.jsx)(Cy,{index:_n,isDraggingSibling:Ee,onMoveField:q,onClickEditField:w,onRemoveField:On=>Ft(On,_n),name:ze,labelField:E[ze].list.label||ze,setIsDraggingSibling:Te},ze))})}),(0,i.jsxs)(Oi.Ss,{children:[(0,i.jsxs)(Oi.mf,{paddingLeft:2,paddingRight:2,justifyContent:"center",endIcon:null,disabled:f.length<=0,variant:"tertiary",children:[(0,i.jsx)(W.K,{as:"span",children:se({id:Ai("components.FieldSelect.label"),defaultMessage:"Add a field"})}),(0,i.jsx)(fo.c,{"aria-hidden":!0,focusable:!1,style:{position:"relative",top:2}})]}),(0,i.jsx)(Oi.kP,{children:f.map(ze=>(0,i.jsx)(Oi.iY,{onSelect:()=>Bt(ze),children:E[ze].list.label||ze},ze))})]})]})]})};Sy.propTypes={displayedFields:ti.PropTypes.array.isRequired,listRemainingFields:ti.PropTypes.array.isRequired,metadatas:ti.PropTypes.objectOf(ti.PropTypes.shape({list:ti.PropTypes.shape({label:ti.PropTypes.string})})).isRequired,onAddField:ti.PropTypes.func.isRequired,onClickEditField:ti.PropTypes.func.isRequired,onMoveField:ti.PropTypes.func.isRequired,onRemoveField:ti.PropTypes.func.isRequired};const ES=["media","richtext","dynamiczone","relation","component","json","blocks"],E_={fieldForm:{},fieldToEdit:"",initialData:{},modifiedData:{}},_S=(u=E_,f)=>(0,zo.cp)(u,E=>{const S=["modifiedData","layouts","list"];switch(f.type){case"ADD_FIELD":{const w=Is(u,S,[]);xa(E,S,[...w,f.item]);break}case"MOVE_FIELD":{const w=Is(u,S,[]),{originalIndex:q,atIndex:ne}=f;xa(E,S,I4(w,q,ne));break}case"ON_CHANGE":{xa(E,["modifiedData",...f.keys.split(".")],f.value);break}case"ON_CHANGE_FIELD_METAS":{xa(E,["fieldForm",f.name],f.value);break}case"REMOVE_FIELD":{const w=Is(u,S,[]);xa(E,S,w.filter((q,ne)=>f.index!==ne));break}case"SET_FIELD_TO_EDIT":{const{fieldToEdit:w}=f;E.fieldToEdit=w,E.fieldForm.label=Is(E,["modifiedData","metadatas",w,"list","label"],""),E.fieldForm.sortable=Is(E,["modifiedData","metadatas",w,"list","sortable"],"");break}case"UNSET_FIELD_TO_EDIT":{E.fieldForm={},E.fieldToEdit="";break}case"SUBMIT_FIELD_FORM":{const w=["modifiedData","metadatas",u.fieldToEdit,"list"];xa(E,[...w,"label"],u.fieldForm.label),xa(E,[...w,"sortable"],u.fieldForm.sortable);break}default:return E}}),Ty=({layout:u,slug:f})=>{const{put:E}=(0,a.Qn)(),{formatMessage:S}=(0,At.c)(),{trackUsage:w}=(0,a.m4)(),[{query:q}]=(0,a.WK)(),ne=(0,a.eo)(),{refetchData:se}=ge.useContext(x3),[{fieldToEdit:Ee,fieldForm:Te,initialData:Me,modifiedData:nt},ht]=ge.useReducer(_S,E_,()=>({...E_,initialData:u,modifiedData:u})),Bt=Object.keys(Te).length!==0,{attributes:Ft,options:ze}=u,_n=nt.layouts.list,On=({target:{name:Gi,value:ts}})=>{ht({type:"ON_CHANGE",keys:Gi,value:Gi==="settings.pageSize"?parseInt(ts,10):ts})},{isLoading:Gn,mutate:Vn}=(0,Go.useMutation)(Gi=>E(`/content-manager/content-types/${f}/configuration`,Gi),{onSuccess(){w("didEditListSettings"),se()},onError(){ne({type:"warning",message:{id:"notification.error"}})}}),mr=Gi=>{ht({type:"ADD_FIELD",item:Gi})},Dn=(Gi,ts)=>{Gi.stopPropagation(),_n.length===1?ne({type:"info",message:{id:Ai("notification.info.minimumFields")}}):ht({type:"REMOVE_FIELD",index:ts})},Ir=Gi=>{Gi.preventDefault();const{layouts:ts,settings:Ps,metadatas:sa}=nt;Vn({layouts:ts,settings:Ps,metadatas:sa}),w("willSaveContentTypeLayout")},hr=Gi=>{ht({type:"SET_FIELD_TO_EDIT",fieldToEdit:Gi})},Mr=()=>{ht({type:"UNSET_FIELD_TO_EDIT"})},_r=Gi=>{Gi.preventDefault(),ht({type:"SUBMIT_FIELD_FORM"}),Mr()},Br=({target:{name:Gi,value:ts}})=>{ht({type:"ON_CHANGE_FIELD_METAS",name:Gi,value:ts})},oi=Object.entries(Ft).filter(([Gi,ts])=>_y(ts)&&!_n.includes(Gi)).map(([Gi])=>Gi).sort(),ri=Object.entries(Ft).filter(([,Gi])=>!ES.includes(Gi.type)).map(([Gi])=>({value:Gi,label:u.metadatas[Gi].list.label})),kr=(Gi,ts)=>{ht({type:"MOVE_FIELD",originalIndex:Gi,atIndex:ts})},{settings:{pageSize:Zr,defaultSortBy:ai,defaultSortOrder:Vr},kind:Ki,uid:As}=Me;return(0,i.jsx)(cr._,{children:(0,i.jsxs)(A.G,{"aria-busy":Gn,children:[(0,i.jsxs)("form",{onSubmit:Ir,children:[(0,i.jsx)(Z.a,{navigationAction:(0,i.jsx)(a.cH,{startIcon:(0,i.jsx)(Za.c,{}),to:{to:`/content-manager/${Ki}/${As}`,search:(0,Iu.stringify)({page:1,pageSize:Zr,sort:`${ai}:${Vr}`,plugins:q.plugins},{encode:!1})},id:"go-back",children:S({id:"global.back",defaultMessage:"Back"})}),primaryAction:(0,i.jsx)(O.Z,{size:"S",startIcon:(0,i.jsx)(hs.c,{}),disabled:Ya(nt,Me),type:"submit",children:S({id:"global.save",defaultMessage:"Save"})}),subtitle:S({id:Ai("components.SettingsViewWrapper.pluginHeader.description.list-settings"),defaultMessage:"Define the settings of the list view."}),title:S({id:Ai("components.SettingsViewWrapper.pluginHeader.title"),defaultMessage:"Configure the view - {name}"},{name:Na(nt.info.displayName)})}),(0,i.jsx)(J.S,{children:(0,i.jsxs)(v.C,{alignItems:"stretch",background:"neutral0",direction:"column",gap:6,hasRadius:!0,shadow:"tableShadow",paddingTop:6,paddingBottom:6,paddingLeft:7,paddingRight:7,children:[(0,i.jsx)(g_,{contentTypeOptions:ze,modifiedData:nt,onChange:On,sortOptions:ri}),(0,i.jsx)(yt.c,{}),(0,i.jsx)(Sy,{listRemainingFields:oi,displayedFields:_n,onAddField:mr,onClickEditField:hr,onMoveField:kr,onRemoveField:Dn,metadatas:nt.metadatas})]})})]}),Bt&&(0,i.jsx)(yy,{attributes:Ft,fieldForm:Te,fieldToEdit:Ee,onChangeEditLabel:Br,onCloseModal:Mr,onSubmit:_r,type:Ft?.[Ee]?.type??"text"})]})})};Ty.propTypes={layout:ti.shape({uid:ti.string.isRequired,settings:ti.shape({bulkable:ti.bool,defaultSortBy:ti.string,defaultSortOrder:ti.string,filterable:ti.bool,pageSize:ti.number,searchable:ti.bool}).isRequired,metadatas:ti.object.isRequired,options:ti.object.isRequired,attributes:ti.objectOf(ti.shape({type:ti.string})).isRequired}).isRequired,slug:ti.string.isRequired};const yS=cp.injectEndpoints({endpoints:u=>({createUser:u.mutation({query:f=>({url:"/admin/users",method:"POST",data:f}),transformResponse:f=>f.data,invalidatesTags:["LicenseLimits",{type:"User",id:"LIST"}]}),updateUser:u.mutation({query:({id:f,...E})=>({url:`/admin/users/${f}`,method:"PUT",data:E}),invalidatesTags:(f,E,{id:S})=>[{type:"User",id:S},{type:"User",id:"LIST"}]}),getUsers:u.query({query:({id:f,...E}={})=>({url:`/admin/users/${f??""}`,method:"GET",config:{params:E}}),transformResponse:f=>{let E=[];return f.data&&("results"in f.data?Array.isArray(f.data.results)&&(E=f.data.results):E=[f.data]),{users:E,pagination:"pagination"in f.data?f.data.pagination:null}},providesTags:(f,E,S)=>typeof S=="object"&&"id"in S?[{type:"User",id:S.id}]:[...f?.users.map(({id:w})=>({type:"User",id:w}))??[],{type:"User",id:"LIST"}]}),deleteManyUsers:u.mutation({query:f=>({url:"/admin/users/batch-delete",method:"POST",data:f}),transformResponse:f=>f.data,invalidatesTags:["LicenseLimits",{type:"User",id:"LIST"}]}),createRole:u.mutation({query:f=>({url:"/admin/roles",method:"POST",data:f}),transformResponse:f=>f.data,invalidatesTags:[{type:"Role",id:"LIST"}]}),getRoles:u.query({query:({id:f,...E}={})=>({url:`/admin/roles/${f??""}`,method:"GET",config:{params:E}}),transformResponse:f=>{let E=[];return f.data&&(Array.isArray(f.data)?E=f.data:E=[f.data]),E},providesTags:(f,E,S)=>typeof S=="object"&&"id"in S?[{type:"Role",id:S.id}]:[...f?.map(({id:w})=>({type:"Role",id:w}))??[],{type:"Role",id:"LIST"}]}),updateRole:u.mutation({query:({id:f,...E})=>({url:`/admin/roles/${f}`,method:"PUT",data:E}),transformResponse:f=>f.data,invalidatesTags:(f,E,{id:S})=>[{type:"Role",id:S}]}),getRolePermissions:u.query({query:({id:f,...E})=>({url:`/admin/roles/${f}/permissions`,method:"GET",config:{params:E}}),transformResponse:f=>f.data,providesTags:(f,E,{id:S})=>[{type:"RolePermissions",id:S}]}),updateRolePermissions:u.mutation({query:({id:f,...E})=>({url:`/admin/roles/${f}/permissions`,method:"PUT",data:E}),transformResponse:f=>f.data,invalidatesTags:(f,E,{id:S})=>[{type:"RolePermissions",id:S}]}),getRolePermissionLayout:u.query({query:f=>({url:"/admin/permissions",method:"GET",config:{params:f}}),transformResponse:f=>f.data})}),overrideExisting:!1}),{useCreateUserMutation:bS,useGetUsersQuery:CS,useUpdateUserMutation:SS,useDeleteManyUsersMutation:TS,useGetRolesQuery:DS,useCreateRoleMutation:AS,useUpdateRoleMutation:xS,useGetRolePermissionsQuery:OS,useGetRolePermissionLayoutQuery:RS,useUpdateRolePermissionsMutation:wS}=yS,__=CS,IS=({value:u,onChange:f})=>{const{formatMessage:E}=(0,At.c)(),{data:S,isLoading:w}=__(),q=S?.users||[];return(0,i.jsx)(Ce.k1,{value:u,"aria-label":E({id:"content-manager.components.Filters.usersSelect.label",defaultMessage:"Search and select an user to filter"}),onChange:f,loading:w,children:q.map(ne=>(0,i.jsx)(ye.m,{value:ne.id.toString(),children:Ag(ne,E)},ne.id))})},NS=({onClose:u,entryId:f,prohibitedFields:E,pluginQueryParams:S})=>{const{formatMessage:w}=(0,At.c)(),{pathname:q}=(0,Ct.IT)();if(!f)return null;const ne=`${q}/create/clone/${f}?${S}`,se=Ee=>{switch(Ee){case"relation":return"Duplicating the relation could remove it from the original entry.";case"unique":return"Identical values in a unique field are not allowed";default:return Ee}};return(0,i.jsxs)(Ne.E,{onClose:u,labelledBy:"title",children:[(0,i.jsx)(Le.k,{children:(0,i.jsx)(R.O,{variant:"omega",fontWeight:"bold",as:"h2",id:"title",children:w({id:Ai("containers.ListPage.autoCloneModal.header"),defaultMessage:"Duplicate"})})}),(0,i.jsxs)(Ke.a,{children:[(0,i.jsx)(R.O,{variant:"beta",children:w({id:Ai("containers.ListPage.autoCloneModal.title"),defaultMessage:"This entry can't be duplicated directly."})}),(0,i.jsx)(c.k,{marginTop:2,children:(0,i.jsx)(R.O,{textColor:"neutral600",children:w({id:Ai("containers.ListPage.autoCloneModal.description"),defaultMessage:"A new entry will be created with the same content, but you'll have to change the following fields to save it."})})}),(0,i.jsx)(v.C,{marginTop:6,gap:2,direction:"column",alignItems:"stretch",children:E.map(([Ee,Te])=>(0,i.jsxs)(v.C,{direction:"column",gap:2,alignItems:"flex-start",borderColor:"neutral200",hasRadius:!0,padding:6,children:[(0,i.jsx)(v.C,{direction:"row",as:"ol",children:Ee.map((Me,nt)=>(0,i.jsxs)(R.O,{fontWeight:"semiBold",as:"li",children:[Me,nt!==Ee.length-1&&(0,i.jsx)(Ae.G,{as:t0.c,color:"neutral500",height:2,width:2,marginLeft:2,marginRight:2})]},nt))}),(0,i.jsx)(R.O,{as:"p",textColor:"neutral600",children:w({id:Ai(`containers.ListPage.autoCloneModal.error.${Te}`),defaultMessage:se(Te)})})]},Ee.join()))})]}),(0,i.jsx)(bt._,{startActions:(0,i.jsx)(O.Z,{onClick:u,variant:"tertiary",children:w({id:"cancel",defaultMessage:"Cancel"})}),endActions:(0,i.jsx)(rs.E,{as:tn.Af,to:ne,children:w({id:Ai("containers.ListPage.autoCloneModal.create"),defaultMessage:"Create"})})})]})},BE=({area:u,...f})=>{const E=od(u);return E?(0,i.jsx)("ul",{children:E.map(({name:S,Component:w})=>(0,i.jsx)(c.k,{padding:3,style:{textAlign:"center"},children:(0,i.jsx)(w,{...f})},S))}):null},y_=({onToggleDialog:u,isOpen:f=!1,dialogBody:E,endAction:S})=>{const{formatMessage:w}=(0,At.c)();return(0,i.jsxs)(dt.C,{onClose:u,title:w({id:"app.components.ConfirmDialog.title",defaultMessage:"Confirmation"}),isOpen:f,children:[(0,i.jsx)(Ln.a,{icon:(0,i.jsx)(il.c,{}),children:(0,i.jsx)(v.C,{direction:"column",alignItems:"stretch",gap:2,children:E})}),(0,i.jsx)(fn.K,{startAction:(0,i.jsx)(O.Z,{onClick:u,variant:"tertiary",children:w({id:"app.components.Button.cancel",defaultMessage:"Cancel"})}),endAction:S})]})},PS=u=>(0,i.jsx)(R.O,{fontWeight:"bold",children:u}),LS=({isOpen:u,onToggleDialog:f,isConfirmButtonLoading:E=!1,onConfirm:S})=>{const{formatMessage:w}=(0,At.c)(),{get:q}=(0,a.Qn)(),{selectedEntries:ne}=(0,a.wh)(),se=(0,a.eo)(),{formatAPIError:Ee}=(0,a.An)(Ai),Te=Vu(ze=>ze["content-manager_listView"].contentType),[{query:Me}]=(0,a.WK)(),nt=Te?.uid??"",{data:ht=0,isLoading:Bt,isError:Ft}=(0,Go.useQuery)(["content-manager","draft-relations",nt,ne],async()=>{const{data:{data:ze}}=await q(`/content-manager/collection-types/${nt}/actions/countManyEntriesDraftRelations`,{params:{ids:ne,locale:Me?.plugins?.i18n?.locale}});return ze},{enabled:ne.length>0,onError(ze){se({type:"warning",message:Ee(ze)})}});return Ft?null:(0,i.jsx)(y_,{isOpen:u&&!Bt,onToggleDialog:f,dialogBody:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(R.O,{id:"confirm-description",textAlign:"center",children:[ht>0&&w({id:Ai("popUpwarning.warning.bulk-has-draft-relations.message"),defaultMessage:"<b>{count} {count, plural, one { relation } other { relations } } out of {entities} { entities, plural, one { entry } other { entries } } {count, plural, one { is } other { are } }</b> not published yet and might lead to unexpected behavior. "},{b:PS,count:ht,entities:ne.length}),w({id:Ai("popUpWarning.bodyMessage.contentType.publish.all"),defaultMessage:"Are you sure you want to publish these entries?"})]}),(0,i.jsx)(BE,{area:"contentManager.listView.publishModalAdditionalInfos"})]}),endAction:(0,i.jsx)(O.Z,{onClick:S,variant:"secondary",startIcon:(0,i.jsx)(hs.c,{}),loading:E,children:w({id:"app.utils.publish",defaultMessage:"Publish"})})})},BS=({isConfirmButtonLoading:u=!1,isOpen:f=!1,onToggleDialog:E,onConfirm:S})=>{const{formatMessage:w}=(0,At.c)();return(0,i.jsxs)(dt.C,{onClose:E,title:w({id:"app.components.ConfirmDialog.title",defaultMessage:"Confirmation"}),isOpen:f,children:[(0,i.jsx)(Ln.a,{icon:(0,i.jsx)(il.c,{}),children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,i.jsx)(v.C,{justifyContent:"center",children:(0,i.jsx)(R.O,{id:"confirm-description",children:w({id:"components.popUpWarning.message",defaultMessage:"Are you sure you want to delete this?"})})}),(0,i.jsx)(v.C,{children:(0,i.jsx)(BE,{area:"contentManager.listView.deleteModalAdditionalInfos"})})]})}),(0,i.jsx)(fn.K,{startAction:(0,i.jsx)(O.Z,{onClick:E,variant:"tertiary",children:w({id:"app.components.Button.cancel",defaultMessage:"Cancel"})}),endAction:(0,i.jsx)(O.Z,{onClick:S,variant:"danger-light",startIcon:(0,i.jsx)(Zo.c,{}),id:"confirm-delete",loading:u,children:w({id:"app.components.Button.confirm",defaultMessage:"Confirm"})})})]})},Dy=u=>u.stopPropagation(),FE={CheckboxDataCell:({rowId:u,index:f})=>{const{selectedEntries:E,onSelectRow:S}=(0,a.wh)(),{formatMessage:w}=(0,At.c)(),q=E.findIndex(se=>se===u)!==-1,ne=w({id:"app.component.table.select.one-entry",defaultMessage:"Select {target}"},{target:f+1});return(0,i.jsx)(wr.c,{"aria-label":ne,checked:q,onClick:Dy,onChange:()=>{S({name:u,value:!q})}})},EntityActionsDataCell:({rowId:u,index:f,canCreate:E=!1,canDelete:S=!1,setIsConfirmDeleteRowOpen:w,handleCloneClick:q})=>{const{formatMessage:ne}=(0,At.c)(),{trackUsage:se}=(0,a.m4)(),{setSelectedEntries:Ee}=(0,a.wh)(),[{query:Te}]=(0,a.WK)(),Me=ne({id:"content-manager.components.ListViewTable.row-line",defaultMessage:"item line {number}"},{number:f+1});return(0,i.jsxs)(v.C,{gap:1,justifyContent:"end",onClick:Dy,children:[(0,i.jsx)(j.w,{forwardedAs:tn.cH,onClick:()=>{se("willEditEntryFromButton")},to:nt=>({pathname:`${nt.pathname}/${u}`,state:{from:nt.pathname},search:Te.plugins?(0,Iu.stringify)({plugins:Te.plugins}):""}),label:ne({id:"app.component.table.edit",defaultMessage:"Edit {target}"},{target:Me}),borderWidth:0,children:(0,i.jsx)(Ri.c,{})}),E&&(0,i.jsx)(j.w,{onClick:q(u),label:ne({id:"app.component.table.duplicate",defaultMessage:"Duplicate {target}"},{target:Me}),borderWidth:0,children:(0,i.jsx)(Pl.c,{})}),S&&(0,i.jsx)(j.w,{onClick:()=>{se("willDeleteEntryFromList"),Ee([u]),w(!0)},label:ne({id:"global.delete-target",defaultMessage:"Delete {target}"},{target:Me}),borderWidth:0,children:(0,i.jsx)(Zo.c,{})})]})},Root:({children:u,onConfirmDelete:f,isConfirmDeleteRowOpen:E,setIsConfirmDeleteRowOpen:S})=>{const[w,q]=ge.useState(!1),{selectedEntries:ne,setSelectedEntries:se}=(0,a.wh)(),Ee=async()=>{try{q(!0),await f(ne[0]),S(!1),q(!1),se([])}catch{q(!1),S(!1)}};return(0,i.jsxs)(a.oJ.Body,{children:[u,(0,i.jsx)(BS,{isConfirmButtonLoading:w,onConfirm:Ee,onToggleDialog:()=>S(!E),isOpen:E})]})}},FS=(0,Qe.cp)(R.O)`
  max-width: 300px;
`,kS=({validationErrors:u,isPublished:f=!1})=>{const{formatMessage:E}=(0,At.c)();if(u){const S=Object.entries(u).map(([w,q])=>E({id:`${q.id}.withField`,defaultMessage:q.defaultMessage},{field:w})).join(" ");return(0,i.jsxs)(v.C,{gap:2,children:[(0,i.jsx)(Ae.G,{color:"danger600",as:xl.c}),(0,i.jsx)(Fe.o,{description:S,children:(0,i.jsx)(FS,{textColor:"danger600",variant:"omega",fontWeight:"semiBold",ellipsis:!0,children:S})})]})}return f?(0,i.jsxs)(v.C,{gap:2,children:[(0,i.jsx)(Ae.G,{color:"success600",as:hc.c}),(0,i.jsx)(R.O,{textColor:"success600",fontWeight:"bold",children:E({id:"content-manager.bulk-publish.already-published",defaultMessage:"Already Published"})})]}):(0,i.jsxs)(v.C,{gap:2,children:[(0,i.jsx)(Ae.G,{color:"success600",as:hc.c}),(0,i.jsx)(R.O,{children:E({id:"app.utils.ready-to-publish",defaultMessage:"Ready to publish"})})]})},US=({isPublishing:u,rowsToDisplay:f=[],entriesToPublish:E=[],validationErrors:S={}})=>{const{location:{pathname:w}}=(0,Ct.Uz)(),{formatMessage:q}=(0,At.c)(),se=Vu(Te=>Te["content-manager_listView"].contentType?.settings)?.mainField,Ee=se!=null&&se!=="id";return(0,i.jsxs)(a.oJ.Content,{children:[(0,i.jsxs)(a.oJ.Head,{children:[(0,i.jsx)(a.oJ.HeaderCheckboxCell,{}),(0,i.jsx)(a.oJ.HeaderCell,{fieldSchemaType:"integer",label:"id",name:"id"}),Ee&&(0,i.jsx)(a.oJ.HeaderCell,{fieldSchemaType:"string",label:"name",name:"name"}),(0,i.jsx)(a.oJ.HeaderCell,{fieldSchemaType:"string",label:"status",name:"status"})]}),(0,i.jsx)(a.oJ.LoadingBody,{}),(0,i.jsx)(a.oJ.Body,{children:f.map((Te,Me)=>(0,i.jsxs)(Jn.Tr,{children:[(0,i.jsx)(nn.Td,{children:(0,i.jsx)(FE.CheckboxDataCell,{rowId:Te.id,index:Me})}),(0,i.jsx)(nn.Td,{children:(0,i.jsx)(R.O,{children:Te.id})}),Ee&&(0,i.jsx)(nn.Td,{children:(0,i.jsx)(R.O,{children:Te[se]})}),(0,i.jsx)(nn.Td,{children:u&&E.includes(Te.id)?(0,i.jsxs)(v.C,{gap:2,children:[(0,i.jsx)(R.O,{children:q({id:"content-manager.success.record.publishing",defaultMessage:"Publishing..."})}),(0,i.jsx)(or.c,{small:!0})]}):(0,i.jsx)(kS,{validationErrors:S[Te.id],isPublished:Te.publishedAt!==null})}),(0,i.jsx)(nn.Td,{children:(0,i.jsx)(j.w,{forwardedAs:tn.cH,to:{pathname:`${w}/${Te.id}`,state:{from:w}},label:q({id:"app.component.HelperPluginTable.edit",defaultMessage:"Edit {target}"},{target:q({id:"content-manager.components.ListViewHelperPluginTable.row-line",defaultMessage:"item line {number}"},{number:Me+1})}),noBorder:!0,target:"_blank",marginLeft:"auto",children:(0,i.jsx)(Ri.c,{})})})]},Te.id))})]})},Ay=u=>(0,i.jsx)(R.O,{fontWeight:"bold",children:u}),jS=({toggleModal:u,refetchModalData:f,setEntriesToFetch:E,setSelectedListViewEntries:S,validationErrors:w={}})=>{const{formatMessage:q}=(0,At.c)(),{selectedEntries:ne,rows:se,onSelectRow:Ee,isLoading:Te,isFetching:Me}=(0,a.wh)(),[nt,ht]=ge.useState(!1),[Bt,Ft]=ge.useState([]),[ze,_n]=ge.useState(0),{formatAPIError:On}=(0,a.An)(),Gn=se.filter(({id:kr})=>ne.includes(kr)&&!w[kr]).map(({id:kr})=>kr),{post:Vn}=(0,a.Qn)(),mr=(0,a.eo)(),{contentType:Dn}=Vu(kr=>kr["content-manager_listView"]),Ir=Bt.filter(({id:kr})=>ne.includes(kr)&&w[kr]).length,hr=Bt.filter(({id:kr,publishedAt:Zr})=>ne.includes(kr)&&Zr).length,Mr=ne.length-Ir-hr,_r=(0,Go.useMutation)(kr=>Vn(`/content-manager/collection-types/${Dn.uid}/actions/bulkPublish`,kr),{onSuccess(){const kr=Bt.filter(ai=>(Gn.includes(ai.id)&&Ee({name:ai.id,value:!1}),!Gn.includes(ai.id)));Ft(kr);const Zr=kr.map(({id:ai})=>ai);E(Zr),S(Zr),kr.length===0&&u(),mr({type:"success",message:{id:"content-manager.success.record.publish",defaultMessage:"Published"}})},onError(kr){mr({type:"warning",message:On(kr)})}}),Br=()=>ht(kr=>!kr),oi=async()=>{Br();const{data:kr}=await _r.mutateAsync({ids:Gn});_n(kr.count)},ri=()=>ze?q({id:Ai("containers.ListPage.selectedEntriesModal.publishedCount"),defaultMessage:"<b>{publishedCount}</b> {publishedCount, plural, =0 {entries} one {entry} other {entries}} published. <b>{withErrorsCount}</b> {withErrorsCount, plural, =0 {entries} one {entry} other {entries}} waiting for action."},{publishedCount:ze,withErrorsCount:Ir,b:Ay}):q({id:Ai("containers.ListPage.selectedEntriesModal.selectedCount"),defaultMessage:"<b>{alreadyPublishedCount}</b> {alreadyPublishedCount, plural, =0 {entries} one {entry} other {entries}} already published. <b>{readyToPublishCount}</b> {readyToPublishCount, plural, =0 {entries} one {entry} other {entries}} ready to publish. <b>{withErrorsCount}</b> {withErrorsCount, plural, =0 {entries} one {entry} other {entries}} waiting for action."},{readyToPublishCount:Mr,withErrorsCount:Ir,alreadyPublishedCount:hr,b:Ay});return ge.useEffect(()=>{se.length>0&&Ft(se)},[se]),(0,i.jsxs)(Ne.E,{onClose:u,labelledBy:"title",children:[(0,i.jsx)(Le.k,{children:(0,i.jsx)(R.O,{fontWeight:"bold",textColor:"neutral800",as:"h2",id:"title",children:q({id:Ai("containers.ListPage.selectedEntriesModal.title"),defaultMessage:"Publish entries"})})}),(0,i.jsxs)(Ke.a,{children:[(0,i.jsx)(R.O,{children:ri()}),(0,i.jsx)(c.k,{marginTop:5,children:(0,i.jsx)(US,{isPublishing:_r.isLoading,rowsToDisplay:Bt,entriesToPublish:Gn,validationErrors:w})})]}),(0,i.jsx)(bt._,{startActions:(0,i.jsx)(O.Z,{onClick:u,variant:"tertiary",children:q({id:"app.components.Button.cancel",defaultMessage:"Cancel"})}),endActions:(0,i.jsxs)(v.C,{gap:2,children:[(0,i.jsx)(O.Z,{onClick:()=>f(),variant:"tertiary",loading:Me,children:q({id:"app.utils.refresh",defaultMessage:"Refresh"})}),(0,i.jsx)(O.Z,{onClick:Br,disabled:ne.length===0||ne.length===Ir||Te,loading:_r.isLoading,children:q({id:"app.utils.publish",defaultMessage:"Publish"})})]})}),(0,i.jsx)(LS,{isOpen:nt,onToggleDialog:Br,isConfirmButtonLoading:_r.isLoading,onConfirm:oi})]})},$S=({onToggle:u})=>{const{selectedEntries:f,setSelectedEntries:E}=(0,a.wh)(),{contentType:S,components:w}=Vu(On=>On["content-manager_listView"]),[q,ne]=ge.useState(f),[{query:{sort:se,plugins:Ee}}]=(0,a.WK)(),Te={page:1,pageSize:q.length,sort:se,filters:{id:{$in:q}},locale:Ee?.i18n?.locale},{get:Me}=(0,a.Qn)(),{data:nt=[],isLoading:ht,isFetching:Bt,refetch:Ft}=(0,Go.useQuery)(["entries",S?.uid,Te],async()=>{const{data:On}=await Me(`content-manager/collection-types/${S.uid}`,{params:Te});return On.results},{enabled:S!==null}),{rows:ze,validationErrors:_n}=ge.useMemo(()=>{if(nt.length>0&&S){const On=Dg(S,{components:w},{isDraft:!1,isJSONTestDisabled:!0}),Gn={};return{rows:nt.map(mr=>{try{return On.validateSync(mr,{abortEarly:!1}),mr}catch(Dn){return Dn instanceof Ts.$D&&(Gn[mr.id]=(0,a.CK)(Dn)),mr}}),validationErrors:Gn}}return{rows:[],validationErrors:{}}},[w,S,nt]);return(0,i.jsx)(a.oJ.Root,{rows:ze,defaultSelectedEntries:f,colCount:4,isLoading:ht,isFetching:Bt,children:(0,i.jsx)(jS,{setSelectedListViewEntries:E,setEntriesToFetch:ne,toggleModal:u,refetchModalData:Ft,validationErrors:_n})})},WS=({isOpen:u,onToggleDialog:f,isConfirmButtonLoading:E,onConfirm:S})=>{const{formatMessage:w}=(0,At.c)();return(0,i.jsx)(y_,{isOpen:u,onToggleDialog:f,dialogBody:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(R.O,{id:"confirm-description",textAlign:"center",children:w({id:Ai("popUpWarning.bodyMessage.contentType.unpublish.all"),defaultMessage:"Are you sure you want to unpublish these entries?"})}),(0,i.jsx)(BE,{area:"contentManager.listView.unpublishModalAdditionalInfos"})]}),endAction:(0,i.jsx)(O.Z,{onClick:S,variant:"secondary",startIcon:(0,i.jsx)(hs.c,{}),loading:E,children:w({id:"app.utils.unpublish",defaultMessage:"Unpublish"})})})},HS=({isOpen:u,onToggleDialog:f,isConfirmButtonLoading:E,onConfirm:S})=>{const{formatMessage:w}=(0,At.c)();return(0,i.jsx)(y_,{isOpen:u,onToggleDialog:f,dialogBody:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(R.O,{id:"confirm-description",textAlign:"center",children:w({id:Ai("popUpWarning.bodyMessage.contentType.delete.all"),defaultMessage:"Are you sure you want to delete these entries?"})}),(0,i.jsx)(BE,{area:"contentManager.listView.deleteModalAdditionalInfos"})]}),endAction:(0,i.jsx)(O.Z,{onClick:S,variant:"danger-light",startIcon:(0,i.jsx)(Zo.c,{}),id:"confirm-delete",loading:E,children:w({id:"app.components.Button.confirm",defaultMessage:"Confirm"})})})},b_=({showPublish:u=!1,showDelete:f=!1,onConfirmDeleteAll:E,onConfirmUnpublishAll:S,refetchData:w})=>{const{formatMessage:q}=(0,At.c)(),{trackUsage:ne}=(0,a.m4)(),{data:se}=Vu(hr=>hr["content-manager_listView"]),{selectedEntries:Ee,setSelectedEntries:Te}=(0,a.wh)(),[Me,nt]=ge.useState(!1),[ht,Bt]=ge.useState(!1),[Ft,ze]=ge.useState(null),_n=se.filter(hr=>Ee.includes(hr.id)),On=u&&_n.some(hr=>!hr.publishedAt),Gn=u&&_n.some(hr=>hr.publishedAt),Vn=()=>{Ft==="delete"?ze(null):(ze("delete"),ne("willBulkDeleteEntries"))},mr=()=>{Ft==="unpublish"?ze(null):(ze("unpublish"),ne("willBulkUnpublishEntries"))},Dn=(hr,Mr)=>async()=>{try{nt(!0),await hr(Ee),nt(!1),Mr(),Te([])}catch{nt(!1),Mr()}},Ir=()=>{Bt(hr=>(hr&&w(),!hr))};return(0,i.jsxs)(i.Fragment,{children:[On&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O.Z,{variant:"tertiary",onClick:Ir,children:q({id:"app.utils.publish",defaultMessage:"Publish"})}),ht&&(0,i.jsx)($S,{onToggle:Ir})]}),Gn&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O.Z,{variant:"tertiary",onClick:mr,children:q({id:"app.utils.unpublish",defaultMessage:"Unpublish"})}),(0,i.jsx)(WS,{isOpen:Ft==="unpublish",onToggleDialog:mr,isConfirmButtonLoading:Me,onConfirm:Dn(S,mr)})]}),f&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O.Z,{variant:"danger-light",onClick:Vn,children:q({id:"global.delete",defaultMessage:"Delete"})}),(0,i.jsx)(HS,{isOpen:Ft==="delete",onToggleDialog:Vn,isConfirmButtonLoading:Me,onConfirm:Dn(E,Vn)})]})]})};b_.defaultProps={showPublish:!1,showDelete:!1,onConfirmDeleteAll(){},onConfirmUnpublishAll(){},refetchData(){}},b_.propTypes={showPublish:ti.bool,showDelete:ti.bool,onConfirmDeleteAll:ti.func,onConfirmUnpublishAll:ti.func,refetchData:ti.func};const GS=({displayedFilters:u})=>{const[f,E]=ge.useState(!1),{formatMessage:S}=(0,At.c)(),w=ge.useRef(null),{trackUsage:q}=(0,a.m4)(),ne=()=>{f||q("willFilterEntries"),E(se=>!se)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(O.Z,{variant:"tertiary",ref:w,startIcon:(0,i.jsx)(Cs.c,{}),onClick:ne,size:"S",children:S({id:"app.utils.filters",defaultMessage:"Filters"})}),f&&(0,i.jsx)(a.SI,{displayedFilters:u,isVisible:f,onToggle:ne,source:w}),(0,i.jsx)(a.aW,{filtersSchema:u})]})},xg=({type:u,value:f})=>{const{formatDate:E,formatTime:S,formatNumber:w}=(0,At.c)();let q=f;if(u==="date"&&(q=E((0,l3.c)(f),{dateStyle:"full"})),u==="datetime"&&(q=E(f,{dateStyle:"full",timeStyle:"short"})),u==="time"){const[ne,se,Ee]=f.split(":"),Te=new Date;Te.setHours(ne),Te.setMinutes(se),Te.setSeconds(Ee),q=S(Te,{timeStyle:"short"})}return["float","decimal"].includes(u)&&(q=w(f,{maximumFractionDigits:20})),["integer","biginteger"].includes(u)&&(q=w(f,{maximumFractionDigits:0})),s3(q)},zS=({content:u,metadatas:f})=>{const{mainField:E}=f;return E?(0,i.jsx)(Fe.o,{label:u[E.name],children:(0,i.jsx)(VS,{textColor:"neutral800",ellipsis:!0,children:(0,i.jsx)(xg,{type:E?.type,value:u[E.name]})})}):null},VS=(0,Qe.cp)(R.O)`
  max-width: 250px;
`,KS=({content:u,metadatas:f})=>{const{formatMessage:E}=(0,At.c)(),{mainField:S}=f;return S?(0,i.jsxs)(Oi.Ss,{children:[(0,i.jsxs)(QS,{onClick:w=>w.stopPropagation(),children:[(0,i.jsx)(bn.k,{children:u.length})," ",E({id:"content-manager.containers.ListPage.items",defaultMessage:"{number, plural, =0 {items} one {item} other {items}}"},{number:u.length})]}),(0,i.jsx)(Oi.kP,{children:u.map(w=>(0,i.jsx)(Oi.iY,{disabled:!0,children:(0,i.jsx)(YS,{ellipsis:!0,children:(0,i.jsx)(xg,{type:S.type,value:w[S.name]})})},w.id))})]}):null},YS=(0,Qe.cp)(R.O)`
  max-width: 500px;
`,QS=(0,Qe.cp)(Oi.mf)`
  svg {
    width: ${6/16}rem;
    height: ${4/16}rem;
  }
`,xy=({url:u,mime:f,alternativeText:E,name:S,ext:w,formats:q})=>{const ne=(0,a.AZ)(u);if(f.includes("image")){const Te=q?.thumbnail?.url,Me=(0,a.AZ)(Te)||ne;return(0,i.jsx)(Sn.C,{src:Me,alt:E||S,preview:!0})}const se=(0,a.S7)(w),Ee=S.length>100?`${S.substring(0,100)}...`:S;return(0,i.jsx)(Fe.o,{description:Ee,children:(0,i.jsx)(Oy,{children:se})})},Oy=({children:u})=>(0,i.jsx)(v.C,{as:"span",position:"relative",borderRadius:"50%",width:"26px",height:"26px",borderColor:"neutral200",background:"neutral150",paddingLeft:"1px",justifyContent:"center",alignItems:"center",children:(0,i.jsx)(ZS,{variant:"sigma",textColor:"neutral600",children:u})}),ZS=(0,Qe.cp)(R.O)`
  font-size: 0.6rem;
  line-height: 0.6rem;
`,XS=({content:u})=>(0,i.jsx)(er,{children:u.map((f,E)=>{const S=`${f.id}${E}`;if(E===3){const w=`+${u.length-3}`;return(0,i.jsx)(Oy,{children:w},S)}return E>3?null:(0,i.jsx)(xy,{...f},S)})}),JS=({metadatas:u,content:f})=>(0,i.jsx)(Ry,{textColor:"neutral800",ellipsis:!0,children:(0,i.jsx)(xg,{type:u.mainField?.type??"integer",value:u.mainField?.name?f[u.mainField?.name]:f.id})}),Ry=(0,Qe.cp)(R.O)`
  max-width: 500px;
`,qS=({metadatas:u,name:f,entityId:E,content:S,uid:w})=>{const{formatMessage:q}=(0,At.c)(),{notifyStatus:ne}=(0,Se.O)(),[se,Ee]=ge.useState(!1),{get:Te}=(0,a.Qn)(),[Me]=f.split("."),{data:nt,isLoading:ht}=(0,Go.useQuery)([w,E,Me],async()=>{const{data:Bt}=await Te(`/content-manager/relations/${w}/${E}/${Me}`);if("data"in Bt&&Bt.data)return{results:[Bt.data]};if("results"in Bt)return{results:Bt.results,pagination:Bt.pagination};throw new Error(`/content-manager/relations/${w}/${E}/${Me} returned an error object with a success code.`)},{enabled:se,staleTime:0,select:Bt=>({...Bt,results:[...Bt.results].reverse()})});return ge.useEffect(()=>{nt&&ne(q({id:Ai("DynamicTable.relation-loaded"),defaultMessage:"Relations have been loaded"}))},[nt,q,ne]),(0,i.jsxs)(Oi.Ss,{onOpenChange:Bt=>Ee(Bt),children:[(0,i.jsx)(eT,{onClick:Bt=>Bt.stopPropagation(),children:(0,i.jsxs)(v.C,{gap:1,wrap:"nowrap",children:[(0,i.jsx)(bn.k,{children:S.count}),q({id:"content-manager.containers.ListPage.items",defaultMessage:"{number, plural, =0 {items} one {item} other {items}}"},{number:S.count})]})}),(0,i.jsxs)(Oi.kP,{children:[ht&&(0,i.jsx)(Oi.iY,{disabled:!0,children:(0,i.jsx)(or.c,{small:!0,children:q({id:Ai("ListViewTable.relation-loading"),defaultMessage:"Relations are loading"})})}),nt?.results&&(0,i.jsxs)(i.Fragment,{children:[nt.results.map(Bt=>(0,i.jsx)(Oi.iY,{disabled:!0,children:(0,i.jsx)(Ry,{ellipsis:!0,children:(0,i.jsx)(xg,{type:u.mainField?.type??"integer",value:u.mainField?.name?Bt[u.mainField.name]:Bt.id})})},Bt.id)),nt?.pagination&&nt?.pagination.total>10&&(0,i.jsx)(Oi.iY,{"aria-disabled":!0,"aria-label":q({id:Ai("ListViewTable.relation-more"),defaultMessage:"This relation contains more entities than displayed"}),children:(0,i.jsx)(R.O,{children:"\u2026"})})]})]})]})},eT=(0,Qe.cp)(Oi.mf)`
  svg {
    width: ${6/16}rem;
    height: ${4/16}rem;
  }
`,tT=({content:u,fieldSchema:f,metadatas:E,name:S,rowId:w,contentType:q})=>{if(!nT(u,E,f))return(0,i.jsx)(R.O,{textColor:"neutral800",children:"-"});switch(f.type){case"media":return f.multiple?(0,i.jsx)(XS,{content:u}):(0,i.jsx)(xy,{...u});case"relation":return Iy(f.relation)?(0,i.jsx)(JS,{metadatas:E,content:u}):(0,i.jsx)(qS,{metadatas:E,content:u,name:S,entityId:w,uid:q.uid});case"component":return f.repeatable===!0?(0,i.jsx)(KS,{content:u,metadatas:E}):(0,i.jsx)(zS,{content:u,metadatas:E});case"string":return(0,i.jsx)(Fe.o,{description:u,children:(0,i.jsx)(wy,{ellipsis:!0,textColor:"neutral800",children:(0,i.jsx)(xg,{type:f.type,value:u})})});default:return(0,i.jsx)(wy,{ellipsis:!0,textColor:"neutral800",children:(0,i.jsx)(xg,{type:f.type,value:u})})}},wy=(0,Qe.cp)(R.O)`
  max-width: 300px;
`,nT=(u,f,E)=>{if(E.type==="component"){const{mainField:S}=f;if(E?.repeatable||!S)return u.length>0;const w=u?.[S.name];return S.name==="id"&&![void 0,null].includes(w)?!0:he(S.type)&&S.type!=="biginteger"&&S.name!=="id"?typeof w=="number":!mf(w)}return E.type==="relation"?Iy(E.relation)?!mf(u):u?.count>0:he(E.type)&&E.type!=="biginteger"?typeof u=="number":E.type==="boolean"?u!==null:!mf(u)},Iy=u=>["oneToOne","manyToOne","oneToOneMorph"].includes(u),rT=({slug:u})=>{const[f,E]=ge.useState(!1),S=ge.useRef(null),w=Vu(se=>se.admin_app.permissions),{formatMessage:q}=(0,At.c)(),ne=()=>{E(se=>!se)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(j.w,{icon:(0,i.jsx)(Ks.c,{}),label:q({id:"components.ViewSettings.tooltip",defaultMessage:"View Settings"}),ref:S,onClick:ne}),f&&(0,i.jsx)(jt._k,{placement:"bottom-end",source:S,onDismiss:ne,spacing:4,padding:3,children:(0,i.jsxs)(v.C,{alignItems:"stretch",direction:"column",gap:3,children:[(0,i.jsx)(a.Yj,{permissions:w.contentManager?.collectionTypesConfigurations,children:(0,i.jsx)(rs.E,{size:"S",startIcon:(0,i.jsx)(gu.c,{}),variant:"secondary",as:tn.Af,to:`${u}/configurations/list`,children:q({id:"app.links.configure-view",defaultMessage:"Configure the view"})})}),(0,i.jsx)(sT,{})]})})]})},iT=(0,jr.M3)(u=>u["content-manager_listView"].displayedHeaders,u=>u.map(({name:f})=>f)),sT=()=>{const u=gf(),f=Vu(iT),E=Vu(Me=>Me["content-manager_listView"].contentType),{trackUsage:S}=(0,a.m4)(),{formatMessage:w,locale:q}=(0,At.c)(),ne=(0,a.In)(q,{sensitivity:"base"}),se=Object.keys(E.attributes).filter(Me=>_y(E.attributes[Me])).map(Me=>({name:Me,label:E.metadatas[Me].list.label??""})).sort((Me,nt)=>ne.compare(Me.label,nt.label)),Ee=Me=>{S("didChangeDisplayedFields"),u(ST({name:Me,value:f.includes(Me)}))},Te=()=>{u(yT())};return(0,i.jsxs)(v.C,{as:"fieldset",direction:"column",alignItems:"stretch",gap:3,children:[(0,i.jsxs)(v.C,{justifyContent:"space-between",children:[(0,i.jsx)(R.O,{as:"legend",variant:"pi",fontWeight:"bold",children:w({id:"containers.ListPage.displayedFields",defaultMessage:"Displayed fields"})}),(0,i.jsx)(le.c,{onClick:Te,children:w({id:"app.components.Button.reset",defaultMessage:"Reset"})})]}),(0,i.jsx)(v.C,{direction:"column",alignItems:"stretch",children:se.map(Me=>{const nt=f.includes(Me.name);return(0,i.jsxs)(aT,{wrap:"wrap",gap:2,as:"label",background:nt?"primary100":"transparent",hasRadius:!0,padding:2,children:[(0,i.jsx)(wr.c,{onChange:()=>Ee(Me.name),value:nt,name:Me.name}),(0,i.jsx)(R.O,{fontSize:1,children:Me.label})]},Me.name)})})]})},aT=(0,Qe.cp)(v.C)`
  :hover {
    background-color: ${u=>u.theme.colors.primary100};
  }
`,oT=["json","component","media","richtext","dynamiczone","password","blocks"],uT=["createdAt","updatedAt"],lT=(u,f)=>{const{allPermissions:E}=(0,a.c_)(),S=(0,a.zV)(E,[{action:"plugin::content-manager.explorer.read",subject:f}]),w=(0,a.zV)(E,[{action:"admin::users.read",subject:null}]).length>0;return["id",...(S?.[0]?.properties?.fields??[]).filter(se=>{const Ee=u?.attributes?.[se]??{};return!(!Ee.type||oT.includes(Ee.type))}),...uT,...w?IE:[]]},{INJECT_COLUMN_IN_TABLE:cT}=Fp,dT=null,fT={ReviewWorkflowsStageEE:()=>null,ReviewWorkflowsAssigneeEE:()=>null},hT=[],pT=[...IE,"strapi_assignee"],mT=({canCreate:u,canDelete:f,canRead:E,canPublish:S,layout:w,slug:q})=>{const ne=gf(),{pagination:se,isLoading:Ee,data:Te}=Vu(Ea=>Ea["content-manager_listView"]),{total:Me}=se,{contentType:nt}=w,{info:ht,options:Bt,metadatas:Ft,settings:{bulkable:ze,filterable:_n,searchable:On}}=nt,[Gn,Vn]=ge.useState(!1),mr=(0,a.eo)(),{trackUsage:Dn}=(0,a.m4)(),{allPermissions:Ir,refetchPermissions:hr}=(0,a.c_)(),{notifyStatus:Mr}=(0,Se.O)(),{formatAPIError:_r}=(0,a.An)(Ai),Br=lT(nt,q),[{query:oi}]=(0,a.WK)(),{pathname:ri}=(0,Ct.IT)(),{push:kr}=(0,Ct.Uz)(),{formatMessage:Zr,locale:ai}=(0,At.c)(),{get:Vr,post:Ki,del:As}=(0,a.Qn)(),Gi=(0,a.In)(ai,{sensitivity:"base"}),ts=oi?.filters?.$and?.reduce((Ea,Oa)=>{const[Ga,nc]=Object.entries(Oa)[0],so=nc.id?.$eq||nc.id?.$ne;return so&&pT.includes(Ga)&&!Ea.includes(so)&&Ea.push(so),Ea},[])??[],{data:Ps,isLoading:sa}=__({filters:{id:{$in:ts}}},{skip:ts.length===0||(0,a.zV)(Ir,[{action:"admin::users.read",subject:null}]).length===0}),{users:Ss=[]}=Ps??{};(0,a.G0)();const pr=ge.useMemo(()=>xE(oi),[oi]),Hi=(0,Iu.stringify)({plugins:oi.plugins},{encode:!1}),Li=Br.map(Ea=>{const Oa=nt.attributes[Ea],Ga={name:"didFilterEntries",properties:{useRelation:Oa.type==="relation"}},{mainField:nc,label:so}=Ft[Ea].list,No={name:Ea,metadatas:{label:Zr({id:so,defaultMessage:so})},fieldSchema:{type:Oa.type,options:"enum"in Oa?Oa.enum:[],mainField:nc},trackedEvent:Ga};return Oa.type==="relation"&&"target"in Oa&&Oa.target==="admin::user"&&(No.metadatas={...No.metadatas,customOperators:[{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eq",defaultMessage:"is"},value:"$eq"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$ne",defaultMessage:"is not"},value:"$ne"}],customInput:IS,options:Ss.map(Cu=>({label:Ag(Cu,Zr),customValue:Cu.id.toString()}))},No.fieldSchema.mainField={...nc,name:"id"}),No}),ss=Bt?.draftAndPublish??!1,_i=Bt?.reviewWorkflows??!1,ys=vf(dT,async()=>(await e.e(7100).then(e.bind(e,57100))).REVIEW_WORKFLOW_COLUMNS_EE,{enabled:!!Bt?.reviewWorkflows}),$a=vf(fT,async()=>{const{ReviewWorkflowsStageEE:Ea,ReviewWorkflowsAssigneeEE:Oa}=await e.e(5864).then(e.bind(e,25864));return{ReviewWorkflowsStageEE:Ea,ReviewWorkflowsAssigneeEE:Oa}},{enabled:_i}),_o=vf(hT,async()=>(await e.e(7100).then(e.bind(e,57100))).REVIEW_WORKFLOW_FILTERS,{combine(Ea,Oa){return[...Ea,...Oa.filter(Ga=>Ga.name==="strapi_assignee"?(0,a.zV)(Ir,[{action:"admin::users.read",subject:null}]).length>0:!0).map(Ga=>({...Ga,metadatas:{...Ga.metadatas,...Ga.name==="strapi_stage"?{uid:nt.uid}:{},label:Zr(Ga.metadatas.label),options:Ga.name==="strapi_assignee"?Ss.map(nc=>({label:Ag(nc,Zr),customValue:nc.id.toString()})):void 0}}))]},defaultValue:[],enabled:_i&&!sa}),{refetch:$o}=(0,Go.useQuery)(["content-manager","collection-types",q,pr],async()=>{ne(ET());const{data:Ea}=await Vr(`/content-manager/collection-types/${q}`,{params:pr});return Ea},{enabled:E,onError(Ea){if((Ea?.response?.status??null)===403){hr(),mr({type:"info",message:{id:Ai("permissions.not-allowed.update")}}),kr("/");return}mr({type:"warning",message:{id:Ai("error.model.fetch")}})},onSuccess({pagination:Ea,results:Oa}){if(Ea.page&&Ea.page>Ea.pageCount&&Ea.pageCount>0){const Ga={...pr,page:Ea.pageCount};kr({pathname:ri,state:{from:ri},search:(0,Iu.stringify)(Ga)});return}Mr(Zr({id:Ai("utils.data-loaded"),defaultMessage:"{number, plural, =1 {# entry has} other {# entries have}} successfully been loaded"},{number:Ea.pageSize})),ne(_T(Ea,Oa))}}),Ku=(0,Go.useMutation)(async Ea=>{const{data:Oa}=await Ki(`/content-manager/collection-types/${nt.uid}/actions/bulkUnpublish`,Ea);return Oa},{onSuccess(){mr({type:"success",message:{id:"content-manager.success.record.unpublish",defaultMessage:"Unpublished"}}),$o()},onError(Ea){mr({type:"warning",message:_r(Ea)})}}),La=ge.useCallback(async Ea=>{try{await Ki(`/content-manager/collection-types/${q}/actions/bulkDelete`,{ids:Ea}),await $o(),Dn("didBulkDeleteEntries")}catch(Oa){Oa instanceof be.Uh&&mr({type:"warning",message:_r(Oa)})}},[Ki,q,$o,Dn,mr,_r]),zl=ge.useCallback(async Ea=>{try{await As(`/content-manager/collection-types/${q}/${Ea}`),await $o(),mr({type:"success",message:{id:Ai("success.record.delete")}})}catch(Oa){Oa instanceof be.Uh&&mr({type:"warning",message:_r(Oa)})}},[q,mr,_r,As,$o]),b0=async Ea=>{await Ku.mutateAsync({ids:Ea})},Vl=Zr({id:Ai("header.name"),defaultMessage:"Content"}),G0=Zr({id:ht.displayName,defaultMessage:ht.displayName||Vl}),{runHookWaterfall:J0}=(0,a.U7)(),q0=Vu(Ea=>Ea["content-manager_listView"].displayedHeaders),ed=ge.useMemo(()=>{const Oa=J0(cT,{displayedHeaders:q0,layout:w}).displayedHeaders.map(Ga=>Ga.fieldSchema.type==="relation"?{...Ga,metadatas:{...Ga.metadatas,label:Zr({id:Ai(`containers.ListPage.table-headers.${Ga.name}`),defaultMessage:Ga.metadatas.label})},name:`${Ga.name}.${Ga.metadatas.mainField?.name??""}`}:{...Ga,metadatas:{...Ga.metadatas,label:Zr({id:Ai(`containers.ListPage.table-headers.${Ga.name}`),defaultMessage:Ga.metadatas.label})}});return ss&&Oa.push({key:"__published_at_temp_key__",name:"publishedAt",fieldSchema:{type:"custom"},metadatas:{label:Zr({id:Ai("containers.ListPage.table-headers.publishedAt"),defaultMessage:"publishedAt"}),searchable:!1,sortable:!0}}),ys&&Oa.push(...ys.map(Ga=>({...Ga,metadatas:{...Ga.metadatas,label:Zr(Ga.metadatas.label)}}))),Oa},[J0,q0,w,ys,ss,Zr]),cc=Ea=>()=>{Dn("willEditEntryFromList"),kr({pathname:`${ri}/${Ea}`,state:{from:ri},search:Hi})},[C0,Yd]=ge.useState(null),[gl,Ed]=ge.useState([]),Gh=Ea=>async()=>{try{const{data:Oa}=await Ki(`/content-manager/collection-types/${nt.uid}/auto-clone/${Ea}?${Hi}`);"id"in Oa&&kr({pathname:`${ri}/${Oa.id}`,state:{from:ri},search:Hi})}catch(Oa){if(Oa instanceof be.Uh){const{prohibitedFields:Ga}=Oa.response?.data.error.details;Yd(Ea),Ed(Ga)}}},Qd=ed.length+2;return $a?(0,i.jsxs)(A.G,{"aria-busy":Ee,children:[(0,i.jsx)(Z.a,{primaryAction:u?(0,i.jsx)(My,{hasDraftAndPublish:ss,params:oi.plugins?Hi:""}):null,subtitle:E?Zr({id:Ai("pages.ListView.header-subtitle"),defaultMessage:"{number, plural, =0 {# entries} one {# entry} other {# entries}} found"},{number:Me}):void 0,title:G0,navigationAction:(0,i.jsx)(a.cH,{startIcon:(0,i.jsx)(Za.c,{}),to:"/content-manager/",children:Zr({id:"global.back",defaultMessage:"Back"})})}),!E&&(0,i.jsx)(an.U,{endActions:(0,i.jsx)(lg,{area:"contentManager.listView.actions"})}),E&&(0,i.jsx)(an.U,{endActions:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(lg,{area:"contentManager.listView.actions"}),(0,i.jsx)(rT,{slug:q})]}),startActions:(0,i.jsxs)(i.Fragment,{children:[On&&(0,i.jsx)(a.w9,{label:Zr({id:"app.component.search.label",defaultMessage:"Search for {target}"},{target:G0}),placeholder:Zr({id:"global.search",defaultMessage:"Search"}),trackedEvent:"didSearch"}),_n&&!sa&&(0,i.jsx)(GS,{displayedFilters:[...Li,..._o].sort((Ea,Oa)=>Gi.compare(Ea.metadatas.label,Oa.metadatas.label))})]})}),(0,i.jsx)(J.S,{children:E?(0,i.jsxs)(v.C,{gap:4,direction:"column",alignItems:"stretch",children:[(0,i.jsxs)(a.oJ.Root,{rows:Te,isLoading:Ee,colCount:Qd,children:[(0,i.jsx)(a.oJ.ActionBar,{children:(0,i.jsx)(b_,{showPublish:S&&ss,showDelete:f,onConfirmDeleteAll:La,onConfirmUnpublishAll:b0,refetchData:$o})}),(0,i.jsxs)(a.oJ.Content,{children:[(0,i.jsxs)(a.oJ.Head,{children:[(0,i.jsx)(a.oJ.HeaderCheckboxCell,{}),ed.map(({fieldSchema:Ea,key:Oa,name:Ga,metadatas:nc})=>(0,i.jsx)(a.oJ.HeaderCell,{name:Ga,fieldSchemaType:Ea.type,relationFieldName:nc.mainField?.name,isSortable:nc.sortable,label:nc.label},Oa)),(0,i.jsx)(a.oJ.HeaderHiddenActionsCell,{})]}),(0,i.jsx)(a.oJ.LoadingBody,{}),(0,i.jsx)(a.oJ.EmptyBody,{contentType:G0,action:u?(0,i.jsx)(My,{variant:"secondary",hasDraftAndPublish:ss,params:oi.plugins?Hi:""}):null}),(0,i.jsx)(NS,{entryId:C0,onClose:()=>Yd(null),prohibitedFields:gl,pluginQueryParams:Hi}),(0,i.jsx)(FE.Root,{onConfirmDelete:zl,isConfirmDeleteRowOpen:Gn,setIsConfirmDeleteRowOpen:Vn,children:Te.map((Ea,Oa)=>(0,i.jsxs)(Jn.Tr,{cursor:"pointer",onClick:cc(Ea.id),children:[(0,i.jsx)(nn.Td,{children:(0,i.jsx)(FE.CheckboxDataCell,{rowId:Ea.id,index:Oa})}),ed.map(({key:Ga,name:nc,cellFormatter:so,...No})=>{if(ss&&nc==="publishedAt")return(0,i.jsx)(nn.Td,{children:(0,i.jsx)(Pe,{width:"min-content",showBullet:!1,variant:Ea.publishedAt?"success":"secondary",size:"S",children:(0,i.jsx)(R.O,{fontWeight:"bold",textColor:`${Ea.publishedAt?"success":"secondary"}700`,children:Zr({id:Ai(`containers.List.${Ea.publishedAt?"published":"draft"}`),defaultMessage:Ea.publishedAt?"Published":"Draft"})})})},Ga);if(_i){if(nc==="strapi_stage")return(0,i.jsx)(nn.Td,{children:Ea.strapi_stage?(0,i.jsx)($a.ReviewWorkflowsStageEE,{color:Ea.strapi_stage.color??Cn.g.colors.primary600,name:Ea.strapi_stage.name}):(0,i.jsx)(R.O,{textColor:"neutral800",children:"-"})},Ga);if(nc==="strapi_assignee")return(0,i.jsx)(nn.Td,{children:Ea.strapi_assignee?(0,i.jsx)($a.ReviewWorkflowsAssigneeEE,{user:Ea.strapi_assignee}):(0,i.jsx)(R.O,{textColor:"neutral800",children:"-"})},Ga)}return["createdBy","updatedBy"].includes(nc.split(".")[0])?(0,i.jsx)(nn.Td,{children:(0,i.jsx)(R.O,{textColor:"neutral800",children:Ea[nc.split(".")[0]]?Ag(Ea[nc.split(".")[0]],Zr):"-"})},Ga):typeof so=="function"?(0,i.jsx)(nn.Td,{children:so(Ea,{key:Ga,name:nc,...No})},Ga):(0,i.jsx)(nn.Td,{children:(0,i.jsx)(tT,{content:Ea[nc.split(".")[0]],name:nc,contentType:w.contentType,rowId:Ea.id,...No})},Ga)}),(f||S)&&ze&&(0,i.jsx)(nn.Td,{children:(0,i.jsx)(FE.EntityActionsDataCell,{rowId:Ea.id,index:Oa,setIsConfirmDeleteRowOpen:Vn,canCreate:u,canDelete:f,handleCloneClick:Gh})})]},Ea.id))})]})]}),(0,i.jsxs)(v.C,{alignItems:"flex-end",justifyContent:"space-between",children:[(0,i.jsx)(a.A7,{trackedEvent:"willChangeNumberOfEntriesPerPage"}),(0,i.jsx)(a.cZ,{pagination:{pageCount:se?.pageCount||1}})]})]}):(0,i.jsx)(a.o5,{})})]}):null},My=({hasDraftAndPublish:u=!1,params:f="",variant:E})=>{const{formatMessage:S}=(0,At.c)(),{trackUsage:w}=(0,a.m4)(),{pathname:q}=(0,Ct.IT)();return(0,i.jsx)(O.Z,{variant:E,forwardedAs:tn.cH,onClick:()=>{w("willCreateEntry",u?{status:"draft"}:{})},startIcon:(0,i.jsx)(fo.c,{}),style:{textDecoration:"none"},to:{pathname:`${q}/create`,search:f},children:S({id:Ai("HeaderLayout.button.label-add-entry"),defaultMessage:"Create new entry"})})},gT=({permissions:u,...f})=>{const E=ge.useMemo(()=>hy(f.slug),[f.slug]),{isLoading:S,allowedActions:w}=(0,a.aU)(E,u??[]);return S?(0,i.jsx)(a.Wm,{}):(0,i.jsx)(mT,{...f,...w})},vT=({layout:u,...f})=>{const E=gf(),{replace:S}=(0,Ct.Uz)(),[{query:w,rawQuery:q}]=(0,a.WK)(),{permissions:ne,isValid:se}=Kv(w,f.slug,"listView"),Ee=yE(f.slug);return ge.useEffect(()=>{q||S(Ee)},[q,S,Ee]),ge.useEffect(()=>{E(CT(u))},[E,u]),ge.useEffect(()=>()=>{E(bT())},[E]),se?(0,i.jsx)(gT,{...f,layout:u,permissions:ne}):null},Ny="ContentManager/ListView/GET_DATA",Py="ContentManager/ListView/GET_DATA_SUCCEEDED",Ly="ContentManager/ListView/RESET_PROPS",By="ContentManager/ListView/ON_CHANGE_LIST_HEADERS ",Fy="ContentManager/ListView/ON_RESET_LIST_HEADERS ",ky="ContentManager/ListView/SET_LIST_LAYOUT ",C_={data:[],isLoading:!0,components:{},contentType:null,initialDisplayedHeaders:[],displayedHeaders:[],pagination:{page:0,pageCount:0,pageSize:0,total:0}},ET=()=>({type:Ny}),_T=(u,f)=>({type:Py,pagination:u,data:f}),yT=()=>({type:Fy});function bT(){return{type:Ly}}const CT=({components:u,contentType:f})=>({contentType:f,components:u,displayedHeaders:f.layouts.list,type:ky}),ST=u=>({type:By,target:u}),TT=(u=C_,f)=>(0,zo.cp)(u,E=>{switch(f.type){case Ny:return{...C_,contentType:u.contentType,components:u.components,initialDisplayedHeaders:u.initialDisplayedHeaders,displayedHeaders:u.displayedHeaders};case Py:{E.pagination=f.pagination,E.data=f.data,E.isLoading=!1;break}case By:{const{target:{name:S,value:w}}=f;if(!w&&u.contentType){const{metadatas:q,attributes:ne,uid:se}=u.contentType,Ee=q[S].list,Te={name:S,fieldSchema:ne[S],metadatas:Ee,key:`__${S}_key__`},Me=ne[S];switch(Me.type){case"component":{const nt=Me.component,ht=u.components[nt]?.settings.mainField??null,Bt=u.components[nt]?.attributes[ht];E.displayedHeaders.push({...Te,metadatas:{...Ee,mainField:{...Bt,name:ht}}});break}case"relation":E.displayedHeaders.push({...Te,queryInfos:{defaultParams:{},endPoint:`collection-types/${se}`}});break;default:E.displayedHeaders.push(Te)}}else{const q=u.displayedHeaders.findIndex(ne=>ne.name===S);E.displayedHeaders.splice(q,1)}break}case Fy:{E.displayedHeaders=u.initialDisplayedHeaders;break}case Ly:return C_;case ky:{const{contentType:S,components:w,displayedHeaders:q}=f;E.contentType=S,E.components=w,E.displayedHeaders=q,E.initialDisplayedHeaders=q;break}default:return E}}),DT=u=>{const{match:{params:{collectionType:f,slug:E},path:S}}=u,w=Vu(nt=>nt.admin_app.permissions),{isLoading:q,layout:ne,updateLayout:se}=$_(E),{rawContentTypeLayout:Ee,rawComponentsLayouts:Te}=ge.useMemo(()=>{let nt=null,ht=null;return ne?.contentType&&(nt=gg(ne.contentType)),ne?.components&&(ht=Object.keys(ne.components).reduce((Bt,Ft)=>(Bt[Ft]=gg(ne.components[Ft]),Bt),{})),{rawContentTypeLayout:nt,rawComponentsLayouts:ht}},[ne]);if(f!=="collection-types"&&f!=="single-types")return(0,i.jsx)(A4,{});if(q||!ne)return(0,i.jsx)(a.Wm,{});const Me=S;return(0,i.jsxs)(Ct.Wk,{children:[(0,i.jsx)(Ct.kX,{path:Me,exact:!0,render:nt=>f==="collection-types"?(0,i.jsx)(vT,{slug:E,layout:ne}):(0,i.jsx)(m_,{layout:ne,...nt})}),(0,i.jsx)(Ct.kX,{exact:!0,path:`${Me}/configurations/edit`,children:(0,i.jsx)(a.rF,{permissions:w.contentManager?.collectionTypesConfigurations,children:(0,i.jsx)(N4,{components:Te,isContentTypeView:!0,mainLayout:Ee,slug:E,updateLayout:se})})}),f==="collection-types"?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Ct.kX,{path:`${Me}/configurations/list`,children:(0,i.jsx)(a.rF,{permissions:w.contentManager?.collectionTypesConfigurations,children:(0,i.jsx)(Ty,{layout:Ee,slug:E,updateLayout:se})})}),(0,i.jsx)(Ct.kX,{path:`${Me}/create/clone/:origin`,exact:!0,render:nt=>(0,i.jsx)(m_,{layout:ne,...nt})}),(0,i.jsx)(Ct.kX,{path:[`${Me}/create`,`${Me}/:id`],exact:!0,render:nt=>(0,i.jsx)(m_,{layout:ne,...nt})})]}):null]})},S_={componentsDataStructure:{},contentTypeDataStructure:{},isLoading:!0,data:null,status:"resolved",setModifiedDataOnly:!1},Uy=(u=S_,f)=>(0,zo.cp)(u,E=>{switch(f.type){case CE:{E.isLoading=!0,E.data=null;break}case B3:{E.isLoading=!1,E.data=f.data,E.setModifiedDataOnly=f.setModifiedDataOnly??!1;break}case SE:{if(f.data){E.isLoading=!1,E.data=f.data;break}E.isLoading=!1,E.data=u.contentTypeDataStructure;break}case F3:return S_;case TE:{E.componentsDataStructure=f.componentsDataStructure,E.contentTypeDataStructure=f.contentTypeDataStructure;break}case DE:{E.status=f.status;break}case r_:{E.data=f.data;break}case AE:{E.setModifiedDataOnly=!1;break}default:return E}}),AT=()=>{const[{isLoading:u,data:f},E]=ge.useReducer(Uy,S_),S=Vu(kE),w=Vu(se=>se.admin_app.permissions),{uid:q}=(0,Ct.W4)(),{get:ne}=(0,a.Qn)();return ge.useEffect(()=>{const Ee=Ue.default.CancelToken.source();return(async Me=>{try{E(Cg());const{data:{data:nt}}=await ne(`/content-manager/components/${q}/configuration`,{cancelToken:Me.token});E(k3(O3(nt,S,"component")))}catch(nt){if(Ue.default.isCancel(nt))return;console.error(nt)}})(Ee),()=>{Ee.cancel("Operation canceled by the user.")}},[q,S,ne]),u||!f?(0,i.jsx)(a.Wm,{}):(0,i.jsx)(a.rF,{permissions:w.contentManager?.componentsConfigurations,children:(0,i.jsx)(N4,{components:f.components,mainLayout:f.component,slug:q})})},xT=()=>{const{formatMessage:u}=(0,At.c)();return(0,a.G0)(),(0,i.jsxs)(A.G,{children:[(0,i.jsx)(Z.a,{title:u({id:Ai("header.name"),defaultMessage:"Content"})}),(0,i.jsx)(J.S,{children:(0,i.jsx)(ee.S,{action:(0,i.jsx)(rs.E,{as:tn.Af,variant:"secondary",startIcon:(0,i.jsx)(fo.c,{}),to:"/plugins/content-type-builder/content-types/create-content-type",children:u({id:"app.components.HomePage.create",defaultMessage:"Create your first Content-type"})}),content:u({id:"content-manager.pages.NoContentType.text",defaultMessage:"You don't have any content yet, we recommend you to create your first Content-Type."}),hasRadius:!0,icon:(0,i.jsx)(Pc.c,{width:"10rem"}),shadow:"tableShadow"})})]})},OT=()=>{const{formatMessage:u}=(0,At.c)();return(0,a.G0)(),(0,i.jsxs)(A.G,{children:[(0,i.jsx)(Z.a,{title:u({id:Ai("header.name"),defaultMessage:"Content"})}),(0,i.jsx)(J.S,{children:(0,i.jsx)(a.o5,{})})]})},RT=()=>{const u=(0,Ct.SU)("/content-manager/:kind/:uid"),{status:f,collectionTypeLinks:E,singleTypeLinks:S,models:w,refetchData:q}=H1(),ne=[...E,...S].sort((Bt,Ft)=>Bt.title.localeCompare(Ft.title)),{pathname:se}=(0,Ct.IT)(),{formatMessage:Ee}=(0,At.c)(),{startSection:Te}=(0,a.sg)(),Me=ge.useRef(Te),nt=Vu(Bt=>Bt.admin_app.permissions);if(ge.useEffect(()=>{Me.current&&Me.current("contentManager")},[]),f==="loading")return(0,i.jsxs)(A.G,{"aria-busy":"true",children:[(0,i.jsx)(Nt.S,{title:Ee({id:Ai("plugin.name"),defaultMessage:"Content Manager"})}),(0,i.jsx)(Z.a,{title:Ee({id:Ai("header.name"),defaultMessage:"Content"})}),(0,i.jsx)(a.Wm,{})]});const ht=w.filter(({isDisplayed:Bt})=>Bt);return ne.length===0&&ht.length>0&&se!=="/content-manager/403"?(0,i.jsx)(Ct.YJ,{to:"/content-manager/403"}):ht.length===0&&se!=="/content-manager/no-content-types"?(0,i.jsx)(Ct.YJ,{to:"/content-manager/no-content-types"}):!u&&ne.length>0?(0,i.jsx)(Ct.YJ,{to:{pathname:ne[0].to,search:ne[0].search??""}}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Nt.S,{title:Ee({id:Ai("plugin.name"),defaultMessage:"Content Manager"})}),(0,i.jsxs)(cr._,{sideNav:(0,i.jsx)(A3,{}),children:[(0,i.jsx)(b3,{renderItem:wT}),(0,i.jsx)(x3.Provider,{value:{refetchData:q},children:(0,i.jsxs)(Ct.Wk,{children:[(0,i.jsx)(Ct.kX,{path:"/content-manager/components/:uid/configurations/edit",children:(0,i.jsx)(a.rF,{permissions:nt.contentManager?.componentsConfigurations,children:(0,i.jsx)(AT,{})})}),(0,i.jsx)(Ct.YJ,{from:"/content-manager/collectionType/:slug",to:"/content-manager/collection-types/:slug"}),(0,i.jsx)(Ct.YJ,{from:"/content-manager/singleType/:slug",to:"/content-manager/single-types/:slug"}),(0,i.jsx)(Ct.kX,{path:"/content-manager/:collectionType/:slug",component:DT}),(0,i.jsx)(Ct.kX,{path:"/content-manager/403",children:(0,i.jsx)(OT,{})}),(0,i.jsx)(Ct.kX,{path:"/content-manager/no-content-types",children:(0,i.jsx)(xT,{})}),(0,i.jsx)(Ct.kX,{path:"",component:a.wF})]})})]})]})};function wT({type:u,item:f}){if(!u||u&&typeof u!="string")return null;const[E]=u.split("_");switch(E){case Ef.EDIT_FIELD:case Ef.FIELD:return(0,i.jsx)(dg,{labelField:f.labelField});case Ef.COMPONENT:case Ef.DYNAMIC_ZONE:return(0,i.jsx)(bm,{displayedValue:f.displayedValue});case Ef.RELATION:return(0,i.jsx)(mg,{displayedValue:f.displayedValue,status:f.status,width:f.width});default:return null}}const IT="ContentManager/App/GET_INIT_DATA",MT="ContentManager/App/RESET_INIT_DATA",NT="ContentManager/App/SET_INIT_DATA",jy={collectionTypeLinks:[],components:[],fieldSizes:{},models:[],singleTypeLinks:[],status:"loading"},kE=(0,jr.M3)(u=>u["content-manager_app"],({components:u,models:f})=>[...u,...f]),$y=(u=jy,f)=>(0,zo.cp)(u,E=>{switch(f.type){case IT:{E.status="loading";break}case MT:return jy;case NT:{E.collectionTypeLinks=f.data.authorizedCollectionTypeLinks.filter(({isDisplayed:S})=>S),E.singleTypeLinks=f.data.authorizedSingleTypeLinks.filter(({isDisplayed:S})=>S),E.components=f.data.components,E.models=f.data.contentTypeSchemas,E.fieldSizes=f.data.fieldSizes,E.status="resolved";break}default:return E}}),PT=Object.freeze(Object.defineProperty({__proto__:null,App:RT,reducer:$y,selectSchemas:kE},Symbol.toStringTag,{value:"Module"})),LT={[cp.reducerPath]:cp.reducer,admin_app:XE,rbacProvider:N_,"content-manager_app":$y,"content-manager_listView":TT,"content-manager_rbacManager":N1,"content-manager_editViewLayoutManager":pS,"content-manager_editViewCrudReducer":Uy},BT=u=>f=>(...E)=>{const S=f(...E),w={};return{...S,asyncReducers:w,injectReducer:(q,ne)=>{w[q]=ne,S.replaceReducer((0,$r.TL)({...u,...w}))}}},FT=(u={},f=[],E={})=>{const S={...LT,...E},w={};return(0,vr.eS)({preloadedState:{admin_app:u.admin_app},reducer:S,devTools:!1,middleware:ne=>[...ne(w),cp.middleware,...f.map(se=>se())],enhancers:[BT(S)]})},Wy=()=>"/admin".replace(window.location.origin,""),kT=()=>{const u=[];return{register(f){u.push(f)},delete(f){u.splice(u.indexOf(f),1)},runWaterfall(f,E){return u.reduce((S,w)=>w(S,E),f)},async runWaterfallAsync(f,E){let S=f;for(const w of u)S=await w(S,E);return S},runSeries(...f){return u.map(E=>E(...f))},async runSeriesAsync(...f){const E=[];for(const S of u)E.push(await S(...f));return E},runParallel(...f){return Promise.all(u.map(E=>E(...f)))}}},UT={ar:"\u0627\u0644\u0639\u0631\u0628\u064A\u0629",ca:"Catal\xE0",cs:"\u010Ce\u0161tina",de:"Deutsch",dk:"Dansk",en:"English",es:"Espa\xF1ol",eu:"Euskara",fr:"Fran\xE7ais",gu:"Gujarati",he:"\u05E2\u05D1\u05E8\u05D9\u05EA",hu:"Magyar",id:"Indonesian",it:"Italiano",ja:"\u65E5\u672C\u8A9E",ko:"\uD55C\uAD6D\uC5B4",ml:"Malayalam",ms:"Melayu",nl:"Nederlands",no:"Norwegian",pl:"Polski","pt-BR":"Portugu\xEAs (Brasil)",pt:"Portugu\xEAs (Portugal)",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",sk:"Sloven\u010Dina",sv:"Swedish",th:"\u0E44\u0E17\u0E22",tr:"T\xFCrk\xE7e",uk:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",vi:"Ti\u1EBFng Vi\u1EC7t","zh-Hans":"\u4E2D\u6587 (\u7B80\u4F53)",zh:"\u4E2D\u6587 (\u7E41\u9AD4)",sa:"\u0938\u0902\u0938\u094D\u0915\u0943\u0924",hi:"\u0939\u093F\u0928\u094D\u0926\u0940"},{INJECT_COLUMN_IN_TABLE:jT,MUTATE_COLLECTION_TYPES_LINKS:$T,MUTATE_EDIT_VIEW_LAYOUT:WT,MUTATE_SINGLE_TYPES_LINKS:HT}=Fp;class GT{admin;appPlugins;configurations;customBootstrapConfiguration;customConfigurations;customFields;hooksDict;library;menu;middlewares;plugins;reducers;settings;translations;constructor({adminConfig:f,appPlugins:E}={}){this.customConfigurations=f?.config??{},this.customBootstrapConfiguration=f?.bootstrap,this.configurations={authLogo:_m,head:{favicon:""},locales:["en"],menuLogo:_m,notifications:{releases:!0},themes:{light:Cn.g,dark:Et},translations:{},tutorials:!0},this.appPlugins=E||{},this.library={components:new v3,fields:new ym},this.middlewares=new R1,this.plugins={},this.reducers=new _3,this.translations={},this.hooksDict={},this.admin={injectionZones:$v},this.customFields=new O1,this.menu=[],this.settings={global:{id:"global",intlLabel:{id:"Settings.global",defaultMessage:"Global Settings"},links:[]}}}addComponents=f=>{Array.isArray(f)?f.map(E=>this.library.components.add(E)):this.library.components.add(f)};addCorePluginMenuLink=f=>{const E=JSON.stringify(f);xe(f.to,`link.to should be defined for ${E}`),xe(typeof f.to=="string",`Expected link.to to be a string instead received ${typeof f.to}`),xe(["/plugins/content-type-builder","/plugins/upload"].includes(f.to),"This method is not available for your plugin"),xe(f.intlLabel?.id&&f.intlLabel?.defaultMessage,`link.intlLabel.id & link.intlLabel.defaultMessage for ${E}`),this.menu.push(f)};addFields=f=>{Array.isArray(f)?f.map(E=>this.library.fields.add(E)):this.library.fields.add(f)};addMenuLink=f=>{const E=JSON.stringify(f);xe(f.to,`link.to should be defined for ${E}`),xe(typeof f.to=="string",`Expected link.to to be a string instead received ${typeof f.to}`),xe(f.intlLabel?.id&&f.intlLabel?.defaultMessage,`link.intlLabel.id & link.intlLabel.defaultMessage for ${E}`),xe(f.Component&&typeof f.Component=="function","link.Component should be a valid React Component"),xe(f.icon&&typeof f.icon=="function","link.Icon should be a valid React Component"),this.menu.push(f)};addMiddlewares=f=>{f.forEach(E=>{this.middlewares.add(E)})};addReducers=f=>{Object.keys(f).forEach(E=>{this.reducers.add(E,f[E])})};addSettingsLink=(f,E)=>{xe(this.settings[f],"The section does not exist");const S=JSON.stringify(E);xe(E.id,`link.id should be defined for ${S}`),xe(E.intlLabel?.id&&E.intlLabel?.defaultMessage,`link.intlLabel.id & link.intlLabel.defaultMessage for ${S}`),xe(E.to,`link.to should be defined for ${S}`),xe(E.Component&&typeof E.Component=="function","link.Component should be a valid React Component"),this.settings[f].links.push(E)};addSettingsLinks=(f,E)=>{xe(this.settings[f],"The section does not exist"),xe(Array.isArray(E),"TypeError expected links to be an array"),E.forEach(S=>{this.addSettingsLink(f,S)})};async bootstrap(){Object.keys(this.appPlugins).forEach(f=>{const E=this.appPlugins[f].bootstrap;E&&E({addSettingsLink:this.addSettingsLink,addSettingsLinks:this.addSettingsLinks,getPlugin:this.getPlugin,injectContentManagerComponent:this.injectContentManagerComponent,injectAdminComponent:this.injectAdminComponent,registerHook:this.registerHook})}),Re(this.customBootstrapConfiguration)&&this.customBootstrapConfiguration({addComponents:this.addComponents,addFields:this.addFields,addMenuLink:this.addMenuLink,addReducers:this.addReducers,addSettingsLink:this.addSettingsLink,addSettingsLinks:this.addSettingsLinks,getPlugin:this.getPlugin,injectContentManagerComponent:this.injectContentManagerComponent,injectAdminComponent:this.injectAdminComponent,registerHook:this.registerHook})}bootstrapAdmin=async()=>(await this.createCustomConfigurations(),this.createHook(jT),this.createHook($T),this.createHook(HT),this.createHook(WT),Promise.resolve());createCustomConfigurations=async()=>{if(this.customConfigurations?.locales&&(this.configurations.locales=["en",...this.customConfigurations.locales?.filter(f=>f!=="en")||[]]),this.customConfigurations?.auth?.logo&&(this.configurations.authLogo=this.customConfigurations.auth.logo),this.customConfigurations?.menu?.logo&&(this.configurations.menuLogo=this.customConfigurations.menu.logo),this.customConfigurations?.head?.favicon&&(this.configurations.head.favicon=this.customConfigurations.head.favicon),this.customConfigurations?.theme){const f=this.customConfigurations.theme.dark,E=this.customConfigurations.theme.light;!f&&!E&&(console.warn("[deprecated] In future versions, Strapi will stop supporting this theme customization syntax. The theme configuration accepts a light and a dark key to customize each theme separately. See https://docs.strapi.io/developer-docs/latest/development/admin-customization.html#theme-extension."),We(this.configurations.themes.light,this.customConfigurations.theme)),E&&We(this.configurations.themes.light,E),f&&We(this.configurations.themes.dark,f)}this.customConfigurations?.notifications?.releases!==void 0&&(this.configurations.notifications.releases=this.customConfigurations.notifications.releases),this.customConfigurations?.tutorials!==void 0&&(this.configurations.tutorials=this.customConfigurations.tutorials)};createHook=f=>{this.hooksDict[f]=kT()};createSettingSection=(f,E)=>{xe(f.id,"section.id should be defined"),xe(f.intlLabel?.id&&f.intlLabel?.defaultMessage,"section.intlLabel should be defined"),xe(Array.isArray(E),"TypeError expected links to be an array"),xe(this.settings[f.id]===void 0,"A similar section already exists"),this.settings[f.id]={...f,links:[]},E.forEach(S=>{this.addSettingsLink(f.id,S)})};createStore=f=>FT(f,this.middlewares.middlewares,this.reducers.reducers);getAdminInjectedComponents=(f,E,S)=>{try{return this.admin.injectionZones[f][E][S]||[]}catch(w){return console.error("Cannot get injected component",w),[]}};getPlugin=f=>this.plugins[f];async initialize(){Object.keys(this.appPlugins).forEach(f=>{this.appPlugins[f].register(this)})}injectContentManagerComponent=(f,E,S)=>{xe(this.admin.injectionZones.contentManager[f]?.[E],`The ${f} ${String(E)} zone is not defined in the content manager`),xe(S,"A Component must be provided"),this.admin.injectionZones.contentManager[f][E].push(S)};injectAdminComponent=(f,E,S)=>{xe(this.admin.injectionZones.admin[f]?.[E],`The ${f} ${String(E)} zone is not defined in the admin`),xe(S,"A Component must be provided"),this.admin.injectionZones.admin[f][E].push(S)};async loadAdminTrads(){const f=this.configurations.locales.map(w=>c3(Object.assign({"./translations/ar.json":()=>e.e(7712).then(e.bind(e,77712)),"./translations/ca.json":()=>e.e(8464).then(e.bind(e,18464)),"./translations/cs.json":()=>e.e(2864).then(e.bind(e,12864)),"./translations/de.json":()=>e.e(5560).then(e.bind(e,35560)),"./translations/dk.json":()=>e.e(8704).then(e.bind(e,88704)),"./translations/en.json":()=>e.e(1648).then(e.bind(e,21648)),"./translations/es.json":()=>e.e(9504).then(e.bind(e,37124)),"./translations/eu.json":()=>e.e(2800).then(e.bind(e,2800)),"./translations/fr.json":()=>e.e(3988).then(e.bind(e,53988)),"./translations/gu.json":()=>e.e(5284).then(e.bind(e,5284)),"./translations/he.json":()=>e.e(7304).then(e.bind(e,67304)),"./translations/hi.json":()=>e.e(7180).then(e.bind(e,17180)),"./translations/hu.json":()=>e.e(2784).then(e.bind(e,12784)),"./translations/id.json":()=>e.e(2300).then(e.bind(e,12300)),"./translations/it.json":()=>e.e(288).then(e.bind(e,90288)),"./translations/ja.json":()=>e.e(8635).then(e.bind(e,8635)),"./translations/ko.json":()=>e.e(8796).then(e.bind(e,48796)),"./translations/ml.json":()=>e.e(1592).then(e.bind(e,41592)),"./translations/ms.json":()=>e.e(4244).then(e.bind(e,76624)),"./translations/nl.json":()=>e.e(448).then(e.bind(e,50448)),"./translations/no.json":()=>e.e(2340).then(e.bind(e,2340)),"./translations/pl.json":()=>e.e(508).then(e.bind(e,10508)),"./translations/pt-BR.json":()=>e.e(9028).then(e.bind(e,59028)),"./translations/pt.json":()=>e.e(2104).then(e.bind(e,72104)),"./translations/ru.json":()=>e.e(4392).then(e.bind(e,94392)),"./translations/sa.json":()=>e.e(5580).then(e.bind(e,45580)),"./translations/sk.json":()=>e.e(6472).then(e.bind(e,86472)),"./translations/sv.json":()=>e.e(4160).then(e.bind(e,34160)),"./translations/th.json":()=>e.e(837).then(e.bind(e,10837)),"./translations/tr.json":()=>e.e(8100).then(e.bind(e,68100)),"./translations/uk.json":()=>e.e(2101).then(e.bind(e,12101)),"./translations/vi.json":()=>e.e(8432).then(e.bind(e,48432)),"./translations/zh-Hans.json":()=>e.e(1928).then(e.bind(e,11928)),"./translations/zh.json":()=>e.e(8285).then(e.bind(e,28285))}),`./translations/${w}.json`).then(({default:q})=>({data:q,locale:w})).catch(()=>({data:null,locale:w})));return(await Promise.all(f)).reduce((w,q)=>(q.data&&(w[q.locale]=q.data),w),{})}async loadTrads(){const f=await this.loadAdminTrads(),E=Object.keys(this.appPlugins).map(ne=>{const se=this.appPlugins[ne].registerTrads;return se?se({locales:this.configurations.locales}):null}).filter(ne=>ne),w=(await Promise.all(E)).reduce((ne,se)=>{const Ee=se.reduce((Te,Me)=>(Te[Me.locale]=Me.data,Te),{});return Object.keys(Ee).forEach(Te=>{ne[Te]={...ne[Te],...Ee[Te]}}),ne},{}),q=this.configurations.locales.reduce((ne,se)=>(ne[se]={...f[se],...w[se]||{},...this.customConfigurations?.translations?.[se]??{}},ne),{});return this.configurations.translations=q,Promise.resolve()}registerHook=(f,E)=>{xe(this.hooksDict[f],`The hook ${f} is not defined. You are trying to register a hook that does not exist in the application.`),this.hooksDict[f].register(E)};registerPlugin=f=>{const E=new Up(f);this.plugins[E.pluginId]=E};runHookSeries=(f,E=!1)=>E?this.hooksDict[f].runSeriesAsync():this.hooksDict[f].runSeries();runHookWaterfall=(f,E,S=!1,w)=>S?this.hooksDict[f].runWaterfallAsync(E,w):this.hooksDict[f].runWaterfall(E,w);runHookParallel=f=>this.hooksDict[f].runParallel();render(){const f=gt(UT,this.configurations.locales||[]),E=localStorage.getItem(d3)||"en",S=this.createStore({admin_app:{permissions:{},theme:{availableThemes:[],currentTheme:localStorage.getItem(ng)||"system"},language:{locale:f[E]?E:"en",localeNames:f}}}),{components:{components:w},fields:{fields:q}}=this.library;return(0,i.jsx)(tn.kn,{basename:Wy(),children:(0,i.jsxs)(A1,{components:w,fields:q,customFields:this.customFields,localeNames:f,getAdminInjectedComponents:this.getAdminInjectedComponents,getPlugin:this.getPlugin,messages:this.configurations.translations,menu:this.menu,plugins:this.plugins,runHookParallel:this.runHookParallel,runHookWaterfall:(ne,se,Ee=!1)=>this.runHookWaterfall(ne,se,Ee,S),runHookSeries:this.runHookSeries,themes:this.configurations.themes,settings:this.settings,store:S,children:[(0,i.jsx)(Nt.S,{htmlAttributes:{lang:localStorage.getItem(d3)||"en"}}),(0,i.jsx)(jv,{authLogo:this.configurations.authLogo,menuLogo:this.configurations.menuLogo,showTutorials:this.configurations.tutorials,showReleaseNotification:this.configurations.notifications.releases})]})})}}const zT=async(u,{plugins:f,customisations:E,features:S})=>{if(!u)throw new Error("[@strapi/admin]: Could not find the root element to mount the admin app");window.strapi={backendURL:"https://api.datawavesystems.co.ke",isEE:!1,telemetryDisabled:!1,future:{isEnabled:ne=>S?.future?.[ne]===!0},features:{SSO:"sso",AUDIT_LOGS:"audit-logs",REVIEW_WORKFLOWS:"review-workflows",isEnabled:()=>!1},projectType:"Community",flags:{nps:!1,promoteEE:!0}};const{get:w}=(0,a.YF)();try{const{data:{data:{isEE:ne,features:se,flags:Ee}}}=await w("/admin/project-type");window.strapi.isEE=ne,window.strapi.flags=Ee,window.strapi.features={...window.strapi.features,isEnabled:Te=>se.some(Me=>Me.name===Te)},window.strapi.projectType=ne?"Enterprise":"Community"}catch(ne){console.error(ne)}const q=new GT({adminConfig:E,appPlugins:f});await q.bootstrapAdmin(),await q.initialize(),await q.bootstrap(),await q.loadTrads(),(0,l.C)(u).render(q.render()),typeof module<"u"&&module&&"hot"in module&&typeof module.hot=="object"&&module.hot!==null&&"accept"in module.hot&&typeof module.hot.accept=="function"&&module.hot.accept()};function VT(){return{validate:(f,{contentType:E,components:S,isCreatingEntry:w=!1})=>{const q=Dg(E,{components:S},{isCreatingEntry:w,isDraft:!1,isJSONTestDisabled:!0});try{return q.validateSync(f,{abortEarly:!1}),{errors:{}}}catch(ne){if(ne instanceof Ts.$D)return{errors:(0,a.CK)(ne)};throw ne}}}}function KT({enabled:u}={enabled:!0}){const{data:f,isError:E,isLoading:S}=xv(void 0,{skip:!u}),w=ge.useCallback(q=>{const ne=f?.data?.features.find(se=>se.name===q);return ne&&"options"in ne?ne.options:{}},[f]);return{license:f?.data,getFeature:w,isError:E,isLoading:S}}},96612:(U,C,e)=>{"use strict";e.d(C,{MH:()=>i.Y,m_:()=>i._,wV:()=>i.m});var i=e(23792),a=e(19968),l=e(95840),c=e(54320),v=e(5240),_=e(91892),T=e(36196),A=e(20880),R=e(21424),P=e(62552),M=e(70516),O=e(31812),N=e(18424),B=e(52540),j=e(21968),z=e(12132),W=e(48632),X=e(85676),Q=e(35184),K=e(99568),Y=e(96556),Z=e(13192),J=e(30840),ee=e(77784),re=e(79371),me=e(67888),fe=e(52600),le=e(95752),Ve=e(37388),Ze=e(61840),Ce=e(49108),ye=e(44632),Ae=e(50840),Fe=e(20252),Qe=e(86432),ce=e(22612),Ge=e(24808),Pe=e(24024),pe=e(40960),Se=e(33656),_e=e(43280),Ne=e(79804),Le=e(19632),Ke=e(29576),bt=e(61152),yt=e(9589),It=e(45488),_t=e(75516)},6420:(U,C,e)=>{"use strict";e.d(C,{P:()=>Ge,R:()=>an,a:()=>yt,b:()=>Ke,c:()=>_t,d:()=>Xt,e:()=>Vt,f:()=>sn,g:()=>jt,h:()=>bt,i:()=>Se,j:()=>zt,k:()=>or,l:()=>xe,p:()=>Pe,r:()=>_e,u:()=>Ne});var i=e(95840),a=e(39716),l=e(89940),c=e(67636),v=e(48636),_=e(90152),T=e(19968),A=e(62552),R=e(70188),P=e(23264),M=e(48936),O=e(55716),N=e(63358),B=e(95080),j=e(33128),z=e(35480),W=e(79672),X=e(11208),Q=e(2931),K=e(25824),Y=e(5e3),Z=e(56104),J=e(3548),ee=e(35676),re=e(58756),me=e(5540),fe=e(26272),le=e(78164),Ve=e(31812),Ze=e(14632),Ce=e(39380),ye=e(52540),Ae=e(87108),Fe=e(3704),Qe=e(70516);const ce=(Re,We)=>{const gt=Re[We];return gt?typeof gt=="function"?gt():Promise.resolve(gt):new Promise((Nt,Ct)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(Ct.bind(null,new Error("Unknown variable dynamic import: "+We)))})},Ge={main:[{action:"plugin::content-releases.read",subject:null,id:"",actionParameters:{},properties:{},conditions:[]}],create:[{action:"plugin::content-releases.create",subject:null,id:"",actionParameters:{},properties:{},conditions:[]}],update:[{action:"plugin::content-releases.update",subject:null,id:"",actionParameters:{},properties:{},conditions:[]}],delete:[{action:"plugin::content-releases.delete",subject:null,id:"",actionParameters:{},properties:{},conditions:[]}],createAction:[{action:"plugin::content-releases.create-action",subject:null,id:"",actionParameters:{},properties:{},conditions:[]}],deleteAction:[{action:"plugin::content-releases.delete-action",subject:null,id:"",actionParameters:{},properties:{},conditions:[]}],publish:[{action:"plugin::content-releases.publish",subject:null,id:"",actionParameters:{},properties:{},conditions:[]}]},Pe="content-releases",pe=async({url:Re,method:We,data:gt,config:Nt})=>{try{const{get:Ct,post:tn,del:ge,put:At}=(0,i.YF)();return We==="POST"?{data:(await tn(Re,gt,Nt)).data}:We==="DELETE"?{data:(await ge(Re,Nt)).data}:We==="PUT"?{data:(await At(Re,gt,Nt)).data}:{data:(await Ct(Re,Nt)).data}}catch(Ct){const tn=Ct;return{error:{status:tn.response?.status,code:tn.code,response:{data:tn.response?.data}}}}},Se=Re=>typeof Re=="object"&&Re!==null&&"response"in Re&&typeof Re.response=="object"&&Re.response!==null&&"data"in Re.response,_e=(0,Ae.KS)({reducerPath:Pe,baseQuery:pe,tagTypes:["Release","ReleaseAction"],endpoints:Re=>({getReleasesForEntry:Re.query({query(We){return{url:"/content-releases",method:"GET",config:{params:We}}},providesTags:We=>We?[...We.data.map(({id:gt})=>({type:"Release",id:gt})),{type:"Release",id:"LIST"}]:[]}),getReleases:Re.query({query({page:We,pageSize:gt,filters:Nt}={page:1,pageSize:16,filters:{releasedAt:{$notNull:!1}}}){return{url:"/content-releases",method:"GET",config:{params:{page:We||1,pageSize:gt||16,filters:Nt||{releasedAt:{$notNull:!1}}}}}},transformResponse(We,gt,Nt){const tn=Nt?.filters?.releasedAt?.$notNull==="true";return{...We,meta:{...We.meta,activeTab:tn?"done":"pending"}}},providesTags:We=>We?[...We.data.map(({id:gt})=>({type:"Release",id:gt})),{type:"Release",id:"LIST"}]:[{type:"Release",id:"LIST"}]}),getRelease:Re.query({query({id:We}){return{url:`/content-releases/${We}`,method:"GET"}},providesTags:(We,gt,Nt)=>[{type:"Release",id:Nt.id}]}),getReleaseActions:Re.query({query({releaseId:We,...gt}){return{url:`/content-releases/${We}/actions`,method:"GET",config:{params:gt}}},providesTags:[{type:"ReleaseAction",id:"LIST"}]}),createRelease:Re.mutation({query(We){return{url:"/content-releases",method:"POST",data:We}},invalidatesTags:[{type:"Release",id:"LIST"}]}),updateRelease:Re.mutation({query({id:We,...gt}){return{url:`/content-releases/${We}`,method:"PUT",data:gt}},invalidatesTags:(We,gt,Nt)=>[{type:"Release",id:Nt.id}]}),createReleaseAction:Re.mutation({query({body:We,params:gt}){return{url:`/content-releases/${gt.releaseId}/actions`,method:"POST",data:We}},invalidatesTags:[{type:"Release",id:"LIST"},{type:"ReleaseAction",id:"LIST"}]}),updateReleaseAction:Re.mutation({query({body:We,params:gt}){return{url:`/content-releases/${gt.releaseId}/actions/${gt.actionId}`,method:"PUT",data:We}},invalidatesTags:()=>[{type:"ReleaseAction",id:"LIST"}],async onQueryStarted({body:We,params:gt,query:Nt,actionPath:Ct},{dispatch:tn,queryFulfilled:ge}){const At={releaseId:gt.releaseId,...Nt},mn=tn(_e.util.updateQueryData("getReleaseActions",At,xn=>{const[Un,gr]=Ct,Ur=xn.data[Un][gr];Ur&&(Ur.type=We.type)}));try{await ge}catch{mn.undo()}}}),deleteReleaseAction:Re.mutation({query({params:We}){return{url:`/content-releases/${We.releaseId}/actions/${We.actionId}`,method:"DELETE"}},invalidatesTags:[{type:"Release",id:"LIST"},{type:"ReleaseAction",id:"LIST"}]}),publishRelease:Re.mutation({query({id:We}){return{url:`/content-releases/${We}/publish`,method:"POST"}},invalidatesTags:(We,gt,Nt)=>[{type:"Release",id:Nt.id}]}),deleteRelease:Re.mutation({query({id:We}){return{url:`/content-releases/${We}`,method:"DELETE"}},invalidatesTags:(We,gt,Nt)=>[{type:"Release",id:Nt.id}]})})}),{useGetReleasesQuery:Ne,useGetReleasesForEntryQuery:Le,useGetReleaseQuery:Ke,useGetReleaseActionsQuery:bt,useCreateReleaseMutation:yt,useCreateReleaseActionMutation:It,useUpdateReleaseMutation:_t,useUpdateReleaseActionMutation:zt,usePublishReleaseMutation:Vt,useDeleteReleaseActionMutation:St,useDeleteReleaseMutation:Xt}=_e,jt=(Re,We)=>{try{const gt=new Intl.DateTimeFormat("en",{timeZone:Re,timeZoneName:"longOffset"}).formatToParts(We).find(tn=>tn.type==="timeZoneName");let Ct=(gt?gt.value:"").replace("GMT","UTC");return!Ct.includes("+")&&!Ct.includes("-")&&(Ct=`${Ct}+00:00`),Ct}catch{return""}},sn=Qe.OY,dt=Qe.w1,Ln=(0,Fe.cp)(re.iY)`
  &:hover {
    background: ${({theme:Re,variant:We="neutral"})=>Re.colors[`${We}100`]};

    svg {
      path {
        fill: ${({theme:Re,variant:We="neutral"})=>Re.colors[`${We}600`]};
      }
    }

    a {
      color: ${({theme:Re})=>Re.colors.neutral800};
    }
  }

  svg {
    path {
      fill: ${({theme:Re,variant:We="neutral"})=>Re.colors[`${We}600`]};
    }
  }

  a {
    color: ${({theme:Re})=>Re.colors.neutral800};
  }

  span,
  a {
    width: 100%;
  }
`,fn=(0,Fe.cp)(P.w)`
  /* Setting this style inline with borderColor will not apply the style */
  border: ${({theme:Re})=>`1px solid ${Re.colors.neutral200}`};
`,or={Root:({children:Re,hasTriggerBorder:We=!1})=>{const{formatMessage:gt}=(0,Ze.c)();return(0,T.jsx)(i.Yj,{permissions:[...Ge.deleteAction,...Ge.update],children:(0,T.jsxs)(re.Ss,{children:[(0,T.jsx)(re.mf,{as:We?fn:P.w,paddingLeft:2,paddingRight:2,"aria-label":gt({id:"content-releases.content-manager-edit-view.release-action-menu",defaultMessage:"Release action options"}),icon:(0,T.jsx)(c.c,{})}),(0,T.jsx)(re.kP,{top:1,popoverPlacement:"bottom-end",children:Re})]})})},EditReleaseItem:({releaseId:Re})=>{const{formatMessage:We}=(0,Ze.c)();return(0,T.jsx)(Ln,{children:(0,T.jsx)(me.c,{as:Ce.Af,to:`/plugins/content-releases/${Re}`,startIcon:(0,T.jsx)(O.G,{as:l.c,width:3,height:3}),children:(0,T.jsx)(N.O,{variant:"omega",children:We({id:"content-releases.content-manager-edit-view.edit-release",defaultMessage:"Edit release"})})})})},DeleteReleaseActionItem:({releaseId:Re,actionId:We})=>{const{formatMessage:gt}=(0,Ze.c)(),Nt=(0,i.eo)(),{formatAPIError:Ct}=(0,i.An)(),[tn]=St(),ge=async()=>{const At=await tn({params:{releaseId:Re,actionId:We}});if("data"in At){Nt({type:"success",message:gt({id:"content-releases.content-manager-edit-view.remove-from-release.notification.success",defaultMessage:"Entry removed from release"})});return}"error"in At&&((0,le.y4)(At.error)?Nt({type:"warning",message:Ct(At.error)}):Nt({type:"warning",message:gt({id:"notification.error",defaultMessage:"An error occurred"})}))};return(0,T.jsx)(i.Yj,{permissions:Ge.deleteAction,children:(0,T.jsx)(Ln,{variant:"danger",onSelect:ge,children:(0,T.jsxs)(M.C,{gap:2,children:[(0,T.jsx)(O.G,{as:a.c,width:3,height:3}),(0,T.jsx)(N.O,{textColor:"danger600",variant:"omega",children:gt({id:"content-releases.content-manager-edit-view.remove-from-release",defaultMessage:"Remove from release"})})]})})})},ReleaseActionEntryLinkItem:({contentTypeUid:Re,entryId:We,locale:gt})=>{const{formatMessage:Nt}=(0,Ze.c)(),Ct=dt(At=>At.rbacProvider.collectionTypesRelatedPermissions),tn=Re?Ct[Re]?.["plugin::content-manager.explorer.update"]:[],ge=Boolean(!gt||tn?.find(At=>At.properties?.locales?.includes(gt)));return(0,T.jsx)(i.Yj,{permissions:[{action:"plugin::content-manager.explorer.update",subject:Re}],children:ge&&(0,T.jsx)(Ln,{children:(0,T.jsx)(me.c,{as:Ce.Af,to:{pathname:`/content-manager/collection-types/${Re}/${We}`,search:gt&&`?plugins[i18n][locale]=${gt}`},startIcon:(0,T.jsx)(O.G,{as:l.c,width:3,height:3}),children:(0,T.jsx)(N.O,{variant:"omega",children:Nt({id:"content-releases.content-manager-edit-view.edit-entry",defaultMessage:"Edit entry"})})})})})}},bn=Re=>Re==="publish"?1:0,Sn=Re=>Re==="publish"?0:1,Hn=(0,Fe.cp)(B.I)`
  border-top-left-radius: ${({actionType:Re,theme:We})=>We.spaces[bn(Re)]};
  border-bottom-left-radius: ${({actionType:Re,theme:We})=>We.spaces[bn(Re)]};
  border-top-right-radius: ${({actionType:Re,theme:We})=>We.spaces[Sn(Re)]};
  border-bottom-right-radius: ${({actionType:Re,theme:We})=>We.spaces[Sn(Re)]};

  > label {
    color: inherit;
    padding: ${({theme:Re})=>`${Re.spaces[2]} ${Re.spaces[3]}`};
    text-align: center;
    vertical-align: middle;
    text-transform: capitalize;
  }

  &[data-checked='true'] {
    color: ${({theme:Re,actionType:We})=>We==="publish"?Re.colors.primary700:Re.colors.danger600};
    background-color: ${({theme:Re,actionType:We})=>We==="publish"?Re.colors.primary100:Re.colors.danger100};
    border-color: ${({theme:Re,actionType:We})=>We==="publish"?Re.colors.primary700:Re.colors.danger600};
  }

  &[data-checked='false'] {
    border-left: ${({actionType:Re})=>Re==="unpublish"&&"none"};
    border-right: ${({actionType:Re})=>Re==="publish"&&"none"};
  }

  &[data-checked='false'][data-disabled='false']:hover {
    color: ${({theme:Re})=>Re.colors.neutral700};
    background-color: ${({theme:Re})=>Re.colors.neutral100};
    border-color: ${({theme:Re})=>Re.colors.neutral200};

    & > label {
      cursor: pointer;
    }
  }

  &[data-disabled='true'] {
    color: ${({theme:Re})=>Re.colors.neutral600};
    background-color: ${({theme:Re})=>Re.colors.neutral150};
    border-color: ${({theme:Re})=>Re.colors.neutral300};
  }
`,er=({selected:Re,actionType:We,handleChange:gt,name:Nt,disabled:Ct=!1})=>(0,T.jsx)(Hn,{actionType:We,background:"primary0",borderColor:"neutral200",color:Re===We?"primary600":"neutral600",position:"relative",cursor:"pointer","data-checked":Re===We,"data-disabled":Ct&&Re!==We,children:(0,T.jsxs)(j.u,{htmlFor:`${Nt}-${We}`,children:[(0,T.jsx)(z.K,{children:(0,T.jsx)(W.e,{type:"radio",id:`${Nt}-${We}`,name:Nt,checked:Re===We,onChange:gt,value:We,disabled:Ct})}),We]})}),an=({selected:Re,handleChange:We,name:gt,disabled:Nt=!1})=>(0,T.jsxs)(M.C,{children:[(0,T.jsx)(er,{actionType:"publish",selected:Re,handleChange:We,name:gt,disabled:Nt}),(0,T.jsx)(er,{actionType:"unpublish",selected:Re,handleChange:We,name:gt,disabled:Nt})]}),Cn=ye.kt().shape({type:ye.Qb().oneOf(["publish","unpublish"]).required(),releaseId:ye.Qb().required()}),de={type:"publish",releaseId:""},oe=()=>{const{formatMessage:Re}=(0,Ze.c)();return(0,T.jsx)(i.kP,{content:{id:"content-releases.content-manager-edit-view.add-to-release.no-releases-message",defaultMessage:"No available releases. Open the list of releases and create a new one from there."},action:(0,T.jsx)(fe.E,{to:{pathname:"/plugins/content-releases"},as:Ce.cH,variant:"secondary",children:Re({id:"content-releases.content-manager-edit-view.add-to-release.redirect-button",defaultMessage:"Open the list of releases"})})})},Ye=({handleClose:Re,contentTypeUid:We,entryId:gt})=>{const Nt=A.useId(),{formatMessage:Ct}=(0,Ze.c)(),tn=(0,i.eo)(),{formatAPIError:ge}=(0,i.An)(),{modifiedData:At}=(0,i.O_)(),xn=Le({contentTypeUid:We,entryId:gt,hasEntryAttached:!1}).data?.data,[Un,{isLoading:gr}]=It(),Ur=async Or=>{const ii=At.locale,Ui={contentType:We,id:gt,locale:ii},rn=await Un({body:{type:Or.type,entry:Ui},params:{releaseId:Or.releaseId}});if("data"in rn){tn({type:"success",message:Ct({id:"content-releases.content-manager-edit-view.add-to-release.notification.success",defaultMessage:"Entry added to release"})}),Re();return}"error"in rn&&((0,le.y4)(rn.error)?tn({type:"warning",message:ge(rn.error)}):tn({type:"warning",message:Ct({id:"notification.error",defaultMessage:"An error occurred"})}))};return(0,T.jsxs)(X.E,{onClose:Re,labelledBy:Nt,children:[(0,T.jsx)(Q.k,{children:(0,T.jsx)(N.O,{id:Nt,fontWeight:"bold",textColor:"neutral800",children:Ct({id:"content-releases.content-manager-edit-view.add-to-release",defaultMessage:"Add to release"})})}),(0,T.jsx)(Ve.QJ,{onSubmit:Ur,validationSchema:Cn,initialValues:de,children:({values:Or,setFieldValue:ii})=>(0,T.jsxs)(Ve.QF,{children:[xn?.length===0?(0,T.jsx)(oe,{}):(0,T.jsx)(K.a,{children:(0,T.jsxs)(M.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,T.jsx)(Y.k,{paddingBottom:6,children:(0,T.jsx)(Z.K_,{required:!0,label:Ct({id:"content-releases.content-manager-edit-view.add-to-release.select-label",defaultMessage:"Select a release"}),placeholder:Ct({id:"content-releases.content-manager-edit-view.add-to-release.select-placeholder",defaultMessage:"Select"}),onChange:Ui=>ii("releaseId",Ui),value:Or.releaseId,children:xn?.map(Ui=>(0,T.jsx)(Z.kH,{value:Ui.id,children:Ui.name},Ui.id))})}),(0,T.jsx)(j.u,{children:Ct({id:"content-releases.content-manager-edit-view.add-to-release.action-type-label",defaultMessage:"What do you want to do with this entry?"})}),(0,T.jsx)(an,{selected:Or.type,handleChange:Ui=>ii("type",Ui.target.value),name:"type"})]})}),(0,T.jsx)(J._,{startActions:(0,T.jsx)(ee.Z,{onClick:Re,variant:"tertiary",name:"cancel",children:Ct({id:"content-releases.content-manager-edit-view.add-to-release.cancel-button",defaultMessage:"Cancel"})}),endActions:(0,T.jsx)(ee.Z,{type:"submit",disabled:!Or.releaseId,loading:gr,children:Ct({id:"content-releases.content-manager-edit-view.add-to-release.continue-button",defaultMessage:"Continue"})})})]})})]})},Et=()=>{const[Re,We]=A.useState(!1),{formatMessage:gt,formatDate:Nt,formatTime:Ct}=(0,Ze.c)(),{isCreatingEntry:tn,hasDraftAndPublish:ge,initialData:{id:At},slug:mn}=(0,i.O_)(),xn=mn,Un=window.strapi.future.isEnabled("contentReleasesScheduling"),gr=At!=null&&xn!=null,Ur=gr?{contentTypeUid:xn,entryId:At,hasEntryAttached:!0}:R.W9,ii=Le(Ur).data?.data;if(!gr||tn||!ge)return null;const Ui=()=>We($n=>!$n),rn=($n,yi)=>$n==="unpublish"?`secondary${yi}`:`success${yi}`;return(0,T.jsx)(i.Yj,{permissions:Ge.main,children:(0,T.jsxs)(Y.k,{as:"aside","aria-label":gt({id:"content-releases.plugin.name",defaultMessage:"Releases"}),background:"neutral0",borderColor:"neutral150",hasRadius:!0,padding:4,shadow:"tableShadow",children:[(0,T.jsxs)(M.C,{direction:"column",alignItems:"stretch",gap:3,children:[(0,T.jsx)(N.O,{variant:"sigma",textColor:"neutral600",textTransform:"uppercase",children:gt({id:"content-releases.plugin.name",defaultMessage:"Releases"})}),ii?.map($n=>(0,T.jsxs)(M.C,{direction:"column",alignItems:"start",borderWidth:"1px",borderStyle:"solid",borderColor:rn($n.action.type,"200"),overflow:"hidden",hasRadius:!0,children:[(0,T.jsx)(Y.k,{paddingTop:3,paddingBottom:3,paddingLeft:4,paddingRight:4,background:rn($n.action.type,"100"),width:"100%",children:(0,T.jsx)(N.O,{fontSize:1,variant:"pi",textColor:rn($n.action.type,"600"),children:gt({id:"content-releases.content-manager-edit-view.list-releases.title",defaultMessage:"{isPublish, select, true {Will be published in} other {Will be unpublished in}}"},{isPublish:$n.action.type==="publish"})})}),(0,T.jsxs)(M.C,{padding:4,direction:"column",gap:2,width:"100%",alignItems:"flex-start",children:[(0,T.jsx)(N.O,{fontSize:2,fontWeight:"bold",variant:"omega",textColor:"neutral700",children:$n.name}),Un&&$n.scheduledAt&&$n.timezone&&(0,T.jsx)(N.O,{variant:"pi",textColor:"neutral600",children:gt({id:"content-releases.content-manager-edit-view.scheduled.date",defaultMessage:"{date} at {time} ({offset})"},{date:Nt(new Date($n.scheduledAt),{day:"2-digit",month:"2-digit",year:"numeric",timeZone:$n.timezone}),time:Ct(new Date($n.scheduledAt),{hourCycle:"h23",timeZone:$n.timezone}),offset:jt($n.timezone,new Date($n.scheduledAt))})}),(0,T.jsx)(i.Yj,{permissions:Ge.deleteAction,children:(0,T.jsxs)(or.Root,{hasTriggerBorder:!0,children:[(0,T.jsx)(or.EditReleaseItem,{releaseId:$n.id}),(0,T.jsx)(or.DeleteReleaseActionItem,{releaseId:$n.id,actionId:$n.action.id})]})})]})]},$n.id)),(0,T.jsx)(i.Yj,{permissions:Ge.createAction,children:(0,T.jsx)(ee.Z,{justifyContent:"center",paddingLeft:4,paddingRight:4,color:"neutral700",variant:"tertiary",startIcon:(0,T.jsx)(v.c,{}),onClick:Ui,children:gt({id:"content-releases.content-manager-edit-view.add-to-release",defaultMessage:"Add to release"})})})]}),Re&&(0,T.jsx)(Ye,{handleClose:Ui,contentTypeUid:xn,entryId:At})]})})},xe={register(Re){window.strapi.features.isEnabled("cms-content-releases")?(Re.addMenuLink({to:`/plugins/${Pe}`,icon:_.c,intlLabel:{id:`${Pe}.plugin.name`,defaultMessage:"Releases"},async Component(){const{App:We}=await Promise.all([e.e(4540),e.e(3176)]).then(e.bind(e,83176));return We},permissions:Ge.main}),Re.addMiddlewares([()=>_e.middleware]),Re.addReducers({[_e.reducerPath]:_e.reducer}),Re.injectContentManagerComponent("editView","right-links",{name:`${Pe}-link`,Component:Et})):!window.strapi.features.isEnabled("cms-content-releases")&&window.strapi?.flags?.promoteEE&&Re.addMenuLink({to:"/plugins/purchase-content-releases",icon:_.c,intlLabel:{id:`${Pe}.plugin.name`,defaultMessage:"Releases"},async Component(){const{PurchaseContentReleases:We}=await e.e(5744).then(e.bind(e,85744));return We},lockIcon:!0})},async registerTrads({locales:Re}){const We=await Promise.all(Re.map(gt=>ce(Object.assign({"./translations/en.json":()=>e.e(1352).then(e.bind(e,51352))}),`./translations/${gt}.json`).then(({default:Nt})=>({data:(0,i.Ux)(Nt,"content-releases"),locale:gt})).catch(()=>({data:{},locale:gt}))));return Promise.resolve(We)}}},42616:(U,C,e)=>{"use strict";e.d(C,{G:()=>O,Q:()=>P});var i=e(19968),a=e(62552),l=e(3704),c=e(10900),v=e(37856),_=e(63358),T=e(48936),A=e(5e3);const R=({theme:N,expanded:B,variant:j,disabled:z,error:W})=>W?`1px solid ${N.colors.danger600} !important`:z?`1px solid ${N.colors.neutral150}`:B?`1px solid ${N.colors.primary600}`:j==="primary"?`1px solid ${N.colors.neutral0}`:`1px solid ${N.colors.neutral100}`,P=(0,l.cp)(_.O)``,M=(0,l.cp)(A.k)`
  border: ${R};

  &:hover:not([aria-disabled='true']) {
    border: 1px solid ${({theme:N})=>N.colors.primary600};

    ${P} {
      color: ${({theme:N,expanded:B})=>B?void 0:N.colors.primary700};
    }

    ${_.O} {
      color: ${({theme:N,expanded:B})=>B?void 0:N.colors.primary600};
    }

    & > ${T.C} {
      background: ${({theme:N})=>N.colors.primary100};
    }

    [data-strapi-dropdown='true'] {
      background: ${({theme:N})=>N.colors.primary200};
    }
  }
`,O=({children:N,disabled:B=!1,error:j,expanded:z=!1,hasErrorMessage:W=!0,id:X,onToggle:Q,toggle:K,size:Y="M",variant:Z="primary",shadow:J})=>{const ee=(0,v.I)(X),re=a.useMemo(()=>({expanded:z,onToggle:Q,toggle:K,id:ee,size:Y,variant:Z,disabled:B}),[B,z,ee,Q,Y,K,Z]);return(0,i.jsxs)(c.O.Provider,{value:re,children:[(0,i.jsx)(M,{"data-strapi-expanded":z,disabled:B,"aria-disabled":B,expanded:z,hasRadius:!0,variant:Z,error:j,shadow:J,children:N}),j&&W&&(0,i.jsx)(A.k,{paddingTop:1,children:(0,i.jsx)(_.O,{variant:"pi",textColor:"danger600",children:j})})]})}},12248:(U,C,e)=>{"use strict";e.d(C,{u:()=>c});var i=e(19968),a=e(10900),l=e(5e3);const c=({children:v,..._})=>{const{expanded:T,id:A}=(0,a.y)();if(!T)return null;const R=`accordion-content-${A}`,P=`accordion-label-${A}`,M=`accordion-desc-${A}`;return(0,i.jsx)(l.k,{role:"region",id:R,"aria-labelledby":P,"aria-describedby":M,..._,children:v})}},10900:(U,C,e)=>{"use strict";e.d(C,{O:()=>a,y:()=>l});var i=e(62552);const a=(0,i.createContext)({disabled:!1,expanded:!1,id:"",size:"M",variant:"primary"}),l=()=>(0,i.useContext)(a)},34404:(U,C,e)=>{"use strict";e.d(C,{M:()=>N});var i=e(19968),a=e(14520),l=e(3704),c=e(42616),v=e(10900);const _=({expanded:B,disabled:j,variant:z})=>{let W="neutral100";return B?W="primary100":j?W="neutral150":z==="primary"&&(W="neutral0"),W};var T=e(82800),A=e(55716),R=e(48936),P=e(63358);const M=(0,l.cp)(T.c)`
  text-align: left;

  // necessary to make the ellipsis prop work on the title
  > span {
    max-width: 100%;
  }

  svg {
    width: ${14/16}rem;
    height: ${14/16}rem;

    path {
      fill: ${({theme:B,expanded:j})=>j?B.colors.primary600:B.colors.neutral500};
    }
  }
`,O=(0,l.cp)(R.C)`
  min-height: ${({theme:B,size:j})=>B.sizes.accordions[j]};
  border-radius: ${({theme:B,expanded:j})=>j?`${B.borderRadius} ${B.borderRadius} 0 0`:B.borderRadius};

  &:hover {
    svg {
      path {
        fill: ${({theme:B})=>B.colors.primary600};
      }
    }
  }
`,N=({title:B,description:j,as:z="span",togglePosition:W="right",action:X,...Q})=>{const{onToggle:K,toggle:Y,expanded:Z,id:J,size:ee,variant:re,disabled:me}=(0,v.y)(),fe=`accordion-content-${J}`,le=`accordion-label-${J}`,Ve=`accordion-desc-${J}`,Ze=ee==="M"?6:4,Ce=ee==="M"?Ze:Ze-2,ye=_({expanded:Z,disabled:me,variant:re}),Fe={as:z,fontWeight:ee==="S"?"bold":void 0,id:le,textColor:Z?"primary600":"neutral700",ellipsis:!0,variant:ee==="M"?"delta":void 0},Qe=Z?"primary600":"neutral600",ce=Z?"primary200":"neutral200",Ge=ee==="M"?`${32/16}rem`:`${24/16}rem`,Pe=()=>{me||(Y&&!K?(console.warn('Deprecation warning: Usage of "toggle" prop in Accordion component is deprecated. This is discouraged and will be removed in the next major release. Please use "onToggle" instead'),Y()):K&&K())},pe=(0,i.jsx)(R.C,{justifyContent:"center",borderRadius:"50%",height:Ge,width:Ge,transform:Z?"rotate(180deg)":void 0,"data-strapi-dropdown":!0,"aria-hidden":!0,as:"span",background:ce,cursor:me?"not-allowed":"pointer",onClick:Pe,shrink:0,children:(0,i.jsx)(A.G,{as:a.c,width:ee==="M"?`${11/16}rem`:`${8/16}rem`,color:Z?"primary600":"neutral600"})});return(0,i.jsx)(O,{paddingBottom:Ce,paddingLeft:Ze,paddingRight:Ze,paddingTop:Ce,background:ye,expanded:Z,size:ee,justifyContent:"space-between",cursor:me?"not-allowed":"",children:(0,i.jsxs)(R.C,{gap:3,flex:1,maxWidth:"100%",children:[W==="left"&&pe,(0,i.jsx)(M,{onClick:Pe,"aria-disabled":me,"aria-expanded":Z,"aria-controls":fe,"aria-labelledby":le,"data-strapi-accordion-toggle":!0,expanded:Z,type:"button",flex:1,minWidth:0,...Q,children:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.Q,{...Fe,children:B}),j&&(0,i.jsx)(P.O,{as:"p",id:Ve,textColor:Qe,children:j})]})}),W==="right"&&(0,i.jsxs)(R.C,{gap:3,children:[pe,X]}),W==="left"&&X]})})}},6464:(U,C,e)=>{"use strict";e.d(C,{_:()=>X});var i=e(19968),a=e(36133),l=e(30048),c=e(42508),v=e(39716),_=e(3704);const T=Q=>{switch(Q){case"danger":return"danger100";case"success":return"success100";case"warning":return"warning100";default:return"primary100"}},A=Q=>T(Q).replace("100","200"),R=({theme:Q,variant:K})=>K==="danger"?Q.colors.danger700:K==="success"?Q.colors.success700:K==="warning"?Q.colors.warning700:Q.colors.primary700;var P=e(53744),M=e(5e3),O=e(48936),N=e(63358);const B=(0,_.cp)(M.k)`
  svg {
    height: 100%;
    width: 100%;

    path {
      fill: ${({theme:Q})=>Q.colors.neutral700};
    }
  }

  ${P.Md};
`,j=(0,_.cp)(O.C)`
  svg {
    height: 100%;
    width: 100%;

    path {
      fill: ${R};
    }
  }
`,z=({variant:Q,...K})=>Q==="success"?(0,i.jsx)(a.c,{...K}):Q==="danger"||Q==="warning"?(0,i.jsx)(l.c,{...K}):(0,i.jsx)(c.c,{...K}),W=(0,_.cp)(M.k)`
  & a > span {
    color: ${R};
  }

  svg path {
    fill: ${R};
  }
`,X=({title:Q,children:K,variant:Y="default",onClose:Z,closeLabel:J,titleAs:ee="p",action:re,...me})=>(0,i.jsxs)(O.C,{alignItems:"flex-start",background:T(Y),borderColor:A(Y),boxShadow:"filterShadow",gap:3,hasRadius:!0,padding:5,paddingRight:6,variant:Y,...me,children:[(0,i.jsx)(j,{height:`${20/16}rem`,shrink:0,variant:Y,width:`${20/16}rem`,children:(0,i.jsx)(z,{"aria-hidden":!0,variant:Y})}),(0,i.jsxs)(O.C,{alignItems:"start",gap:re?2:1,wrap:"wrap",role:Y==="danger"?"alert":"status",width:"100%",children:[Q&&(0,i.jsx)(N.O,{fontWeight:"bold",textColor:"neutral800",as:ee,children:Q}),(0,i.jsx)(N.O,{as:"p",textColor:"neutral800",children:K}),re&&(0,i.jsx)(W,{variant:Y,children:re})]}),(0,i.jsx)(B,{as:"button",background:"transparent",borderColor:void 0,height:`${12/16}rem`,marginTop:1,onClick:Z,width:`${12/16}rem`,"aria-label":J,children:(0,i.jsx)(v.c,{"aria-hidden":!0})})]})},444:(U,C,e)=>{"use strict";e.d(C,{C:()=>M,s:()=>N});var i=e(19968),a=e(62552),l=e(3704),c=e(73256),v=e(5e3),_=e(48936),T=e(63358);const A=l.cp.img`
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
`,R=l.cp.img`
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  transform: translate(-${(c.Q-c.s)/2}px, -100%);
  margin-top: -${({theme:B})=>B.spaces[1]};
`,P=(0,l.cp)(v.k)`
  opacity: 0.4;
`,M=({src:B,alt:j,preview:z})=>{const[W,X]=a.useState(!1),Q=Boolean(z&&W);return(0,i.jsxs)("span",{children:[Q?(0,i.jsx)(R,{"aria-hidden":!0,alt:"",width:`${c.Q}px`,height:`${c.Q}px`,src:z===!0?B:typeof z=="string"?z:""}):null,(0,i.jsxs)(v.k,{zIndex:Q?1:void 0,position:"relative",onMouseEnter:()=>X(!0),onMouseLeave:()=>X(!1),width:`${c.s}px`,height:`${c.s}px`,children:[Q?(0,i.jsx)(P,{background:"neutral0",borderRadius:"50%",position:"absolute",width:`${c.s}px`,height:`${c.s}px`,zIndex:1}):null,(0,i.jsx)(A,{src:B,alt:j,width:`${c.s}px`,height:`${c.s}px`})]})]})},O=(0,l.cp)(_.C)`
  span {
    line-height: 0;
  }
`,N=({children:B,background:j="primary600",textColor:z="buttonNeutral0"})=>(0,i.jsx)(O,{background:j,borderRadius:"50%",width:`${c.s}px`,height:`${c.s}px`,justifyContent:"center",children:(0,i.jsx)(T.O,{fontSize:0,fontWeight:"bold",textColor:z,textTransform:"uppercase",children:B})})},73256:(U,C,e)=>{"use strict";e.d(C,{Q:()=>a,s:()=>i});const i=32,a=64},37976:(U,C,e)=>{"use strict";e.d(C,{k:()=>_});var i=e(19968),a=e(3704),l=e(48936),c=e(63358);const v=(0,a.cp)(l.C)`
  border-radius: ${({theme:T,size:A})=>A==="S"?"2px":T.borderRadius};
  height: ${({size:T,theme:A})=>A.sizes.badge[T]};
`,_=({active:T=!1,size:A="M",textColor:R="neutral600",backgroundColor:P="neutral150",children:M,minWidth:O=5,...N})=>{const B=A==="S"?1:2;return(0,i.jsx)(v,{inline:!0,alignItem:"center",justifyContent:"center",minWidth:O,paddingLeft:B,paddingRight:B,background:T?"primary200":P,size:A,...N,children:(0,i.jsx)(c.O,{variant:"sigma",textColor:T?"primary600":R,children:M})})}},67056:(U,C,e)=>{"use strict";e.d(C,{g:()=>T,y:()=>_});var i=e(19968),a=e(62552),l=e(3704),c=e(53744),v=e(48936);const _=(0,l.cp)(v.C)`
  > svg {
    height: ${({theme:A})=>A.spaces[3]};
    width: ${({theme:A})=>A.spaces[3]};

    > g,
    path {
      fill: ${({theme:A})=>A.colors.neutral0};
    }
  }

  &[aria-disabled='true'] {
    pointer-events: none;
  }

  ${c.Md}
`,T=a.forwardRef(({disabled:A,children:R,background:P="neutral0",...M},O)=>(0,i.jsx)(_,{ref:O,"aria-disabled":A,as:"button",type:"button",disabled:A,padding:2,hasRadius:!0,background:P,borderColor:"neutral200",cursor:"pointer",...M,children:R}));T.displayName="BaseButton"},19576:(U,C,e)=>{"use strict";e.d(C,{c:()=>P});var i=e(19968),a=e(62552),l=e(3704);const c="data:image/svg+xml,%3csvg%20width='10'%20height='8'%20viewBox='0%200%2010%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55323%200.396973C8.63135%200.316355%208.76051%200.315811%208.83931%200.395768L9.86256%201.43407C9.93893%201.51157%209.93935%201.6359%209.86349%201.7139L4.06401%207.67724C3.9859%207.75755%203.85707%207.75805%203.77834%207.67834L0.13866%203.99333C0.0617798%203.91549%200.0617102%203.79032%200.138504%203.7124L1.16213%202.67372C1.24038%202.59432%201.36843%202.59422%201.4468%202.67348L3.92174%205.17647L8.55323%200.396973Z'%20fill='%238E8EA9'%20/%3e%3c/svg%3e";var v=e(73748);const _=({size:M})=>M==="M"?"18px":"20px";var T=e(94072),A=e(5e3);const R=l.cp.input`
  height: ${_};
  min-width: ${_};
  margin: 0;
  border-radius: ${({theme:M})=>M.borderRadius};
  border: 1px solid ${({theme:M})=>M.colors.neutral300};
  -webkit-appearance: none;
  background-color: ${({theme:M})=>M.colors.neutral0};
  cursor: pointer;

  &:checked {
    background-color: ${({theme:M})=>M.colors.primary600};
    border: 1px solid ${({theme:M})=>M.colors.primary600};

    &:after {
      content: '';
      display: block;
      position: relative;
      background: ${()=>`url("${v.c}") no-repeat no-repeat center center`};
      width: 10px;
      height: 10px;
      left: 50%;
      top: 50%;
      transform: translateX(-50%) translateY(-50%);
    }

    &:disabled:after {
      background: ${()=>`url("${c}") no-repeat no-repeat center center`};
    }
  }

  &:disabled {
    background-color: ${({theme:M})=>M.colors.neutral200};
    border: 1px solid ${({theme:M})=>M.colors.neutral300};
  }

  &:indeterminate {
    background-color: ${({theme:M})=>M.colors.primary600};
    border: 1px solid ${({theme:M})=>M.colors.primary600};

    &:after {
      content: '';
      display: block;
      position: relative;
      color: white;
      height: 2px;
      width: 10px;
      background-color: ${({theme:M})=>M.colors.neutral0};
      left: 50%;
      top: 50%;
      transform: translateX(-50%) translateY(-50%);
    }

    &:disabled {
      background-color: ${({theme:M})=>M.colors.neutral200};
      border: 1px solid ${({theme:M})=>M.colors.neutral300};
      &:after {
        background-color: ${({theme:M})=>M.colors.neutral500};
      }
    }
  }
`,P=a.forwardRef(({indeterminate:M=!1,size:O="M",name:N,value:B=!1,onValueChange:j,...z},W)=>{const X=a.useRef(null),Q=(0,T.q)(X,W);a.useEffect(()=>{X.current&&M?X.current.indeterminate=M:X.current.indeterminate=!1},[M]);const K=()=>{j&&j(!B)};return(0,i.jsx)(A.k,{children:(0,i.jsx)(R,{size:O,checked:B,onChange:K,type:"checkbox",ref:Q,name:N,...z})})});P.displayName="BaseCheckbox"},73748:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});const i="data:image/svg+xml,%3csvg%20width='10'%20height='8'%20viewBox='0%200%2010%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55323%200.396973C8.63135%200.316355%208.76051%200.315811%208.83931%200.395768L9.86256%201.43407C9.93893%201.51157%209.93935%201.6359%209.86349%201.7139L4.06401%207.67724C3.9859%207.75755%203.85707%207.75805%203.77834%207.67834L0.13866%203.99333C0.0617798%203.91549%200.0617102%203.79032%200.138504%203.7124L1.16213%202.67372C1.24038%202.59432%201.36843%202.59422%201.4468%202.67348L3.92174%205.17647L8.55323%200.396973Z'%20fill='white'%20/%3e%3c/svg%3e"},29176:(U,C,e)=>{"use strict";e.d(C,{k:()=>c});var i=e(19968),a=e(62552),l=e(5e3);const c=a.forwardRef(({href:v,rel:_="noreferrer noopener",target:T="_self",disabled:A=!1,isExternal:R=!1,...P},M)=>(0,i.jsx)(l.k,{as:"a",ref:M,target:R?"_blank":T,rel:R?_:void 0,href:A?"#":v,"aria-disabled":A,cursor:"pointer",...P}));c.displayName="BaseLink"},5e3:(U,C,e)=>{"use strict";e.d(C,{k:()=>v});var i=e(3704),a=e(35896),l=e(53220);const c={color:!0,cursor:!0,height:!0,width:!0},v=i.cp.div.withConfig({shouldForwardProp:(_,T)=>!c[_]&&T(_)})`
  // Font
  font-size: ${({fontSize:_,theme:T})=>(0,l.M)(T.fontSizes,_,_)};

  // Colors
  background: ${({theme:_,background:T})=>(0,l.M)(_.colors,T,T)};
  color: ${({theme:_,color:T})=>(0,l.M)(_.colors,T,void 0)};

  // Spaces
  ${({theme:_,padding:T})=>(0,a.c)("padding",T,_)}
  ${({theme:_,paddingTop:T})=>(0,a.c)("padding-top",T,_)}
  ${({theme:_,paddingRight:T})=>(0,a.c)("padding-right",T,_)}
  ${({theme:_,paddingBottom:T})=>(0,a.c)("padding-bottom",T,_)}
  ${({theme:_,paddingLeft:T})=>(0,a.c)("padding-left",T,_)}
  ${({theme:_,marginLeft:T})=>(0,a.c)("margin-left",T,_)}
  ${({theme:_,marginRight:T})=>(0,a.c)("margin-right",T,_)}
  ${({theme:_,marginTop:T})=>(0,a.c)("margin-top",T,_)}
  ${({theme:_,marginBottom:T})=>(0,a.c)("margin-bottom",T,_)}

  // Responsive hiding
  ${({theme:_,hiddenS:T})=>T?`${_.mediaQueries.tablet} { display: none; }`:void 0}
  ${({theme:_,hiddenXS:T})=>T?`${_.mediaQueries.mobile} { display: none; }`:void 0}
  

  // Borders
  border-radius: ${({theme:_,hasRadius:T,borderRadius:A})=>T?_.borderRadius:A};
  border-style: ${({borderStyle:_})=>_};
  border-width: ${({borderWidth:_})=>_};
  border-color: ${({borderColor:_,theme:T})=>(0,l.M)(T.colors,_,void 0)};
  border: ${({theme:_,borderColor:T,borderStyle:A,borderWidth:R})=>{if(T&&!A&&typeof R>"u")return`1px solid ${_.colors[T]}`}};

  // Shadows
  box-shadow: ${({theme:_,shadow:T})=>(0,l.M)(_.shadows,T,void 0)};

  // Handlers
  pointer-events: ${({pointerEvents:_})=>_};
  &:hover {
    ${({_hover:_,theme:T})=>_?_(T):void 0}
  }

  // Display
  display: ${({display:_})=>_};

  // Position
  position: ${({position:_})=>_};
  left: ${({left:_,theme:T})=>(0,l.M)(T.spaces,_,_)};
  right: ${({right:_,theme:T})=>(0,l.M)(T.spaces,_,_)};
  top: ${({top:_,theme:T})=>(0,l.M)(T.spaces,_,_)};
  bottom: ${({bottom:_,theme:T})=>(0,l.M)(T.spaces,_,_)};
  z-index: ${({zIndex:_})=>_};
  overflow: ${({overflow:_})=>_};

  // Size
  width: ${({width:_,theme:T})=>(0,l.M)(T.spaces,_,_)};
  max-width: ${({maxWidth:_,theme:T})=>(0,l.M)(T.spaces,_,_)};
  min-width: ${({minWidth:_,theme:T})=>(0,l.M)(T.spaces,_,_)};
  height: ${({height:_,theme:T})=>(0,l.M)(T.spaces,_,_)};
  max-height: ${({maxHeight:_,theme:T})=>(0,l.M)(T.spaces,_,_)};
  min-height: ${({minHeight:_,theme:T})=>(0,l.M)(T.spaces,_,_)};

  // Animation
  transition: ${({transition:_})=>_};
  transform: ${({transform:_})=>_};
  animation: ${({animation:_})=>_};

  //Flexbox children props
  flex-shrink: ${({shrink:_})=>_};
  flex-grow: ${({grow:_})=>_};
  flex-basis: ${({basis:_})=>_};
  flex: ${({flex:_})=>_};

  // Text
  text-align: ${({textAlign:_})=>_};
  text-transform: ${({textTransform:_})=>_};
  line-height: ${({theme:_,lineHeight:T})=>(0,l.M)(_.lineHeights,T,T)};

  // Cursor
  cursor: ${({cursor:_})=>_};
`},35676:(U,C,e)=>{"use strict";e.d(C,{Z:()=>B});var i=e(19968),a=e(62552),l=e(24144),c=e(3704),v=e(57360),_=e(49776),T=e(67056),A=e(5e3),R=e(63358),P=e(48936);const M=(0,c.xZ)`
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
`,O=(0,c.cp)(l.c)`
  animation: ${M} 2s infinite linear;
  will-change: transform;
`,N=(0,c.cp)(T.g)`
  height: ${({theme:j,size:z})=>j.sizes.button[z]};

  svg {
    height: ${12/16}rem;
    width: auto;
  }

  &[aria-disabled='true'] {
    ${_.kd}

    &:active {
      ${_.kd}
    }
  }

  &:hover {
    ${_.c5}
  }

  &:active {
    ${_.U3}
  }

  ${_.M1}
`,B=a.forwardRef(({variant:j=v.sT,startIcon:z,endIcon:W,disabled:X=!1,children:Q,onClick:K,size:Y=v.wR[0],loading:Z=!1,fullWidth:J=!1,...ee},re)=>{const me=X||Z,fe=le=>{!me&&K&&K(le)};return(0,i.jsxs)(N,{ref:re,"aria-disabled":me,disabled:me,size:Y,variant:j,onClick:fe,fullWidth:J,alignItems:"center",background:"buttonPrimary600",borderColor:"buttonPrimary600",gap:2,inline:J,justifyContent:J?"center":void 0,paddingLeft:4,paddingRight:4,width:J?"100%":void 0,...ee,children:[(z||Z)&&(0,i.jsx)(A.k,{"aria-hidden":!0,children:Z?(0,i.jsx)(O,{}):z}),(0,i.jsx)(R.O,{variant:Y==="S"?"pi":void 0,fontWeight:"bold",textColor:"buttonNeutral0",children:Q}),W&&(0,i.jsx)(P.C,{"aria-hidden":!0,children:W})]})});B.displayName="Button"},57360:(U,C,e)=>{"use strict";e.d(C,{Cs:()=>P,QF:()=>c,Wm:()=>v,_Y:()=>T,kL:()=>a,o5:()=>R,od:()=>_,sT:()=>l,u6:()=>i,wR:()=>M,y:()=>A});const i="success-light",a="danger-light",l="default",c="tertiary",v="secondary",_="danger",T="success",A="ghost",R=[i,a],P=[l,c,v,_,T,A,...R],M=["S","M","L"]},49776:(U,C,e)=>{"use strict";e.d(C,{M1:()=>T,U3:()=>_,c5:()=>v,kd:()=>c});var i=e(57360),a=e(63358);const l=A=>A===i.u6||A===i.kL?`${A.substring(0,A.lastIndexOf("-"))}`:A===i.QF?"neutral":A===i.sT||A===i.Wm||i.Cs.every(R=>R!==A)?"primary":`${A}`,c=({theme:A})=>`
    border: 1px solid ${A.colors.neutral200};
    background: ${A.colors.neutral150};
    ${a.O} {
      color: ${A.colors.neutral600};
    }
    svg {
      > g, path {
        fill: ${A.colors.neutral600};
      }
    }
  `,v=({theme:A,variant:R})=>[...i.o5,i.Wm].includes(R)?`
      background-color: ${A.colors.neutral0};
    `:R===i.QF?`
      background-color: ${A.colors.neutral100};
    `:R===i.y?`
      background-color: ${A.colors.neutral100};
    `:R===i.sT?`
      border: 1px solid ${A.colors.buttonPrimary500};
      background: ${A.colors.buttonPrimary500};
    `:`
    border: 1px solid ${A.colors[`${l(R)}500`]};
    background: ${A.colors[`${l(R)}500`]};
  `,_=({theme:A,variant:R})=>[...i.o5,i.Wm].includes(R)?`
      background-color: ${A.colors.neutral0};
      border: 1px solid ${A.colors[`${l(R)}600`]};
      ${a.O} {
        color: ${A.colors[`${l(R)}600`]};
      }
      svg {
        > g, path {
          fill: ${A.colors[`${l(R)}600`]};
        }
      }
    `:R===i.QF?`
      background-color: ${A.colors.neutral150};
    `:`
    border: 1px solid ${A.colors[`${l(R)}600`]};
    background: ${A.colors[`${l(R)}600`]};
  `,T=({theme:A,variant:R})=>{switch(R){case i.kL:case i.u6:case i.Wm:return`
          border: 1px solid ${A.colors[`${l(R)}200`]};
          background: ${A.colors[`${l(R)}100`]};
          ${a.O} {
            color: ${A.colors[`${l(R)}700`]};
          }
          svg {
            > g, path {
              fill: ${A.colors[`${l(R)}700`]};
            }
          }
        `;case i.QF:return`
          border: 1px solid ${A.colors.neutral200};
          background: ${A.colors.neutral0};
          ${a.O} {
            color: ${A.colors.neutral800};
          }
          svg {
            > g, path {
              fill: ${A.colors.neutral800};
            }
          }
        `;case i.y:return`
        border: 1px solid transparent;
        background: transparent;

        ${a.O} {
          color: ${A.colors.neutral800};
        }

        svg {
          > g, path {
            fill: ${A.colors.neutral500};
          }
        }
      `;case i._Y:case i.od:return`
          border: 1px solid ${A.colors[`${l(R)}600`]};
          background: ${A.colors[`${l(R)}600`]};
          ${a.O} {
            color: ${A.colors.neutral0};
          }
        `;default:return`
          svg {
            > g, path {
              fill: ${A.colors.buttonNeutral0};
            }
          }
        `}}},49780:(U,C,e)=>{"use strict";e.d(C,{M:()=>_});var i=e(19968),a=e(62552),l=e(77692),c=e(37856),v=e(5e3);const _=({id:T,...A})=>{const R=(0,c.I)(T),P=(0,a.useMemo)(()=>({id:R}),[R]);return(0,i.jsx)(l.s.Provider,{value:P,children:(0,i.jsx)(v.k,{id:T,tabIndex:0,hasRadius:!0,background:"neutral0",borderStyle:"solid",borderWidth:"1px",borderColor:"neutral150",shadow:"tableShadow",as:"article","aria-labelledby":`${R}-title`,...A})})}},8068:(U,C,e)=>{"use strict";e.d(C,{Q:()=>T});var i=e(19968),a=e(3704),l=e(48936);const c=a.cp.img`
  // inline flows is based on typography and displays an extra white space below the image
  // switch to block is required in order to make the img stick the bottom of the container
  // addition infos: https://stackoverflow.com/questions/5804256/image-inside-div-has-extra-space-below-the-image
  margin: 0;
  padding: 0;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
`,v={S:88,M:164},_=a.cp.div`
  display: flex;
  justify-content: center;
  height: ${({size:A})=>v[A]/16}rem;
  width: 100%;
  background: repeating-conic-gradient(${({theme:A})=>A.colors.neutral100} 0% 25%, transparent 0% 50%) 50% / 20px
    20px;
  border-top-left-radius: ${({theme:A})=>A.borderRadius};
  border-top-right-radius: ${({theme:A})=>A.borderRadius};
`,T=({size:A="M",children:R,...P})=>(0,i.jsx)(_,{size:A,children:R?(0,i.jsx)(l.C,{children:R}):(0,i.jsx)(c,{...P,"aria-hidden":!0})})},66688:(U,C,e)=>{"use strict";e.d(C,{g:()=>_});var i=e(19968),a=e(3704),l=e(37976);const c=a.cp.div`
  margin-left: auto;
  flex-shrink: 0;
`,v=(0,a.cp)(l.k)`
  margin-left: ${({theme:T})=>T.spaces[1]};
`,_=T=>(0,i.jsx)(c,{children:(0,i.jsx)(v,{...T})})},68264:(U,C,e)=>{"use strict";e.d(C,{i:()=>c});var i=e(19968),a=e(5e3),l=e(48936);const c=v=>(0,i.jsx)(a.k,{paddingLeft:3,paddingRight:3,paddingTop:2,paddingBottom:2,children:(0,i.jsx)(l.C,{...v,alignItems:"flex-start"})})},58588:(U,C,e)=>{"use strict";e.d(C,{q:()=>v});var i=e(19968),a=e(3704),l=e(5e3);const c=(0,a.cp)(l.k)`
  word-break: break-all;
`,v=({children:_,...T})=>(0,i.jsx)(c,{...T,children:_})},77692:(U,C,e)=>{"use strict";e.d(C,{G:()=>l,s:()=>a});var i=e(62552);const a=(0,i.createContext)({id:""}),l=()=>(0,i.useContext)(a)},46352:(U,C,e)=>{"use strict";e.d(C,{q:()=>v});var i=e(19968),a=e(3704),l=e(48936);const c=(0,a.cp)(l.C)`
  border-bottom: 1px solid ${({theme:_})=>_.colors.neutral150};
`,v=_=>(0,i.jsx)(c,{position:"relative",justifyContent:"center",..._})},13892:(U,C,e)=>{"use strict";e.d(C,{O:()=>c,w:()=>v});var i=e(19968),a=e(77692),l=e(63358);const c=_=>{const{id:T}=(0,a.G)();return(0,i.jsx)(l.O,{variant:"pi",id:`${T}-title`,textColor:"neutral800",fontWeight:"bold",as:"div",..._})},v=_=>(0,i.jsx)(l.O,{variant:"pi",..._,textColor:"neutral600",as:"div"})},49068:(U,C,e)=>{"use strict";e.d(C,{E:()=>l});var i=e(19968),a=e(48936);const l=({horizontal:c=!0,spacing:v=1,..._})=>(0,i.jsx)(a.C,{justifyContent:"center",gap:v,direction:c?"row":"column",alignItems:c?"center":"stretch",position:"absolute",width:"100%",bottom:1,..._})},89600:(U,C,e)=>{"use strict";e.d(C,{m:()=>Y});var i=e(19968),a=e(62552),l=e(6400),c=e(73200),v=e(3704),_=e(89192),T=e(70544),A=e(5e3),R=e(48936),P=e(55716),M=e(63358);const O=(0,v.cp)(A.k)`
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'startAction slides endAction';
`,N=(0,v.cp)(R.C)`
  grid-area: slides;
`,B=(0,v.cp)(A.k)`
  grid-area: ${({area:Z})=>Z};

  &:focus svg path,
  &:hover svg path {
    fill: ${({theme:Z})=>Z.colors.neutral900};
  }
`,j=a.forwardRef(({actions:Z,children:J,label:ee,nextLabel:re,onNext:me,onPrevious:fe,previousLabel:le,secondaryLabel:Ve,selectedSlide:Ze,...Ce},ye)=>{const Ae=a.useRef(null),Fe=a.useRef(null),Qe=a.Children.map(J,(Ge,Pe)=>a.cloneElement(Ge,{selected:Pe===Ze})),ce=Ge=>{switch(Ge.key){case _._.RIGHT:{Ge.preventDefault(),Fe?.current&&Fe.current.focus(),me();break}case _._.LEFT:{Ge.preventDefault(),Ae?.current&&Ae.current.focus(),fe();break}}};return(0,i.jsx)(A.k,{ref:ye,...Ce,onKeyDown:ce,children:(0,i.jsxs)(A.k,{padding:2,borderColor:"neutral200",hasRadius:!0,background:"neutral100",children:[(0,i.jsxs)(O,{as:"section","aria-roledescription":"carousel","aria-label":ee,display:"grid",position:"relative",children:[Qe&&Qe.length>1&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(B,{as:"button",onClick:fe,area:"startAction",ref:Ae,"aria-label":le,type:"button",children:(0,i.jsx)(P.G,{as:l.c,"aria-hidden":!0,width:"6px",height:"10px",color:"neutral600"})}),(0,i.jsx)(B,{as:"button",onClick:me,area:"endAction",ref:Fe,"aria-label":re,type:"button",children:(0,i.jsx)(P.G,{as:c.c,"aria-hidden":!0,width:"6px",height:"10px",color:"neutral600"})})]}),(0,i.jsx)(N,{"aria-live":"polite",paddingLeft:2,paddingRight:2,width:"100%",overflow:"hidden",children:Qe}),Z]}),Ve&&(0,i.jsx)(A.k,{paddingTop:2,paddingLeft:4,paddingRight:4,children:(0,i.jsx)(T.o,{label:Ve,children:(0,i.jsx)(R.C,{justifyContent:"center",children:(0,i.jsx)(M.O,{variant:"pi",textColor:"neutral600",ellipsis:!0,children:Ve})})})})]})})});var z=e(37856),W=e(95080),X=e(33128),Q=e(79080),K=e(74264);const Y=(0,a.forwardRef)(({actions:Z,children:J,error:ee,hint:re,label:me,labelAction:fe,nextLabel:le,onNext:Ve,onPrevious:Ze,previousLabel:Ce,required:ye,secondaryLabel:Ae,selectedSlide:Fe,id:Qe,...ce},Ge)=>{const Pe=(0,z.I)(Qe);return(0,i.jsx)(W.I,{hint:re,error:ee,id:Pe,required:ye,children:(0,i.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:1,children:[me&&(0,i.jsx)(X.u,{action:fe,children:me}),(0,i.jsx)(j,{ref:Ge,actions:Z,label:me,nextLabel:le,onNext:Ve,onPrevious:Ze,previousLabel:Ce,secondaryLabel:Ae,selectedSlide:Fe,id:Pe,...ce,children:J}),(0,i.jsx)(Q.o,{}),(0,i.jsx)(K.Q,{})]})})})},26788:(U,C,e)=>{"use strict";e.d(C,{a:()=>l});var i=e(19968),a=e(48936);const l=({label:c,children:v,selected:_=!1,...T})=>(0,i.jsx)(a.C,{alignItems:"center",display:_?"flex":"none",role:"group","aria-roledescription":"slide","aria-label":c,justifyContent:"center",height:"124px",width:"100%",...T,children:v})},32568:(U,C,e)=>{"use strict";e.d(C,{y:()=>j});var i=e(19968),a=e(62552),l=e(3704),c=e(37856),v=e(4392),_=e(63358),T=e(19576),A=e(95080),R=e(48936),P=e(5e3),M=e(79080),O=e(74264);const N=(0,l.cp)(_.O)`
  display: flex;
  align-items: flex-start;
  * {
    cursor: ${({disabled:z})=>z?"not-allowed":"pointer"};
  }
`,B=a.forwardRef((z,W)=>{const{id:X}=(0,v.m)();return(0,i.jsx)(T.c,{ref:W,id:X,...z})}),j=a.forwardRef(({children:z,disabled:W=!1,id:X,hint:Q,error:K,...Y},Z)=>{const J=(0,c.I)(X);let ee;return K?ee=`${J}-error`:Q&&(ee=`${J}-hint`),(0,i.jsx)(A.I,{id:J,hint:Q,error:K,children:(0,i.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,i.jsxs)(N,{as:"label",textColor:"neutral800",disabled:W,children:[(0,i.jsx)(B,{ref:Z,disabled:W,"aria-describedby":ee,...Y}),(0,i.jsx)(P.k,{paddingLeft:2,children:z})]}),(0,i.jsx)(M.o,{}),(0,i.jsx)(O.Q,{})]})})})},65092:(U,C,e)=>{"use strict";e.d(C,{Cy:()=>Y,cT:()=>J,cb:()=>Ze,k1:()=>Z});var i=e(19968),a=e(62552),l=e(39716),c=e(14520),v=e(6340),_=e(3704),T=e(31104),A=e(94072),R=e(52496),P=e(37856),M=e(97008),O=e(89296),N=e(53744),B=e(48936),j=e(5e3),z=e(63358),W=e(95080),X=e(33128),Q=e(79080),K=e(74264);const Y=a.forwardRef(({allowCustomValue:ye,autocomplete:Ae,children:Fe,className:Qe,clearLabel:ce="clear",creatable:Ge=!1,createMessage:Pe=Cn=>`Create "${Cn}"`,defaultFilterValue:pe,defaultTextValue:Se,defaultOpen:_e=!1,open:Ne,onOpenChange:Le,disabled:Ke=!1,error:bt,filterValue:yt,hasMoreItems:It=!1,id:_t,isPrintableCharacter:zt,loading:Vt=!1,loadingMessage:St="Loading content...",noOptionsMessage:Xt=()=>"No results found",onChange:jt,onClear:sn,onCreateOption:dt,onFilterValueChange:Ln,onInputChange:fn,onTextValueChange:cr,onLoadMore:wr,placeholder:Jn="Select or enter a value",required:nn=!1,size:or="M",startIcon:bn,textValue:Sn,value:Hn,...er},an)=>{const[Cn,de]=(0,R.W)({prop:Ne,defaultProp:_e,onChange:Le}),[oe,Ye]=(0,R.W)({prop:Sn,defaultProp:ye&&!Se?Hn:Se,onChange:cr}),[Et,xe]=(0,R.W)({prop:yt,defaultProp:pe,onChange:Ln}),Re=a.useRef(null),We=a.useRef(null),gt=(0,A.q)(We,an),Nt=a.useRef(null),Ct=$n=>{sn&&!Ke&&(Ye(""),xe(""),sn($n),We.current.focus())},tn=$n=>{de($n)},ge=$n=>{Ye($n)},At=$n=>{xe($n)},mn=$n=>{fn&&fn($n)},xn=$n=>{jt&&jt($n)},Un=$n=>{wr&&It&&!Vt&&wr($n)},gr=()=>{dt&&oe&&dt(oe)},Ur=(0,P.I)(_t),Or=(0,P.I)(),ii=`intersection-${(0,T.q)(Or)}`;(0,M.q)(Re,Un,{selectorToWatch:`#${ii}`,skipWhen:!Cn});const Ui=`${Ur}-hint`,rn=`${Ur}-error`;return(0,i.jsxs)(v.k1.Root,{autocomplete:Ae||(Ge?"list":"both"),onOpenChange:tn,open:Cn,onTextValueChange:ge,textValue:oe,allowCustomValue:Ge||ye,disabled:Ke,required:nn,value:Hn,onValueChange:xn,filterValue:Et,onFilterValueChange:At,isPrintableCharacter:zt,children:[(0,i.jsxs)(re,{$hasError:Boolean(bt),$size:or,className:Qe,children:[(0,i.jsxs)(B.C,{flex:"1",as:"span",gap:3,children:[bn?(0,i.jsx)(j.k,{as:"span","aria-hidden":!0,children:bn}):null,(0,i.jsx)(me,{placeholder:Jn,id:_t,"aria-invalid":Boolean(bt),"aria-describedby":`${Ui} ${rn}`,onChange:mn,ref:gt,...er})]}),(0,i.jsxs)(B.C,{as:"span",gap:3,children:[oe&&sn?(0,i.jsx)(ee,{as:"button",hasRadius:!0,background:"transparent",type:"button",onClick:Ct,"aria-disabled":Ke,"aria-label":ce,title:ce,ref:Nt,children:(0,i.jsx)(l.c,{})}):null,(0,i.jsx)(fe,{children:(0,i.jsx)(c.c,{})})]})]}),(0,i.jsx)(v.k1.Portal,{children:(0,i.jsx)(le,{sideOffset:4,children:(0,i.jsxs)(Ve,{ref:Re,children:[Fe,Ge?(0,i.jsx)(v.k1.CreateItem,{onPointerUp:gr,onClick:gr,asChild:!0,children:(0,i.jsx)(Ce,{children:(0,i.jsx)(z.O,{children:Pe(oe??"")})})}):null,!Ge&&!Vt?(0,i.jsx)(v.k1.NoValueFound,{asChild:!0,children:(0,i.jsx)(Ce,{$hasHover:!1,children:(0,i.jsx)(z.O,{children:Xt(oe??"")})})}):null,Vt?(0,i.jsx)(B.C,{justifyContent:"center",alignItems:"center",paddingTop:2,paddingBottom:2,children:(0,i.jsx)(O.c,{small:!0,children:St})}):null,(0,i.jsx)(j.k,{id:ii,width:"100%",height:"1px"})]})})})]})}),Z=a.forwardRef(({error:ye,hint:Ae,id:Fe,label:Qe,labelAction:ce,required:Ge=!1,...Pe},pe)=>{const Se=(0,P.I)(Fe);return(0,i.jsx)(W.I,{hint:Ae,error:ye,id:Se,required:Ge,children:(0,i.jsxs)(B.C,{direction:"column",alignItems:"stretch",gap:1,children:[Qe?(0,i.jsx)(X.u,{action:ce,children:Qe}):null,(0,i.jsx)(Y,{ref:pe,id:Se,error:ye,required:Ge,...Pe}),(0,i.jsx)(Q.o,{}),(0,i.jsx)(K.Q,{})]})})}),J=ye=>(0,i.jsx)(Z,{...ye,creatable:!0}),ee=(0,_.cp)(j.k)`
  border: none;

  svg {
    height: ${11/16}rem;
    width: ${11/16}rem;
  }

  svg path {
    fill: ${({theme:ye})=>ye.colors.neutral600};
  }
`,re=(0,_.cp)(v.k1.Trigger)`
  position: relative;
  border: 1px solid ${({theme:ye,$hasError:Ae})=>Ae?ye.colors.danger600:ye.colors.neutral200};
  padding-right: ${({theme:ye})=>ye.spaces[3]};
  padding-left: ${({theme:ye})=>ye.spaces[3]};
  border-radius: ${({theme:ye})=>ye.borderRadius};
  background: ${({theme:ye})=>ye.colors.neutral0};
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: ${({theme:ye})=>ye.spaces[4]};
  min-height: ${({theme:ye,$size:Ae})=>(0,N.WI)("input")({theme:ye,size:Ae})};

  &[data-disabled] {
    color: ${({theme:ye})=>ye.colors.neutral600};
    background: ${({theme:ye})=>ye.colors.neutral150};
    cursor: not-allowed;
  }

  /* Required to ensure the below inputFocusStyles are adhered too */
  &:focus-visible {
    outline: none;
  }

  ${({theme:ye,$hasError:Ae})=>(0,N.Ih)()({theme:ye,hasError:Ae})};
`,me=(0,_.cp)(v.k1.TextInput)`
  width: 100%;
  font-size: ${14/16}rem;
  color: ${({theme:ye})=>ye.colors.neutral800};
  padding: 0;
  border: none;
  background-color: transparent;

  &:focus-visible {
    outline: none;
  }

  &[aria-disabled='true'] {
    cursor: inherit;
  }
`,fe=(0,_.cp)(v.k1.Icon)`
  & > svg {
    width: ${6/16}rem;

    & > path {
      fill: ${({theme:ye})=>ye.colors.neutral600};
    }
  }

  &[aria-disabled='true'] {
    cursor: inherit;
  }
`,le=(0,_.cp)(v.k1.Content)`
  background: ${({theme:ye})=>ye.colors.neutral0};
  box-shadow: ${({theme:ye})=>ye.shadows.filterShadow};
  border: 1px solid ${({theme:ye})=>ye.colors.neutral150};
  border-radius: ${({theme:ye})=>ye.borderRadius};
  width: var(--radix-combobox-trigger-width);
  /* This is from the design-system figma file. */
  max-height: 15rem;
  z-index: ${({theme:ye})=>ye.zIndices[1]};
`,Ve=(0,_.cp)(v.k1.Viewport)`
  padding: ${({theme:ye})=>ye.spaces[1]};
`,Ze=a.forwardRef(({children:ye,value:Ae,disabled:Fe,textValue:Qe,...ce},Ge)=>(0,i.jsx)(v.k1.ComboboxItem,{asChild:!0,value:Ae,disabled:Fe,textValue:Qe,children:(0,i.jsx)(Ce,{ref:Ge,...ce,children:(0,i.jsx)(v.k1.ItemText,{asChild:!0,children:(0,i.jsx)(z.O,{children:ye})})})})),Ce=_.cp.div`
  width: 100%;
  border: none;
  text-align: left;
  outline-offset: -3px;
  padding: ${({theme:ye})=>ye.spaces[2]} ${({theme:ye})=>ye.spaces[4]};
  background-color: ${({theme:ye})=>ye.colors.neutral0};
  border-radius: ${({theme:ye})=>ye.borderRadius};
  user-select: none;

  &[data-state='checked'] {
    background-color: ${({theme:ye})=>ye.colors.primary100};

    ${z.O} {
      color: ${({theme:ye})=>ye.colors.primary600};
      font-weight: bold;
    }
  }

  &:hover,
  &[data-highlighted] {
    outline: none;
    background-color: ${({theme:ye,$hasHover:Ae=!0})=>Ae?ye.colors.primary100:ye.colors.neutral0};
  }

  &[data-highlighted] {
    ${z.O} {
      color: ${({theme:ye})=>ye.colors.primary600};
      font-weight: bold;
    }
  }
`},9544:(U,C,e)=>{"use strict";e.d(C,{m:()=>a});var i=e(65092);const a=i.cb},22244:(U,C,e)=>{"use strict";e.d(C,{I:()=>er,M:()=>Ge});var i=e(19968),a=e(62552),l=e(19672),c=e(29600),v=e(3072),_=e(13375),T=e(59280),A=e(85480),R=e(39716),P=e(17032),M=e(4731),O=e(19632),N=e(67160),B=e(3704),j=e(59264),z=e(91e3),W=e(6824),X=e(12512),Q=e(94072),K=e(52496),Y=e(44803),Z=e(37856),J=e(56104),ee=e(37340),re=e(48936),me=e(53744),fe=e(5e3),le=e(63358),Ve=e(95080),Ze=e(33128),Ce=e(79080),ye=e(74264);const Ae=200,Fe=15,[Qe,ce]=(0,W.G)("DatePicker"),Ge=a.forwardRef(({calendarLabel:an,className:Cn,initialDate:de,locale:oe,maxDate:Ye,minDate:Et,monthSelectLabel:xe="Month",onChange:Re,selectedDate:We,yearSelectLabel:gt="Year",error:Nt,id:Ct,disabled:tn=!1,placeholder:ge,required:At=!1,onClear:mn,clearLabel:xn="Clear",size:Un,ariaLabel:gr,selectedDateLabel:Ur,...Or},ii)=>{const Ui=(0,_.ae)(),rn=(0,j.A)("DatePicker"),$n=oe??rn.locale,yi=(0,Y.I)($n,{day:"2-digit",month:"2-digit",year:"numeric"}),[Jr,cn]=a.useState(!1),[mt,we]=a.useState(null),[je,pt]=a.useState(null),[at,kt]=a.useState(null),[vn,Wn]=a.useState(),[nr,rr]=(0,K.W)({defaultProp:de?Hn(de):void 0,prop:We?Hn(We):void 0,onChange(Jt){Re&&Re(Jt?.toDate(Ui))}}),[Ot,Gt]=a.useMemo(()=>{const Jt=de?Hn(de):(0,_.UN)("UTC"),Lt=Et?Hn(Et):Jt.set({day:1,month:1,year:Jt.year-Ae});let yn=Ye?Hn(Ye):Jt.set({day:31,month:12,year:Jt.year+Fe});return yn.compare(Lt)<0&&(yn=Lt.set({day:31,month:12,year:Lt.year+Fe})),[Lt,yn]},[Et,Ye,de]),[Pt,Tt]=a.useState(pe({currentValue:nr,minDate:Ot,maxDate:Gt})),An=(0,Z.I)(),on=a.useRef(null),dn=Jt=>{mn&&!tn&&(Wn(""),rr(void 0),mn(Jt),je?.focus())},$e=a.useCallback(Jt=>{Jt&&nr&&Tt(nr),cn(Jt)},[nr]);a.useLayoutEffect(()=>{if(We){const Jt=Hn(We);Wn(yi.format(Jt.toDate(Ui))),Tt(Jt)}else Wn("")},[We,yi,Ui]),a.useLayoutEffect(()=>{if(de&&vn===void 0){const Jt=Hn(de);Wn(yi.format(Jt.toDate(Ui)))}},[de,vn,yi,Ui]);const Yt=`${Ct}-hint`,$t=`${Ct}-error`;return(0,i.jsxs)(Qe,{calendarDate:Pt,content:at,contentId:An,disabled:tn,locale:$n,minDate:Ot,maxDate:Gt,open:Jr,onCalendarDateChange:Tt,onContentChange:kt,onOpenChange:$e,onTextInputChange:pt,onTextValueChange:Wn,onTriggerChange:we,onValueChange:rr,required:At,textInput:je,textValue:vn,timeZone:Ui,trigger:mt,value:nr,children:[(0,i.jsxs)(_e,{className:Cn,size:Un,hasError:Boolean(Nt),children:[(0,i.jsx)(Ke,{"aria-hidden":!0}),(0,i.jsx)(yt,{ref:ii,placeholder:ge,"aria-describedby":`${Yt} ${$t}`,id:Ct,...Or}),vn&&mn?(0,i.jsx)(Le,{as:"button",hasRadius:!0,background:"transparent",type:"button",onClick:dn,"aria-disabled":tn,"aria-label":xn,title:xn,ref:on,children:(0,i.jsx)(R.c,{})}):null]}),(0,i.jsx)(ee.a,{children:(0,i.jsx)(Vt,{label:an,children:(0,i.jsx)(dt,{monthSelectLabel:xe,yearSelectLabel:gt})})})]})}),Pe=an=>Boolean(an.match(/^[^a-zA-Z]*$/)),pe=({currentValue:an,minDate:Cn,maxDate:de})=>{const oe=(0,_.UN)("UTC");return an||((0,_.Mf)(Cn,oe)===Cn&&(0,_.kV)(de,oe)===de?oe:(0,_.Mf)(Cn,oe)===oe?Cn:(0,_.kV)(de,oe)===oe?de:oe)},Se="DatePickerTrigger",_e=a.forwardRef(({hasError:an,size:Cn="M",...de},oe)=>{const Ye=ce(Se),Et=(0,Q.q)(oe,Re=>Ye.onTriggerChange(Re)),xe=()=>{Ye.disabled||Ye.onOpenChange(!0)};return(0,i.jsx)(A.w,{asChild:!0,trapped:Ye.open,onMountAutoFocus:Re=>{Re.preventDefault()},onUnmountAutoFocus:Re=>{document.getSelection()?.empty(),Re.preventDefault()},children:(0,i.jsx)(Ne,{ref:Et,$hasError:an,$size:Cn,...de,paddingLeft:3,paddingRight:3,hasRadius:!0,gap:3,overflow:"hidden",background:Ye.disabled?"neutral150":"neutral0",onClick:(0,M.K)(de.onClick,()=>{Ye.textInput?.focus()}),onPointerDown:(0,M.K)(de.onPointerDown,Re=>{const We=Re.target;We.hasPointerCapture(Re.pointerId)&&We.releasePointerCapture(Re.pointerId),(We.closest("button")??We.closest("div"))===Re.currentTarget&&Re.button===0&&Re.ctrlKey===!1&&(xe(),Ye.textInput?.focus())})})})}),Ne=(0,B.cp)(re.C)`
  border: 1px solid ${({theme:an,$hasError:Cn})=>Cn?an.colors.danger600:an.colors.neutral200};
  min-height: ${({theme:an,$size:Cn})=>(0,me.WI)("input")({theme:an,size:Cn})};

  &[data-disabled] {
    color: ${({theme:an})=>an.colors.neutral600};
    background: ${({theme:an})=>an.colors.neutral150};
    cursor: not-allowed;
  }

  /* Required to ensure the below inputFocusStyles are adhered too */
  &:focus-visible {
    outline: none;
  }

  ${({theme:an,$hasError:Cn})=>(0,me.Ih)()({theme:an,hasError:Cn})};
`,Le=(0,B.cp)(fe.k)`
  border: none;

  svg {
    height: ${11/16}rem;
    width: ${11/16}rem;
  }

  svg path {
    fill: ${({theme:an})=>an.colors.neutral600};
  }
`,Ke=(0,B.cp)(P.c)`
  & > path {
    fill: ${({theme:an})=>an.colors.neutral500};
  }
`,bt="DatePickerTextInput",yt=a.forwardRef(({placeholder:an,...Cn},de)=>{const oe=ce(bt),{onTextValueChange:Ye,textValue:Et,onTextInputChange:xe,onOpenChange:Re,disabled:We,locale:gt}=oe,Nt=(0,Q.q)(de,Un=>xe(Un)),Ct=()=>{We||Re(!0)},tn=(0,Y.I)(gt,{year:"numeric",month:"2-digit",day:"2-digit"}),[ge,At,mn]=a.useMemo(()=>{const Un=tn.formatToParts(new Date),gr=Un.filter(ii=>ii.type==="year"||ii.type==="month"||ii.type==="day"),Ur=gr.map(ii=>{switch(ii.type){case"day":return"DD";case"month":return"MM";case"year":return"YYYY";default:return""}}),Or=Un.find(ii=>ii.type==="literal")?.value??"";return[Ur,Or,gr]},[tn]),xn=ge.map(Un=>`\\d{${Un.length}}`).join(`\\${At}`);return(0,i.jsx)(_t,{role:"combobox",type:"text",inputMode:"numeric",ref:Nt,"aria-autocomplete":"none","aria-controls":oe.contentId,"aria-disabled":oe.disabled,"aria-expanded":oe.open,"aria-required":oe.required,"aria-haspopup":"dialog","data-state":oe.open?"open":"closed",disabled:We,"data-disabled":We?"":void 0,pattern:xn,placeholder:an??ge.join(At),...Cn,value:Et??"",onBlur:(0,M.K)(Cn.onBlur,()=>{if(!oe.textValue){oe.onValueChange(void 0);return}oe.onTextValueChange(tn.format(oe.calendarDate.toDate(oe.timeZone))),oe.onValueChange(oe.calendarDate)}),onChange:(0,M.K)(Cn.onChange,Un=>{if(Pe(Un.target.value)){const gr=Un.target.value.split(At),[Ur,Or,ii]=mn.map((we,je)=>{const pt=gr[je];return{...we,value:pt}}).sort((we,je)=>we.type==="year"?1:je.type==="year"?-1:we.type==="month"?1:je.type==="month"?-1:0).map(we=>we.value),Ui=oe.calendarDate.year;let rn=oe.calendarDate.year;if(ii){let we=ii.length===1?`0${ii}`:ii;rn=ii.length<3?Number(`${Ui}`.slice(0,4-we.length)+we):Number(we)}ii&&ii.length<3&&rn>oe.maxDate.year&&(rn-=100);const $n=oe.calendarDate.set({year:rn}),yi=$n.calendar.getMonthsInYear($n),Jr=$n.set({month:Or&&Number(Or)<=yi?Number(Or):void 0}),cn=Jr.calendar.getDaysInMonth(Jr),mt=Jr.set({day:Ur&&Number(Ur)<=cn?Number(Ur):void 0});oe.onCalendarDateChange(It(mt,oe.minDate,oe.maxDate)),oe.onTextValueChange(Un.target.value)}}),onKeyDown:(0,M.K)(Cn.onKeyDown,Un=>{if(!oe.open&&(Pe(Un.key)||["ArrowDown","Backspace"].includes(Un.key)))Ct();else if(["Tab"].includes(Un.key)&&oe.open)Un.preventDefault();else if(["Escape"].includes(Un.key))oe.open?oe.onOpenChange(!1):(oe.onValueChange(void 0),oe.onTextValueChange("")),Un.preventDefault();else if(oe.open&&["ArrowDown","ArrowUp","ArrowLeft","ArrowRight"].includes(Un.key))switch(Un.preventDefault(),Un.key){case"ArrowDown":{const gr=oe.calendarDate.add({weeks:1});if(oe.maxDate&&gr.compare(oe.maxDate)>0)return;oe.onCalendarDateChange(gr);return}case"ArrowRight":{const gr=oe.calendarDate.add({days:1});if(oe.maxDate&&gr.compare(oe.maxDate)>0)return;oe.onCalendarDateChange(gr);return}case"ArrowUp":{const gr=oe.calendarDate.subtract({weeks:1});if(oe.minDate&&gr.compare(oe.minDate)<0)return;oe.onCalendarDateChange(gr);return}case"ArrowLeft":{const gr=oe.calendarDate.subtract({days:1});if(oe.minDate&&gr.compare(oe.minDate)<0)return;oe.onCalendarDateChange(gr)}}else oe.open&&["Enter"].includes(Un.key)&&(Un.preventDefault(),Ye(tn.format(oe.calendarDate.toDate(oe.timeZone))),oe.onValueChange(oe.calendarDate),oe.onOpenChange(!1))})})});function It(an,Cn,de){return Cn&&(an=(0,_.kV)(an,Cn)),de&&(an=(0,_.Mf)(an,de)),an}const _t=B.cp.input`
  width: 100%;
  font-size: ${14/16}rem;
  color: ${({theme:an})=>an.colors.neutral800};
  height: 100%;
  border: none;
  background-color: transparent;

  &:focus-visible {
    outline: none;
  }

  &[aria-disabled='true'] {
    cursor: inherit;
  }
`,zt="DatePickerContent",Vt=a.forwardRef((an,Cn)=>{const[de,oe]=a.useState(),Ye=ce(zt);if(a.useLayoutEffect(()=>{oe(new DocumentFragment)},[]),!Ye.open){const Et=de;return Et?(0,O.createPortal)((0,i.jsx)("div",{children:an.children}),Et):null}return(0,i.jsx)(Xt,{...an,ref:Cn})}),St="DatePickerContent",Xt=a.forwardRef((an,Cn)=>{const{label:de="Choose date",...oe}=an,{onOpenChange:Ye,...Et}=ce(St),{x:xe,y:Re,refs:We,strategy:gt}=(0,l.gR)({strategy:"fixed",placement:"bottom-start",middleware:[(0,c.E3)({mainAxis:4}),(0,v.CA)(),(0,v.EB)()],elements:{reference:Et.trigger},whileElementsMounted:v.kN});a.useEffect(()=>{const Ct=()=>{Ye(!1)};return window.addEventListener("blur",Ct),window.addEventListener("resize",Ct),()=>{window.removeEventListener("blur",Ct),window.removeEventListener("resize",Ct)}},[Ye]);const Nt=(0,Q.q)(Cn,Ct=>Et.onContentChange(Ct),We.setFloating);return(0,T.SS)(),(0,i.jsx)(N.c,{allowPinchZoom:!0,children:(0,i.jsx)(z.G,{asChild:!0,onFocusOutside:Ct=>{Ct.preventDefault()},onDismiss:()=>{Ye(!1)},children:(0,i.jsx)(jt,{ref:Nt,"data-state":Et.open?"open":"closed",onContextMenu:Ct=>Ct.preventDefault(),id:Et.contentId,role:"dialog","aria-modal":"true","aria-label":de,style:{left:xe,top:Re,position:gt},hasRadius:!0,background:"neutral0",padding:1,...oe})})})}),jt=(0,B.cp)(fe.k)`
  box-shadow: ${({theme:an})=>an.shadows.filterShadow};
  z-index: ${({theme:an})=>an.zIndices[0]};
  border: 1px solid ${({theme:an})=>an.colors.neutral150};
`,sn="DatePickerCalendar",dt=a.forwardRef(({monthSelectLabel:an,yearSelectLabel:Cn,...de},oe)=>{const{locale:Ye,timeZone:Et,minDate:xe,maxDate:Re,calendarDate:We,onCalendarDateChange:gt}=ce(sn),Nt=(0,_.GO)(We),Ct=a.useMemo(()=>{const Ur=xe.year,Or=Re.year;return[...Array(Or-Ur+1).keys()].map(ii=>(Ur+ii).toString())},[xe,Re]),tn=(0,Y.I)(Ye,{month:"long"}),ge=a.useMemo(()=>[...Array(We.calendar.getMonthsInYear(We)).keys()].map(Ur=>tn.format(We.set({month:Ur+1}).toDate(Et))),[We,tn,Et]),At=(0,Y.I)(Ye,{weekday:"short"}),mn=a.useMemo(()=>{let Ur=(0,_.Mn)((0,_.UN)(Et),Ye);return[...new Array(7).keys()].map(Or=>{let Ui=Ur.add({days:Or}).toDate(Et);return At.format(Ui)})},[Et,Ye,At]),xn=Ur=>{if(typeof Ur=="number")return;const Or=We.set({month:ge.indexOf(Ur)+1});gt(Or)},Un=Ur=>{if(typeof Ur=="number")return;const Or=We.set({year:parseInt(Ur,10)});gt(Or)},gr=Ln(Nt,Ye);return(0,i.jsxs)(re.C,{ref:oe,direction:"column",alignItems:"stretch",padding:4,...de,children:[(0,i.jsxs)(fn,{justifyContent:"flex-start",paddingBottom:4,paddingLeft:2,paddingRight:2,gap:2,children:[(0,i.jsx)(J.i,{label:an,size:"S",value:ge[We.month-1],onChange:xn,children:ge.map(Ur=>(0,i.jsx)(J.kH,{value:Ur,children:Ur},Ur))}),(0,i.jsx)(J.i,{size:"S",value:We.year.toString(),label:Cn,onChange:Un,children:Ct.map(Ur=>(0,i.jsx)(J.kH,{value:Ur,children:Ur},Ur))})]}),(0,i.jsxs)("table",{role:"grid",children:[(0,i.jsx)("thead",{"aria-hidden":!0,children:(0,i.jsx)("tr",{"aria-rowindex":0,children:mn.map((Ur,Or)=>(0,i.jsx)(cr,{"aria-colindex":Or,children:Ur},Ur))})}),(0,i.jsx)("tbody",{children:[...new Array(6).keys()].map(Ur=>(0,i.jsx)("tr",{"aria-rowindex":Ur+2,children:gr(Ur).map((Or,ii)=>Or?(0,i.jsx)(nn,{"aria-colindex":ii+1,date:Or,startDate:Nt,disabled:xe.compare(Or)>0||Or.compare(Re)>0},Or.toString()):(0,i.jsx)(or,{"aria-colindex":ii+1}))},Ur))})]})]})}),Ln=(an,Cn)=>de=>{let oe=an.add({weeks:de}),Ye=[];oe=(0,_.Mn)(oe,Cn);let Et=(0,_.SG)(oe,Cn);for(let xe=0;xe<Et;xe++)Ye.push(null);for(;Ye.length<7;){Ye.push(oe);let xe=oe.add({days:1});if((0,_.W)(oe,xe))break;oe=xe}for(;Ye.length<7;)Ye.push(null);return Ye},fn=(0,B.cp)(re.C)`
  div[role='combobox'] {
    border: 1px solid transparent;
    background: transparent;
    font-weight: ${an=>an.theme.fontWeights.bold};

    ${le.O} {
      color: ${({theme:an})=>an.colors.neutral800};
    }

    svg {
      > g,
      path {
        fill: ${({theme:an})=>an.colors.neutral500};
      }
    }

    &:hover {
      background-color: ${({theme:an})=>an.colors.neutral100};
    }
  }
`,cr=a.forwardRef(({children:an,...Cn},de)=>(0,i.jsx)(wr,{as:"th",role:"gridcell",ref:de,...Cn,height:`${24/16}rem`,width:`${32/16}rem`,children:(0,i.jsx)(le.O,{variant:"pi",fontWeight:"bold",color:"neutral800",children:an.slice(0,2)})})),wr=(0,B.cp)(fe.k)`
  border-radius: ${({theme:an})=>an.borderRadius};
  text-transform: capitalize;
`,Jn="DatePickerCalendarCell",nn=a.forwardRef(({date:an,startDate:Cn,disabled:de,...oe},Ye)=>{const{timeZone:Et,locale:xe,calendarDate:Re,onValueChange:We,onOpenChange:gt,onTextValueChange:Nt,onCalendarDateChange:Ct}=ce(Jn),tn=(0,_.W)(Re,an),ge=(0,Y.I)(xe,{weekday:"long",day:"numeric",month:"long",year:"numeric"}),At=a.useMemo(()=>ge.format(an.toDate(Et)),[ge,an,Et]),mn=(0,Y.I)(xe,{day:"numeric",calendar:an.calendar.identifier}),xn=a.useMemo(()=>mn.formatToParts(an.toDate(Et)).find(ii=>ii.type==="day").value,[mn,an,Et]),Un=(0,Y.I)(xe,{day:"2-digit",month:"2-digit",year:"numeric"}),gr=(0,_.Gm)(Cn),Ur=an.compare(Cn)<0||an.compare(gr)>0;let Or="neutral900";return tn?Or="primary600":Ur&&(Or="neutral600"),(0,i.jsx)(or,{as:"td",role:"gridcell",ref:Ye,"aria-selected":tn,...oe,hasRadius:!0,"aria-label":At,tabIndex:tn?0:-1,background:tn?"primary100":"neutral0",cursor:"pointer",onPointerDown:(0,M.K)(oe.onPointerDown,ii=>{ii.preventDefault(),Ct(an),We(an),Nt(Un.format(an.toDate(Et))),gt(!1)}),"aria-disabled":de,children:(0,i.jsx)(le.O,{variant:"pi",textColor:Or,children:xn})})}),or=(0,B.cp)(fe.k)`
  text-align: center;
  padding: ${7/16}rem;
  // Trick to prevent the outline from overflowing because of the general outline-offset
  outline-offset: -2px !important;
  &[aria-disabled='true'] {
    pointer-events: none;
    opacity: 0.5;
  }

  &[aria-disabled='false'] {
    &:hover {
      background: ${({theme:an})=>an.colors.primary100};

      & > ${le.O} {
        color: ${({theme:an})=>an.colors.primary600};
      }
    }
  }
`,bn=a.forwardRef((an,Cn)=>{const{error:de,hint:oe,id:Ye,required:Et,label:xe,...Re}=an,We=(0,Z.I)(Ye);return(0,i.jsx)(Ve.I,{error:de,hint:oe,required:Et,id:We,children:(0,i.jsxs)(re.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,i.jsx)(Ze.u,{children:xe}),(0,i.jsx)(Ge,{ref:Cn,id:We,error:de,required:Et,...Re}),(0,i.jsx)(Ce.o,{}),(0,i.jsx)(ye.Q,{})]})})}),Sn=(0,X.q)(console.warn),Hn=an=>{if(typeof an=="string"){Sn("It looks like you're passing a string as representation of a Date to the DatePicker. This is deprecated, look to passing a Date instead.");const oe=Date.parse(an);Number.isNaN(oe)?an=new Date:an=new Date(oe)}const Cn=an.toISOString(),de=(0,_.s7)(Cn,"UTC");return(0,_.s5)(de)},er=bn},96224:(U,C,e)=>{"use strict";e.d(C,{q:()=>Q});var i=e(19968),a=e(62552),l=e(13375),c=e(3704),v=e(22244),_=e(59264),T=e(12512),A=e(94072),R=e(52496),P=e(44803),M=e(37856),O=e(44736),N=e(95080),B=e(48936),j=e(33128),z=e(35480),W=e(79080),X=e(74264);const Q=a.forwardRef(({ariaLabel:ee,clearLabel:re="clear",dateLabel:me="Choose date",timeLabel:fe="Choose time",disabled:le=!1,error:Ve,hint:Ze,id:Ce,label:ye,labelAction:Ae,onChange:Fe,onClear:Qe,name:ce,required:Ge=!1,selectButtonTitle:Pe,size:pe="M",step:Se,value:_e,initialDate:Ne,...Le},Ke)=>{const bt=a.useRef(null),[yt,It]=(0,R.W)({defaultProp:Ne?Y(Ne,!1):void 0,prop:_e?Y(_e,!1):_e??void 0,onChange(wr){Fe&&Fe(wr?.toDate((0,l.ae)()))}}),_t=(0,_.A)("DateTimePicker"),zt=(0,P.I)(_t.locale,{hour:"2-digit",minute:"2-digit",hour12:!1}),Vt=yt?zt.format(yt.toDate((0,l.ae)())):"",St=wr=>{let Jn=wr?Y(wr):void 0;if(!(Jn&&yt&&Jn.compare(yt)===0)){if(Vt&&Jn){const[nn,or]=Vt.split(":");Jn=Jn.set({hour:parseInt(nn,10),minute:parseInt(or,10)})}It(Jn)}},Xt=wr=>{if(!wr)return;const[Jn,nn]=wr.split(":"),or=yt?yt.set({hour:parseInt(Jn,10),minute:parseInt(nn,10)}):Y(new Date).set({hour:parseInt(Jn,10),minute:parseInt(nn,10)});It(or)},jt=wr=>{It(void 0),Qe&&Qe(wr)},sn=()=>{const wr=yt?yt.set({hour:0,minute:0}):Y(new Date);It(wr)},dt=(0,M.I)(Ce),Ln=(0,M.I)(),fn=(0,M.I)(),cr=(0,A.q)(bt,Ke);return(0,i.jsx)(N.I,{name:ce,as:"fieldset",id:dt,"aria-labelledby":dt,hint:Ze,error:Ve,required:Ge,children:(0,i.jsxs)(B.C,{as:"span",direction:"column",alignItems:"stretch",gap:1,children:[(0,i.jsx)(j.u,{onClick:()=>{bt.current.focus()},as:"legend",id:dt,action:Ae,children:ye}),(0,i.jsxs)(B.C,{flex:"1",gap:1,children:[(0,i.jsx)(z.K,{as:"label",htmlFor:fn,children:me}),(0,i.jsx)(Z,{...Le,selectedDate:yt?.toDate("UTC"),onChange:St,error:typeof Ve=="string",required:Ge,size:pe,onClear:Qe?jt:void 0,clearLabel:`${re} date`,disabled:le,id:fn,ref:cr,"aria-describedby":`${dt}-hint ${dt}-error`}),(0,i.jsx)(z.K,{as:"label",htmlFor:Ln,children:fe}),(0,i.jsx)(J,{size:pe,error:typeof Ve=="string",value:Vt,onChange:Xt,onClear:Qe&&Vt!==void 0&&Vt!=="00:00"?sn:void 0,clearLabel:`${re} time`,required:Ge,disabled:le,step:Se,id:Ln,"aria-describedby":`${dt}-hint ${dt}-error`})]}),(0,i.jsx)(W.o,{}),(0,i.jsx)(X.Q,{})]})})}),K=(0,T.q)(console.warn),Y=(ee,re=!0)=>{if(typeof ee=="string"){K("It looks like you're passing a string as representation of a Date to the DatePicker. This is deprecated, look to passing a Date instead.");const le=Date.parse(ee);Number.isNaN(le)?ee=new Date:ee=new Date(le)}const me=ee.toISOString();let fe=(0,l._M)(me);return re&&(fe=fe.set({hour:0,minute:0})),(0,l.KS)(fe)},Z=(0,c.cp)(v.M)`
  flex: 1 1 70%;
  min-width: 120px;
`,J=(0,c.cp)(O.M)`
  flex: 1 1 30%;
  min-width: 140px;
`},59264:(U,C,e)=>{"use strict";e.d(C,{u:()=>B,A:()=>N});var i=e(19968),a=e(6824),l=e(3704),c=e(82168),v=e(35480);const _=()=>(0,i.jsxs)(v.K,{children:[(0,i.jsx)("p",{role:"log","aria-live":"polite",id:c.e.Log,"aria-relevant":"all"}),(0,i.jsx)("p",{role:"status","aria-live":"polite",id:c.e.Status,"aria-relevant":"all"}),(0,i.jsx)("p",{role:"alert","aria-live":"assertive",id:c.e.Alert,"aria-relevant":"all"})]});var T=e(15520);const A=(0,l.Ud)`
 /* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
  html,
  body,
  div,
  span,
  applet,
  object,
  iframe,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  blockquote,
  pre,
  a,
  abbr,
  acronym,
  address,
  big,
  cite,
  code,
  del,
  dfn,
  em,
  img,
  ins,
  kbd,
  q,
  s,
  samp,
  small,
  strike,
  strong,
  sub,
  sup,
  tt,
  var,
  b,
  u,
  i,
  center,
  dl,
  dt,
  dd,
  ol,
  ul,
  li,
  fieldset,
  form,
  label,
  legend,
  table,
  caption,
  tbody,
  tfoot,
  thead,
  tr,
  th,
  td,
  article,
  aside,
  canvas,
  details,
  embed,
  figure,
  figcaption,
  footer,
  header,
  hgroup,
  menu,
  nav,
  output,
  ruby,
  section,
  summary,
  time,
  mark,
  audio,
  video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
  }
  /* HTML5 display-role reset for older browsers */
  article,
  aside,
  details,
  figcaption,
  figure,
  footer,
  header,
  hgroup,
  menu,
  nav,
  section {
    display: block;
  }
  body {
    line-height: 1;
  }
  ol,
  ul {
    list-style: none;
  }
  blockquote,
  q {
    quotes: none;
  }
  blockquote:before,
  blockquote:after,
  q:before,
  q:after {
    content: "";
    content: none;
  }
  table {
    border-collapse: collapse;
    border-spacing: 0;
  }
  /* My styles */
  *,
  *:before,
  *:after {
    box-sizing: border-box;
  }

  *:focus-visible {
    outline: 2px solid ${({theme:j})=>j.colors.primary600};
    outline-offset: 2px;
  }

  /* Focusing the button with a mouse, touch, or stylus will show a subtle drop shadow. */
  *:focus:not(:focus-visible) {
    outline: none;
  }

  body,html{
    height: 100%;
  }
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }

  button {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    font-size: 100%;
    cursor: pointer;
    font: inherit;
  }

  textarea,input {
    font: inherit;
  }

  .lock-body-scroll {
    height: 100vh;
    overflow-y: hidden;
  }
`,R=({children:j,theme:z=T.g})=>(0,i.jsxs)(l.Mp,{theme:z,children:[j,(0,i.jsx)(_,{}),(0,i.jsx)(A,{})]}),P="en-EN",M=()=>typeof navigator>"u"?P:navigator.language?navigator.language:P,[O,N]=(0,a.G)("StrapiDesignSystem",{locale:M()}),B=({locale:j=M(),...z})=>(0,i.jsx)(O,{locale:j,children:(0,i.jsx)(R,{...z})})},85820:(U,C,e)=>{"use strict";e.d(C,{C:()=>j});var i=e(19968),a=e(3704),l=e(91e3);const c=(z,W)=>`${z}${Math.floor(W*255).toString(16).padStart(2,"0")}`;var v=e(37856),_=e(54248),T=e(77872),A=e(5e3),R=e(48936),P=e(37340),M=e(63358);const O=(0,a.cp)(A.k)`
  inset: 0;
  background: ${({theme:z})=>c(z.colors.neutral800,.2)};
`,N=(0,a.cp)(A.k)`
  max-width: ${412/16}rem;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 10%;
`,B=(0,a.cp)(R.C)`
  border-bottom: 1px solid ${({theme:z})=>z.colors.neutral150};
`,j=({onClose:z,title:W,as:X="h2",isOpen:Q,id:K,...Y})=>{const Z=(0,v.I)(K);if((0,_.c)(Q),!Q)return null;const J=`${Z}-label`;return(0,i.jsx)(P.a,{children:(0,i.jsx)(O,{padding:8,position:"fixed",zIndex:4,children:(0,i.jsx)(T.W,{children:(0,i.jsx)(l.G,{onEscapeKeyDown:z,onPointerDownOutside:z,children:(0,i.jsxs)(N,{"aria-labelledby":J,"aria-modal":!0,background:"neutral0",hasRadius:!0,shadow:"popupShadow",role:"dialog",children:[(0,i.jsx)(B,{padding:6,justifyContent:"center",children:(0,i.jsx)(M.O,{variant:"beta",as:X,id:J,children:W})}),(0,i.jsx)(A.k,{...Y})]})})})})})}},70883:(U,C,e)=>{"use strict";e.d(C,{a:()=>_});var i=e(19968),a=e(3704),l=e(5e3),c=e(48936);const v=(0,a.cp)(l.k)`
  svg {
    width: ${({theme:T})=>T.spaces[6]};
    height: ${({theme:T})=>T.spaces[6]};

    path {
      fill: ${({theme:T})=>T.colors.danger600};
    }
  }
`,_=({children:T,icon:A})=>(0,i.jsxs)(l.k,{paddingTop:8,paddingBottom:8,paddingLeft:6,paddingRight:6,children:[A&&(0,i.jsx)(v,{paddingBottom:2,children:(0,i.jsx)(c.C,{justifyContent:"center",children:A})}),T]})},84328:(U,C,e)=>{"use strict";e.d(C,{K:()=>_});var i=e(19968),a=e(3704),l=e(5e3),c=e(48936);const v=(0,a.cp)(l.k)`
  border-top: 1px solid ${({theme:T})=>T.colors.neutral150};

  button {
    width: 100%;
    display: inline-flex;
    justify-content: center;
  }
`,_=({startAction:T,endAction:A})=>(0,i.jsx)(v,{padding:4,children:(0,i.jsxs)(c.C,{gap:2,children:[T,A]})})},91e3:(U,C,e)=>{"use strict";e.d(C,{G:()=>a});var i=e(31096);const a=i.Ss},6912:(U,C,e)=>{"use strict";e.d(C,{c:()=>v});var i=e(19968),a=e(3704),l=e(5e3);const c=(0,a.cp)(l.k)`
  height: 1px;
  border: none;
  /* If contained in a Flex parent we want to prevent the Divider to shink */
  flex-shrink: 0;
  ${({unsetMargin:_})=>_?"margin: 0;":""}
`,v=({unsetMargin:_=!0,...T})=>(0,i.jsx)(c,{...T,background:"neutral150",as:"hr",unsetMargin:_})},36132:(U,C,e)=>{"use strict";e.d(C,{S:()=>T});var i=e(19968),a=e(3704),l=e(5e3),c=e(48936),v=e(63358);const _=(0,a.cp)(l.k)`
  svg {
    height: ${88/16}rem;
  }
`,T=({icon:A,content:R,action:P,hasRadius:M=!0,shadow:O="tableShadow"})=>(0,i.jsxs)(c.C,{alignItems:"center",direction:"column",padding:11,background:"neutral0",hasRadius:M,shadow:O,children:[(0,i.jsx)(_,{paddingBottom:6,"aria-hidden":!0,children:A}),(0,i.jsx)(l.k,{paddingBottom:4,children:(0,i.jsx)(v.O,{variant:"delta",as:"p",textAlign:"center",textColor:"neutral600",children:R})}),P]})},95080:(U,C,e)=>{"use strict";e.d(C,{I:()=>_});var i=e(19968),a=e(62552),l=e(4392),c=e(37856),v=e(5e3);const _=(0,a.forwardRef)(({children:T,name:A,error:R,hint:P,id:M,required:O=!1,...N},B)=>{const j=(0,c.I)(M),z=(0,a.useMemo)(()=>({name:A,id:j,error:R,hint:P,required:O}),[R,j,P,A,O]);return(0,i.jsx)(v.k,{ref:B,...N,children:(0,i.jsx)(l.S.Provider,{value:z,children:T})})})},17324:(U,C,e)=>{"use strict";e.d(C,{d:()=>T});var i=e(19968),a=e(62552),l=e(3704),c=e(48936),v=e(35480);const _=(0,l.cp)(c.C)`
  font-size: 1.6rem;
  padding: 0;
`,T=(0,a.forwardRef)(({label:A,children:R,...P},M)=>(0,i.jsxs)(_,{justifyContent:"unset",background:"transparent",borderStyle:"none",type:"button",...P,as:"button",ref:M,children:[(0,i.jsx)(v.K,{as:"span",children:A}),(0,a.cloneElement)(R,{"aria-hidden":!0,focusable:!1})]}))},4392:(U,C,e)=>{"use strict";e.d(C,{S:()=>a,m:()=>l});var i=e(62552);const a=(0,i.createContext)({id:"",required:!1}),l=()=>(0,i.useContext)(a)},74264:(U,C,e)=>{"use strict";e.d(C,{Q:()=>c});var i=e(19968),a=e(4392),l=e(63358);const c=()=>{const{id:v,error:_}=(0,a.m)();return!_||typeof _!="string"?null:(0,i.jsx)(l.O,{variant:"pi",as:"p",id:`${v}-error`,textColor:"danger600","data-strapi-field-error":!0,children:_})}},79080:(U,C,e)=>{"use strict";e.d(C,{o:()=>c});var i=e(19968),a=e(4392),l=e(63358);const c=()=>{const{id:v,hint:_,error:T}=(0,a.m)();return!_||T?null:(0,i.jsx)(l.O,{variant:"pi",as:"p",id:`${v}-hint`,textColor:"neutral600",children:_})}},79672:(U,C,e)=>{"use strict";e.d(C,{S:()=>M,e:()=>R});var i=e(19968),a=e(62552),l=e(3704),c=e(4392),v=e(53744),_=e(5e3),T=e(48936);const A={S:6.5,M:10.5},R=(0,a.forwardRef)(({endAction:O,startAction:N,disabled:B=!1,onChange:j,size:z="M",...W},X)=>{const{id:Q,error:K,hint:Y,name:Z,required:J}=(0,c.m)();let ee;K?ee=`${Q}-error`:Y&&(ee=`${Q}-hint`);const re=Boolean(K),me=fe=>{!B&&j&&j(fe)};return(0,i.jsxs)(M,{justifyContent:"space-between",hasError:re,disabled:B,children:[N?(0,i.jsx)(_.k,{paddingLeft:3,paddingRight:2,children:N}):null,(0,i.jsx)(P,{id:Q,name:Z,ref:X,"aria-describedby":ee,"aria-invalid":re,"aria-disabled":B,disabled:B,"data-disabled":B?"":void 0,hasLeftAction:Boolean(N),hasRightAction:Boolean(O),onChange:me,"aria-required":J,$size:z,...W}),O?(0,i.jsx)(_.k,{paddingLeft:2,paddingRight:3,children:O}):null]})}),P=l.cp.input`
  border: none;
  border-radius: ${({theme:O})=>O.borderRadius};
  padding-bottom: ${({$size:O})=>`${A[O]/16}rem`};
  padding-left: ${({theme:O,hasLeftAction:N})=>N?0:O.spaces[4]};
  padding-right: ${({theme:O,hasRightAction:N})=>N?0:O.spaces[4]};
  padding-top: ${({$size:O})=>`${A[O]/16}rem`};
  cursor: ${O=>O["aria-disabled"]?"not-allowed":void 0};

  color: ${({theme:O})=>O.colors.neutral800};
  font-weight: 400;
  font-size: ${O=>O.theme.fontSizes[2]};
  display: block;
  width: 100%;
  background: inherit;

  ::placeholder {
    color: ${({theme:O})=>O.colors.neutral500};
    opacity: 1;
  }

  &[aria-disabled='true'] {
    color: inherit;
  }

  //focus managed by InputWrapper
  &:focus {
    outline: none;
    box-shadow: none;
  }
`,M=(0,l.cp)(T.C)`
  border: 1px solid ${({theme:O,hasError:N})=>N?O.colors.danger600:O.colors.neutral200};
  border-radius: ${({theme:O})=>O.borderRadius};
  background: ${({theme:O})=>O.colors.neutral0};
  ${(0,v.Ih)()}

  ${({theme:O,disabled:N})=>N?(0,l.gV)`
          color: ${O.colors.neutral600};
          background: ${O.colors.neutral150};
        `:void 0}
`},33128:(U,C,e)=>{"use strict";e.d(C,{u:()=>R});var i=e(19968),a=e(62552),l=e(3704),c=e(4392),v=e(12512),_=e(63358),T=e(48936);const A=(0,v.q)(console.warn),R=(0,a.forwardRef)(({children:N,action:B,required:j,...z},W)=>{const{id:X,required:Q}=(0,c.m)(),K=Q||j;return j!==void 0&&A('Deprecation warning: Usage of "required" prop in FieldLabel component is deprecated. This is discouraged and will be removed in the next major release. Please use the Field component to share the required prop.'),(0,i.jsxs)(P,{ref:W,variant:"pi",textColor:"neutral800",htmlFor:X,fontWeight:"bold",as:"label",...z,children:[N,K&&(0,i.jsx)(M,{textColor:"danger600",children:"*"}),B&&(0,i.jsx)(O,{marginLeft:1,children:B})]})}),P=(0,l.cp)(_.O)`
  display: flex;
  align-items: center;
`,M=(0,l.cp)(_.O)`
  line-height: 0;
`,O=(0,l.cp)(T.C)`
  line-height: 0;

  svg path {
    fill: ${({theme:N})=>N.colors.neutral500};
  }
`},48936:(U,C,e)=>{"use strict";e.d(C,{C:()=>v});var i=e(3704),a=e(35896),l=e(5e3);const c={direction:!0},v=(0,i.cp)(l.k).withConfig({shouldForwardProp:(_,T)=>!c[_]&&T(_)})`
  align-items: ${({alignItems:_="center"})=>_};
  display: ${({display:_="flex",inline:T})=>T?"inline-flex":_};
  flex-direction: ${({direction:_="row"})=>_};
  flex-shrink: ${({shrink:_})=>_};
  flex-wrap: ${({wrap:_})=>_};
  ${({gap:_,theme:T})=>(0,a.c)("gap",_,T)};
  justify-content: ${({justifyContent:_})=>_};
`},77872:(U,C,e)=>{"use strict";e.d(C,{W:()=>v});var i=e(19968),a=e(62552),l=e(1e4),c=e(89192);const v=({onEscape:_,restoreFocus:T=!0,skipAutoFocus:A=!1,...R})=>{const P=(0,a.useRef)(null);(0,a.useEffect)(()=>{let O=null;return T&&(O=document.activeElement),()=>{O&&O.focus()}},[T]),(0,a.useEffect)(()=>{if(!P.current||A)return;const O=(0,l.M)(P.current);O.length>0?O[0].focus():console.warn("[FocusTrap]: it seems there are no focusable elements in the focus trap tree. Make sure there s at least one.")},[A]);const M=O=>{if(O.key===c._.ESCAPE&&_){_();return}if(O.key!==c._.TAB)return;const N=(0,l.M)(P.current);if(N.length>0){const B=N[0],j=N[N.length-1];O.shiftKey?B===document.activeElement&&(O.preventDefault(),j.focus()):j===document.activeElement&&(O.preventDefault(),B.focus())}};return(0,i.jsx)("div",{ref:P,onKeyDown:M,...R})}},28724:(U,C,e)=>{"use strict";e.d(C,{y:()=>_});var i=e(19968),a=e(3704),l=e(35896),c=e(5e3);const v=(0,a.cp)(c.k)`
  display: grid;
  grid-template-columns: repeat(${({gridCols:T})=>T}, 1fr);
  ${({theme:T,gap:A})=>(0,l.c)("gap",A,T)}
`,_=T=>{const{gap:A="0",gridCols:R=12,...P}=T;return(0,i.jsx)(v,{gap:A,gridCols:R,...P})}},70996:(U,C,e)=>{"use strict";e.d(C,{C:()=>l});var i=e(3704),a=e(5e3);const l=(0,i.cp)(a.k)`
  grid-column: span ${({col:c})=>c};
  max-width: 100%;

  ${({theme:c})=>c.mediaQueries.tablet} {
    grid-column: span ${({s:c})=>c};
  }

  ${({theme:c})=>c.mediaQueries.mobile} {
    grid-column: span ${({xs:c})=>c};
  }
`},55716:(U,C,e)=>{"use strict";e.d(C,{G:()=>T});var i=e(19968),a=e(62552),l=e(3704),c=e(53220),v=e(5e3);const _=(0,l.cp)(v.k)`
  path {
    fill: ${({color:A,theme:R})=>(0,c.M)(R.colors,A,void 0)};
  }
  ${({theme:A,colors:R})=>R(A)}
`,T=a.forwardRef(({color:A="neutral600",colors:R=()=>"",...P},M)=>(0,i.jsx)(_,{ref:M,color:A,colors:R,...P}));T.displayName="Icon"},23264:(U,C,e)=>{"use strict";e.d(C,{S:()=>B,w:()=>O});var i=e(19968),a=e(62552),l=e(3704),c=e(35480),v=e(70544),_=e(67056),T=e(48936);const A="tertiary",R="secondary",P=["S","M","L"],M=[A,R],O=a.forwardRef(({label:j,background:z,borderWidth:W,noBorder:X=!1,children:Q,icon:K,disabled:Y=!1,onClick:Z,size:J=P[0],"aria-label":ee,variant:re=M[0],...me},fe)=>{const le=Ze=>{!Y&&Z&&Z(Ze)},Ve=(0,i.jsxs)(N,{"aria-disabled":Y,background:Y?"neutral150":z,borderWidth:X?0:W,justifyContent:"center",...me,ref:fe,size:J,onClick:le,variant:re,children:[(0,i.jsx)(c.K,{as:"span",children:j??ee}),a.cloneElement(K||Q,{"aria-hidden":!0,focusable:!1})]});return j?(0,i.jsx)(v.o,{label:j,children:Ve}):Ve}),N=(0,l.cp)(_.g)`
  background-color: ${({theme:j,variant:z})=>{if(z===R)return j.colors.primary100}};
  border-color: ${({theme:j,variant:z})=>z===R?j.colors.primary200:j.colors.neutral200};
  height: ${({theme:j,size:z})=>j.sizes.button[z]};
  width: ${({theme:j,size:z})=>j.sizes.button[z]};

  svg {
    g,
    path {
      fill: ${({theme:j,variant:z})=>z===R?j.colors.primary500:j.colors.neutral500};
    }
  }

  :hover,
  :focus {
    svg {
      g,
      path {
        fill: ${({theme:j,variant:z})=>z===R?j.colors.primary600:j.colors.neutral600};
      }
    }
  }

  &[aria-disabled='true'] {
    svg {
      path {
        fill: ${({theme:j})=>j.colors.neutral600};
      }
    }
  }
`,B=(0,l.cp)(T.C)`
  & span:first-child button {
    border-left: 1px solid ${({theme:j})=>j.colors.neutral200};
    border-radius: ${({theme:j})=>`${j.borderRadius} 0 0 ${j.borderRadius}`};
  }

  & span:last-child button {
    border-radius: ${({theme:j})=>`0 ${j.borderRadius} ${j.borderRadius} 0`};
  }

  & ${N} {
    border-radius: 0;
    border-left: none;

    svg {
      path {
        fill: ${({theme:j})=>j.colors.neutral700};
      }
    }

    &:hover {
      background-color: ${({theme:j})=>j.colors.neutral100};

      svg {
        path {
          fill: ${({theme:j})=>j.colors.neutral800};
        }
      }
    }

    &:active {
      background-color: ${({theme:j})=>j.colors.neutral150};
      svg {
        path {
          fill: ${({theme:j})=>j.colors.neutral900};
        }
      }
    }

    &[aria-disabled='true'] {
      svg {
        path {
          fill: ${({theme:j})=>j.colors.neutral600};
        }
      }
    }
  }
`},26852:(U,C,e)=>{"use strict";e.d(C,{O:()=>u_});var i=e(19968),a=e(62552);const l=1024;let c=0;class v{constructor(t,o){this.from=t,this.to=o}}class _{constructor(t={}){this.id=c++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=R.match(t)),o=>{let d=t(o);return d===void 0?null:[this,d]}}}_.closedBy=new _({deserialize:p=>p.split(" ")}),_.openedBy=new _({deserialize:p=>p.split(" ")}),_.group=new _({deserialize:p=>p.split(" ")}),_.isolate=new _({deserialize:p=>{if(p&&p!="rtl"&&p!="ltr"&&p!="auto")throw new RangeError("Invalid value for isolate: "+p);return p||"auto"}}),_.contextHash=new _({perNode:!0}),_.lookAhead=new _({perNode:!0}),_.mounted=new _({perNode:!0});class T{constructor(t,o,d){this.tree=t,this.overlay=o,this.parser=d}static get(t){return t&&t.props&&t.props[_.mounted.id]}}const A=Object.create(null);class R{constructor(t,o,d,g=0){this.name=t,this.props=o,this.id=d,this.flags=g}static define(t){let o=t.props&&t.props.length?Object.create(null):A,d=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),g=new R(t.name||"",o,t.id,d);if(t.props){for(let D of t.props)if(Array.isArray(D)||(D=D(g)),D){if(D[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");o[D[0].id]=D[1]}}return g}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let o=this.prop(_.group);return o?o.indexOf(t)>-1:!1}return this.id==t}static match(t){let o=Object.create(null);for(let d in t)for(let g of d.split(" "))o[g]=t[d];return d=>{for(let g=d.prop(_.group),D=-1;D<(g?g.length:0);D++){let L=o[D<0?d.name:g[D]];if(L)return L}}}}R.none=new R("",Object.create(null),0,8);class P{constructor(t){this.types=t;for(let o=0;o<t.length;o++)if(t[o].id!=o)throw new RangeError("Node type ids should correspond to array positions when creating a node set")}extend(...t){let o=[];for(let d of this.types){let g=null;for(let D of t){let L=D(d);L&&(g||(g=Object.assign({},d.props)),g[L[0].id]=L[1])}o.push(g?new R(d.name,g,d.id,d.flags):d)}return new P(o)}}const M=new WeakMap,O=new WeakMap;var N;(function(p){p[p.ExcludeBuffers=1]="ExcludeBuffers",p[p.IncludeAnonymous=2]="IncludeAnonymous",p[p.IgnoreMounts=4]="IgnoreMounts",p[p.IgnoreOverlays=8]="IgnoreOverlays"})(N||(N={}));class B{constructor(t,o,d,g,D){if(this.type=t,this.children=o,this.positions=d,this.length=g,this.props=null,D&&D.length){this.props=Object.create(null);for(let[L,$]of D)this.props[typeof L=="number"?L:L.id]=$}}toString(){let t=T.get(this);if(t&&!t.overlay)return t.tree.toString();let o="";for(let d of this.children){let g=d.toString();g&&(o&&(o+=","),o+=g)}return this.type.name?(/\W/.test(this.type.name)&&!this.type.isError?JSON.stringify(this.type.name):this.type.name)+(o.length?"("+o+")":""):o}cursor(t=0){return new le(this.topNode,t)}cursorAt(t,o=0,d=0){let g=M.get(this)||this.topNode,D=new le(g);return D.moveTo(t,o),M.set(this,D._tree),D}get topNode(){return new K(this,0,0,null)}resolve(t,o=0){let d=X(M.get(this)||this.topNode,t,o,!1);return M.set(this,d),d}resolveInner(t,o=0){let d=X(O.get(this)||this.topNode,t,o,!0);return O.set(this,d),d}resolveStack(t,o=0){return fe(this,t,o)}iterate(t){let{enter:o,leave:d,from:g=0,to:D=this.length}=t,L=t.mode||0,$=(L&N.IncludeAnonymous)>0;for(let te=this.cursor(L|N.IncludeAnonymous);;){let he=!1;if(te.from<=D&&te.to>=g&&(!$&&te.type.isAnonymous||o(te)!==!1)){if(te.firstChild())continue;he=!0}for(;he&&d&&($||!te.type.isAnonymous)&&d(te),!te.nextSibling();){if(!te.parent())return;he=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let o in this.props)t.push([+o,this.props[o]]);return t}balance(t={}){return this.children.length<=8?this:Ae(R.none,this.children,this.positions,0,this.children.length,0,this.length,(o,d,g)=>new B(this.type,o,d,g,this.propValues),t.makeTree||((o,d,g)=>new B(R.none,o,d,g)))}static build(t){return Ze(t)}}B.empty=new B(R.none,[],[],0);class j{constructor(t,o){this.buffer=t,this.index=o}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new j(this.buffer,this.index)}}class z{constructor(t,o,d){this.buffer=t,this.length=o,this.set=d}get type(){return R.none}toString(){let t=[];for(let o=0;o<this.buffer.length;)t.push(this.childString(o)),o=this.buffer[o+3];return t.join(",")}childString(t){let o=this.buffer[t],d=this.buffer[t+3],g=this.set.types[o],D=g.name;if(/\W/.test(D)&&!g.isError&&(D=JSON.stringify(D)),t+=4,d==t)return D;let L=[];for(;t<d;)L.push(this.childString(t)),t=this.buffer[t+3];return D+"("+L.join(",")+")"}findChild(t,o,d,g,D){let{buffer:L}=this,$=-1;for(let te=t;te!=o&&!(W(D,g,L[te+1],L[te+2])&&($=te,d>0));te=L[te+3]);return $}slice(t,o,d){let g=this.buffer,D=new Uint16Array(o-t),L=0;for(let $=t,te=0;$<o;){D[te++]=g[$++],D[te++]=g[$++]-d;let he=D[te++]=g[$++]-d;D[te++]=g[$++]-t,L=Math.max(L,he)}return new z(D,L,this.set)}}function W(p,t,o,d){switch(p){case-2:return o<t;case-1:return d>=t&&o<t;case 0:return o<t&&d>t;case 1:return o<=t&&d>t;case 2:return d>t;case 4:return!0}}function X(p,t,o,d){for(var g;p.from==p.to||(o<1?p.from>=t:p.from>t)||(o>-1?p.to<=t:p.to<t);){let L=!d&&p instanceof K&&p.index<0?null:p.parent;if(!L)return p;p=L}let D=d?0:N.IgnoreOverlays;if(d)for(let L=p,$=L.parent;$;L=$,$=L.parent)L instanceof K&&L.index<0&&((g=$.enter(t,o,D))===null||g===void 0?void 0:g.from)!=L.from&&(p=$);for(;;){let L=p.enter(t,o,D);if(!L)return p;p=L}}class Q{cursor(t=0){return new le(this,t)}getChild(t,o=null,d=null){let g=Y(this,t,o,d);return g.length?g[0]:null}getChildren(t,o=null,d=null){return Y(this,t,o,d)}resolve(t,o=0){return X(this,t,o,!1)}resolveInner(t,o=0){return X(this,t,o,!0)}matchContext(t){return Z(this,t)}enterUnfinishedNodesBefore(t){let o=this.childBefore(t),d=this;for(;o;){let g=o.lastChild;if(!g||g.to!=o.to)break;g.type.isError&&g.from==g.to?(d=o,o=g.prevSibling):o=g}return d}get node(){return this}get next(){return this.parent}}class K extends Q{constructor(t,o,d,g){super(),this._tree=t,this.from=o,this.index=d,this._parent=g}get type(){return this._tree.type}get name(){return this._tree.type.name}get to(){return this.from+this._tree.length}nextChild(t,o,d,g,D=0){for(let L=this;;){for(let{children:$,positions:te}=L._tree,he=o>0?$.length:-1;t!=he;t+=o){let ve=$[t],qe=te[t]+L.from;if(W(g,d,qe,qe+ve.length)){if(ve instanceof z){if(D&N.ExcludeBuffers)continue;let Rt=ve.findChild(0,ve.buffer.length,o,d-qe,g);if(Rt>-1)return new ee(new J(L,ve,t,qe),null,Rt)}else if(D&N.IncludeAnonymous||!ve.type.isAnonymous||Ve(ve)){let Rt;if(!(D&N.IgnoreMounts)&&(Rt=T.get(ve))&&!Rt.overlay)return new K(Rt.tree,qe,t,L);let En=new K(ve,qe,t,L);return D&N.IncludeAnonymous||!En.type.isAnonymous?En:En.nextChild(o<0?ve.children.length-1:0,o,d,g)}}}if(D&N.IncludeAnonymous||!L.type.isAnonymous||(L.index>=0?t=L.index+o:t=o<0?-1:L._parent._tree.children.length,L=L._parent,!L))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,o,d=0){let g;if(!(d&N.IgnoreOverlays)&&(g=T.get(this._tree))&&g.overlay){let D=t-this.from;for(let{from:L,to:$}of g.overlay)if((o>0?L<=D:L<D)&&(o<0?$>=D:$>D))return new K(g.tree,g.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,o,d)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function Y(p,t,o,d){let g=p.cursor(),D=[];if(!g.firstChild())return D;if(o!=null){for(let L=!1;!L;)if(L=g.type.is(o),!g.nextSibling())return D}for(;;){if(d!=null&&g.type.is(d))return D;if(g.type.is(t)&&D.push(g.node),!g.nextSibling())return d==null?D:[]}}function Z(p,t,o=t.length-1){for(let d=p.parent;o>=0;d=d.parent){if(!d)return!1;if(!d.type.isAnonymous){if(t[o]&&t[o]!=d.name)return!1;o--}}return!0}class J{constructor(t,o,d,g){this.parent=t,this.buffer=o,this.index=d,this.start=g}}class ee extends Q{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,o,d){super(),this.context=t,this._parent=o,this.index=d,this.type=t.buffer.set.types[t.buffer.buffer[d]]}child(t,o,d){let{buffer:g}=this.context,D=g.findChild(this.index+4,g.buffer[this.index+3],t,o-this.context.start,d);return D<0?null:new ee(this.context,this,D)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,o,d=0){if(d&N.ExcludeBuffers)return null;let{buffer:g}=this.context,D=g.findChild(this.index+4,g.buffer[this.index+3],o>0?1:-1,t-this.context.start,o);return D<0?null:new ee(this.context,this,D)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,o=t.buffer[this.index+3];return o<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new ee(this.context,this._parent,o):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,o=this._parent?this._parent.index+4:0;return this.index==o?this.externalSibling(-1):new ee(this.context,this._parent,t.findChild(o,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],o=[],{buffer:d}=this.context,g=this.index+4,D=d.buffer[this.index+3];if(D>g){let L=d.buffer[this.index+1];t.push(d.slice(g,D,L)),o.push(0)}return new B(this.type,t,o,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function re(p){if(!p.length)return null;let t=0,o=p[0];for(let D=1;D<p.length;D++){let L=p[D];(L.from>o.from||L.to<o.to)&&(o=L,t=D)}let d=o instanceof K&&o.index<0?null:o.parent,g=p.slice();return d?g[t]=d:g.splice(t,1),new me(g,o)}class me{constructor(t,o){this.heads=t,this.node=o}get next(){return re(this.heads)}}function fe(p,t,o){let d=p.resolveInner(t,o),g=null;for(let D=d instanceof K?d:d.context.parent;D;D=D.parent)if(D.index<0){let L=D.parent;(g||(g=[d])).push(L.resolve(t,o)),D=L}else{let L=T.get(D.tree);if(L&&L.overlay&&L.overlay[0].from<=t&&L.overlay[L.overlay.length-1].to>=t){let $=new K(L.tree,L.overlay[0].from+D.from,-1,D);(g||(g=[d])).push(X($,t,o,!1))}}return g?re(g):d}class le{get name(){return this.type.name}constructor(t,o=0){if(this.mode=o,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof K)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let d=t._parent;d;d=d._parent)this.stack.unshift(d.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,o){this.index=t;let{start:d,buffer:g}=this.buffer;return this.type=o||g.set.types[g.buffer[t]],this.from=d+g.buffer[t+1],this.to=d+g.buffer[t+2],!0}yield(t){return t?t instanceof K?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,o,d){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,o,d,this.mode));let{buffer:g}=this.buffer,D=g.findChild(this.index+4,g.buffer[this.index+3],t,o-this.buffer.start,d);return D<0?!1:(this.stack.push(this.index),this.yieldBuf(D))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,o,d=this.mode){return this.buffer?d&N.ExcludeBuffers?!1:this.enterChild(1,t,o):this.yield(this._tree.enter(t,o,d))}parent(){if(!this.buffer)return this.yieldNode(this.mode&N.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&N.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:o}=this.buffer,d=this.stack.length-1;if(t<0){let g=d<0?0:this.stack[d]+4;if(this.index!=g)return this.yieldBuf(o.findChild(g,this.index,-1,0,4))}else{let g=o.buffer[this.index+3];if(g<(d<0?o.buffer.length:o.buffer[this.stack[d]+3]))return this.yieldBuf(g)}return d<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let o,d,{buffer:g}=this;if(g){if(t>0){if(this.index<g.buffer.buffer.length)return!1}else for(let D=0;D<this.index;D++)if(g.buffer.buffer[D+3]<this.index)return!1;({index:o,parent:d}=g)}else({index:o,_parent:d}=this._tree);for(;d;{index:o,_parent:d}=d)if(o>-1)for(let D=o+t,L=t<0?-1:d._tree.children.length;D!=L;D+=t){let $=d._tree.children[D];if(this.mode&N.IncludeAnonymous||$ instanceof z||!$.type.isAnonymous||Ve($))return!1}return!0}move(t,o){if(o&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,o=0){for(;(this.from==this.to||(o<1?this.from>=t:this.from>t)||(o>-1?this.to<=t:this.to<t))&&this.parent(););for(;this.enterChild(1,t,o););return this}get node(){if(!this.buffer)return this._tree;let t=this.bufferNode,o=null,d=0;if(t&&t.context==this.buffer){e:for(let g=this.index,D=this.stack.length;D>=0;){for(let L=t;L;L=L._parent)if(L.index==g){if(g==this.index)return L;o=L,d=D+1;break e}g=this.stack[--D]}}for(let g=d;g<this.stack.length;g++)o=new ee(this.buffer,o,this.stack[g]);return this.bufferNode=new ee(this.buffer,o,this.index)}get tree(){return this.buffer?null:this._tree._tree}iterate(t,o){for(let d=0;;){let g=!1;if(this.type.isAnonymous||t(this)!==!1){if(this.firstChild()){d++;continue}this.type.isAnonymous||(g=!0)}for(;g&&o&&o(this),g=this.type.isAnonymous,!this.nextSibling();){if(!d)return;this.parent(),d--,g=!0}}}matchContext(t){if(!this.buffer)return Z(this.node,t);let{buffer:o}=this.buffer,{types:d}=o.set;for(let g=t.length-1,D=this.stack.length-1;g>=0;D--){if(D<0)return Z(this.node,t,g);let L=d[o.buffer[this.stack[D]]];if(!L.isAnonymous){if(t[g]&&t[g]!=L.name)return!1;g--}}return!0}}function Ve(p){return p.children.some(t=>t instanceof z||!t.type.isAnonymous||Ve(t))}function Ze(p){var t;let{buffer:o,nodeSet:d,maxBufferLength:g=l,reused:D=[],minRepeatType:L=d.types.length}=p,$=Array.isArray(o)?new j(o,o.length):o,te=d.types,he=0,ve=0;function qe(Os,ua,Ls,vo,lo,Ro){let{id:Mo,start:Xo,end:kl,size:ul}=$,Fc=ve;for(;ul<0;)if($.next(),ul==-1){let y0=D[Mo];Ls.push(y0),vo.push(Xo-Os);return}else if(ul==-3){he=Mo;return}else if(ul==-4){ve=Mo;return}else throw new RangeError(`Unrecognized record size: ${ul}`);let H0=te[Mo],wc,X0,vd=Xo-Os;if(kl-Xo<=g&&(X0=Qr($.pos-ua,lo))){let y0=new Uint16Array(X0.size-X0.skip),_f=$.pos-X0.size,Eh=y0.length;for(;$.pos>_f;)Eh=$i(X0.start,y0,Eh);wc=new z(y0,kl-X0.start,d),vd=X0.start-Os}else{let y0=$.pos-ul;$.next();let _f=[],Eh=[],mp=Mo>=L?Mo:-1,P4=0,Om=kl;for(;$.pos>y0;)mp>=0&&$.id==mp&&$.size>=0?($.end<=Om-g&&(qn(_f,Eh,Xo,P4,$.end,Om,mp,Fc),P4=_f.length,Om=$.end),$.next()):Ro>2500?Rt(Xo,y0,_f,Eh):qe(Xo,y0,_f,Eh,mp,Ro+1);if(mp>=0&&P4>0&&P4<_f.length&&qn(_f,Eh,Xo,P4,Xo,Om,mp,Fc),_f.reverse(),Eh.reverse(),mp>-1&&P4>0){let Kp=En(H0);wc=Ae(H0,_f,Eh,0,_f.length,0,kl-Xo,Kp,Kp)}else wc=zr(H0,_f,Eh,kl-Xo,Fc-kl)}Ls.push(wc),vo.push(vd)}function Rt(Os,ua,Ls,vo){let lo=[],Ro=0,Mo=-1;for(;$.pos>ua;){let{id:Xo,start:kl,end:ul,size:Fc}=$;if(Fc>4)$.next();else{if(Mo>-1&&kl<Mo)break;Mo<0&&(Mo=ul-g),lo.push(Xo,kl,ul),Ro++,$.next()}}if(Ro){let Xo=new Uint16Array(Ro*4),kl=lo[lo.length-2];for(let ul=lo.length-3,Fc=0;ul>=0;ul-=3)Xo[Fc++]=lo[ul],Xo[Fc++]=lo[ul+1]-kl,Xo[Fc++]=lo[ul+2]-kl,Xo[Fc++]=Fc;Ls.push(new z(Xo,lo[2]-kl,d)),vo.push(kl-Os)}}function En(Os){return(ua,Ls,vo)=>{let lo=0,Ro=ua.length-1,Mo,Xo;if(Ro>=0&&(Mo=ua[Ro])instanceof B){if(!Ro&&Mo.type==Os&&Mo.length==vo)return Mo;(Xo=Mo.prop(_.lookAhead))&&(lo=Ls[Ro]+Mo.length+Xo)}return zr(Os,ua,Ls,vo,lo)}}function qn(Os,ua,Ls,vo,lo,Ro,Mo,Xo){let kl=[],ul=[];for(;Os.length>vo;)kl.push(Os.pop()),ul.push(ua.pop()+Ls-lo);Os.push(zr(d.types[Mo],kl,ul,Ro-lo,Xo-Ro)),ua.push(lo-Ls)}function zr(Os,ua,Ls,vo,lo=0,Ro){if(he){let Mo=[_.contextHash,he];Ro=Ro?[Mo].concat(Ro):[Mo]}if(lo>25){let Mo=[_.lookAhead,lo];Ro=Ro?[Mo].concat(Ro):[Mo]}return new B(Os,ua,Ls,vo,Ro)}function Qr(Os,ua){let Ls=$.fork(),vo=0,lo=0,Ro=0,Mo=Ls.end-g,Xo={size:0,start:0,skip:0};e:for(let kl=Ls.pos-Os;Ls.pos>kl;){let ul=Ls.size;if(Ls.id==ua&&ul>=0){Xo.size=vo,Xo.start=lo,Xo.skip=Ro,Ro+=4,vo+=4,Ls.next();continue}let Fc=Ls.pos-ul;if(ul<0||Fc<kl||Ls.start<Mo)break;let H0=Ls.id>=L?4:0,wc=Ls.start;for(Ls.next();Ls.pos>Fc;){if(Ls.size<0)if(Ls.size==-3)H0+=4;else break e;else Ls.id>=L&&(H0+=4);Ls.next()}lo=wc,vo+=ul,Ro+=H0}return(ua<0||vo==Os)&&(Xo.size=vo,Xo.start=lo,Xo.skip=Ro),Xo.size>4?Xo:void 0}function $i(Os,ua,Ls){let{id:vo,start:lo,end:Ro,size:Mo}=$;if($.next(),Mo>=0&&vo<L){let Xo=Ls;if(Mo>4){let kl=$.pos-(Mo-4);for(;$.pos>kl;)Ls=$i(Os,ua,Ls)}ua[--Ls]=Xo,ua[--Ls]=Ro-Os,ua[--Ls]=lo-Os,ua[--Ls]=vo}else Mo==-3?he=vo:Mo==-4&&(ve=vo);return Ls}let _s=[],ea=[];for(;$.pos>0;)qe(p.start||0,p.bufferStart||0,_s,ea,-1,0);let Ws=(t=p.length)!==null&&t!==void 0?t:_s.length?ea[0]+_s[0].length:0;return new B(te[p.topID],_s.reverse(),ea.reverse(),Ws)}const Ce=new WeakMap;function ye(p,t){if(!p.isAnonymous||t instanceof z||t.type!=p)return 1;let o=Ce.get(t);if(o==null){o=1;for(let d of t.children){if(d.type!=p||!(d instanceof B)){o=1;break}o+=ye(p,d)}Ce.set(t,o)}return o}function Ae(p,t,o,d,g,D,L,$,te){let he=0;for(let qn=d;qn<g;qn++)he+=ye(p,t[qn]);let ve=Math.ceil(he*1.5/8),qe=[],Rt=[];function En(qn,zr,Qr,$i,_s){for(let ea=Qr;ea<$i;){let Ws=ea,Os=zr[ea],ua=ye(p,qn[ea]);for(ea++;ea<$i;ea++){let Ls=ye(p,qn[ea]);if(ua+Ls>=ve)break;ua+=Ls}if(ea==Ws+1){if(ua>ve){let Ls=qn[Ws];En(Ls.children,Ls.positions,0,Ls.children.length,zr[Ws]+_s);continue}qe.push(qn[Ws])}else{let Ls=zr[ea-1]+qn[ea-1].length-Os;qe.push(Ae(p,qn,zr,Ws,ea,Os,Ls,null,te))}Rt.push(Os+_s-D)}}return En(t,o,d,g,0),($||te)(qe,Rt,L)}class Fe{constructor(){this.map=new WeakMap}setBuffer(t,o,d){let g=this.map.get(t);g||this.map.set(t,g=new Map),g.set(o,d)}getBuffer(t,o){let d=this.map.get(t);return d&&d.get(o)}set(t,o){t instanceof ee?this.setBuffer(t.context.buffer,t.index,o):t instanceof K&&this.map.set(t.tree,o)}get(t){return t instanceof ee?this.getBuffer(t.context.buffer,t.index):t instanceof K?this.map.get(t.tree):void 0}cursorSet(t,o){t.buffer?this.setBuffer(t.buffer.buffer,t.index,o):this.map.set(t.tree,o)}cursorGet(t){return t.buffer?this.getBuffer(t.buffer.buffer,t.index):this.map.get(t.tree)}}class Qe{constructor(t,o,d,g,D=!1,L=!1){this.from=t,this.to=o,this.tree=d,this.offset=g,this.open=(D?1:0)|(L?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,o=[],d=!1){let g=[new Qe(0,t.length,t,0,!1,d)];for(let D of o)D.to>t.length&&g.push(D);return g}static applyChanges(t,o,d=128){if(!o.length)return t;let g=[],D=1,L=t.length?t[0]:null;for(let $=0,te=0,he=0;;$++){let ve=$<o.length?o[$]:null,qe=ve?ve.fromA:1e9;if(qe-te>=d)for(;L&&L.from<qe;){let Rt=L;if(te>=Rt.from||qe<=Rt.to||he){let En=Math.max(Rt.from,te)-he,qn=Math.min(Rt.to,qe)-he;Rt=En>=qn?null:new Qe(En,qn,Rt.tree,Rt.offset+he,$>0,!!ve)}if(Rt&&g.push(Rt),L.to>qe)break;L=D<t.length?t[D++]:null}if(!ve)break;te=ve.toA,he=ve.toA-ve.toB}return g}}class ce{startParse(t,o,d){return typeof t=="string"&&(t=new Ge(t)),d=d?d.length?d.map(g=>new v(g.from,g.to)):[new v(0,0)]:[new v(0,t.length)],this.createParse(t,o||[],d)}parse(t,o,d){let g=this.startParse(t,o,d);for(;;){let D=g.advance();if(D)return D}}}class Ge{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,o){return this.string.slice(t,o)}}function Pe(p){return(t,o,d,g)=>new Le(t,p,o,d,g)}class pe{constructor(t,o,d,g,D){this.parser=t,this.parse=o,this.overlay=d,this.target=g,this.from=D}}function Se(p){if(!p.length||p.some(t=>t.from>=t.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(p))}class _e{constructor(t,o,d,g,D,L,$){this.parser=t,this.predicate=o,this.mounts=d,this.index=g,this.start=D,this.target=L,this.prev=$,this.depth=0,this.ranges=[]}}const Ne=new _({perNode:!0});class Le{constructor(t,o,d,g,D){this.nest=o,this.input=d,this.fragments=g,this.ranges=D,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=t}advance(){if(this.baseParse){let d=this.baseParse.advance();if(!d)return null;if(this.baseParse=null,this.baseTree=d,this.startInner(),this.stoppedAt!=null)for(let g of this.inner)g.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let d=this.baseTree;return this.stoppedAt!=null&&(d=new B(d.type,d.children,d.positions,d.length,d.propValues.concat([[Ne,this.stoppedAt]]))),d}let t=this.inner[this.innerDone],o=t.parse.advance();if(o){this.innerDone++;let d=Object.assign(Object.create(null),t.target.props);d[_.mounted.id]=new T(o,t.overlay,t.parser),t.target.props=d}return null}get parsedPos(){if(this.baseParse)return 0;let t=this.input.length;for(let o=this.innerDone;o<this.inner.length;o++)this.inner[o].from<t&&(t=Math.min(t,this.inner[o].parse.parsedPos));return t}stopAt(t){if(this.stoppedAt=t,this.baseParse)this.baseParse.stopAt(t);else for(let o=this.innerDone;o<this.inner.length;o++)this.inner[o].parse.stopAt(t)}startInner(){let t=new _t(this.fragments),o=null,d=null,g=new le(new K(this.baseTree,this.ranges[0].from,0,null),N.IncludeAnonymous|N.IgnoreMounts);e:for(let D,L;;){let $=!0,te;if(this.stoppedAt!=null&&g.from>=this.stoppedAt)$=!1;else if(t.hasNode(g)){if(o){let he=o.mounts.find(ve=>ve.frag.from<=g.from&&ve.frag.to>=g.to&&ve.mount.overlay);if(he)for(let ve of he.mount.overlay){let qe=ve.from+he.pos,Rt=ve.to+he.pos;qe>=g.from&&Rt<=g.to&&!o.ranges.some(En=>En.from<Rt&&En.to>qe)&&o.ranges.push({from:qe,to:Rt})}}$=!1}else if(d&&(L=Ke(d.ranges,g.from,g.to)))$=L!=2;else if(!g.type.isAnonymous&&(D=this.nest(g,this.input))&&(g.from<g.to||!D.overlay)){g.tree||yt(g);let he=t.findMounts(g.from,D.parser);if(typeof D.overlay=="function")o=new _e(D.parser,D.overlay,he,this.inner.length,g.from,g.tree,o);else{let ve=zt(this.ranges,D.overlay||(g.from<g.to?[new v(g.from,g.to)]:[]));ve.length&&Se(ve),(ve.length||!D.overlay)&&this.inner.push(new pe(D.parser,ve.length?D.parser.startParse(this.input,St(he,ve),ve):D.parser.startParse(""),D.overlay?D.overlay.map(qe=>new v(qe.from-g.from,qe.to-g.from)):null,g.tree,ve.length?ve[0].from:g.from)),D.overlay?ve.length&&(d={ranges:ve,depth:0,prev:d}):$=!1}}else o&&(te=o.predicate(g))&&(te===!0&&(te=new v(g.from,g.to)),te.from<te.to&&o.ranges.push(te));if($&&g.firstChild())o&&o.depth++,d&&d.depth++;else for(;!g.nextSibling();){if(!g.parent())break e;if(o&&!--o.depth){let he=zt(this.ranges,o.ranges);he.length&&(Se(he),this.inner.splice(o.index,0,new pe(o.parser,o.parser.startParse(this.input,St(o.mounts,he),he),o.ranges.map(ve=>new v(ve.from-o.start,ve.to-o.start)),o.target,he[0].from))),o=o.prev}d&&!--d.depth&&(d=d.prev)}}}}function Ke(p,t,o){for(let d of p){if(d.from>=o)break;if(d.to>t)return d.from<=t&&d.to>=o?2:1}return 0}function bt(p,t,o,d,g,D){if(t<o){let L=p.buffer[t+1];d.push(p.slice(t,o,L)),g.push(L-D)}}function yt(p){let{node:t}=p,o=[],d=t.context.buffer;do o.push(p.index),p.parent();while(!p.tree);let g=p.tree,D=g.children.indexOf(d),L=g.children[D],$=L.buffer,te=[D];function he(ve,qe,Rt,En,qn,zr){let Qr=o[zr],$i=[],_s=[];bt(L,ve,Qr,$i,_s,En);let ea=$[Qr+1],Ws=$[Qr+2];te.push($i.length);let Os=zr?he(Qr+4,$[Qr+3],L.set.types[$[Qr]],ea,Ws-ea,zr-1):t.toTree();return $i.push(Os),_s.push(ea-En),bt(L,$[Qr+3],qe,$i,_s,En),new B(Rt,$i,_s,qn)}g.children[D]=he(0,$.length,R.none,0,L.length,o.length-1);for(let ve of te){let qe=p.tree.children[ve],Rt=p.tree.positions[ve];p.yield(new K(qe,Rt+p.from,ve,p._tree))}}class It{constructor(t,o){this.offset=o,this.done=!1,this.cursor=t.cursor(N.IncludeAnonymous|N.IgnoreMounts)}moveTo(t){let{cursor:o}=this,d=t-this.offset;for(;!this.done&&o.from<d;)o.to>=t&&o.enter(d,1,N.IgnoreOverlays|N.ExcludeBuffers)||o.next(!1)||(this.done=!0)}hasNode(t){if(this.moveTo(t.from),!this.done&&this.cursor.from+this.offset==t.from&&this.cursor.tree)for(let o=this.cursor.tree;;){if(o==t.tree)return!0;if(o.children.length&&o.positions[0]==0&&o.children[0]instanceof B)o=o.children[0];else break}return!1}}class _t{constructor(t){var o;if(this.fragments=t,this.curTo=0,this.fragI=0,t.length){let d=this.curFrag=t[0];this.curTo=(o=d.tree.prop(Ne))!==null&&o!==void 0?o:d.to,this.inner=new It(d.tree,-d.offset)}else this.curFrag=this.inner=null}hasNode(t){for(;this.curFrag&&t.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=t.from&&this.curTo>=t.to&&this.inner.hasNode(t)}nextFrag(){var t;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let o=this.curFrag=this.fragments[this.fragI];this.curTo=(t=o.tree.prop(Ne))!==null&&t!==void 0?t:o.to,this.inner=new It(o.tree,-o.offset)}}findMounts(t,o){var d;let g=[];if(this.inner){this.inner.cursor.moveTo(t,1);for(let D=this.inner.cursor.node;D;D=D.parent){let L=(d=D.tree)===null||d===void 0?void 0:d.prop(_.mounted);if(L&&L.parser==o)for(let $=this.fragI;$<this.fragments.length;$++){let te=this.fragments[$];if(te.from>=D.to)break;te.tree==this.curFrag.tree&&g.push({frag:te,pos:D.from-te.offset,mount:L})}}}return g}}function zt(p,t){let o=null,d=t;for(let g=1,D=0;g<p.length;g++){let L=p[g-1].to,$=p[g].from;for(;D<d.length;D++){let te=d[D];if(te.from>=$)break;te.to<=L||(o||(d=o=t.slice()),te.from<L?(o[D]=new v(te.from,L),te.to>$&&o.splice(D+1,0,new v($,te.to))):te.to>$?o[D--]=new v($,te.to):o.splice(D--,1))}}return d}function Vt(p,t,o,d){let g=0,D=0,L=!1,$=!1,te=-1e9,he=[];for(;;){let ve=g==p.length?1e9:L?p[g].to:p[g].from,qe=D==t.length?1e9:$?t[D].to:t[D].from;if(L!=$){let Rt=Math.max(te,o),En=Math.min(ve,qe,d);Rt<En&&he.push(new v(Rt,En))}if(te=Math.min(ve,qe),te==1e9)break;ve==te&&(L?(L=!1,g++):L=!0),qe==te&&($?($=!1,D++):$=!0)}return he}function St(p,t){let o=[];for(let{pos:d,mount:g,frag:D}of p){let L=d+(g.overlay?g.overlay[0].from:0),$=L+g.tree.length,te=Math.max(D.from,L),he=Math.min(D.to,$);if(g.overlay){let ve=g.overlay.map(Rt=>new v(Rt.from+d,Rt.to+d)),qe=Vt(t,ve,te,he);for(let Rt=0,En=te;;Rt++){let qn=Rt==qe.length,zr=qn?he:qe[Rt].from;if(zr>En&&o.push(new Qe(En,zr,g.tree,-L,D.from>=En||D.openStart,D.to<=zr||D.openEnd)),qn)break;En=qe[Rt].to}}else o.push(new Qe(te,he,g.tree,-L,D.from>=L||D.openStart,D.to<=$||D.openEnd))}return o}class Xt{constructor(t,o,d,g,D,L,$,te,he,ve=0,qe){this.p=t,this.stack=o,this.state=d,this.reducePos=g,this.pos=D,this.score=L,this.buffer=$,this.bufferBase=te,this.curContext=he,this.lookAhead=ve,this.parent=qe}toString(){return`[${this.stack.filter((t,o)=>o%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,o,d=0){let g=t.parser.context;return new Xt(t,[],o,d,d,0,[],0,g?new jt(g,g.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,o){this.stack.push(this.state,o,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var o;let d=t>>19,g=t&65535,{parser:D}=this.p,L=D.dynamicPrecedence(g);if(L&&(this.score+=L),d==0){this.pushState(D.getGoto(this.state,g,!0),this.reducePos),g<D.minRepeatTerm&&this.storeNode(g,this.reducePos,this.reducePos,4,!0),this.reduceContext(g,this.reducePos);return}let $=this.stack.length-(d-1)*3-(t&262144?6:0),te=$?this.stack[$-2]:this.p.ranges[0].from,he=this.reducePos-te;he>=2e3&&!(!((o=this.p.parser.nodeSet.types[g])===null||o===void 0)&&o.isAnonymous)&&(te==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=he):this.p.lastBigReductionSize<he&&(this.p.bigReductionCount=1,this.p.lastBigReductionStart=te,this.p.lastBigReductionSize=he));let ve=$?this.stack[$-1]:0,qe=this.bufferBase+this.buffer.length-ve;if(g<D.minRepeatTerm||t&131072){let Rt=D.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(g,te,Rt,qe+4,!0)}if(t&262144)this.state=this.stack[$];else{let Rt=this.stack[$-3];this.state=D.getGoto(Rt,g,!0)}for(;this.stack.length>$;)this.stack.pop();this.reduceContext(g,te)}storeNode(t,o,d,g=4,D=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let L=this,$=this.buffer.length;if($==0&&L.parent&&($=L.bufferBase-L.parent.bufferBase,L=L.parent),$>0&&L.buffer[$-4]==0&&L.buffer[$-1]>-1){if(o==d)return;if(L.buffer[$-2]>=o){L.buffer[$-2]=d;return}}}if(!D||this.pos==d)this.buffer.push(t,o,d,g);else{let L=this.buffer.length;if(L>0&&this.buffer[L-4]!=0)for(;L>0&&this.buffer[L-2]>d;)this.buffer[L]=this.buffer[L-4],this.buffer[L+1]=this.buffer[L-3],this.buffer[L+2]=this.buffer[L-2],this.buffer[L+3]=this.buffer[L-1],L-=4,g>4&&(g-=4);this.buffer[L]=t,this.buffer[L+1]=o,this.buffer[L+2]=d,this.buffer[L+3]=g}}shift(t,o,d,g){if(t&131072)this.pushState(t&65535,this.pos);else if(t&262144)this.pos=g,this.shiftContext(o,d),o<=this.p.parser.maxNode&&this.buffer.push(o,d,g,4);else{let D=t,{parser:L}=this.p;(g>this.pos||o<=L.maxNode)&&(this.pos=g,L.stateFlag(D,1)||(this.reducePos=g)),this.pushState(D,d),this.shiftContext(o,d),o<=L.maxNode&&this.buffer.push(o,d,g,4)}}apply(t,o,d,g){t&65536?this.reduce(t):this.shift(t,o,d,g)}useNode(t,o){let d=this.p.reused.length-1;(d<0||this.p.reused[d]!=t)&&(this.p.reused.push(t),d++);let g=this.pos;this.reducePos=this.pos=g+t.length,this.pushState(o,g),this.buffer.push(d,g,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,o=t.buffer.length;for(;o>0&&t.buffer[o-2]>t.reducePos;)o-=4;let d=t.buffer.slice(o),g=t.bufferBase+o;for(;t&&g==t.bufferBase;)t=t.parent;return new Xt(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,d,g,this.curContext,this.lookAhead,t)}recoverByDelete(t,o){let d=t<=this.p.parser.maxNode;d&&this.storeNode(t,this.pos,o,4),this.storeNode(0,this.pos,o,d?8:4),this.pos=this.reducePos=o,this.score-=190}canShift(t){for(let o=new sn(this);;){let d=this.p.parser.stateSlot(o.state,4)||this.p.parser.hasAction(o.state,t);if(d==0)return!1;if(!(d&65536))return!0;o.reduce(d)}}recoverByInsert(t){if(this.stack.length>=300)return[];let o=this.p.parser.nextStates(this.state);if(o.length>4<<1||this.stack.length>=120){let g=[];for(let D=0,L;D<o.length;D+=2)(L=o[D+1])!=this.state&&this.p.parser.hasAction(L,t)&&g.push(o[D],L);if(this.stack.length<120)for(let D=0;g.length<4<<1&&D<o.length;D+=2){let L=o[D+1];g.some(($,te)=>te&1&&$==L)||g.push(o[D],L)}o=g}let d=[];for(let g=0;g<o.length&&d.length<4;g+=2){let D=o[g+1];if(D==this.state)continue;let L=this.split();L.pushState(D,this.pos),L.storeNode(0,L.pos,L.pos,4,!0),L.shiftContext(o[g],this.pos),L.reducePos=this.pos,L.score-=200,d.push(L)}return d}forceReduce(){let{parser:t}=this.p,o=t.stateSlot(this.state,5);if(!(o&65536))return!1;if(!t.validAction(this.state,o)){let d=o>>19,g=o&65535,D=this.stack.length-d*3;if(D<0||t.getGoto(this.stack[D],g,!1)<0){let L=this.findForcedReduction();if(L==null)return!1;o=L}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(o),!0}findForcedReduction(){let{parser:t}=this.p,o=[],d=(g,D)=>{if(!o.includes(g))return o.push(g),t.allActions(g,L=>{if(!(L&393216))if(L&65536){let $=(L>>19)-D;if($>1){let te=L&65535,he=this.stack.length-$*3;if(he>=0&&t.getGoto(this.stack[he],te,!1)>=0)return $<<19|65536|te}}else{let $=d(L,D+1);if($!=null)return $}})};return d(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let o=0;o<this.stack.length;o+=3)if(this.stack[o]!=t.stack[o])return!1;return!0}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,o){this.curContext&&this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(o)))}reduceContext(t,o){this.curContext&&this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(o)))}emitContext(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-3)&&this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;(t<0||this.buffer[t]!=-4)&&this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let o=new jt(this.curContext.tracker,t);o.hash!=this.curContext.hash&&this.emitContext(),this.curContext=o}}setLookAhead(t){t>this.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class jt{constructor(t,o){this.tracker=t,this.context=o,this.hash=t.strict?t.hash(o):0}}class sn{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let o=t&65535,d=t>>19;d==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(d-1)*3;let g=this.start.p.parser.getGoto(this.stack[this.base-3],o,!0);this.state=g}}class dt{constructor(t,o,d){this.stack=t,this.pos=o,this.index=d,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,o=t.bufferBase+t.buffer.length){return new dt(t,o,o-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new dt(this.stack,this.pos,this.index)}}function Ln(p,t=Uint16Array){if(typeof p!="string")return p;let o=null;for(let d=0,g=0;d<p.length;){let D=0;for(;;){let L=p.charCodeAt(d++),$=!1;if(L==126){D=65535;break}L>=92&&L--,L>=34&&L--;let te=L-32;if(te>=46&&(te-=46,$=!0),D+=te,$)break;D*=46}o?o[g++]=D:o=new t(D)}return o}class fn{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const cr=new fn;class wr{constructor(t,o){this.input=t,this.ranges=o,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=cr,this.rangeIndex=0,this.pos=this.chunkPos=o[0].from,this.range=o[0],this.end=o[o.length-1].to,this.readNext()}resolveOffset(t,o){let d=this.range,g=this.rangeIndex,D=this.pos+t;for(;D<d.from;){if(!g)return null;let L=this.ranges[--g];D-=d.from-L.to,d=L}for(;o<0?D>d.to:D>=d.to;){if(g==this.ranges.length-1)return null;let L=this.ranges[++g];D+=L.from-d.to,d=L}return D}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let o of this.ranges)if(o.to>t)return Math.max(t,o.from);return this.end}peek(t){let o=this.chunkOff+t,d,g;if(o>=0&&o<this.chunk.length)d=this.pos+t,g=this.chunk.charCodeAt(o);else{let D=this.resolveOffset(t,1);if(D==null)return-1;if(d=D,d>=this.chunk2Pos&&d<this.chunk2Pos+this.chunk2.length)g=this.chunk2.charCodeAt(d-this.chunk2Pos);else{let L=this.rangeIndex,$=this.range;for(;$.to<=d;)$=this.ranges[++L];this.chunk2=this.input.chunk(this.chunk2Pos=d),d+this.chunk2.length>$.to&&(this.chunk2=this.chunk2.slice(0,$.to-d)),g=this.chunk2.charCodeAt(0)}}return d>=this.token.lookAhead&&(this.token.lookAhead=d+1),g}acceptToken(t,o=0){let d=o?this.resolveOffset(o,-1):this.pos;if(d==null||d<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t,this.token.end=d}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:o}=this;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,this.chunk2=t,this.chunk2Pos=o,this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos),o=this.pos+t.length;this.chunk=o>this.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,o){if(o?(this.token=o,o.start=t,o.lookAhead=t+1,o.value=o.extended=-1):this.token=cr,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t<this.range.from;)this.range=this.ranges[--this.rangeIndex];for(;t>=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t<this.chunkPos+this.chunk.length?this.chunkOff=t-this.chunkPos:(this.chunk="",this.chunkOff=0),this.readNext()}return this}read(t,o){if(t>=this.chunkPos&&o<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,o-this.chunkPos);if(t>=this.chunk2Pos&&o<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,o-this.chunk2Pos);if(t>=this.range.from&&o<=this.range.to)return this.input.read(t,o);let d="";for(let g of this.ranges){if(g.from>=o)break;g.to>t&&(d+=this.input.read(Math.max(g.from,t),Math.min(g.to,o)))}return d}}class Jn{constructor(t,o){this.data=t,this.id=o}token(t,o){let{parser:d}=o.p;bn(this.data,t,o,this.id,d.data,d.tokenPrecTable)}}Jn.prototype.contextual=Jn.prototype.fallback=Jn.prototype.extend=!1;class nn{constructor(t,o,d){this.precTable=o,this.elseToken=d,this.data=typeof t=="string"?Ln(t):t}token(t,o){let d=t.pos,g=0;for(;;){let D=t.next<0,L=t.resolveOffset(1,1);if(bn(this.data,t,o,0,this.data,this.precTable),t.token.value>-1)break;if(this.elseToken==null)return;if(D||g++,L==null)break;t.reset(L,t.token)}g&&(t.reset(d,t.token),t.acceptToken(this.elseToken,g))}}nn.prototype.contextual=Jn.prototype.fallback=Jn.prototype.extend=!1;class or{constructor(t,o={}){this.token=t,this.contextual=!!o.contextual,this.fallback=!!o.fallback,this.extend=!!o.extend}}function bn(p,t,o,d,g,D){let L=0,$=1<<d,{dialect:te}=o.p.parser;e:for(;$&p[L];){let he=p[L+1];for(let En=L+3;En<he;En+=2)if((p[En+1]&$)>0){let qn=p[En];if(te.allows(qn)&&(t.token.value==-1||t.token.value==qn||Hn(qn,t.token.value,g,D))){t.acceptToken(qn);break}}let ve=t.next,qe=0,Rt=p[L+2];if(t.next<0&&Rt>qe&&p[he+Rt*3-3]==65535){L=p[he+Rt*3-1];continue e}for(;qe<Rt;){let En=qe+Rt>>1,qn=he+En+(En<<1),zr=p[qn],Qr=p[qn+1]||65536;if(ve<zr)Rt=En;else if(ve>=Qr)qe=En+1;else{L=p[qn+2],t.advance();continue e}}break}}function Sn(p,t,o){for(let d=t,g;(g=p[d])!=65535;d++)if(g==o)return d-t;return-1}function Hn(p,t,o,d){let g=Sn(o,d,t);return g<0||Sn(o,d,p)<g}const er=typeof process<"u"&&process.env&&/\bparse\b/.test(process.env.LOG);let an=null;function Cn(p,t,o){let d=p.cursor(N.IncludeAnonymous);for(d.moveTo(t);;)if(!(o<0?d.childBefore(t):d.childAfter(t)))for(;;){if((o<0?d.to<t:d.from>t)&&!d.type.isError)return o<0?Math.max(0,Math.min(d.to-1,t-25)):Math.min(p.length,Math.max(d.from+1,t+25));if(o<0?d.prevSibling():d.nextSibling())break;if(!d.parent())return o<0?0:p.length}}class de{constructor(t,o){this.fragments=t,this.nodeSet=o,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?Cn(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?Cn(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(t<this.nextStart)return null;for(;this.fragment&&this.safeTo<=t;)this.nextFragment();if(!this.fragment)return null;for(;;){let o=this.trees.length-1;if(o<0)return this.nextFragment(),null;let d=this.trees[o],g=this.index[o];if(g==d.children.length){this.trees.pop(),this.start.pop(),this.index.pop();continue}let D=d.children[g],L=this.start[o]+d.positions[g];if(L>t)return this.nextStart=L,null;if(D instanceof B){if(L==t){if(L<this.safeFrom)return null;let $=L+D.length;if($<=this.safeTo){let te=D.prop(_.lookAhead);if(!te||$+te<this.fragment.to)return D}}this.index[o]++,L+D.length>=Math.max(this.safeFrom,t)&&(this.trees.push(D),this.start.push(L),this.index.push(0))}else this.index[o]++,this.nextStart=L+D.length}}}class oe{constructor(t,o){this.stream=o,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(d=>new fn)}getActions(t){let o=0,d=null,{parser:g}=t.p,{tokenizers:D}=g,L=g.stateSlot(t.state,3),$=t.curContext?t.curContext.hash:0,te=0;for(let he=0;he<D.length;he++){if(!(1<<he&L))continue;let ve=D[he],qe=this.tokens[he];if(!(d&&!ve.fallback)&&((ve.contextual||qe.start!=t.pos||qe.mask!=L||qe.context!=$)&&(this.updateCachedToken(qe,ve,t),qe.mask=L,qe.context=$),qe.lookAhead>qe.end+25&&(te=Math.max(qe.lookAhead,te)),qe.value!=0)){let Rt=o;if(qe.extended>-1&&(o=this.addActions(t,qe.extended,qe.end,o)),o=this.addActions(t,qe.value,qe.end,o),!ve.extend&&(d=qe,o>Rt))break}}for(;this.actions.length>o;)this.actions.pop();return te&&t.setLookAhead(te),!d&&t.pos==this.stream.end&&(d=new fn,d.value=t.p.parser.eofTerm,d.start=d.end=t.pos,o=this.addActions(t,d.value,d.end,o)),this.mainToken=d,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let o=new fn,{pos:d,p:g}=t;return o.start=d,o.end=Math.min(d+1,g.stream.end),o.value=d==g.stream.end?g.parser.eofTerm:0,o}updateCachedToken(t,o,d){let g=this.stream.clipPos(d.pos);if(o.token(this.stream.reset(g,t),d),t.value>-1){let{parser:D}=d.p;for(let L=0;L<D.specialized.length;L++)if(D.specialized[L]==t.value){let $=D.specializers[L](this.stream.read(t.start,t.end),d);if($>=0&&d.p.parser.dialect.allows($>>1)){$&1?t.extended=$>>1:t.value=$>>1;break}}}else t.value=0,t.end=this.stream.clipPos(g+1)}putAction(t,o,d,g){for(let D=0;D<g;D+=3)if(this.actions[D]==t)return g;return this.actions[g++]=t,this.actions[g++]=o,this.actions[g++]=d,g}addActions(t,o,d,g){let{state:D}=t,{parser:L}=t.p,{data:$}=L;for(let te=0;te<2;te++)for(let he=L.stateSlot(D,te?2:1);;he+=3){if($[he]==65535)if($[he+1]==1)he=Nt($,he+2);else{g==0&&$[he+1]==2&&(g=this.putAction(Nt($,he+2),o,d,g));break}$[he]==o&&(g=this.putAction(Nt($,he+1),o,d,g))}return g}}class Ye{constructor(t,o,d,g){this.parser=t,this.input=o,this.ranges=g,this.recovering=0,this.nextStackID=9812,this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,this.lastBigReductionSize=0,this.bigReductionCount=0,this.stream=new wr(o,g),this.tokens=new oe(t,this.stream),this.topTerm=t.top[1];let{from:D}=g[0];this.stacks=[Xt.start(this,t.top[0],D)],this.fragments=d.length&&this.stream.end-D>t.bufferLength*4?new de(d,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,o=this.minStackPos,d=this.stacks=[],g,D;if(this.bigReductionCount>300&&t.length==1){let[L]=t;for(;L.forceReduce()&&L.stack.length&&L.stack[L.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let L=0;L<t.length;L++){let $=t[L];for(;;){if(this.tokens.mainToken=null,$.pos>o)d.push($);else{if(this.advanceStack($,d,t))continue;{g||(g=[],D=[]),g.push($);let te=this.tokens.getMainToken($);D.push(te.value,te.end)}}break}}if(!d.length){let L=g&&Ct(g);if(L)return er&&console.log("Finish with "+this.stackID(L)),this.stackToTree(L);if(this.parser.strict)throw er&&g&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+o);this.recovering||(this.recovering=5)}if(this.recovering&&g){let L=this.stoppedAt!=null&&g[0].pos>this.stoppedAt?g[0]:this.runRecovery(g,D,d);if(L)return er&&console.log("Force-finish "+this.stackID(L)),this.stackToTree(L.forceAll())}if(this.recovering){let L=this.recovering==1?1:this.recovering*3;if(d.length>L)for(d.sort(($,te)=>te.score-$.score);d.length>L;)d.pop();d.some($=>$.reducePos>o)&&this.recovering--}else if(d.length>1){e:for(let L=0;L<d.length-1;L++){let $=d[L];for(let te=L+1;te<d.length;te++){let he=d[te];if($.sameState(he)||$.buffer.length>500&&he.buffer.length>500)if(($.score-he.score||$.buffer.length-he.buffer.length)>0)d.splice(te--,1);else{d.splice(L--,1);continue e}}}d.length>12&&d.splice(12,d.length-12)}this.minStackPos=d[0].pos;for(let L=1;L<d.length;L++)d[L].pos<this.minStackPos&&(this.minStackPos=d[L].pos);return null}stopAt(t){if(this.stoppedAt!=null&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,o,d){let g=t.pos,{parser:D}=this,L=er?this.stackID(t)+" -> ":"";if(this.stoppedAt!=null&&g>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let he=t.curContext&&t.curContext.tracker.strict,ve=he?t.curContext.hash:0;for(let qe=this.fragments.nodeAt(g);qe;){let Rt=this.parser.nodeSet.types[qe.type.id]==qe.type?D.getGoto(t.state,qe.type.id):-1;if(Rt>-1&&qe.length&&(!he||(qe.prop(_.contextHash)||0)==ve))return t.useNode(qe,Rt),er&&console.log(L+this.stackID(t)+` (via reuse of ${D.getName(qe.type.id)})`),!0;if(!(qe instanceof B)||qe.children.length==0||qe.positions[0]>0)break;let En=qe.children[0];if(En instanceof B&&qe.positions[0]==0)qe=En;else break}}let $=D.stateSlot(t.state,4);if($>0)return t.reduce($),er&&console.log(L+this.stackID(t)+` (via always-reduce ${D.getName($&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let te=this.tokens.getActions(t);for(let he=0;he<te.length;){let ve=te[he++],qe=te[he++],Rt=te[he++],En=he==te.length||!d,qn=En?t:t.split(),zr=this.tokens.mainToken;if(qn.apply(ve,qe,zr?zr.start:qn.pos,Rt),er&&console.log(L+this.stackID(qn)+` (via ${ve&65536?`reduce of ${D.getName(ve&65535)}`:"shift"} for ${D.getName(qe)} @ ${g}${qn==t?"":", split"})`),En)return!0;qn.pos>g?o.push(qn):d.push(qn)}return!1}advanceFully(t,o){let d=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>d)return Et(t,o),!0}}runRecovery(t,o,d){let g=null,D=!1;for(let L=0;L<t.length;L++){let $=t[L],te=o[L<<1],he=o[(L<<1)+1],ve=er?this.stackID($)+" -> ":"";if($.deadEnd&&(D||(D=!0,$.restart(),er&&console.log(ve+this.stackID($)+" (restarted)"),this.advanceFully($,d))))continue;let qe=$.split(),Rt=ve;for(let En=0;qe.forceReduce()&&En<10&&(er&&console.log(Rt+this.stackID(qe)+" (via force-reduce)"),!this.advanceFully(qe,d));En++)er&&(Rt=this.stackID(qe)+" -> ");for(let En of $.recoverByInsert(te))er&&console.log(ve+this.stackID(En)+" (via recover-insert)"),this.advanceFully(En,d);this.stream.end>$.pos?(he==$.pos&&(he++,te=0),$.recoverByDelete(te,he),er&&console.log(ve+this.stackID($)+` (via recover-delete ${this.parser.getName(te)})`),Et($,d)):(!g||g.score<$.score)&&(g=$)}return g}stackToTree(t){return t.close(),B.build({buffer:dt.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let o=(an||(an=new WeakMap)).get(t);return o||an.set(t,o=String.fromCodePoint(this.nextStackID++)),o+t}}function Et(p,t){for(let o=0;o<t.length;o++){let d=t[o];if(d.pos==p.pos&&d.sameState(p)){t[o].score<p.score&&(t[o]=p);return}}t.push(p)}class xe{constructor(t,o,d){this.source=t,this.flags=o,this.disabled=d}allows(t){return!this.disabled||this.disabled[t]==0}}const Re=p=>p;class We{constructor(t){this.start=t.start,this.shift=t.shift||Re,this.reduce=t.reduce||Re,this.reuse=t.reuse||Re,this.hash=t.hash||(()=>0),this.strict=t.strict!==!1}}class gt extends ce{constructor(t){if(super(),this.wrappers=[],t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (${14})`);let o=t.nodeNames.split(" ");this.minRepeatTerm=o.length;for(let $=0;$<t.repeatNodeCount;$++)o.push("");let d=Object.keys(t.topRules).map($=>t.topRules[$][1]),g=[];for(let $=0;$<o.length;$++)g.push([]);function D($,te,he){g[$].push([te,te.deserialize(String(he))])}if(t.nodeProps)for(let $ of t.nodeProps){let te=$[0];typeof te=="string"&&(te=_[te]);for(let he=1;he<$.length;){let ve=$[he++];if(ve>=0)D(ve,te,$[he++]);else{let qe=$[he+-ve];for(let Rt=-ve;Rt>0;Rt--)D($[he++],te,qe);he++}}}this.nodeSet=new P(o.map(($,te)=>R.define({name:te>=this.minRepeatTerm?void 0:$,id:te,props:g[te],top:d.indexOf(te)>-1,error:te==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(te)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=l;let L=Ln(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let $=0;$<this.specializerSpecs.length;$++)this.specialized[$]=this.specializerSpecs[$].term;this.specializers=this.specializerSpecs.map(tn),this.states=Ln(t.states,Uint32Array),this.data=Ln(t.stateData),this.goto=Ln(t.goto),this.maxTerm=t.maxTerm,this.tokenizers=t.tokenizers.map($=>typeof $=="number"?new Jn(L,$):$),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,o,d){let g=new Ye(this,t,o,d);for(let D of this.wrappers)g=D(g,t,o,d);return g}getGoto(t,o,d=!1){let g=this.goto;if(o>=g[0])return-1;for(let D=g[o+1];;){let L=g[D++],$=L&1,te=g[D++];if($&&d)return te;for(let he=D+(L>>1);D<he;D++)if(g[D]==t)return te;if($)return-1}}hasAction(t,o){let d=this.data;for(let g=0;g<2;g++)for(let D=this.stateSlot(t,g?2:1),L;;D+=3){if((L=d[D])==65535)if(d[D+1]==1)L=d[D=Nt(d,D+2)];else{if(d[D+1]==2)return Nt(d,D+2);break}if(L==o||L==0)return Nt(d,D+1)}return 0}stateSlot(t,o){return this.states[t*6+o]}stateFlag(t,o){return(this.stateSlot(t,0)&o)>0}validAction(t,o){return!!this.allActions(t,d=>d==o?!0:null)}allActions(t,o){let d=this.stateSlot(t,4),g=d?o(d):void 0;for(let D=this.stateSlot(t,1);g==null;D+=3){if(this.data[D]==65535)if(this.data[D+1]==1)D=Nt(this.data,D+2);else break;g=o(Nt(this.data,D+1))}return g}nextStates(t){let o=[];for(let d=this.stateSlot(t,1);;d+=3){if(this.data[d]==65535)if(this.data[d+1]==1)d=Nt(this.data,d+2);else break;if(!(this.data[d+2]&1)){let g=this.data[d+1];o.some((D,L)=>L&1&&D==g)||o.push(this.data[d],g)}}return o}configure(t){let o=Object.assign(Object.create(gt.prototype),this);if(t.props&&(o.nodeSet=this.nodeSet.extend(...t.props)),t.top){let d=this.topRules[t.top];if(!d)throw new RangeError(`Invalid top rule name ${t.top}`);o.top=d}return t.tokenizers&&(o.tokenizers=this.tokenizers.map(d=>{let g=t.tokenizers.find(D=>D.from==d);return g?g.to:d})),t.specializers&&(o.specializers=this.specializers.slice(),o.specializerSpecs=this.specializerSpecs.map((d,g)=>{let D=t.specializers.find($=>$.from==d.external);if(!D)return d;let L=Object.assign(Object.assign({},d),{external:D.to});return o.specializers[g]=tn(L),L})),t.contextTracker&&(o.context=t.contextTracker),t.dialect&&(o.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(o.strict=t.strict),t.wrap&&(o.wrappers=o.wrappers.concat(t.wrap)),t.bufferLength!=null&&(o.bufferLength=t.bufferLength),o}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let o=this.dynamicPrecedences;return o==null?0:o[t]||0}parseDialect(t){let o=Object.keys(this.dialects),d=o.map(()=>!1);if(t)for(let D of t.split(" ")){let L=o.indexOf(D);L>=0&&(d[L]=!0)}let g=null;for(let D=0;D<o.length;D++)if(!d[D])for(let L=this.dialects[o[D]],$;($=this.data[L++])!=65535;)(g||(g=new Uint8Array(this.maxTerm+1)))[$]=1;return new xe(t,d,g)}static deserialize(t){return new gt(t)}}function Nt(p,t){return p[t]|p[t+1]<<16}function Ct(p){let t=null;for(let o of p){let d=o.p.stoppedAt;(o.pos==o.p.stream.end||d!=null&&o.pos>d)&&o.p.parser.stateFlag(o.state,2)&&(!t||t.score<o.score)&&(t=o)}return t}function tn(p){if(p.external){let t=p.extend?1:0;return(o,d)=>p.external(o,d)<<1|t}return p.get}let ge=0;class At{constructor(t,o,d){this.set=t,this.base=o,this.modified=d,this.id=ge++}static define(t){if(t?.base)throw new Error("Can not derive from a modified tag");let o=new At([],null,[]);if(o.set.push(o),t)for(let d of t.set)o.set.push(d);return o}static defineModifier(){let t=new xn;return o=>o.modified.indexOf(t)>-1?o:xn.get(o.base||o,o.modified.concat(t).sort((d,g)=>d.id-g.id))}}let mn=0;class xn{constructor(){this.instances=[],this.id=mn++}static get(t,o){if(!o.length)return t;let d=o[0].instances.find($=>$.base==t&&Un(o,$.modified));if(d)return d;let g=[],D=new At(g,t,o);for(let $ of o)$.instances.push(D);let L=gr(o);for(let $ of t.set)if(!$.modified.length)for(let te of L)g.push(xn.get($,te));return D}}function Un(p,t){return p.length==t.length&&p.every((o,d)=>o==t[d])}function gr(p){let t=[[]];for(let o=0;o<p.length;o++)for(let d=0,g=t.length;d<g;d++)t.push(t[d].concat(p[o]));return t.sort((o,d)=>d.length-o.length)}function Ur(p){let t=Object.create(null);for(let o in p){let d=p[o];Array.isArray(d)||(d=[d]);for(let g of o.split(" "))if(g){let D=[],L=2,$=g;for(let qe=0;;){if($=="..."&&qe>0&&qe+3==g.length){L=1;break}let Rt=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec($);if(!Rt)throw new RangeError("Invalid path: "+g);if(D.push(Rt[0]=="*"?"":Rt[0][0]=='"'?JSON.parse(Rt[0]):Rt[0]),qe+=Rt[0].length,qe==g.length)break;let En=g[qe++];if(qe==g.length&&En=="!"){L=0;break}if(En!="/")throw new RangeError("Invalid path: "+g);$=g.slice(qe)}let te=D.length-1,he=D[te];if(!he)throw new RangeError("Invalid path: "+g);let ve=new ii(d,L,te>0?D.slice(0,te):null);t[he]=ve.sort(t[he])}}return Or.add(t)}const Or=new _;class ii{constructor(t,o,d,g){this.tags=t,this.mode=o,this.context=d,this.next=g}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(t){return!t||t.depth<this.depth?(this.next=t,this):(t.next=this.sort(t.next),t)}get depth(){return this.context?this.context.length:0}}ii.empty=new ii([],2,null);function Ui(p,t){let o=Object.create(null);for(let D of p)if(!Array.isArray(D.tag))o[D.tag.id]=D.class;else for(let L of D.tag)o[L.id]=D.class;let{scope:d,all:g=null}=t||{};return{style:D=>{let L=g;for(let $ of D)for(let te of $.set){let he=o[te.id];if(he){L=L?L+" "+he:he;break}}return L},scope:d}}function rn(p,t){let o=null;for(let d of p){let g=d.style(t);g&&(o=o?o+" "+g:g)}return o}function $n(p,t,o,d=0,g=p.length){let D=new Jr(d,Array.isArray(t)?t:[t],o);D.highlightRange(p.cursor(),d,g,"",D.highlighters),D.flush(g)}function yi(p,t,o,d,g,D=0,L=p.length){let $=D;function te(he,ve){if(!(he<=$)){for(let qe=p.slice($,he),Rt=0;;){let En=qe.indexOf(`
`,Rt),qn=En<0?qe.length:En;if(qn>Rt&&d(qe.slice(Rt,qn),ve),En<0)break;g(),Rt=En+1}$=he}}$n(t,o,(he,ve,qe)=>{te(he,""),te(ve,qe)},D,L),te(L,"")}class Jr{constructor(t,o,d){this.at=t,this.highlighters=o,this.span=d,this.class=""}startSpan(t,o){o!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=o)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,o,d,g,D){let{type:L,from:$,to:te}=t;if($>=d||te<=o)return;L.isTop&&(D=this.highlighters.filter(En=>!En.scope||En.scope(L)));let he=g,ve=cn(t)||ii.empty,qe=rn(D,ve.tags);if(qe&&(he&&(he+=" "),he+=qe,ve.mode==1&&(g+=(g?" ":"")+qe)),this.startSpan(Math.max(o,$),he),ve.opaque)return;let Rt=t.tree&&t.tree.prop(_.mounted);if(Rt&&Rt.overlay){let En=t.node.enter(Rt.overlay[0].from+$,1),qn=this.highlighters.filter(Qr=>!Qr.scope||Qr.scope(Rt.tree.type)),zr=t.firstChild();for(let Qr=0,$i=$;;Qr++){let _s=Qr<Rt.overlay.length?Rt.overlay[Qr]:null,ea=_s?_s.from+$:te,Ws=Math.max(o,$i),Os=Math.min(d,ea);if(Ws<Os&&zr)for(;t.from<Os&&(this.highlightRange(t,Ws,Os,g,D),this.startSpan(Math.min(Os,t.to),he),!(t.to>=ea||!t.nextSibling())););if(!_s||ea>d)break;$i=_s.to+$,$i>o&&(this.highlightRange(En.cursor(),Math.max(o,_s.from+$),Math.min(d,$i),"",qn),this.startSpan(Math.min(d,$i),he))}zr&&t.parent()}else if(t.firstChild()){Rt&&(g="");do if(!(t.to<=o)){if(t.from>=d)break;this.highlightRange(t,o,d,g,D),this.startSpan(Math.min(d,t.to),he)}while(t.nextSibling());t.parent()}}}function cn(p){let t=p.type.prop(Or);for(;t&&t.context&&!p.matchContext(t.context);)t=t.next;return t||null}const mt=At.define,we=mt(),je=mt(),pt=mt(je),at=mt(je),kt=mt(),vn=mt(kt),Wn=mt(kt),nr=mt(),rr=mt(nr),Ot=mt(),Gt=mt(),Pt=mt(),Tt=mt(Pt),An=mt(),on={comment:we,lineComment:mt(we),blockComment:mt(we),docComment:mt(we),name:je,variableName:mt(je),typeName:pt,tagName:mt(pt),propertyName:at,attributeName:mt(at),className:mt(je),labelName:mt(je),namespace:mt(je),macroName:mt(je),literal:kt,string:vn,docString:mt(vn),character:mt(vn),attributeValue:mt(vn),number:Wn,integer:mt(Wn),float:mt(Wn),bool:mt(kt),regexp:mt(kt),escape:mt(kt),color:mt(kt),url:mt(kt),keyword:Ot,self:mt(Ot),null:mt(Ot),atom:mt(Ot),unit:mt(Ot),modifier:mt(Ot),operatorKeyword:mt(Ot),controlKeyword:mt(Ot),definitionKeyword:mt(Ot),moduleKeyword:mt(Ot),operator:Gt,derefOperator:mt(Gt),arithmeticOperator:mt(Gt),logicOperator:mt(Gt),bitwiseOperator:mt(Gt),compareOperator:mt(Gt),updateOperator:mt(Gt),definitionOperator:mt(Gt),typeOperator:mt(Gt),controlOperator:mt(Gt),punctuation:Pt,separator:mt(Pt),bracket:Tt,angleBracket:mt(Tt),squareBracket:mt(Tt),paren:mt(Tt),brace:mt(Tt),content:nr,heading:rr,heading1:mt(rr),heading2:mt(rr),heading3:mt(rr),heading4:mt(rr),heading5:mt(rr),heading6:mt(rr),contentSeparator:mt(nr),list:mt(nr),quote:mt(nr),emphasis:mt(nr),strong:mt(nr),link:mt(nr),monospace:mt(nr),strikethrough:mt(nr),inserted:mt(),deleted:mt(),changed:mt(),invalid:mt(),meta:An,documentMeta:mt(An),annotation:mt(An),processingInstruction:mt(An),definition:At.defineModifier(),constant:At.defineModifier(),function:At.defineModifier(),standard:At.defineModifier(),local:At.defineModifier(),special:At.defineModifier()},dn=Ui([{tag:on.link,class:"tok-link"},{tag:on.heading,class:"tok-heading"},{tag:on.emphasis,class:"tok-emphasis"},{tag:on.strong,class:"tok-strong"},{tag:on.keyword,class:"tok-keyword"},{tag:on.atom,class:"tok-atom"},{tag:on.bool,class:"tok-bool"},{tag:on.url,class:"tok-url"},{tag:on.labelName,class:"tok-labelName"},{tag:on.inserted,class:"tok-inserted"},{tag:on.deleted,class:"tok-deleted"},{tag:on.literal,class:"tok-literal"},{tag:on.string,class:"tok-string"},{tag:on.number,class:"tok-number"},{tag:[on.regexp,on.escape,on.special(on.string)],class:"tok-string2"},{tag:on.variableName,class:"tok-variableName"},{tag:on.local(on.variableName),class:"tok-variableName tok-local"},{tag:on.definition(on.variableName),class:"tok-variableName tok-definition"},{tag:on.special(on.variableName),class:"tok-variableName2"},{tag:on.definition(on.propertyName),class:"tok-propertyName tok-definition"},{tag:on.typeName,class:"tok-typeName"},{tag:on.namespace,class:"tok-namespace"},{tag:on.className,class:"tok-className"},{tag:on.macroName,class:"tok-macroName"},{tag:on.propertyName,class:"tok-propertyName"},{tag:on.operator,class:"tok-operator"},{tag:on.comment,class:"tok-comment"},{tag:on.meta,class:"tok-meta"},{tag:on.invalid,class:"tok-invalid"},{tag:on.punctuation,class:"tok-punctuation"}]),$e=Ur({String:on.string,Number:on.number,"True False":on.bool,PropertyName:on.propertyName,Null:on.null,",":on.separator,"[ ]":on.squareBracket,"{ }":on.brace}),Yt=gt.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",stateData:"#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",goto:"!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"\u26A0 JsonText True False Null Number String } { Object Property PropertyName ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[$e],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0});class $t{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,o,d){[t,o]=un(this,t,o);let g=[];return this.decompose(0,t,g,2),d.length&&d.decompose(0,d.length,g,3),this.decompose(o,this.length,g,1),Lt.from(g,this.length-(o-t)+d.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,o=this.length){[t,o]=un(this,t,o);let d=[];return this.decompose(t,o,d,0),Lt.from(d,o-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let o=this.scanIdentical(t,1),d=this.length-this.scanIdentical(t,-1),g=new Rr(this),D=new Rr(t);for(let L=o,$=o;;){if(g.next(L),D.next(L),L=0,g.lineBreak!=D.lineBreak||g.done!=D.done||g.value!=D.value)return!1;if($+=g.value.length,g.done||$>=d)return!0}}iter(t=1){return new Rr(this,t)}iterRange(t,o=this.length){return new Xr(this,t,o)}iterLines(t,o){let d;if(t==null)d=this.iter();else{o==null&&(o=this.lines+1);let g=this.line(t).from;d=this.iterRange(g,Math.max(g,o==this.lines+1?this.length:o<=1?0:this.line(o-1).to))}return new ci(d)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?$t.empty:t.length<=32?new Jt(t):Lt.from(Jt.split(t,[]))}}class Jt extends $t{constructor(t,o=yn(t)){super(),this.text=t,this.length=o}get lines(){return this.text.length}get children(){return null}lineInner(t,o,d,g){for(let D=0;;D++){let L=this.text[D],$=g+L.length;if((o?d:$)>=t)return new Hr(g,$,d,L);g=$+1,d++}}decompose(t,o,d,g){let D=t<=0&&o>=this.length?this:new Jt(yr(this.text,t,o),Math.min(o,this.length)-Math.max(0,t));if(g&1){let L=d.pop(),$=In(D.text,L.text.slice(),0,D.length);if($.length<=32)d.push(new Jt($,L.length+D.length));else{let te=$.length>>1;d.push(new Jt($.slice(0,te)),new Jt($.slice(te)))}}else d.push(D)}replace(t,o,d){if(!(d instanceof Jt))return super.replace(t,o,d);[t,o]=un(this,t,o);let g=In(this.text,In(d.text,yr(this.text,0,t)),o),D=this.length+d.length-(o-t);return g.length<=32?new Jt(g,D):Lt.from(Jt.split(g,[]),D)}sliceString(t,o=this.length,d=`
`){[t,o]=un(this,t,o);let g="";for(let D=0,L=0;D<=o&&L<this.text.length;L++){let $=this.text[L],te=D+$.length;D>t&&L&&(g+=d),t<te&&o>D&&(g+=$.slice(Math.max(0,t-D),o-D)),D=te+1}return g}flatten(t){for(let o of this.text)t.push(o)}scanIdentical(){return 0}static split(t,o){let d=[],g=-1;for(let D of t)d.push(D),g+=D.length+1,d.length==32&&(o.push(new Jt(d,g)),d=[],g=-1);return g>-1&&o.push(new Jt(d,g)),o}}class Lt extends $t{constructor(t,o){super(),this.children=t,this.length=o,this.lines=0;for(let d of t)this.lines+=d.lines}lineInner(t,o,d,g){for(let D=0;;D++){let L=this.children[D],$=g+L.length,te=d+L.lines-1;if((o?te:$)>=t)return L.lineInner(t,o,d,g);g=$+1,d=te+1}}decompose(t,o,d,g){for(let D=0,L=0;L<=o&&D<this.children.length;D++){let $=this.children[D],te=L+$.length;if(t<=te&&o>=L){let he=g&((L<=t?1:0)|(te>=o?2:0));L>=t&&te<=o&&!he?d.push($):$.decompose(t-L,o-L,d,he)}L=te+1}}replace(t,o,d){if([t,o]=un(this,t,o),d.lines<this.lines)for(let g=0,D=0;g<this.children.length;g++){let L=this.children[g],$=D+L.length;if(t>=D&&o<=$){let te=L.replace(t-D,o-D,d),he=this.lines-L.lines+te.lines;if(te.lines<he>>5-1&&te.lines>he>>5+1){let ve=this.children.slice();return ve[g]=te,new Lt(ve,this.length-(o-t)+d.length)}return super.replace(D,$,te)}D=$+1}return super.replace(t,o,d)}sliceString(t,o=this.length,d=`
`){[t,o]=un(this,t,o);let g="";for(let D=0,L=0;D<this.children.length&&L<=o;D++){let $=this.children[D],te=L+$.length;L>t&&D&&(g+=d),t<te&&o>L&&(g+=$.sliceString(t-L,o-L,d)),L=te+1}return g}flatten(t){for(let o of this.children)o.flatten(t)}scanIdentical(t,o){if(!(t instanceof Lt))return 0;let d=0,[g,D,L,$]=o>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;g+=o,D+=o){if(g==L||D==$)return d;let te=this.children[g],he=t.children[D];if(te!=he)return d+te.scanIdentical(he,o);d+=te.length+1}}static from(t,o=t.reduce((d,g)=>d+g.length+1,-1)){let d=0;for(let En of t)d+=En.lines;if(d<32){let En=[];for(let qn of t)qn.flatten(En);return new Jt(En,o)}let g=Math.max(32,d>>5),D=g<<1,L=g>>1,$=[],te=0,he=-1,ve=[];function qe(En){let qn;if(En.lines>D&&En instanceof Lt)for(let zr of En.children)qe(zr);else En.lines>L&&(te>L||!te)?(Rt(),$.push(En)):En instanceof Jt&&te&&(qn=ve[ve.length-1])instanceof Jt&&En.lines+qn.lines<=32?(te+=En.lines,he+=En.length+1,ve[ve.length-1]=new Jt(qn.text.concat(En.text),qn.length+1+En.length)):(te+En.lines>g&&Rt(),te+=En.lines,he+=En.length+1,ve.push(En))}function Rt(){te!=0&&($.push(ve.length==1?ve[0]:Lt.from(ve,he)),he=-1,te=ve.length=0)}for(let En of t)qe(En);return Rt(),$.length==1?$[0]:new Lt($,o)}}$t.empty=new Jt([""],0);function yn(p){let t=-1;for(let o of p)t+=o.length+1;return t}function In(p,t,o=0,d=1e9){for(let g=0,D=0,L=!0;D<p.length&&g<=d;D++){let $=p[D],te=g+$.length;te>=o&&(te>d&&($=$.slice(0,d-g)),g<o&&($=$.slice(o-g)),L?(t[t.length-1]+=$,L=!1):t.push($)),g=te+1}return t}function yr(p,t,o){return In(p,[""],t,o)}class Rr{constructor(t,o=1){this.dir=o,this.done=!1,this.lineBreak=!1,this.value="",this.nodes=[t],this.offsets=[o>0?1:(t instanceof Jt?t.text.length:t.children.length)<<1]}nextInner(t,o){for(this.done=this.lineBreak=!1;;){let d=this.nodes.length-1,g=this.nodes[d],D=this.offsets[d],L=D>>1,$=g instanceof Jt?g.text.length:g.children.length;if(L==(o>0?$:0)){if(d==0)return this.done=!0,this.value="",this;o>0&&this.offsets[d-1]++,this.nodes.pop(),this.offsets.pop()}else if((D&1)==(o>0?0:1)){if(this.offsets[d]+=o,t==0)return this.lineBreak=!0,this.value=`
`,this;t--}else if(g instanceof Jt){let te=g.text[L+(o<0?-1:0)];if(this.offsets[d]+=o,te.length>Math.max(0,t))return this.value=t==0?te:o>0?te.slice(t):te.slice(0,te.length-t),this;t-=te.length}else{let te=g.children[L+(o<0?-1:0)];t>te.length?(t-=te.length,this.offsets[d]+=o):(o<0&&this.offsets[d]--,this.nodes.push(te),this.offsets.push(o>0?1:(te instanceof Jt?te.text.length:te.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class Xr{constructor(t,o,d){this.value="",this.done=!1,this.cursor=new Rr(t,o>d?-1:1),this.pos=o>d?t.length:0,this.from=Math.min(o,d),this.to=Math.max(o,d)}nextInner(t,o){if(o<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,o<0?this.pos-this.to:this.from-this.pos);let d=o<0?this.pos-this.from:this.to-this.pos;t>d&&(t=d),d-=t;let{value:g}=this.cursor.next(t);return this.pos+=(g.length+t)*o,this.value=g.length<=d?g:o<0?g.slice(g.length-d):g.slice(0,d),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class ci{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:o,lineBreak:d,value:g}=this.inner.next(t);return o&&this.afterBreak?(this.value="",this.afterBreak=!1):o?(this.done=!0,this.value=""):d?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=g,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&($t.prototype[Symbol.iterator]=function(){return this.iter()},Rr.prototype[Symbol.iterator]=Xr.prototype[Symbol.iterator]=ci.prototype[Symbol.iterator]=function(){return this});class Hr{constructor(t,o,d,g){this.from=t,this.to=o,this.number=d,this.text=g}get length(){return this.to-this.from}}function un(p,t,o){return t=Math.max(0,Math.min(p.length,t)),[t,Math.max(t,Math.min(p.length,o))]}let ct="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(p=>p?parseInt(p,36):1);for(let p=1;p<ct.length;p++)ct[p]+=ct[p-1];function Ut(p){for(let t=1;t<ct.length;t+=2)if(ct[t]>p)return ct[t-1]<=p;return!1}function wt(p){return p>=127462&&p<=127487}const kn=8205;function wn(p,t,o=!0,d=!0){return(o?Qn:ur)(p,t,d)}function Qn(p,t,o){if(t==p.length)return t;t&&fi(p.charCodeAt(t))&&ot(p.charCodeAt(t-1))&&t--;let d=ft(p,t);for(t+=qt(d);t<p.length;){let g=ft(p,t);if(d==kn||g==kn||o&&Ut(g))t+=qt(g),d=g;else if(wt(g)){let D=0,L=t-2;for(;L>=0&&wt(ft(p,L));)D++,L-=2;if(D%2==0)break;t+=2}else break}return t}function ur(p,t,o){for(;t>0;){let d=Qn(p,t-2,o);if(d<t)return d;t--}return 0}function fi(p){return p>=56320&&p<57344}function ot(p){return p>=55296&&p<56320}function ft(p,t){let o=p.charCodeAt(t);if(!ot(o)||t+1==p.length)return o;let d=p.charCodeAt(t+1);return fi(d)?(o-55296<<10)+(d-56320)+65536:o}function Mt(p){return p<=65535?String.fromCharCode(p):(p-=65536,String.fromCharCode((p>>10)+55296,(p&1023)+56320))}function qt(p){return p<65536?1:2}const sr=/\r\n?|\n/;var lr=function(p){return p[p.Simple=0]="Simple",p[p.TrackDel=1]="TrackDel",p[p.TrackBefore=2]="TrackBefore",p[p.TrackAfter=3]="TrackAfter",p}(lr||(lr={}));class Cr{constructor(t){this.sections=t}get length(){let t=0;for(let o=0;o<this.sections.length;o+=2)t+=this.sections[o];return t}get newLength(){let t=0;for(let o=0;o<this.sections.length;o+=2){let d=this.sections[o+1];t+=d<0?this.sections[o]:d}return t}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(t){for(let o=0,d=0,g=0;o<this.sections.length;){let D=this.sections[o++],L=this.sections[o++];L<0?(t(d,g,D),g+=D):g+=L,d+=D}}iterChangedRanges(t,o=!1){vr(this,t,o)}get invertedDesc(){let t=[];for(let o=0;o<this.sections.length;){let d=this.sections[o++],g=this.sections[o++];g<0?t.push(d,g):t.push(g,d)}return new Cr(t)}composeDesc(t){return this.empty?t:t.empty?this:Wr(this,t)}mapDesc(t,o=!1){return t.empty?this:$r(this,t,o)}mapPos(t,o=-1,d=lr.Simple){let g=0,D=0;for(let L=0;L<this.sections.length;){let $=this.sections[L++],te=this.sections[L++],he=g+$;if(te<0){if(he>t)return D+(t-g);D+=$}else{if(d!=lr.Simple&&he>=t&&(d==lr.TrackDel&&g<t&&he>t||d==lr.TrackBefore&&g<t||d==lr.TrackAfter&&he>t))return null;if(he>t||he==t&&o<0&&!$)return t==g||o<0?D:D+te;D+=te}g=he}if(t>g)throw new RangeError(`Position ${t} is out of range for changeset of length ${g}`);return D}touchesRange(t,o=t){for(let d=0,g=0;d<this.sections.length&&g<=o;){let D=this.sections[d++],L=this.sections[d++],$=g+D;if(L>=0&&g<=o&&$>=t)return g<t&&$>o?"cover":!0;g=$}return!1}toString(){let t="";for(let o=0;o<this.sections.length;){let d=this.sections[o++],g=this.sections[o++];t+=(t?" ":"")+d+(g>=0?":"+g:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(o=>typeof o!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Cr(t)}static create(t){return new Cr(t)}}class xr extends Cr{constructor(t,o){super(t),this.inserted=o}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return vr(this,(o,d,g,D,L)=>t=t.replace(g,g+(d-o),L),!1),t}mapDesc(t,o=!1){return $r(this,t,o,!0)}invert(t){let o=this.sections.slice(),d=[];for(let g=0,D=0;g<o.length;g+=2){let L=o[g],$=o[g+1];if($>=0){o[g]=$,o[g+1]=L;let te=g>>1;for(;d.length<te;)d.push($t.empty);d.push(L?t.slice(D,D+L):$t.empty)}D+=L}return new xr(o,d)}compose(t){return this.empty?t:t.empty?this:Wr(this,t,!0)}map(t,o=!1){return t.empty?this:$r(this,t,o,!0)}iterChanges(t,o=!1){vr(this,t,o)}get desc(){return Cr.create(this.sections)}filter(t){let o=[],d=[],g=[],D=new be(this);e:for(let L=0,$=0;;){let te=L==t.length?1e9:t[L++];for(;$<te||$==te&&D.len==0;){if(D.done)break e;let ve=Math.min(D.len,te-$);qr(g,ve,-1);let qe=D.ins==-1?-1:D.off==0?D.ins:0;qr(o,ve,qe),qe>0&&jr(d,o,D.text),D.forward(ve),$+=ve}let he=t[L++];for(;$<he;){if(D.done)break e;let ve=Math.min(D.len,he-$);qr(o,ve,-1),qr(g,ve,D.ins==-1?-1:D.off==0?D.ins:0),D.forward(ve),$+=ve}}return{changes:new xr(o,d),filtered:Cr.create(g)}}toJSON(){let t=[];for(let o=0;o<this.sections.length;o+=2){let d=this.sections[o],g=this.sections[o+1];g<0?t.push(d):g==0?t.push([d]):t.push([d].concat(this.inserted[o>>1].toJSON()))}return t}static of(t,o,d){let g=[],D=[],L=0,$=null;function te(ve=!1){if(!ve&&!g.length)return;L<o&&qr(g,o-L,-1);let qe=new xr(g,D);$=$?$.compose(qe.map($)):qe,g=[],D=[],L=0}function he(ve){if(Array.isArray(ve))for(let qe of ve)he(qe);else if(ve instanceof xr){if(ve.length!=o)throw new RangeError(`Mismatched change set length (got ${ve.length}, expected ${o})`);te(),$=$?$.compose(ve.map($)):ve}else{let{from:qe,to:Rt=qe,insert:En}=ve;if(qe>Rt||qe<0||Rt>o)throw new RangeError(`Invalid change range ${qe} to ${Rt} (in doc of length ${o})`);let qn=En?typeof En=="string"?$t.of(En.split(d||sr)):En:$t.empty,zr=qn.length;if(qe==Rt&&zr==0)return;qe<L&&te(),qe>L&&qr(g,qe-L,-1),qr(g,Rt-qe,zr),jr(D,g,qn),L=Rt}}return he(t),te(!$),$}static empty(t){return new xr(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let o=[],d=[];for(let g=0;g<t.length;g++){let D=t[g];if(typeof D=="number")o.push(D,-1);else{if(!Array.isArray(D)||typeof D[0]!="number"||D.some((L,$)=>$&&typeof L!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(D.length==1)o.push(D[0],0);else{for(;d.length<g;)d.push($t.empty);d[g]=$t.of(D.slice(1)),o.push(D[0],d[g].length)}}}return new xr(o,d)}static createSet(t,o){return new xr(t,o)}}function qr(p,t,o,d=!1){if(t==0&&o<=0)return;let g=p.length-2;g>=0&&o<=0&&o==p[g+1]?p[g]+=t:t==0&&p[g]==0?p[g+1]+=o:d?(p[g]+=t,p[g+1]+=o):p.push(t,o)}function jr(p,t,o){if(o.length==0)return;let d=t.length-2>>1;if(d<p.length)p[p.length-1]=p[p.length-1].append(o);else{for(;p.length<d;)p.push($t.empty);p.push(o)}}function vr(p,t,o){let d=p.inserted;for(let g=0,D=0,L=0;L<p.sections.length;){let $=p.sections[L++],te=p.sections[L++];if(te<0)g+=$,D+=$;else{let he=g,ve=D,qe=$t.empty;for(;he+=$,ve+=te,te&&d&&(qe=qe.append(d[L-2>>1])),!(o||L==p.sections.length||p.sections[L+1]<0);)$=p.sections[L++],te=p.sections[L++];t(g,he,D,ve,qe),g=he,D=ve}}}function $r(p,t,o,d=!1){let g=[],D=d?[]:null,L=new be(p),$=new be(t);for(let te=-1;;)if(L.ins==-1&&$.ins==-1){let he=Math.min(L.len,$.len);qr(g,he,-1),L.forward(he),$.forward(he)}else if($.ins>=0&&(L.ins<0||te==L.i||L.off==0&&($.len<L.len||$.len==L.len&&!o))){let he=$.len;for(qr(g,$.ins,-1);he;){let ve=Math.min(L.len,he);L.ins>=0&&te<L.i&&L.len<=ve&&(qr(g,0,L.ins),D&&jr(D,g,L.text),te=L.i),L.forward(ve),he-=ve}$.next()}else if(L.ins>=0){let he=0,ve=L.len;for(;ve;)if($.ins==-1){let qe=Math.min(ve,$.len);he+=qe,ve-=qe,$.forward(qe)}else if($.ins==0&&$.len<ve)ve-=$.len,$.next();else break;qr(g,he,te<L.i?L.ins:0),D&&te<L.i&&jr(D,g,L.text),te=L.i,L.forward(L.len-ve)}else{if(L.done&&$.done)return D?xr.createSet(g,D):Cr.create(g);throw new Error("Mismatched change set lengths")}}function Wr(p,t,o=!1){let d=[],g=o?[]:null,D=new be(p),L=new be(t);for(let $=!1;;){if(D.done&&L.done)return g?xr.createSet(d,g):Cr.create(d);if(D.ins==0)qr(d,D.len,0,$),D.next();else if(L.len==0&&!L.done)qr(d,0,L.ins,$),g&&jr(g,d,L.text),L.next();else{if(D.done||L.done)throw new Error("Mismatched change set lengths");{let te=Math.min(D.len2,L.len),he=d.length;if(D.ins==-1){let ve=L.ins==-1?-1:L.off?0:L.ins;qr(d,te,ve,$),g&&ve&&jr(g,d,L.text)}else L.ins==-1?(qr(d,D.off?0:D.len,te,$),g&&jr(g,d,D.textBit(te))):(qr(d,D.off?0:D.len,L.off?0:L.ins,$),g&&!L.off&&jr(g,d,L.text));$=(D.ins>te||L.ins>=0&&L.len>te)&&($||d.length>he),D.forward2(te),L.forward(te)}}}}class be{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i<t.length?(this.len=t[this.i++],this.ins=t[this.i++]):(this.len=0,this.ins=-2),this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:t}=this.set,o=this.i-2>>1;return o>=t.length?$t.empty:t[o]}textBit(t){let{inserted:o}=this.set,d=this.i-2>>1;return d>=o.length&&!t?$t.empty:o[d].slice(this.off,t==null?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){this.ins==-1?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class Ue{constructor(t,o,d){this.from=t,this.to=o,this.flags=d}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let t=this.flags&7;return t==7?null:t}get goalColumn(){let t=this.flags>>6;return t==16777215?void 0:t}map(t,o=-1){let d,g;return this.empty?d=g=t.mapPos(this.from,o):(d=t.mapPos(this.from,1),g=t.mapPos(this.to,-1)),d==this.from&&g==this.to?this:new Ue(d,g,this.flags)}extend(t,o=t){if(t<=this.anchor&&o>=this.anchor)return ut.range(t,o);let d=Math.abs(t-this.anchor)>Math.abs(o-this.anchor)?t:o;return ut.range(this.anchor,d)}eq(t,o=!1){return this.anchor==t.anchor&&this.head==t.head&&(!o||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return ut.range(t.anchor,t.head)}static create(t,o,d){return new Ue(t,o,d)}}class ut{constructor(t,o){this.ranges=t,this.mainIndex=o}map(t,o=-1){return t.empty?this:ut.create(this.ranges.map(d=>d.map(t,o)),this.mainIndex)}eq(t,o=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let d=0;d<this.ranges.length;d++)if(!this.ranges[d].eq(t.ranges[d],o))return!1;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new ut([this.main],0)}addRange(t,o=!0){return ut.create([t].concat(this.ranges),o?0:this.mainIndex+1)}replaceRange(t,o=this.mainIndex){let d=this.ranges.slice();return d[o]=t,ut.create(d,this.mainIndex)}toJSON(){return{ranges:this.ranges.map(t=>t.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new ut(t.ranges.map(o=>Ue.fromJSON(o)),t.main)}static single(t,o=t){return new ut([ut.range(t,o)],0)}static create(t,o=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let d=0,g=0;g<t.length;g++){let D=t[g];if(D.empty?D.from<=d:D.from<d)return ut.normalized(t.slice(),o);d=D.to}return new ut(t,o)}static cursor(t,o=0,d,g){return Ue.create(t,t,(o==0?0:o<0?8:16)|(d==null?7:Math.min(6,d))|(g??16777215)<<6)}static range(t,o,d,g){let D=(d??16777215)<<6|(g==null?7:Math.min(6,g));return o<t?Ue.create(o,t,48|D):Ue.create(t,o,(o>t?8:0)|D)}static normalized(t,o=0){let d=t[o];t.sort((g,D)=>g.from-D.from),o=t.indexOf(d);for(let g=1;g<t.length;g++){let D=t[g],L=t[g-1];if(D.empty?D.from<=L.to:D.from<L.to){let $=L.from,te=Math.max(D.to,L.to);g<=o&&o--,t.splice(--g,2,D.anchor>D.head?ut.range(te,$):ut.range($,te))}}return new ut(t,o)}}function Ht(p,t){for(let o of p.ranges)if(o.to>t)throw new RangeError("Selection points outside of document")}let Fn=0;class ln{constructor(t,o,d,g,D){this.combine=t,this.compareInput=o,this.compare=d,this.isStatic=g,this.id=Fn++,this.default=t([]),this.extensions=typeof D=="function"?D(this):D}get reader(){return this}static define(t={}){return new ln(t.combine||(o=>o),t.compareInput||((o,d)=>o===d),t.compare||(t.combine?(o,d)=>o===d:jn),!!t.static,t.enables)}of(t){return new Nr([],this,0,t)}compute(t,o){if(this.isStatic)throw new Error("Can't compute a static facet");return new Nr(t,this,1,o)}computeN(t,o){if(this.isStatic)throw new Error("Can't compute a static facet");return new Nr(t,this,2,o)}from(t,o){return o||(o=d=>d),this.compute([t],d=>o(d.field(t)))}}function jn(p,t){return p==t||p.length==t.length&&p.every((o,d)=>o===t[d])}class Nr{constructor(t,o,d,g){this.dependencies=t,this.facet=o,this.type=d,this.value=g,this.id=Fn++}dynamicSlot(t){var o;let d=this.value,g=this.facet.compareInput,D=this.id,L=t[D]>>1,$=this.type==2,te=!1,he=!1,ve=[];for(let qe of this.dependencies)qe=="doc"?te=!0:qe=="selection"?he=!0:((o=t[qe.id])!==null&&o!==void 0?o:1)&1||ve.push(t[qe.id]);return{create(qe){return qe.values[L]=d(qe),1},update(qe,Rt){if(te&&Rt.docChanged||he&&(Rt.docChanged||Rt.selection)||Oi(qe,ve)){let En=d(qe);if($?!Mi(En,qe.values[L],g):!g(En,qe.values[L]))return qe.values[L]=En,1}return 0},reconfigure:(qe,Rt)=>{let En,qn=Rt.config.address[D];if(qn!=null){let zr=di(Rt,qn);if(this.dependencies.every(Qr=>Qr instanceof ln?Rt.facet(Qr)===qe.facet(Qr):Qr instanceof Qi?Rt.field(Qr,!1)==qe.field(Qr,!1):!0)||($?Mi(En=d(qe),zr,g):g(En=d(qe),zr)))return qe.values[L]=zr,0}else En=d(qe);return qe.values[L]=En,1}}}}function Mi(p,t,o){if(p.length!=t.length)return!1;for(let d=0;d<p.length;d++)if(!o(p[d],t[d]))return!1;return!0}function Oi(p,t){let o=!1;for(let d of t)ru(p,d)&1&&(o=!0);return o}function ni(p,t,o){let d=o.map(te=>p[te.id]),g=o.map(te=>te.type),D=d.filter(te=>!(te&1)),L=p[t.id]>>1;function $(te){let he=[];for(let ve=0;ve<d.length;ve++){let qe=di(te,d[ve]);if(g[ve]==2)for(let Rt of qe)he.push(Rt);else he.push(qe)}return t.combine(he)}return{create(te){for(let he of d)ru(te,he);return te.values[L]=$(te),1},update(te,he){if(!Oi(te,D))return 0;let ve=$(te);return t.compare(ve,te.values[L])?0:(te.values[L]=ve,1)},reconfigure(te,he){let ve=Oi(te,d),qe=he.config.facets[t.id],Rt=he.facet(t);if(qe&&!ve&&jn(o,qe))return te.values[L]=Rt,0;let En=$(te);return t.compare(En,Rt)?(te.values[L]=Rt,0):(te.values[L]=En,1)}}}const rs=ln.define({static:!0});class Qi{constructor(t,o,d,g,D){this.id=t,this.createF=o,this.updateF=d,this.compareF=g,this.spec=D,this.provides=void 0}static define(t){let o=new Qi(Fn++,t.create,t.update,t.compare||((d,g)=>d===g),t);return t.provide&&(o.provides=t.provide(o)),o}create(t){let o=t.facet(rs).find(d=>d.field==this);return(o?.create||this.createF)(t)}slot(t){let o=t[this.id]>>1;return{create:d=>(d.values[o]=this.create(d),1),update:(d,g)=>{let D=d.values[o],L=this.updateF(D,g);return this.compareF(D,L)?0:(d.values[o]=L,1)},reconfigure:(d,g)=>g.config.address[this.id]!=null?(d.values[o]=g.field(this),0):(d.values[o]=this.create(d),1)}}init(t){return[this,rs.of({field:this,create:t})]}get extension(){return this}}const la={lowest:4,low:3,default:2,high:1,highest:0};function as(p){return t=>new Za(t,p)}const bs={highest:as(la.highest),high:as(la.high),default:as(la.default),low:as(la.low),lowest:as(la.lowest)};class Za{constructor(t,o){this.inner=t,this.prec=o}}class za{of(t){return new wo(this,t)}reconfigure(t){return za.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class wo{constructor(t,o){this.compartment=t,this.inner=o}}class ca{constructor(t,o,d,g,D,L){for(this.base=t,this.compartments=o,this.dynamicSlots=d,this.address=g,this.staticValues=D,this.facets=L,this.statusTemplate=[];this.statusTemplate.length<d.length;)this.statusTemplate.push(0)}staticFacet(t){let o=this.address[t.id];return o==null?t.default:this.staticValues[o>>1]}static resolve(t,o,d){let g=[],D=Object.create(null),L=new Map;for(let Rt of Uo(t,o,L))Rt instanceof Qi?g.push(Rt):(D[Rt.facet.id]||(D[Rt.facet.id]=[])).push(Rt);let $=Object.create(null),te=[],he=[];for(let Rt of g)$[Rt.id]=he.length<<1,he.push(En=>Rt.slot(En));let ve=d?.config.facets;for(let Rt in D){let En=D[Rt],qn=En[0].facet,zr=ve&&ve[Rt]||[];if(En.every(Qr=>Qr.type==0))if($[qn.id]=te.length<<1|1,jn(zr,En))te.push(d.facet(qn));else{let Qr=qn.combine(En.map($i=>$i.value));te.push(d&&qn.compare(Qr,d.facet(qn))?d.facet(qn):Qr)}else{for(let Qr of En)Qr.type==0?($[Qr.id]=te.length<<1|1,te.push(Qr.value)):($[Qr.id]=he.length<<1,he.push($i=>Qr.dynamicSlot($i)));$[qn.id]=he.length<<1,he.push(Qr=>ni(Qr,qn,En))}}let qe=he.map(Rt=>Rt($));return new ca(t,L,qe,$,te,D)}}function Uo(p,t,o){let d=[[],[],[],[],[]],g=new Map;function D(L,$){let te=g.get(L);if(te!=null){if(te<=$)return;let he=d[te].indexOf(L);he>-1&&d[te].splice(he,1),L instanceof wo&&o.delete(L.compartment)}if(g.set(L,$),Array.isArray(L))for(let he of L)D(he,$);else if(L instanceof wo){if(o.has(L.compartment))throw new RangeError("Duplicate use of compartment in extensions");let he=t.get(L.compartment)||L.inner;o.set(L.compartment,he),D(he,$)}else if(L instanceof Za)D(L.inner,L.prec);else if(L instanceof Qi)d[$].push(L),L.provides&&D(L.provides,$);else if(L instanceof Nr)d[$].push(L),L.facet.extensions&&D(L.facet.extensions,la.default);else{let he=L.extension;if(!he)throw new Error(`Unrecognized extension value in extension set (${L}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);D(he,$)}}return D(p,la.default),d.reduce((L,$)=>L.concat($))}function ru(p,t){if(t&1)return 2;let o=t>>1,d=p.status[o];if(d==4)throw new Error("Cyclic dependency between fields and/or facets");if(d&2)return d;p.status[o]=4;let g=p.computeSlot(p,p.config.dynamicSlots[o]);return p.status[o]=2|g}function di(p,t){return t&1?p.config.staticValues[t>>1]:p.values[t>>1]}const wi=ln.define(),dr=ln.define({combine:p=>p.some(t=>t),static:!0}),hi=ln.define({combine:p=>p.length?p[0]:void 0,static:!0}),Si=ln.define(),Di=ln.define(),Xi=ln.define(),zi=ln.define({combine:p=>p.length?p[0]:!1});class os{constructor(t,o){this.type=t,this.value=o}static define(){return new js}}class js{of(t){return new os(this,t)}}class hs{constructor(t){this.map=t}of(t){return new Vi(this,t)}}class Vi{constructor(t,o){this.type=t,this.value=o}map(t){let o=this.type.map(this.value,t);return o===void 0?void 0:o==this.value?this:new Vi(this.type,o)}is(t){return this.type==t}static define(t={}){return new hs(t.map||(o=>o))}static mapEffects(t,o){if(!t.length)return t;let d=[];for(let g of t){let D=g.map(o);D&&d.push(D)}return d}}Vi.reconfigure=Vi.define(),Vi.appendConfig=Vi.define();class ns{constructor(t,o,d,g,D,L){this.startState=t,this.changes=o,this.selection=d,this.effects=g,this.annotations=D,this.scrollIntoView=L,this._doc=null,this._state=null,d&&Ht(d,o.newLength),D.some($=>$.type==ns.time)||(this.annotations=D.concat(ns.time.of(Date.now())))}static create(t,o,d,g,D,L){return new ns(t,o,d,g,D,L)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let o of this.annotations)if(o.type==t)return o.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let o=this.annotation(ns.userEvent);return!!(o&&(o==t||o.length>t.length&&o.slice(0,t.length)==t&&o[t.length]=="."))}}ns.time=os.define(),ns.userEvent=os.define(),ns.addToHistory=os.define(),ns.remote=os.define();function fs(p,t){let o=[];for(let d=0,g=0;;){let D,L;if(d<p.length&&(g==t.length||t[g]>=p[d]))D=p[d++],L=p[d++];else if(g<t.length)D=t[g++],L=t[g++];else return o;!o.length||o[o.length-1]<D?o.push(D,L):o[o.length-1]<L&&(o[o.length-1]=L)}}function Ks(p,t,o){var d;let g,D,L;return o?(g=t.changes,D=xr.empty(t.changes.length),L=p.changes.compose(t.changes)):(g=t.changes.map(p.changes),D=p.changes.mapDesc(t.changes,!0),L=p.changes.compose(g)),{changes:L,selection:t.selection?t.selection.map(D):(d=p.selection)===null||d===void 0?void 0:d.map(g),effects:Vi.mapEffects(p.effects,g).concat(Vi.mapEffects(t.effects,D)),annotations:p.annotations.length?p.annotations.concat(t.annotations):t.annotations,scrollIntoView:p.scrollIntoView||t.scrollIntoView}}function ma(p,t,o){let d=t.selection,g=Po(t.annotations);return t.userEvent&&(g=g.concat(ns.userEvent.of(t.userEvent))),{changes:t.changes instanceof xr?t.changes:xr.of(t.changes||[],o,p.facet(hi)),selection:d&&(d instanceof ut?d:ut.single(d.anchor,d.head)),effects:Po(t.effects),annotations:g,scrollIntoView:!!t.scrollIntoView}}function da(p,t,o){let d=ma(p,t.length?t[0]:{},p.doc.length);t.length&&t[0].filter===!1&&(o=!1);for(let D=1;D<t.length;D++){t[D].filter===!1&&(o=!1);let L=!!t[D].sequential;d=Ks(d,ma(p,t[D],L?d.changes.newLength:p.doc.length),L)}let g=ns.create(p,d.changes,d.selection,d.effects,d.annotations,d.scrollIntoView);return Ys(o?Da(g):g)}function Da(p){let t=p.startState,o=!0;for(let g of t.facet(Si)){let D=g(p);if(D===!1){o=!1;break}Array.isArray(D)&&(o=o===!0?D:fs(o,D))}if(o!==!0){let g,D;if(o===!1)D=p.changes.invertedDesc,g=xr.empty(t.doc.length);else{let L=p.changes.filter(o);g=L.changes,D=L.filtered.mapDesc(L.changes).invertedDesc}p=ns.create(t,g,p.selection&&p.selection.map(D),Vi.mapEffects(p.effects,D),p.annotations,p.scrollIntoView)}let d=t.facet(Di);for(let g=d.length-1;g>=0;g--){let D=d[g](p);D instanceof ns?p=D:Array.isArray(D)&&D.length==1&&D[0]instanceof ns?p=D[0]:p=da(t,Po(D),!1)}return p}function Ys(p){let t=p.startState,o=t.facet(Xi),d=p;for(let g=o.length-1;g>=0;g--){let D=o[g](p);D&&Object.keys(D).length&&(d=Ks(d,ma(t,D,p.changes.newLength),!0))}return d==p?p:ns.create(t,p.changes,p.selection,d.effects,d.annotations,d.scrollIntoView)}const Xa=[];function Po(p){return p==null?Xa:Array.isArray(p)?p:[p]}var co=function(p){return p[p.Word=0]="Word",p[p.Space=1]="Space",p[p.Other=2]="Other",p}(co||(co={}));const el=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Yo;try{Yo=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Ou(p){if(Yo)return Yo.test(p);for(let t=0;t<p.length;t++){let o=p[t];if(/\w/.test(o)||o>"\x80"&&(o.toUpperCase()!=o.toLowerCase()||el.test(o)))return!0}return!1}function Qo(p){return t=>{if(!/\S/.test(t))return co.Space;if(Ou(t))return co.Word;for(let o=0;o<p.length;o++)if(t.indexOf(p[o])>-1)return co.Word;return co.Other}}class Ha{constructor(t,o,d,g,D,L){this.config=t,this.doc=o,this.selection=d,this.values=g,this.status=t.statusTemplate.slice(),this.computeSlot=D,L&&(L._state=this);for(let $=0;$<this.config.dynamicSlots.length;$++)ru(this,$<<1);this.computeSlot=null}field(t,o=!0){let d=this.config.address[t.id];if(d==null){if(o)throw new RangeError("Field is not present in this state");return}return ru(this,d),di(this,d)}update(...t){return da(this,t,!0)}applyTransaction(t){let o=this.config,{base:d,compartments:g}=o;for(let $ of t.effects)$.is(za.reconfigure)?(o&&(g=new Map,o.compartments.forEach((te,he)=>g.set(he,te)),o=null),g.set($.value.compartment,$.value.extension)):$.is(Vi.reconfigure)?(o=null,d=$.value):$.is(Vi.appendConfig)&&(o=null,d=Po(d).concat($.value));let D;o?D=t.startState.values.slice():(o=ca.resolve(d,g,this),D=new Ha(o,this.doc,this.selection,o.dynamicSlots.map(()=>null),(te,he)=>he.reconfigure(te,this),null).values);let L=t.startState.facet(dr)?t.newSelection:t.newSelection.asSingle();new Ha(o,t.newDoc,L,D,($,te)=>te.update($,t),t)}replaceSelection(t){return typeof t=="string"&&(t=this.toText(t)),this.changeByRange(o=>({changes:{from:o.from,to:o.to,insert:t},range:ut.cursor(o.from+t.length)}))}changeByRange(t){let o=this.selection,d=t(o.ranges[0]),g=this.changes(d.changes),D=[d.range],L=Po(d.effects);for(let $=1;$<o.ranges.length;$++){let te=t(o.ranges[$]),he=this.changes(te.changes),ve=he.map(g);for(let Rt=0;Rt<$;Rt++)D[Rt]=D[Rt].map(ve);let qe=g.mapDesc(he,!0);D.push(te.range.map(qe)),g=g.compose(ve),L=Vi.mapEffects(L,ve).concat(Vi.mapEffects(Po(te.effects),qe))}return{changes:g,selection:ut.create(D,o.mainIndex),effects:L}}changes(t=[]){return t instanceof xr?t:xr.of(t,this.doc.length,this.facet(Ha.lineSeparator))}toText(t){return $t.of(t.split(this.facet(Ha.lineSeparator)||sr))}sliceDoc(t=0,o=this.doc.length){return this.doc.sliceString(t,o,this.lineBreak)}facet(t){let o=this.config.address[t.id];return o==null?t.default:(ru(this,o),di(this,o))}toJSON(t){let o={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(t)for(let d in t){let g=t[d];g instanceof Qi&&this.config.address[g.id]!=null&&(o[d]=g.spec.toJSON(this.field(t[d]),this))}return o}static fromJSON(t,o={},d){if(!t||typeof t.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let g=[];if(d){for(let D in d)if(Object.prototype.hasOwnProperty.call(t,D)){let L=d[D],$=t[D];g.push(L.init(te=>L.spec.fromJSON($,te)))}}return Ha.create({doc:t.doc,selection:ut.fromJSON(t.selection),extensions:o.extensions?g.concat([o.extensions]):g})}static create(t={}){let o=ca.resolve(t.extensions||[],new Map),d=t.doc instanceof $t?t.doc:$t.of((t.doc||"").split(o.staticFacet(Ha.lineSeparator)||sr)),g=t.selection?t.selection instanceof ut?t.selection:ut.single(t.selection.anchor,t.selection.head):ut.single(0);return Ht(g,d.length),o.staticFacet(dr)||(g=g.asSingle()),new Ha(o,d,g,o.dynamicSlots.map(()=>null),(D,L)=>L.create(D),null)}get tabSize(){return this.facet(Ha.tabSize)}get lineBreak(){return this.facet(Ha.lineSeparator)||`
`}get readOnly(){return this.facet(zi)}phrase(t,...o){for(let d of this.facet(Ha.phrases))if(Object.prototype.hasOwnProperty.call(d,t)){t=d[t];break}return o.length&&(t=t.replace(/\$(\$|\d*)/g,(d,g)=>{if(g=="$")return"$";let D=+(g||1);return!D||D>o.length?d:o[D-1]})),t}languageDataAt(t,o,d=-1){let g=[];for(let D of this.facet(wi))for(let L of D(this,o,d))Object.prototype.hasOwnProperty.call(L,t)&&g.push(L[t]);return g}charCategorizer(t){return Qo(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:o,from:d,length:g}=this.doc.lineAt(t),D=this.charCategorizer(t),L=t-d,$=t-d;for(;L>0;){let te=wn(o,L,!1);if(D(o.slice(te,L))!=co.Word)break;L=te}for(;$<g;){let te=wn(o,$);if(D(o.slice($,te))!=co.Word)break;$=te}return L==$?null:ut.range(L+d,$+d)}}Ha.allowMultipleSelections=dr,Ha.tabSize=ln.define({combine:p=>p.length?p[0]:4}),Ha.lineSeparator=hi,Ha.readOnly=zi,Ha.phrases=ln.define({compare(p,t){let o=Object.keys(p),d=Object.keys(t);return o.length==d.length&&o.every(g=>p[g]==t[g])}}),Ha.languageData=wi,Ha.changeFilter=Si,Ha.transactionFilter=Di,Ha.transactionExtender=Xi,za.reconfigure=Vi.define();function Jo(p,t,o={}){let d={};for(let g of p)for(let D of Object.keys(g)){let L=g[D],$=d[D];if($===void 0)d[D]=L;else if(!($===L||L===void 0))if(Object.hasOwnProperty.call(o,D))d[D]=o[D]($,L);else throw new Error("Config merge conflict for field "+D)}for(let g in t)d[g]===void 0&&(d[g]=t[g]);return d}class qo{eq(t){return this==t}range(t,o=t){return tl.create(t,o,this)}}qo.prototype.startSide=qo.prototype.endSide=0,qo.prototype.point=!1,qo.prototype.mapMode=lr.TrackDel;class tl{constructor(t,o,d){this.from=t,this.to=o,this.value=d}static create(t,o,d){return new tl(t,o,d)}}function Nu(p,t){return p.from-t.from||p.value.startSide-t.value.startSide}class Kl{constructor(t,o,d,g){this.from=t,this.to=o,this.value=d,this.maxPoint=g}get length(){return this.to[this.to.length-1]}findIndex(t,o,d,g=0){let D=d?this.to:this.from;for(let L=g,$=D.length;;){if(L==$)return L;let te=L+$>>1,he=D[te]-t||(d?this.value[te].endSide:this.value[te].startSide)-o;if(te==L)return he>=0?L:$;he>=0?$=te:L=te+1}}between(t,o,d,g){for(let D=this.findIndex(o,-1e9,!0),L=this.findIndex(d,1e9,!1,D);D<L;D++)if(g(this.from[D]+t,this.to[D]+t,this.value[D])===!1)return!1}map(t,o){let d=[],g=[],D=[],L=-1,$=-1;for(let te=0;te<this.value.length;te++){let he=this.value[te],ve=this.from[te]+t,qe=this.to[te]+t,Rt,En;if(ve==qe){let qn=o.mapPos(ve,he.startSide,he.mapMode);if(qn==null||(Rt=En=qn,he.startSide!=he.endSide&&(En=o.mapPos(ve,he.endSide),En<Rt)))continue}else if(Rt=o.mapPos(ve,he.startSide),En=o.mapPos(qe,he.endSide),Rt>En||Rt==En&&he.startSide>0&&he.endSide<=0)continue;(En-Rt||he.endSide-he.startSide)<0||(L<0&&(L=Rt),he.point&&($=Math.max($,En-Rt)),d.push(he),g.push(Rt-L),D.push(En-L))}return{mapped:d.length?new Kl(g,D,d,$):null,pos:L}}}class ke{constructor(t,o,d,g){this.chunkPos=t,this.chunk=o,this.nextLayer=d,this.maxPoint=g}static create(t,o,d,g){return new ke(t,o,d,g)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let o of this.chunk)t+=o.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:o=[],sort:d=!1,filterFrom:g=0,filterTo:D=this.length}=t,L=t.filter;if(o.length==0&&!L)return this;if(d&&(o=o.slice().sort(Nu)),this.isEmpty)return o.length?ke.of(o):this;let $=new ei(this,null,-1).goto(0),te=0,he=[],ve=new Wt;for(;$.value||te<o.length;)if(te<o.length&&($.from-o[te].from||$.startSide-o[te].value.startSide)>=0){let qe=o[te++];ve.addInner(qe.from,qe.to,qe.value)||he.push(qe)}else $.rangeIndex==1&&$.chunkIndex<this.chunk.length&&(te==o.length||this.chunkEnd($.chunkIndex)<o[te].from)&&(!L||g>this.chunkEnd($.chunkIndex)||D<this.chunkPos[$.chunkIndex])&&ve.addChunk(this.chunkPos[$.chunkIndex],this.chunk[$.chunkIndex])?$.nextChunk():((!L||g>$.to||D<$.from||L($.from,$.to,$.value))&&(ve.addInner($.from,$.to,$.value)||he.push(tl.create($.from,$.to,$.value))),$.next());return ve.finishInner(this.nextLayer.isEmpty&&!he.length?ke.empty:this.nextLayer.update({add:he,filter:L,filterFrom:g,filterTo:D}))}map(t){if(t.empty||this.isEmpty)return this;let o=[],d=[],g=-1;for(let L=0;L<this.chunk.length;L++){let $=this.chunkPos[L],te=this.chunk[L],he=t.touchesRange($,$+te.length);if(he===!1)g=Math.max(g,te.maxPoint),o.push(te),d.push(t.mapPos($));else if(he===!0){let{mapped:ve,pos:qe}=te.map($,t);ve&&(g=Math.max(g,ve.maxPoint),o.push(ve),d.push(qe))}}let D=this.nextLayer.map(t);return o.length==0?D:new ke(d,o,D||ke.empty,g)}between(t,o,d){if(!this.isEmpty){for(let g=0;g<this.chunk.length;g++){let D=this.chunkPos[g],L=this.chunk[g];if(o>=D&&t<=D+L.length&&L.between(D,t-D,o-D,d)===!1)return}this.nextLayer.between(t,o,d)}}iter(t=0){return bi.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,o=0){return bi.from(t).goto(o)}static compare(t,o,d,g,D=-1){let L=t.filter(qe=>qe.maxPoint>0||!qe.isEmpty&&qe.maxPoint>=D),$=o.filter(qe=>qe.maxPoint>0||!qe.isEmpty&&qe.maxPoint>=D),te=Nn(L,$,d),he=new Bs(L,te,D),ve=new Bs($,te,D);d.iterGaps((qe,Rt,En)=>Xs(he,qe,ve,Rt,En,g)),d.empty&&d.length==0&&Xs(he,0,ve,0,0,g)}static eq(t,o,d=0,g){g==null&&(g=1e9-1);let D=t.filter(ve=>!ve.isEmpty&&o.indexOf(ve)<0),L=o.filter(ve=>!ve.isEmpty&&t.indexOf(ve)<0);if(D.length!=L.length)return!1;if(!D.length)return!0;let $=Nn(D,L),te=new Bs(D,$,0).goto(d),he=new Bs(L,$,0).goto(d);for(;;){if(te.to!=he.to||!_a(te.active,he.active)||te.point&&(!he.point||!te.point.eq(he.point)))return!1;if(te.to>g)return!0;te.next(),he.next()}}static spans(t,o,d,g,D=-1){let L=new Bs(t,null,D).goto(o),$=o,te=L.openStart;for(;;){let he=Math.min(L.to,d);if(L.point){let ve=L.activeForPoint(L.to),qe=L.pointFrom<o?ve.length+1:Math.min(ve.length,te);g.point($,he,L.point,ve,qe,L.pointRank),te=Math.min(L.openEnd(he),ve.length)}else he>$&&(g.span($,he,L.active,te),te=L.openEnd(he));if(L.to>d)return te+(L.point&&L.to>d?1:0);$=L.to,L.next()}}static of(t,o=!1){let d=new Wt;for(let g of t instanceof tl?[t]:o?Ie(t):t)d.add(g.from,g.to,g.value);return d.finish()}static join(t){if(!t.length)return ke.empty;let o=t[t.length-1];for(let d=t.length-2;d>=0;d--)for(let g=t[d];g!=ke.empty;g=g.nextLayer)o=new ke(g.chunkPos,g.chunk,o,Math.max(g.maxPoint,o.maxPoint));return o}}ke.empty=new ke([],[],null,-1);function Ie(p){if(p.length>1)for(let t=p[0],o=1;o<p.length;o++){let d=p[o];if(Nu(t,d)>0)return p.slice().sort(Nu);t=d}return p}ke.empty.nextLayer=ke.empty;class Wt{finishChunk(t){this.chunks.push(new Kl(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,o,d){this.addInner(t,o,d)||(this.nextLayer||(this.nextLayer=new Wt)).add(t,o,d)}addInner(t,o,d){let g=t-this.lastTo||d.startSide-this.last.endSide;if(g<=0&&(t-this.lastFrom||d.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return g<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(o-this.chunkStart),this.last=d,this.lastFrom=t,this.lastTo=o,this.value.push(d),d.point&&(this.maxPoint=Math.max(this.maxPoint,o-t)),!0)}addChunk(t,o){if((t-this.lastTo||o.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,o.maxPoint),this.chunks.push(o),this.chunkPos.push(t);let d=o.value.length-1;return this.last=o.value[d],this.lastFrom=o.from[d]+t,this.lastTo=o.to[d]+t,!0}finish(){return this.finishInner(ke.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return t;let o=ke.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,o}}function Nn(p,t,o){let d=new Map;for(let D of p)for(let L=0;L<D.chunk.length;L++)D.chunk[L].maxPoint<=0&&d.set(D.chunk[L],D.chunkPos[L]);let g=new Set;for(let D of t)for(let L=0;L<D.chunk.length;L++){let $=d.get(D.chunk[L]);$!=null&&(o?o.mapPos($):$)==D.chunkPos[L]&&!o?.touchesRange($,$+D.chunk[L].length)&&g.add(D.chunk[L])}return g}class ei{constructor(t,o,d,g=0){this.layer=t,this.skip=o,this.minPoint=d,this.rank=g}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(t,o=-1e9){return this.chunkIndex=this.rangeIndex=0,this.gotoInner(t,o,!1),this}gotoInner(t,o,d){for(;this.chunkIndex<this.layer.chunk.length;){let g=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(g)||this.layer.chunkEnd(this.chunkIndex)<t||g.maxPoint<this.minPoint))break;this.chunkIndex++,d=!1}if(this.chunkIndex<this.layer.chunk.length){let g=this.layer.chunk[this.chunkIndex].findIndex(t-this.layer.chunkPos[this.chunkIndex],o,!0);(!d||this.rangeIndex<g)&&this.setRangeIndex(g)}this.next()}forward(t,o){(this.to-t||this.endSide-o)<0&&this.gotoInner(t,o,!0)}next(){for(;;)if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9,this.value=null;break}else{let t=this.layer.chunkPos[this.chunkIndex],o=this.layer.chunk[this.chunkIndex],d=t+o.from[this.rangeIndex];if(this.from=d,this.to=t+o.to[this.rangeIndex],this.value=o.value[this.rangeIndex],this.setRangeIndex(this.rangeIndex+1),this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++;this.rangeIndex=0}else this.rangeIndex=t}nextChunk(){this.chunkIndex++,this.rangeIndex=0,this.next()}compare(t){return this.from-t.from||this.startSide-t.startSide||this.rank-t.rank||this.to-t.to||this.endSide-t.endSide}}class bi{constructor(t){this.heap=t}static from(t,o=null,d=-1){let g=[];for(let D=0;D<t.length;D++)for(let L=t[D];!L.isEmpty;L=L.nextLayer)L.maxPoint>=d&&g.push(new ei(L,o,d,D));return g.length==1?g[0]:new bi(g)}get startSide(){return this.value?this.value.startSide:0}goto(t,o=-1e9){for(let d of this.heap)d.goto(t,o);for(let d=this.heap.length>>1;d>=0;d--)Cs(this.heap,d);return this.next(),this}forward(t,o){for(let d of this.heap)d.forward(t,o);for(let d=this.heap.length>>1;d>=0;d--)Cs(this.heap,d);(this.to-t||this.value.endSide-o)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),Cs(this.heap,0)}}}function Cs(p,t){for(let o=p[t];;){let d=(t<<1)+1;if(d>=p.length)break;let g=p[d];if(d+1<p.length&&g.compare(p[d+1])>=0&&(g=p[d+1],d++),o.compare(g)<0)break;p[d]=o,p[t]=g,t=d}}class Bs{constructor(t,o,d){this.minPoint=d,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=bi.from(t,o,d)}goto(t,o=-1e9){return this.cursor.goto(t,o),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=o,this.openStart=-1,this.next(),this}forward(t,o){for(;this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-o)<0;)this.removeActive(this.minActive);this.cursor.forward(t,o)}removeActive(t){ga(this.active,t),ga(this.activeTo,t),ga(this.activeRank,t),this.minActive=Va(this.active,this.activeTo)}addActive(t){let o=0,{value:d,to:g,rank:D}=this.cursor;for(;o<this.activeRank.length&&(D-this.activeRank[o]||g-this.activeTo[o])>0;)o++;Vs(this.active,o,d),Vs(this.activeTo,o,g),Vs(this.activeRank,o,D),t&&Vs(t,o,this.cursor.from),this.minActive=Va(this.active,this.activeTo)}next(){let t=this.to,o=this.point;this.point=null;let d=this.openStart<0?[]:null;for(;;){let g=this.minActive;if(g>-1&&(this.activeTo[g]-this.cursor.from||this.active[g].endSide-this.cursor.startSide)<0){if(this.activeTo[g]>t){this.to=this.activeTo[g],this.endSide=this.active[g].endSide;break}this.removeActive(g),d&&ga(d,g)}else if(this.cursor.value)if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let D=this.cursor.value;if(!D.point)this.addActive(d),this.cursor.next();else if(o&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to)this.cursor.next();else{this.point=D,this.pointFrom=this.cursor.from,this.pointRank=this.cursor.rank,this.to=this.cursor.to,this.endSide=D.endSide,this.cursor.next(),this.forward(this.to,this.endSide);break}}else{this.to=this.endSide=1e9;break}}if(d){this.openStart=0;for(let g=d.length-1;g>=0&&d[g]<t;g--)this.openStart++}}activeForPoint(t){if(!this.active.length)return this.active;let o=[];for(let d=this.active.length-1;d>=0&&!(this.activeRank[d]<this.pointRank);d--)(this.activeTo[d]>t||this.activeTo[d]==t&&this.active[d].endSide>=this.point.endSide)&&o.push(this.active[d]);return o.reverse()}openEnd(t){let o=0;for(let d=this.activeTo.length-1;d>=0&&this.activeTo[d]>t;d--)o++;return o}}function Xs(p,t,o,d,g,D){p.goto(t),o.goto(d);let L=d+g,$=d,te=d-t;for(;;){let he=p.to+te-o.to||p.endSide-o.endSide,ve=he<0?p.to+te:o.to,qe=Math.min(ve,L);if(p.point||o.point?p.point&&o.point&&(p.point==o.point||p.point.eq(o.point))&&_a(p.activeForPoint(p.to),o.activeForPoint(o.to))||D.comparePoint($,qe,p.point,o.point):qe>$&&!_a(p.active,o.active)&&D.compareRange($,qe,p.active,o.active),ve>L)break;$=ve,he<=0&&p.next(),he>=0&&o.next()}}function _a(p,t){if(p.length!=t.length)return!1;for(let o=0;o<p.length;o++)if(p[o]!=t[o]&&!p[o].eq(t[o]))return!1;return!0}function ga(p,t){for(let o=t,d=p.length-1;o<d;o++)p[o]=p[o+1];p.pop()}function Vs(p,t,o){for(let d=p.length-1;d>=t;d--)p[d+1]=p[d];p[t]=o}function Va(p,t){let o=-1,d=1e9;for(let g=0;g<t.length;g++)(t[g]-d||p[g].endSide-p[o].endSide)<0&&(o=g,d=t[g]);return o}function io(p,t,o=p.length){let d=0;for(let g=0;g<o;)p.charCodeAt(g)==9?(d+=t-d%t,g++):(d++,g=wn(p,g));return d}function ya(p,t,o,d){for(let g=0,D=0;;){if(D>=t)return g;if(g==p.length)break;D+=p.charCodeAt(g)==9?o-D%o:1,g=wn(p,g)}return d===!0?-1:p.length}const oo="\u037C",ka=typeof Symbol>"u"?"__"+oo:Symbol.for(oo),Su=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),Ru=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Ko{constructor(t,o){this.rules=[];let{finish:d}=o||{};function g(L){return/^@/.test(L)?[L]:L.split(/,\s*/)}function D(L,$,te,he){let ve=[],qe=/^@(\w+)\b/.exec(L[0]),Rt=qe&&qe[1]=="keyframes";if(qe&&$==null)return te.push(L[0]+";");for(let En in $){let qn=$[En];if(/&/.test(En))D(En.split(/,\s*/).map(zr=>L.map(Qr=>zr.replace(/&/,Qr))).reduce((zr,Qr)=>zr.concat(Qr)),qn,te);else if(qn&&typeof qn=="object"){if(!qe)throw new RangeError("The value of a property ("+En+") should be a primitive value.");D(g(En),qn,ve,Rt)}else qn!=null&&ve.push(En.replace(/_.*/,"").replace(/[A-Z]/g,zr=>"-"+zr.toLowerCase())+": "+qn+";")}(ve.length||Rt)&&te.push((d&&!qe&&!he?L.map(d):L).join(", ")+" {"+ve.join(" ")+"}")}for(let L in t)D(g(L),t[L],this.rules)}getRules(){return this.rules.join(`
`)}static newName(){let t=Ru[ka]||1;return Ru[ka]=t+1,oo+t.toString(36)}static mount(t,o,d){let g=t[Su],D=d&&d.nonce;g?D&&g.setNonce(D):g=new gu(t,D),g.mount(Array.isArray(o)?o:[o])}}let Yl=new Map;class gu{constructor(t,o){let d=t.ownerDocument||t,g=d.defaultView;if(!t.head&&t.adoptedStyleSheets&&g.CSSStyleSheet){let D=Yl.get(d);if(D)return t.adoptedStyleSheets=[D.sheet,...t.adoptedStyleSheets],t[Su]=D;this.sheet=new g.CSSStyleSheet,t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets],Yl.set(d,this)}else{this.styleTag=d.createElement("style"),o&&this.styleTag.setAttribute("nonce",o);let D=t.head||t;D.insertBefore(this.styleTag,D.firstChild)}this.modules=[],t[Su]=this}mount(t){let o=this.sheet,d=0,g=0;for(let D=0;D<t.length;D++){let L=t[D],$=this.modules.indexOf(L);if($<g&&$>-1&&(this.modules.splice($,1),g--,$=-1),$==-1){if(this.modules.splice(g++,0,L),o)for(let te=0;te<L.rules.length;te++)o.insertRule(L.rules[te],d++)}else{for(;g<$;)d+=this.modules[g++].rules.length;d+=L.rules.length,g++}}if(!o){let D="";for(let L=0;L<this.modules.length;L++)D+=this.modules[L].getRules()+`
`;this.styleTag.textContent=D}}setNonce(t){this.styleTag&&this.styleTag.getAttribute("nonce")!=t&&this.styleTag.setAttribute("nonce",t)}}for(var Ul={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Vc={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},ll=typeof navigator<"u"&&/Mac/.test(navigator.platform),Kc=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),wu=0;wu<10;wu++)Ul[48+wu]=Ul[96+wu]=String(wu);for(var wu=1;wu<=24;wu++)Ul[wu+111]="F"+wu;for(var wu=65;wu<=90;wu++)Ul[wu]=String.fromCharCode(wu+32),Vc[wu]=String.fromCharCode(wu);for(var Yc in Ul)Vc.hasOwnProperty(Yc)||(Vc[Yc]=Ul[Yc]);function S0(p){var t=ll&&p.metaKey&&p.shiftKey&&!p.ctrlKey&&!p.altKey||Kc&&p.shiftKey&&p.key&&p.key.length==1||p.key=="Unidentified",o=!t&&p.key||(p.shiftKey?Vc:Ul)[p.keyCode]||p.key||"Unidentified";return o=="Esc"&&(o="Escape"),o=="Del"&&(o="Delete"),o=="Left"&&(o="ArrowLeft"),o=="Up"&&(o="ArrowUp"),o=="Right"&&(o="ArrowRight"),o=="Down"&&(o="ArrowDown"),o}function bc(p){let t;return p.nodeType==11?t=p.getSelection?p:p.ownerDocument:t=p,t.getSelection()}function T0(p,t){return t?p==t||p.contains(t.nodeType!=1?t.parentNode:t):!1}function N0(p){let t=p.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function P0(p,t){if(!t.anchorNode)return!1;try{return T0(p,t.anchorNode)}catch{return!1}}function Ql(p){return p.nodeType==3?ha(p,0,p.nodeValue.length).getClientRects():p.nodeType==1?p.getClientRects():[]}function Qc(p,t,o,d){return o?Kr(p,t,o,d,-1)||Kr(p,t,o,d,1):!1}function zn(p){for(var t=0;;t++)if(p=p.previousSibling,!p)return t}function Kr(p,t,o,d,g){for(;;){if(p==o&&t==d)return!0;if(t==(g<0?0:gn(p))){if(p.nodeName=="DIV")return!1;let D=p.parentNode;if(!D||D.nodeType!=1)return!1;t=zn(p)+(g<0?0:1),p=D}else if(p.nodeType==1){if(p=p.childNodes[t+(g<0?-1:0)],p.nodeType==1&&p.contentEditable=="false")return!1;t=g<0?gn(p):0}else return!1}}function gn(p){return p.nodeType==3?p.nodeValue.length:p.childNodes.length}function tr(p,t){let o=t?p.left:p.right;return{left:o,right:o,top:p.top,bottom:p.bottom}}function st(p){return{left:0,right:p.innerWidth,top:0,bottom:p.innerHeight}}function si(p,t){let o=t.width/p.offsetWidth,d=t.height/p.offsetHeight;return(o>.995&&o<1.005||!isFinite(o)||Math.abs(t.width-p.offsetWidth)<1)&&(o=1),(d>.995&&d<1.005||!isFinite(d)||Math.abs(t.height-p.offsetHeight)<1)&&(d=1),{scaleX:o,scaleY:d}}function Yi(p,t,o,d,g,D,L,$){let te=p.ownerDocument,he=te.defaultView||window;for(let ve=p,qe=!1;ve&&!qe;)if(ve.nodeType==1){let Rt,En=ve==te.body,qn=1,zr=1;if(En)Rt=st(he);else{if(/^(fixed|sticky)$/.test(getComputedStyle(ve).position)&&(qe=!0),ve.scrollHeight<=ve.clientHeight&&ve.scrollWidth<=ve.clientWidth){ve=ve.assignedSlot||ve.parentNode;continue}let _s=ve.getBoundingClientRect();({scaleX:qn,scaleY:zr}=si(ve,_s)),Rt={left:_s.left,right:_s.left+ve.clientWidth*qn,top:_s.top,bottom:_s.top+ve.clientHeight*zr}}let Qr=0,$i=0;if(g=="nearest")t.top<Rt.top?($i=-(Rt.top-t.top+L),o>0&&t.bottom>Rt.bottom+$i&&($i=t.bottom-Rt.bottom+$i+L)):t.bottom>Rt.bottom&&($i=t.bottom-Rt.bottom+L,o<0&&t.top-$i<Rt.top&&($i=-(Rt.top+$i-t.top+L)));else{let _s=t.bottom-t.top,ea=Rt.bottom-Rt.top;$i=(g=="center"&&_s<=ea?t.top+_s/2-ea/2:g=="start"||g=="center"&&o<0?t.top-L:t.bottom-ea+L)-Rt.top}if(d=="nearest"?t.left<Rt.left?(Qr=-(Rt.left-t.left+D),o>0&&t.right>Rt.right+Qr&&(Qr=t.right-Rt.right+Qr+D)):t.right>Rt.right&&(Qr=t.right-Rt.right+D,o<0&&t.left<Rt.left+Qr&&(Qr=-(Rt.left+Qr-t.left+D))):Qr=(d=="center"?t.left+(t.right-t.left)/2-(Rt.right-Rt.left)/2:d=="start"==$?t.left-D:t.right-(Rt.right-Rt.left)+D)-Rt.left,Qr||$i)if(En)he.scrollBy(Qr,$i);else{let _s=0,ea=0;if($i){let Ws=ve.scrollTop;ve.scrollTop+=$i/zr,ea=(ve.scrollTop-Ws)*zr}if(Qr){let Ws=ve.scrollLeft;ve.scrollLeft+=Qr/qn,_s=(ve.scrollLeft-Ws)*qn}t={left:t.left-_s,top:t.top-ea,right:t.right-_s,bottom:t.bottom-ea},_s&&Math.abs(_s-Qr)<1&&(d="nearest"),ea&&Math.abs(ea-$i)<1&&(g="nearest")}if(En)break;ve=ve.assignedSlot||ve.parentNode}else if(ve.nodeType==11)ve=ve.host;else break}function Ri(p){let t=p.ownerDocument;for(let o=p.parentNode;o&&o!=t.body;)if(o.nodeType==1){if(o.scrollHeight>o.clientHeight||o.scrollWidth>o.clientWidth)return o;o=o.assignedSlot||o.parentNode}else if(o.nodeType==11)o=o.host;else break;return null}class ta{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){let{anchorNode:o,focusNode:d}=t;this.set(o,Math.min(t.anchorOffset,o?gn(o):0),d,Math.min(t.focusOffset,d?gn(d):0))}set(t,o,d,g){this.anchorNode=t,this.anchorOffset=o,this.focusNode=d,this.focusOffset=g}}let fa=null;function Aa(p){if(p.setActive)return p.setActive();if(fa)return p.focus(fa);let t=[];for(let o=p;o&&(t.push(o,o.scrollTop,o.scrollLeft),o!=o.ownerDocument);o=o.parentNode);if(p.focus(fa==null?{get preventScroll(){return fa={preventScroll:!0},!0}}:void 0),!fa){fa=!1;for(let o=0;o<t.length;){let d=t[o++],g=t[o++],D=t[o++];d.scrollTop!=g&&(d.scrollTop=g),d.scrollLeft!=D&&(d.scrollLeft=D)}}}let Es;function ha(p,t,o=t){let d=Es||(Es=document.createRange());return d.setEnd(p,o),d.setStart(p,t),d}function qa(p,t,o){let d={key:t,code:t,keyCode:o,which:o,cancelable:!0},g=new KeyboardEvent("keydown",d);g.synthetic=!0,p.dispatchEvent(g);let D=new KeyboardEvent("keyup",d);return D.synthetic=!0,p.dispatchEvent(D),g.defaultPrevented||D.defaultPrevented}function fo(p){for(;p;){if(p&&(p.nodeType==9||p.nodeType==11&&p.host))return p;p=p.assignedSlot||p.parentNode}return null}function Wa(p){for(;p.attributes.length;)p.removeAttributeNode(p.attributes[0])}function Wo(p,t){let o=t.focusNode,d=t.focusOffset;if(!o||t.anchorNode!=o||t.anchorOffset!=d)return!1;for(d=Math.min(d,gn(o));;)if(d){if(o.nodeType!=1)return!1;let g=o.childNodes[d-1];g.contentEditable=="false"?d--:(o=g,d=gn(o))}else{if(o==p)return!0;d=zn(o),o=o.parentNode}}function ou(p){return p.scrollTop>Math.max(1,p.scrollHeight-p.clientHeight-4)}class Io{constructor(t,o,d=!0){this.node=t,this.offset=o,this.precise=d}static before(t,o){return new Io(t.parentNode,zn(t),o)}static after(t,o){return new Io(t.parentNode,zn(t)+1,o)}}const uu=[];class Ta{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(t){let o=this.posAtStart;for(let d of this.children){if(d==t)return o;o+=d.length+d.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(t){return this.posBefore(t)+t.length}sync(t,o){if(this.flags&2){let d=this.dom,g=null,D;for(let L of this.children){if(L.flags&7){if(!L.dom&&(D=g?g.nextSibling:d.firstChild)){let $=Ta.get(D);(!$||!$.parent&&$.canReuseDOM(L))&&L.reuseDOM(D)}L.sync(t,o),L.flags&=-8}if(D=g?g.nextSibling:d.firstChild,o&&!o.written&&o.node==d&&D!=L.dom&&(o.written=!0),L.dom.parentNode==d)for(;D&&D!=L.dom;)D=fu(D);else d.insertBefore(L.dom,D);g=L.dom}for(D=g?g.nextSibling:d.firstChild,D&&o&&o.node==d&&(o.written=!0);D;)D=fu(D)}else if(this.flags&1)for(let d of this.children)d.flags&7&&(d.sync(t,o),d.flags&=-8)}reuseDOM(t){}localPosFromDOM(t,o){let d;if(t==this.dom)d=this.dom.childNodes[o];else{let g=gn(t)==0?0:o==0?-1:1;for(;;){let D=t.parentNode;if(D==this.dom)break;g==0&&D.firstChild!=D.lastChild&&(t==D.firstChild?g=-1:g=1),t=D}g<0?d=t:d=t.nextSibling}if(d==this.dom.firstChild)return 0;for(;d&&!Ta.get(d);)d=d.nextSibling;if(!d)return this.length;for(let g=0,D=0;;g++){let L=this.children[g];if(L.dom==d)return D;D+=L.length+L.breakAfter}}domBoundsAround(t,o,d=0){let g=-1,D=-1,L=-1,$=-1;for(let te=0,he=d,ve=d;te<this.children.length;te++){let qe=this.children[te],Rt=he+qe.length;if(he<t&&Rt>o)return qe.domBoundsAround(t,o,he);if(Rt>=t&&g==-1&&(g=te,D=he),he>o&&qe.dom.parentNode==this.dom){L=te,$=ve;break}ve=Rt,he=Rt+qe.breakAfter}return{from:D,to:$<0?d+this.length:$,startDOM:(g?this.children[g-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:L<this.children.length&&L>=0?this.children[L].dom:null}}markDirty(t=!1){this.flags|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let o=this.parent;o;o=o.parent){if(t&&(o.flags|=2),o.flags&1)return;o.flags|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,this.flags&7&&this.markParentsDirty(!0))}setDOM(t){this.dom!=t&&(this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this)}get rootView(){for(let t=this;;){let o=t.parent;if(!o)return t;t=o}}replaceChildren(t,o,d=uu){this.markDirty();for(let g=t;g<o;g++){let D=this.children[g];D.parent==this&&d.indexOf(D)<0&&D.destroy()}this.children.splice(t,o-t,...d);for(let g=0;g<d.length;g++)d[g].setParent(this)}ignoreMutation(t){return!1}ignoreEvent(t){return!1}childCursor(t=this.length){return new Zl(this.children,t,this.children.length)}childPos(t,o=1){return this.childCursor().findPos(t,o)}toString(){let t=this.constructor.name.replace("View","");return t+(this.children.length?"("+this.children.join()+")":this.length?"["+(t=="Text"?this.text:this.length)+"]":"")+(this.breakAfter?"#":"")}static get(t){return t.cmView}get isEditable(){return!0}get isWidget(){return!1}get isHidden(){return!1}merge(t,o,d,g,D,L){return!1}become(t){return!1}canReuseDOM(t){return t.constructor==this.constructor&&!((this.flags|t.flags)&8)}getSide(){return 0}destroy(){for(let t of this.children)t.parent==this&&t.destroy();this.parent=null}}Ta.prototype.breakAfter=0;function fu(p){let t=p.nextSibling;return p.parentNode.removeChild(p),t}class Zl{constructor(t,o,d){this.children=t,this.pos=o,this.i=d,this.off=0}findPos(t,o=1){for(;;){if(t>this.pos||t==this.pos&&(o>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let d=this.children[--this.i];this.pos-=d.length+d.breakAfter}}}function Pu(p,t,o,d,g,D,L,$,te){let{children:he}=p,ve=he.length?he[t]:null,qe=D.length?D[D.length-1]:null,Rt=qe?qe.breakAfter:L;if(!(t==d&&ve&&!L&&!Rt&&D.length<2&&ve.merge(o,g,D.length?qe:null,o==0,$,te))){if(d<he.length){let En=he[d];En&&(g<En.length||En.breakAfter&&qe?.breakAfter)?(t==d&&(En=En.split(g),g=0),!Rt&&qe&&En.merge(0,g,qe,!0,0,te)?D[D.length-1]=En:((g||En.children.length&&!En.children[0].length)&&En.merge(0,g,null,!1,0,te),D.push(En))):En?.breakAfter&&(qe?qe.breakAfter=1:L=1),d++}for(ve&&(ve.breakAfter=L,o>0&&(!L&&D.length&&ve.merge(o,ve.length,D[0],!1,$,0)?ve.breakAfter=D.shift().breakAfter:(o<ve.length||ve.children.length&&ve.children[ve.children.length-1].length==0)&&ve.merge(o,ve.length,null,!1,$,0),t++));t<d&&D.length;)if(he[d-1].become(D[D.length-1]))d--,D.pop(),te=D.length?0:$;else if(he[t].become(D[0]))t++,D.shift(),$=D.length?0:te;else break;!D.length&&t&&d<he.length&&!he[t-1].breakAfter&&he[d].merge(0,0,he[t-1],!1,$,te)&&t--,(t<d||D.length)&&p.replaceChildren(t,d,D)}}function Zc(p,t,o,d,g,D){let L=p.childCursor(),{i:$,off:te}=L.findPos(o,1),{i:he,off:ve}=L.findPos(t,-1),qe=t-o;for(let Rt of d)qe+=Rt.length;p.length+=qe,Pu(p,he,ve,$,te,d,0,g,D)}let Yu=typeof navigator<"u"?navigator:{userAgent:"",vendor:"",platform:""},Cc=typeof document<"u"?document:{documentElement:{style:{}}};const L0=/Edge\/(\d+)/.exec(Yu.userAgent),Xc=/MSIE \d/.test(Yu.userAgent),rc=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Yu.userAgent),Sl=!!(Xc||rc||L0),B0=!Sl&&/gecko\/(\d+)/i.test(Yu.userAgent),Tl=!Sl&&/Chrome\/(\d+)/.exec(Yu.userAgent),z0="webkitFontSmoothing"in Cc.documentElement.style,Jc=!Sl&&/Apple Computer/.test(Yu.vendor),Ra=Jc&&(/Mobile\/\w+/.test(Yu.userAgent)||Yu.maxTouchPoints>2);var xs={mac:Ra||/Mac/.test(Yu.platform),windows:/Win/.test(Yu.platform),linux:/Linux|X11/.test(Yu.platform),ie:Sl,ie_version:Xc?Cc.documentMode||6:rc?+rc[1]:L0?+L0[1]:0,gecko:B0,gecko_version:B0?+(/Firefox\/(\d+)/.exec(Yu.userAgent)||[0,0])[1]:0,chrome:!!Tl,chrome_version:Tl?+Tl[1]:0,ios:Ra,android:/Android\b/.test(Yu.userAgent),webkit:z0,safari:Jc,webkit_version:z0?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:Cc.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const hu=256;class cl extends Ta{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t,o){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(o&&o.node==this.dom&&(o.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){t.nodeType==3&&this.createDOM(t)}merge(t,o,d){return this.flags&8||d&&(!(d instanceof cl)||this.length-(o-t)+d.length>hu||d.flags&8)?!1:(this.text=this.text.slice(0,t)+(d?d.text:"")+this.text.slice(o),this.markDirty(),!0)}split(t){let o=new cl(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),o.flags|=this.flags&8,o}localPosFromDOM(t,o){return t==this.dom?o:o?this.text.length:0}domAtPos(t){return new Io(this.dom,t)}domBoundsAround(t,o,d){return{from:d,to:d+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,o){return D0(this.dom,t,o)}}class Do extends Ta{constructor(t,o=[],d=0){super(),this.mark=t,this.children=o,this.length=d;for(let g of o)g.setParent(this)}setAttrs(t){if(Wa(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let o in this.mark.attrs)t.setAttribute(o,this.mark.attrs[o]);return t}canReuseDOM(t){return super.canReuseDOM(t)&&!((this.flags|t.flags)&8)}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.flags|=6)}sync(t,o){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t,o)}merge(t,o,d,g,D,L){return d&&(!(d instanceof Do&&d.mark.eq(this.mark))||t&&D<=0||o<this.length&&L<=0)?!1:(Zc(this,t,o,d?d.children.slice():[],D-1,L-1),this.markDirty(),!0)}split(t){let o=[],d=0,g=-1,D=0;for(let $ of this.children){let te=d+$.length;te>t&&o.push(d<t?$.split(t-d):$),g<0&&d>=t&&(g=D),d=te,D++}let L=this.length-t;return this.length=t,g>-1&&(this.children.length=g,this.markDirty()),new Do(this.mark,o,L)}domAtPos(t){return Ml(this,t)}coordsAt(t,o){return Qu(this,t,o)}}function D0(p,t,o){let d=p.nodeValue.length;t>d&&(t=d);let g=t,D=t,L=0;t==0&&o<0||t==d&&o>=0?xs.chrome||xs.gecko||(t?(g--,L=1):D<d&&(D++,L=-1)):o<0?g--:D<d&&D++;let $=ha(p,g,D).getClientRects();if(!$.length)return null;let te=$[(L?L<0:o>=0)?0:$.length-1];return xs.safari&&!L&&te.width==0&&(te=Array.prototype.find.call($,he=>he.width)||te),L?tr(te,L<0):te||null}class jl extends Ta{static create(t,o,d){return new jl(t,o,d)}constructor(t,o,d){super(),this.widget=t,this.length=o,this.side=d,this.prevWidget=null}split(t){let o=jl.create(this.widget,this.length-t,this.side);return this.length-=t,o}sync(t){(!this.dom||!this.widget.updateDOM(this.dom,t))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(t)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(t,o,d,g,D,L){return d&&(!(d instanceof jl)||!this.widget.compare(d.widget)||t>0&&D<=0||o<this.length&&L<=0)?!1:(this.length=t+(d?d.length:0)+(this.length-o),!0)}become(t){return t instanceof jl&&t.side==this.side&&this.widget.constructor==t.widget.constructor?(this.widget.compare(t.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=t.widget,this.length=t.length,!0):!1}ignoreMutation(){return!0}ignoreEvent(t){return this.widget.ignoreEvent(t)}get overrideDOMText(){if(this.length==0)return $t.empty;let t=this;for(;t.parent;)t=t.parent;let{view:o}=t,d=o&&o.state.doc,g=this.posAtStart;return d?d.slice(g,g+this.length):$t.empty}domAtPos(t){return(this.length?t==0:this.side>0)?Io.before(this.dom):Io.after(this.dom,t==this.length)}domBoundsAround(){return null}coordsAt(t,o){let d=this.widget.coordsAt(this.dom,t,o);if(d)return d;let g=this.dom.getClientRects(),D=null;if(!g.length)return null;let L=this.side?this.side<0:t>0;for(let $=L?g.length-1:0;D=g[$],!(t>0?$==0:$==g.length-1||D.top<D.bottom);$+=L?-1:1);return tr(D,!L)}get isEditable(){return!1}get isWidget(){return!0}get isHidden(){return this.widget.isHidden}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}}class nl extends Ta{constructor(t){super(),this.side=t}get length(){return 0}merge(){return!1}become(t){return t instanceof nl&&t.side==this.side}split(){return new nl(this.side)}sync(){if(!this.dom){let t=document.createElement("img");t.className="cm-widgetBuffer",t.setAttribute("aria-hidden","true"),this.setDOM(t)}}getSide(){return this.side}domAtPos(t){return this.side>0?Io.before(this.dom):Io.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(t){return this.dom.getBoundingClientRect()}get overrideDOMText(){return $t.empty}get isHidden(){return!0}}cl.prototype.children=jl.prototype.children=nl.prototype.children=uu;function Ml(p,t){let o=p.dom,{children:d}=p,g=0;for(let D=0;g<d.length;g++){let L=d[g],$=D+L.length;if(!($==D&&L.getSide()<=0)){if(t>D&&t<$&&L.dom.parentNode==o)return L.domAtPos(t-D);if(t<=D)break;D=$}}for(let D=g;D>0;D--){let L=d[D-1];if(L.dom.parentNode==o)return L.domAtPos(L.length)}for(let D=g;D<d.length;D++){let L=d[D];if(L.dom.parentNode==o)return L.domAtPos(0)}return new Io(o,0)}function ic(p,t,o){let d,{children:g}=p;o>0&&t instanceof Do&&g.length&&(d=g[g.length-1])instanceof Do&&d.mark.eq(t.mark)?ic(d,t.children[0],o-1):(g.push(t),t.setParent(p)),p.length+=t.length}function Qu(p,t,o){let d=null,g=-1,D=null,L=-1;function $(he,ve){for(let qe=0,Rt=0;qe<he.children.length&&Rt<=ve;qe++){let En=he.children[qe],qn=Rt+En.length;qn>=ve&&(En.children.length?$(En,ve-Rt):(!D||D.isHidden&&o>0)&&(qn>ve||Rt==qn&&En.getSide()>0)?(D=En,L=ve-Rt):(Rt<ve||Rt==qn&&En.getSide()<0&&!En.isHidden)&&(d=En,g=ve-Rt)),Rt=qn}}$(p,t);let te=(o<0?d:D)||d||D;return te?te.coordsAt(Math.max(0,te==d?g:L),o):l0(p)}function l0(p){let t=p.dom.lastChild;if(!t)return p.dom.getBoundingClientRect();let o=Ql(t);return o[o.length-1]||null}function qc(p,t){for(let o in p)o=="class"&&t.class?t.class+=" "+p.class:o=="style"&&t.style?t.style+=";"+p.style:t[o]=p[o];return t}const dc=Object.create(null);function c0(p,t,o){if(p==t)return!0;p||(p=dc),t||(t=dc);let d=Object.keys(p),g=Object.keys(t);if(d.length-(o&&d.indexOf(o)>-1?1:0)!=g.length-(o&&g.indexOf(o)>-1?1:0))return!1;for(let D of d)if(D!=o&&(g.indexOf(D)==-1||p[D]!==t[D]))return!1;return!0}function fc(p,t,o){let d=!1;if(t)for(let g in t)o&&g in o||(d=!0,g=="style"?p.style.cssText="":p.removeAttribute(g));if(o)for(let g in o)t&&t[g]==o[g]||(d=!0,g=="style"?p.style.cssText=o[g]:p.setAttribute(g,o[g]));return d}function Zu(p){let t=Object.create(null);for(let o=0;o<p.attributes.length;o++){let d=p.attributes[o];t[d.name]=d.value}return t}class vu extends Ta{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,o,d,g,D,L){if(d){if(!(d instanceof vu))return!1;this.dom||d.transferDOM(this)}return g&&this.setDeco(d?d.attrs:null),Zc(this,t,o,d?d.children.slice():[],D,L),!0}split(t){let o=new vu;if(o.breakAfter=this.breakAfter,this.length==0)return o;let{i:d,off:g}=this.childPos(t);g&&(o.append(this.children[d].split(g),0),this.children[d].merge(g,this.children[d].length,null,!1,0,0),d++);for(let D=d;D<this.children.length;D++)o.append(this.children[D],0);for(;d>0&&this.children[d-1].length==0;)this.children[--d].destroy();return this.children.length=d,this.markDirty(),this.length=t,o}transferDOM(t){this.dom&&(this.markDirty(),t.setDOM(this.dom),t.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){c0(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,o){ic(this,t,o)}addLineDeco(t){let o=t.spec.attributes,d=t.spec.class;o&&(this.attrs=qc(o,this.attrs||{})),d&&(this.attrs=qc({class:d},this.attrs||{}))}domAtPos(t){return Ml(this,t)}reuseDOM(t){t.nodeName=="DIV"&&(this.setDOM(t),this.flags|=6)}sync(t,o){var d;this.dom?this.flags&4&&(Wa(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(fc(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t,o);let g=this.dom.lastChild;for(;g&&Ta.get(g)instanceof Do;)g=g.lastChild;if(!g||!this.length||g.nodeName!="BR"&&((d=Ta.get(g))===null||d===void 0?void 0:d.isEditable)==!1&&(!xs.ios||!this.children.some(D=>D instanceof cl))){let D=document.createElement("BR");D.cmIgnore=!0,this.dom.appendChild(D)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let t=0,o;for(let d of this.children){if(!(d instanceof cl)||/[^ -~]/.test(d.text))return null;let g=Ql(d.dom);if(g.length!=1)return null;t+=g[0].width,o=g[0].height}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,textHeight:o}:null}coordsAt(t,o){let d=Qu(this,t,o);if(!this.children.length&&d&&this.parent){let{heightOracle:g}=this.parent.view.viewState,D=d.bottom-d.top;if(Math.abs(D-g.lineHeight)<2&&g.textHeight<D){let L=(D-g.textHeight)/2;return{top:d.top+L,bottom:d.bottom-L,left:d.left,right:d.left}}}return d}become(t){return!1}covers(){return!0}static find(t,o){for(let d=0,g=0;d<t.children.length;d++){let D=t.children[d],L=g+D.length;if(L>=o){if(D instanceof vu)return D;if(L>o)break}g=L+D.breakAfter}return null}}class Tu extends Ta{constructor(t,o,d){super(),this.widget=t,this.length=o,this.deco=d,this.breakAfter=0,this.prevWidget=null}merge(t,o,d,g,D,L){return d&&(!(d instanceof Tu)||!this.widget.compare(d.widget)||t>0&&D<=0||o<this.length&&L<=0)?!1:(this.length=t+(d?d.length:0)+(this.length-o),!0)}domAtPos(t){return t==0?Io.before(this.dom):Io.after(this.dom,t==this.length)}split(t){let o=this.length-t;this.length=t;let d=new Tu(this.widget,o,this.deco);return d.breakAfter=this.breakAfter,d}get children(){return uu}sync(t){(!this.dom||!this.widget.updateDOM(this.dom,t))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(t)),this.widget.editable||(this.dom.contentEditable="false"))}get overrideDOMText(){return this.parent?this.parent.view.state.doc.slice(this.posAtStart,this.posAtEnd):$t.empty}domBoundsAround(){return null}become(t){return t instanceof Tu&&t.widget.constructor==this.widget.constructor?(t.widget.compare(this.widget)||this.markDirty(!0),this.dom&&!this.prevWidget&&(this.prevWidget=this.widget),this.widget=t.widget,this.length=t.length,this.deco=t.deco,this.breakAfter=t.breakAfter,!0):!1}ignoreMutation(){return!0}ignoreEvent(t){return this.widget.ignoreEvent(t)}get isEditable(){return!1}get isWidget(){return!0}coordsAt(t,o){return this.widget.coordsAt(this.dom,t,o)}destroy(){super.destroy(),this.dom&&this.widget.destroy(this.dom)}covers(t){let{startSide:o,endSide:d}=this.deco;return o==d?!1:t<0?o<0:d>0}}class vl{eq(t){return!1}updateDOM(t,o){return!1}compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(t){return!0}coordsAt(t,o,d){return null}get isHidden(){return!1}get editable(){return!1}destroy(t){}}var Zo=function(p){return p[p.Text=0]="Text",p[p.WidgetBefore=1]="WidgetBefore",p[p.WidgetAfter=2]="WidgetAfter",p[p.WidgetRange=3]="WidgetRange",p}(Zo||(Zo={}));class aa extends qo{constructor(t,o,d,g){super(),this.startSide=t,this.endSide=o,this.widget=d,this.spec=g}get heightRelevant(){return!1}static mark(t){return new e0(t)}static widget(t){let o=Math.max(-1e4,Math.min(1e4,t.side||0)),d=!!t.block;return o+=d&&!t.inlineOrder?o>0?3e8:-4e8:o>0?1e8:-1e8,new kc(t,o,o,d,t.widget||null,!1)}static replace(t){let o=!!t.block,d,g;if(t.isBlockGap)d=-5e8,g=4e8;else{let{start:D,end:L}=eu(t,o);d=(D?o?-3e8:-1:5e8)-1,g=(L?o?2e8:1:-6e8)+1}return new kc(t,d,g,o,t.widget||null,!0)}static line(t){return new Ic(t)}static set(t,o=!1){return ke.of(t,o)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}aa.none=ke.empty;class e0 extends aa{constructor(t){let{start:o,end:d}=eu(t);super(o?-1:5e8,d?1:-6e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){var o,d;return this==t||t instanceof e0&&this.tagName==t.tagName&&(this.class||((o=this.attrs)===null||o===void 0?void 0:o.class))==(t.class||((d=t.attrs)===null||d===void 0?void 0:d.class))&&c0(this.attrs,t.attrs,"class")}range(t,o=t){if(t>=o)throw new RangeError("Mark decorations may not be empty");return super.range(t,o)}}e0.prototype.point=!1;class Ic extends aa{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof Ic&&this.spec.class==t.spec.class&&c0(this.spec.attributes,t.spec.attributes)}range(t,o=t){if(o!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,o)}}Ic.prototype.mapMode=lr.TrackBefore,Ic.prototype.point=!0;class kc extends aa{constructor(t,o,d,g,D,L){super(o,d,D,t),this.block=g,this.isReplace=L,this.mapMode=g?o<=0?lr.TrackBefore:lr.TrackAfter:lr.TrackDel}get type(){return this.startSide!=this.endSide?Zo.WidgetRange:this.startSide<=0?Zo.WidgetBefore:Zo.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof kc&&Dl(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,o=t){if(this.isReplace&&(t>o||t==o&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&o!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,o)}}kc.prototype.point=!0;function eu(p,t=!1){let{inclusiveStart:o,inclusiveEnd:d}=p;return o==null&&(o=p.inclusive),d==null&&(d=p.inclusive),{start:o??t,end:d??t}}function Dl(p,t){return p==t||!!(p&&t&&p.compare(t))}function d0(p,t,o,d=0){let g=o.length-1;g>=0&&o[g]+d>=p?o[g]=Math.max(o[g],t):o.push(p,t)}class Al{constructor(t,o,d,g){this.doc=t,this.pos=o,this.end=d,this.disallowBlockEffectsFor=g,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=t.iter(),this.skip=o}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let t=this.content[this.content.length-1];return!(t.breakAfter||t instanceof Tu&&t.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new vu),this.atCursorPos=!0),this.curLine}flushBuffer(t=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Sc(new nl(-1),t),t.length),this.pendingBuffer=0)}addBlockWidget(t){this.flushBuffer(),this.curLine=null,this.content.push(t)}finish(t){this.pendingBuffer&&t<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(t&&this.content.length&&this.content[this.content.length-1]instanceof Tu)&&this.getLine()}buildText(t,o,d){for(;t>0;){if(this.textOff==this.text.length){let{value:D,lineBreak:L,done:$}=this.cursor.next(this.skip);if(this.skip=0,$)throw new Error("Ran out of text content when drawing inline views");if(L){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,t--;continue}else this.text=D,this.textOff=0}let g=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(o.slice(o.length-d)),this.getLine().append(Sc(new cl(this.text.slice(this.textOff,this.textOff+g)),o),d),this.atCursorPos=!0,this.textOff+=g,t-=g,d=0}}span(t,o,d,g){this.buildText(o-t,d,g),this.pos=o,this.openStart<0&&(this.openStart=g)}point(t,o,d,g,D,L){if(this.disallowBlockEffectsFor[L]&&d instanceof kc){if(d.block)throw new RangeError("Block decorations may not be specified via plugins");if(o>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let $=o-t;if(d instanceof kc)if(d.block)d.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Tu(d.widget||new Uc("div"),$,d));else{let te=jl.create(d.widget||new Uc("span"),$,$?0:d.startSide),he=this.atCursorPos&&!te.isEditable&&D<=g.length&&(t<o||d.startSide>0),ve=!te.isEditable&&(t<o||D>g.length||d.startSide<=0),qe=this.getLine();this.pendingBuffer==2&&!he&&!te.isEditable&&(this.pendingBuffer=0),this.flushBuffer(g),he&&(qe.append(Sc(new nl(1),g),D),D=g.length+Math.max(0,D-g.length)),qe.append(Sc(te,g),D),this.atCursorPos=ve,this.pendingBuffer=ve?t<o||D>g.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=g.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(d);$&&(this.textOff+$<=this.text.length?this.textOff+=$:(this.skip+=$-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=o),this.openStart<0&&(this.openStart=D)}static build(t,o,d,g,D){let L=new Al(t,o,d,D);return L.openEnd=ke.spans(g,o,d,L),L.openStart<0&&(L.openStart=L.openEnd),L.finish(L.openEnd),L}}function Sc(p,t){for(let o of t)p=new Do(o,[p],p.length);return p}class Uc extends vl{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}var eo=function(p){return p[p.LTR=0]="LTR",p[p.RTL=1]="RTL",p}(eo||(eo={}));const sc=eo.LTR,Eu=eo.RTL;function Lu(p){let t=[];for(let o=0;o<p.length;o++)t.push(1<<+p[o]);return t}const dl=Lu("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),rl=Lu("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),Mc=Object.create(null),El=[];for(let p of["()","[]","{}"]){let t=p.charCodeAt(0),o=p.charCodeAt(1);Mc[t]=o,Mc[o]=-t}function jc(p){return p<=247?dl[p]:1424<=p&&p<=1524?2:1536<=p&&p<=1785?rl[p-1536]:1774<=p&&p<=2220?4:8192<=p&&p<=8204?256:64336<=p&&p<=65023?4:1}const td=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class Xl{get dir(){return this.level%2?Eu:sc}constructor(t,o,d){this.from=t,this.to=o,this.level=d}side(t,o){return this.dir==o==t?this.to:this.from}forward(t,o){return t==(this.dir==o)}static find(t,o,d,g){let D=-1;for(let L=0;L<t.length;L++){let $=t[L];if($.from<=o&&$.to>=o){if($.level==d)return L;(D<0||(g!=0?g<0?$.from<o:$.to>o:t[D].level>$.level))&&(D=L)}}if(D<0)throw new RangeError("Index out of range");return D}}function Nc(p,t){if(p.length!=t.length)return!1;for(let o=0;o<p.length;o++){let d=p[o],g=t[o];if(d.from!=g.from||d.to!=g.to||d.direction!=g.direction||!Nc(d.inner,g.inner))return!1}return!0}const Ho=[];function Bu(p,t,o,d,g){for(let D=0;D<=d.length;D++){let L=D?d[D-1].to:t,$=D<d.length?d[D].from:o,te=D?256:g;for(let he=L,ve=te,qe=te;he<$;he++){let Rt=jc(p.charCodeAt(he));Rt==512?Rt=ve:Rt==8&&qe==4&&(Rt=16),Ho[he]=Rt==4?2:Rt,Rt&7&&(qe=Rt),ve=Rt}for(let he=L,ve=te,qe=te;he<$;he++){let Rt=Ho[he];if(Rt==128)he<$-1&&ve==Ho[he+1]&&ve&24?Rt=Ho[he]=ve:Ho[he]=256;else if(Rt==64){let En=he+1;for(;En<$&&Ho[En]==64;)En++;let qn=he&&ve==8||En<o&&Ho[En]==8?qe==1?1:8:256;for(let zr=he;zr<En;zr++)Ho[zr]=qn;he=En-1}else Rt==8&&qe==1&&(Ho[he]=1);ve=Rt,Rt&7&&(qe=Rt)}}}function iu(p,t,o,d,g){let D=g==1?2:1;for(let L=0,$=0,te=0;L<=d.length;L++){let he=L?d[L-1].to:t,ve=L<d.length?d[L].from:o;for(let qe=he,Rt,En,qn;qe<ve;qe++)if(En=Mc[Rt=p.charCodeAt(qe)])if(En<0){for(let zr=$-3;zr>=0;zr-=3)if(El[zr+1]==-En){let Qr=El[zr+2],$i=Qr&2?g:Qr&4?Qr&1?D:g:0;$i&&(Ho[qe]=Ho[El[zr]]=$i),$=zr;break}}else{if(El.length==189)break;El[$++]=qe,El[$++]=Rt,El[$++]=te}else if((qn=Ho[qe])==2||qn==1){let zr=qn==g;te=zr?0:1;for(let Qr=$-3;Qr>=0;Qr-=3){let $i=El[Qr+2];if($i&2)break;if(zr)El[Qr+2]|=2;else{if($i&4)break;El[Qr+2]|=4}}}}}function f0(p,t,o,d){for(let g=0,D=d;g<=o.length;g++){let L=g?o[g-1].to:p,$=g<o.length?o[g].from:t;for(let te=L;te<$;){let he=Ho[te];if(he==256){let ve=te+1;for(;;)if(ve==$){if(g==o.length)break;ve=o[g++].to,$=g<o.length?o[g].from:t}else if(Ho[ve]==256)ve++;else break;let qe=D==1,Rt=(ve<t?Ho[ve]:d)==1,En=qe==Rt?qe?1:2:d;for(let qn=ve,zr=g,Qr=zr?o[zr-1].to:p;qn>te;)qn==Qr&&(qn=o[--zr].from,Qr=zr?o[zr-1].to:p),Ho[--qn]=En;te=ve}else D=he,te++}}}function _l(p,t,o,d,g,D,L){let $=d%2?2:1;if(d%2==g%2)for(let te=t,he=0;te<o;){let ve=!0,qe=!1;if(he==D.length||te<D[he].from){let zr=Ho[te];zr!=$&&(ve=!1,qe=zr==16)}let Rt=!ve&&$==1?[]:null,En=ve?d:d+1,qn=te;e:for(;;)if(he<D.length&&qn==D[he].from){if(qe)break e;let zr=D[he];if(!ve)for(let Qr=zr.to,$i=he+1;;){if(Qr==o)break e;if($i<D.length&&D[$i].from==Qr)Qr=D[$i++].to;else{if(Ho[Qr]==$)break e;break}}if(he++,Rt)Rt.push(zr);else{zr.from>te&&L.push(new Xl(te,zr.from,En));let Qr=zr.direction==sc!=!(En%2);Nl(p,Qr?d+1:d,g,zr.inner,zr.from,zr.to,L),te=zr.to}qn=zr.to}else{if(qn==o||(ve?Ho[qn]!=$:Ho[qn]==$))break;qn++}Rt?_l(p,te,qn,d+1,g,Rt,L):te<qn&&L.push(new Xl(te,qn,En)),te=qn}else for(let te=o,he=D.length;te>t;){let ve=!0,qe=!1;if(!he||te>D[he-1].to){let zr=Ho[te-1];zr!=$&&(ve=!1,qe=zr==16)}let Rt=!ve&&$==1?[]:null,En=ve?d:d+1,qn=te;e:for(;;)if(he&&qn==D[he-1].to){if(qe)break e;let zr=D[--he];if(!ve)for(let Qr=zr.from,$i=he;;){if(Qr==t)break e;if($i&&D[$i-1].to==Qr)Qr=D[--$i].from;else{if(Ho[Qr-1]==$)break e;break}}if(Rt)Rt.push(zr);else{zr.to<te&&L.push(new Xl(zr.to,te,En));let Qr=zr.direction==sc!=!(En%2);Nl(p,Qr?d+1:d,g,zr.inner,zr.from,zr.to,L),te=zr.from}qn=zr.from}else{if(qn==t||(ve?Ho[qn-1]!=$:Ho[qn-1]==$))break;qn--}Rt?_l(p,qn,te,d+1,g,Rt,L):qn<te&&L.push(new Xl(qn,te,En)),te=qn}}function Nl(p,t,o,d,g,D,L){let $=t%2?2:1;Bu(p,g,D,d,$),iu(p,g,D,d,$),f0(g,D,d,$),_l(p,g,D,t,o,d,L)}function $c(p,t,o){if(!p)return[new Xl(0,0,t==Eu?1:0)];if(t==sc&&!o.length&&!td.test(p))return hc(p.length);if(o.length)for(;p.length>Ho.length;)Ho[Ho.length]=256;let d=[],g=t==sc?0:1;return Nl(p,g,g,o,0,p.length,d),d}function hc(p){return[new Xl(0,p,0)]}let il="";function V0(p,t,o,d,g){var D;let L=d.head-p.from,$=Xl.find(t,L,(D=d.bidiLevel)!==null&&D!==void 0?D:-1,d.assoc),te=t[$],he=te.side(g,o);if(L==he){let Rt=$+=g?1:-1;if(Rt<0||Rt>=t.length)return null;te=t[$=Rt],L=te.side(!g,o),he=te.side(g,o)}let ve=wn(p.text,L,te.forward(g,o));(ve<te.from||ve>te.to)&&(ve=he),il=p.text.slice(Math.min(L,ve),Math.max(L,ve));let qe=$==(g?t.length-1:0)?null:t[$+(g?1:-1)];return qe&&ve==he&&qe.level+(g?0:1)<te.level?ut.cursor(qe.side(!g,o)+p.from,qe.forward(g,o)?1:-1,qe.level):ut.cursor(ve+p.from,te.forward(g,o)?-1:1,te.level)}function Wc(p,t,o){for(let d=t;d<o;d++){let g=jc(p.charCodeAt(d));if(g==1)return sc;if(g==2||g==4)return Eu}return sc}const A0=ln.define(),t0=ln.define(),Pl=ln.define(),xl=ln.define(),Pc=ln.define(),Lc=ln.define(),$l=ln.define(),Ts=ln.define({combine:p=>p.some(t=>t)}),Xu=ln.define({combine:p=>p.some(t=>t)});class Iu{constructor(t,o="nearest",d="nearest",g=5,D=5,L=!1){this.range=t,this.y=o,this.x=d,this.yMargin=g,this.xMargin=D,this.isSnapshot=L}map(t){return t.empty?this:new Iu(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new Iu(ut.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const Go=Vi.define({map:(p,t)=>p.map(t)});function zo(p,t,o){let d=p.facet(xl);d.length?d[0](t):window.onerror?window.onerror(String(t),o,void 0,void 0,t):o?console.error(o+":",t):console.error(t)}const Is=ln.define({combine:p=>p.length?p[0]:!0});let xa=0;const Fu=ln.define();class na{constructor(t,o,d,g,D){this.id=t,this.create=o,this.domEventHandlers=d,this.domEventObservers=g,this.extension=D(this)}static define(t,o){const{eventHandlers:d,eventObservers:g,provide:D,decorations:L}=o||{};return new na(xa++,t,d,g,$=>{let te=[Fu.of($)];return L&&te.push(et.of(he=>{let ve=he.plugin($);return ve?L(ve):aa.none})),D&&te.push(D($)),te})}static fromClass(t,o){return na.define(d=>new t(d),o)}}class pc{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}update(t){if(this.value){if(this.mustUpdate){let o=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(o)}catch(d){if(zo(o.state,d,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(t)}catch(o){zo(t.state,o,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var o;if(!((o=this.value)===null||o===void 0)&&o.destroy)try{this.value.destroy()}catch(d){zo(t.state,d,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const n0=ln.define(),Wl=ln.define(),et=ln.define(),pn=ln.define(),Tn=ln.define(),Kn=ln.define();function fr(p,t){let o=p.state.facet(Kn);if(!o.length)return o;let d=o.map(D=>D instanceof Function?D(p):D),g=[];return ke.spans(d,t.from,t.to,{point(){},span(D,L,$,te){let he=D-t.from,ve=L-t.from,qe=g;for(let Rt=$.length-1;Rt>=0;Rt--,te--){let En=$[Rt].spec.bidiIsolate,qn;if(En==null&&(En=Wc(t.text,he,ve)),te>0&&qe.length&&(qn=qe[qe.length-1]).to==he&&qn.direction==En)qn.to=ve,qe=qn.inner;else{let zr={from:he,to:ve,direction:En,inner:[]};qe.push(zr),qe=zr.inner}}}}),g}const Sr=ln.define();function br(p){let t=0,o=0,d=0,g=0;for(let D of p.state.facet(Sr)){let L=D(p);L&&(L.left!=null&&(t=Math.max(t,L.left)),L.right!=null&&(o=Math.max(o,L.right)),L.top!=null&&(d=Math.max(d,L.top)),L.bottom!=null&&(g=Math.max(g,L.bottom)))}return{left:t,right:o,top:d,bottom:g}}const li=ln.define();class pi{constructor(t,o,d,g){this.fromA=t,this.toA=o,this.fromB=d,this.toB=g}join(t){return new pi(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let o=t.length,d=this;for(;o>0;o--){let g=t[o-1];if(!(g.fromA>d.toA)){if(g.toA<d.fromA)break;d=d.join(g),t.splice(o-1,1)}}return t.splice(o,0,d),t}static extendWithRanges(t,o){if(o.length==0)return t;let d=[];for(let g=0,D=0,L=0,$=0;;g++){let te=g==t.length?null:t[g],he=L-$,ve=te?te.fromB:1e9;for(;D<o.length&&o[D]<ve;){let qe=o[D],Rt=o[D+1],En=Math.max($,qe),qn=Math.min(ve,Rt);if(En<=qn&&new pi(En+he,qn+he,En,qn).addToSet(d),Rt>ve)break;D+=2}if(!te)return d;new pi(te.fromA,te.toA,te.fromB,te.toB).addToSet(d),L=te.toA,$=te.toB}}}class Bi{constructor(t,o,d){this.view=t,this.state=o,this.transactions=d,this.flags=0,this.startState=t.state,this.changes=xr.empty(this.startState.doc.length);for(let D of d)this.changes=this.changes.compose(D.changes);let g=[];this.changes.iterChangedRanges((D,L,$,te)=>g.push(new pi(D,L,$,te))),this.changedRanges=g}static create(t,o,d){return new Bi(t,o,d)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class Fi extends Ta{get length(){return this.view.state.doc.length}constructor(t){super(),this.view=t,this.decorations=[],this.dynamicDecorationMap=[],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(t.contentDOM),this.children=[new vu],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new pi(0,0,0,t.state.doc.length)],0,null)}update(t){var o;let d=t.changedRanges;this.minWidth>0&&d.length&&(d.every(({fromA:he,toA:ve})=>ve<this.minWidthFrom||he>this.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let g=-1;this.view.inputState.composing>=0&&(!((o=this.domChanged)===null||o===void 0)&&o.newSel?g=this.domChanged.newSel.head:!ba(t.changes,this.hasComposition)&&!t.selectionSet&&(g=t.state.selection.main.head));let D=g>-1?ds(this.view,t.changes,g):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:he,to:ve}=this.hasComposition;d=new pi(he,ve,t.changes.mapPos(he,-1),t.changes.mapPos(ve,1)).addToSet(d.slice())}this.hasComposition=D?{from:D.range.fromB,to:D.range.toB}:null,(xs.ie||xs.chrome)&&!D&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let L=this.decorations,$=this.updateDeco(),te=oa(L,$,t.changes);return d=pi.extendWithRanges(d,te),!(this.flags&7)&&d.length==0?!1:(this.updateInner(d,t.startState.doc.length,D),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,o,d){this.view.viewState.mustMeasureContent=!0,this.updateChildren(t,o,d);let{observer:g}=this.view;g.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let L=xs.chrome||xs.ios?{node:g.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,L),this.flags&=-8,L&&(L.written||g.selectionRange.focusNode!=L.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(L=>L.flags&=-9);let D=[];if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let L of this.children)L instanceof Tu&&L.widget instanceof Ni&&D.push(L.dom);g.updateGaps(D)}updateChildren(t,o,d){let g=d?d.range.addToSet(t.slice()):t,D=this.childCursor(o);for(let L=g.length-1;;L--){let $=L>=0?g[L]:null;if(!$)break;let{fromA:te,toA:he,fromB:ve,toB:qe}=$,Rt,En,qn,zr;if(d&&d.range.fromB<qe&&d.range.toB>ve){let Ws=Al.build(this.view.state.doc,ve,d.range.fromB,this.decorations,this.dynamicDecorationMap),Os=Al.build(this.view.state.doc,d.range.toB,qe,this.decorations,this.dynamicDecorationMap);En=Ws.breakAtStart,qn=Ws.openStart,zr=Os.openEnd;let ua=this.compositionView(d);Os.breakAtStart?ua.breakAfter=1:Os.content.length&&ua.merge(ua.length,ua.length,Os.content[0],!1,Os.openStart,0)&&(ua.breakAfter=Os.content[0].breakAfter,Os.content.shift()),Ws.content.length&&ua.merge(0,0,Ws.content[Ws.content.length-1],!0,0,Ws.openEnd)&&Ws.content.pop(),Rt=Ws.content.concat(ua).concat(Os.content)}else({content:Rt,breakAtStart:En,openStart:qn,openEnd:zr}=Al.build(this.view.state.doc,ve,qe,this.decorations,this.dynamicDecorationMap));let{i:Qr,off:$i}=D.findPos(he,1),{i:_s,off:ea}=D.findPos(te,-1);Pu(this,_s,ea,Qr,$i,Rt,En,qn,zr)}d&&this.fixCompositionDOM(d)}compositionView(t){let o=new cl(t.text.nodeValue);o.flags|=8;for(let{deco:g}of t.marks)o=new Do(g,[o],o.length);let d=new vu;return d.append(o,0),d}fixCompositionDOM(t){let o=(D,L)=>{L.flags|=8|(L.children.some(te=>te.flags&7)?1:0),this.markedForComposition.add(L);let $=Ta.get(D);$&&$!=L&&($.dom=null),L.setDOM(D)},d=this.childPos(t.range.fromB,1),g=this.children[d.i];o(t.line,g);for(let D=t.marks.length-1;D>=-1;D--)d=g.childPos(d.off,1),g=g.children[d.i],o(D>=0?t.marks[D].node:t.text,g)}updateSelection(t=!1,o=!1){(t||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let d=this.view.root.activeElement,g=d==this.dom,D=!g&&P0(this.dom,this.view.observer.selectionRange)&&!(d&&this.dom.contains(d));if(!(g||o||D))return;let L=this.forceSelection;this.forceSelection=!1;let $=this.view.state.selection.main,te=this.moveToLine(this.domAtPos($.anchor)),he=$.empty?te:this.moveToLine(this.domAtPos($.head));if(xs.gecko&&$.empty&&!this.hasComposition&&Ii(te)){let qe=document.createTextNode("");this.view.observer.ignore(()=>te.node.insertBefore(qe,te.node.childNodes[te.offset]||null)),te=he=new Io(qe,0),L=!0}let ve=this.view.observer.selectionRange;(L||!ve.focusNode||(!Qc(te.node,te.offset,ve.anchorNode,ve.anchorOffset)||!Qc(he.node,he.offset,ve.focusNode,ve.focusOffset))&&!this.suppressWidgetCursorChange(ve,$))&&(this.view.observer.ignore(()=>{xs.android&&xs.chrome&&this.dom.contains(ve.focusNode)&&to(ve.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let qe=bc(this.view.root);if(qe)if($.empty){if(xs.gecko){let Rt=Fs(te.node,te.offset);if(Rt&&Rt!=3){let En=Gs(te.node,te.offset,Rt==1?1:-1);En&&(te=new Io(En.node,En.offset))}}qe.collapse(te.node,te.offset),$.bidiLevel!=null&&qe.caretBidiLevel!==void 0&&(qe.caretBidiLevel=$.bidiLevel)}else if(qe.extend){qe.collapse(te.node,te.offset);try{qe.extend(he.node,he.offset)}catch{}}else{let Rt=document.createRange();$.anchor>$.head&&([te,he]=[he,te]),Rt.setEnd(he.node,he.offset),Rt.setStart(te.node,te.offset),qe.removeAllRanges(),qe.addRange(Rt)}D&&this.view.root.activeElement==this.dom&&(this.dom.blur(),d&&d.focus())}),this.view.observer.setSelectionRange(te,he)),this.impreciseAnchor=te.precise?null:new Io(ve.anchorNode,ve.anchorOffset),this.impreciseHead=he.precise?null:new Io(ve.focusNode,ve.focusOffset)}suppressWidgetCursorChange(t,o){return this.hasComposition&&o.empty&&Qc(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)&&this.posFromDOM(t.focusNode,t.focusOffset)==o.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}=this,o=t.state.selection.main,d=bc(t.root),{anchorNode:g,anchorOffset:D}=t.observer.selectionRange;if(!d||!o.empty||!o.assoc||!d.modify)return;let L=vu.find(this,o.head);if(!L)return;let $=L.posAtStart;if(o.head==$||o.head==$+L.length)return;let te=this.coordsAt(o.head,-1),he=this.coordsAt(o.head,1);if(!te||!he||te.bottom>he.top)return;let ve=this.domAtPos(o.head+o.assoc);d.collapse(ve.node,ve.offset),d.modify("move",o.assoc<0?"forward":"backward","lineboundary"),t.observer.readSelectionRange();let qe=t.observer.selectionRange;t.docView.posFromDOM(qe.anchorNode,qe.anchorOffset)!=o.from&&d.collapse(g,D)}moveToLine(t){let o=this.dom,d;if(t.node!=o)return t;for(let g=t.offset;!d&&g<o.childNodes.length;g++){let D=Ta.get(o.childNodes[g]);D instanceof vu&&(d=D.domAtPos(0))}for(let g=t.offset-1;!d&&g>=0;g--){let D=Ta.get(o.childNodes[g]);D instanceof vu&&(d=D.domAtPos(D.length))}return d?new Io(d.node,d.offset,!0):t}nearest(t){for(let o=t;o;){let d=Ta.get(o);if(d&&d.rootView==this)return d;o=o.parentNode}return null}posFromDOM(t,o){let d=this.nearest(t);if(!d)throw new RangeError("Trying to find position for a DOM position outside of the document");return d.localPosFromDOM(t,o)+d.posAtStart}domAtPos(t){let{i:o,off:d}=this.childCursor().findPos(t,-1);for(;o<this.children.length-1;){let g=this.children[o];if(d<g.length||g instanceof vu)break;o++,d=0}return this.children[o].domAtPos(d)}coordsAt(t,o){let d=null,g=0;for(let D=this.length,L=this.children.length-1;L>=0;L--){let $=this.children[L],te=D-$.breakAfter,he=te-$.length;if(te<t)break;he<=t&&(he<t||$.covers(-1))&&(te>t||$.covers(1))&&(!d||$ instanceof vu&&!(d instanceof vu&&o>=0))&&(d=$,g=he),D=he}return d?d.coordsAt(t-g,o):null}coordsForChar(t){let{i:o,off:d}=this.childPos(t,1),g=this.children[o];if(!(g instanceof vu))return null;for(;g.children.length;){let{i:$,off:te}=g.childPos(d,1);for(;;$++){if($==g.children.length)return null;if((g=g.children[$]).length)break}d=te}if(!(g instanceof cl))return null;let D=wn(g.text,d);if(D==d)return null;let L=ha(g.dom,d,D).getClientRects();for(let $=0;$<L.length;$++){let te=L[$];if($==L.length-1||te.top<te.bottom&&te.left<te.right)return te}return null}measureVisibleLineHeights(t){let o=[],{from:d,to:g}=t,D=this.view.contentDOM.clientWidth,L=D>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,$=-1,te=this.view.textDirection==eo.LTR;for(let he=0,ve=0;ve<this.children.length;ve++){let qe=this.children[ve],Rt=he+qe.length;if(Rt>g)break;if(he>=d){let En=qe.dom.getBoundingClientRect();if(o.push(En.height),L){let qn=qe.dom.lastChild,zr=qn?Ql(qn):[];if(zr.length){let Qr=zr[zr.length-1],$i=te?Qr.right-En.left:En.right-Qr.left;$i>$&&($=$i,this.minWidth=D,this.minWidthFrom=he,this.minWidthTo=Rt)}}}he=Rt+qe.breakAfter}return o}textDirectionAt(t){let{i:o}=this.childPos(t,1);return getComputedStyle(this.children[o].dom).direction=="rtl"?eo.RTL:eo.LTR}measureTextSize(){for(let D of this.children)if(D instanceof vu){let L=D.measureTextSize();if(L)return L}let t=document.createElement("div"),o,d,g;return t.className="cm-line",t.style.width="99999px",t.style.position="absolute",t.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(t);let D=Ql(t.firstChild)[0];o=t.getBoundingClientRect().height,d=D?D.width/27:7,g=D?D.height:o,t.remove()}),{lineHeight:o,charWidth:d,textHeight:g}}childCursor(t=this.length){let o=this.children.length;return o&&(t-=this.children[--o].length),new Zl(this.children,t,o)}computeBlockGapDeco(){let t=[],o=this.view.viewState;for(let d=0,g=0;;g++){let D=g==o.viewports.length?null:o.viewports[g],L=D?D.from-1:this.length;if(L>d){let $=(o.lineBlockAt(L).bottom-o.lineBlockAt(d).top)/this.view.scaleY;t.push(aa.replace({widget:new Ni($),block:!0,inclusive:!0,isBlockGap:!0}).range(d,L))}if(!D)break;d=D.to+1}return aa.set(t)}updateDeco(){let t=this.view.state.facet(et).map((g,D)=>(this.dynamicDecorationMap[D]=typeof g=="function")?g(this.view):g),o=!1,d=this.view.state.facet(pn).map((g,D)=>{let L=typeof g=="function";return L&&(o=!0),L?g(this.view):g});d.length&&(this.dynamicDecorationMap[t.length]=o,t.push(ke.join(d)));for(let g=t.length;g<t.length+3;g++)this.dynamicDecorationMap[g]=!1;return this.decorations=[...t,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco]}scrollIntoView(t){if(t.isSnapshot){let he=this.view.viewState.lineBlockAt(t.range.head);this.view.scrollDOM.scrollTop=he.top-t.yMargin,this.view.scrollDOM.scrollLeft=t.xMargin;return}let{range:o}=t,d=this.coordsAt(o.head,o.empty?o.assoc:o.head>o.anchor?-1:1),g;if(!d)return;!o.empty&&(g=this.coordsAt(o.anchor,o.anchor>o.head?-1:1))&&(d={left:Math.min(d.left,g.left),top:Math.min(d.top,g.top),right:Math.max(d.right,g.right),bottom:Math.max(d.bottom,g.bottom)});let D=br(this.view),L={left:d.left-D.left,top:d.top-D.top,right:d.right+D.right,bottom:d.bottom+D.bottom},{offsetWidth:$,offsetHeight:te}=this.view.scrollDOM;Yi(this.view.scrollDOM,L,o.head<o.anchor?-1:1,t.x,t.y,Math.max(Math.min(t.xMargin,$),-$),Math.max(Math.min(t.yMargin,te),-te),this.view.textDirection==eo.LTR)}}function Ii(p){return p.node.nodeType==1&&p.node.firstChild&&(p.offset==0||p.node.childNodes[p.offset-1].contentEditable=="false")&&(p.offset==p.node.childNodes.length||p.node.childNodes[p.offset].contentEditable=="false")}class Ni extends vl{constructor(t){super(),this.height=t}toDOM(){let t=document.createElement("div");return t.className="cm-gap",this.updateDOM(t),t}eq(t){return t.height==this.height}updateDOM(t){return t.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}}function Ds(p,t){let o=p.observer.selectionRange,d=o.focusNode&&Gs(o.focusNode,o.focusOffset,0);if(!d)return null;let g=t-d.offset;return{from:g,to:g+d.node.nodeValue.length,node:d.node}}function ds(p,t,o){let d=Ds(p,o);if(!d)return null;let{node:g,from:D,to:L}=d,$=g.nodeValue;if(/[\n\r]/.test($)||p.state.doc.sliceString(d.from,d.to)!=$)return null;let te=t.invertedDesc,he=new pi(te.mapPos(D),te.mapPos(L),D,L),ve=[];for(let qe=g.parentNode;;qe=qe.parentNode){let Rt=Ta.get(qe);if(Rt instanceof Do)ve.push({node:qe,deco:Rt.mark});else{if(Rt instanceof vu||qe.nodeName=="DIV"&&qe.parentNode==p.contentDOM)return{range:he,text:g,marks:ve,line:qe};if(qe!=p.contentDOM)ve.push({node:qe,deco:new e0({inclusive:!0,attributes:Zu(qe),tagName:qe.tagName.toLowerCase()})});else return null}}}function Gs(p,t,o){if(o<=0)for(let d=p,g=t;;){if(d.nodeType==3)return{node:d,offset:g};if(d.nodeType==1&&g>0)d=d.childNodes[g-1],g=gn(d);else break}if(o>=0)for(let d=p,g=t;;){if(d.nodeType==3)return{node:d,offset:g};if(d.nodeType==1&&g<d.childNodes.length&&o>=0)d=d.childNodes[g],g=0;else break}return null}function Fs(p,t){return p.nodeType!=1?0:(t&&p.childNodes[t-1].contentEditable=="false"?1:0)|(t<p.childNodes.length&&p.childNodes[t].contentEditable=="false"?2:0)}let $s=class{constructor(){this.changes=[]}compareRange(t,o){d0(t,o,this.changes)}comparePoint(t,o){d0(t,o,this.changes)}};function oa(p,t,o){let d=new $s;return ke.compare(p,t,o,d),d.changes}function to(p,t){for(let o=p;o&&o!=t;o=o.assignedSlot||o.parentNode)if(o.nodeType==1&&o.contentEditable=="false")return!0;return!1}function ba(p,t){let o=!1;return t&&p.iterChangedRanges((d,g)=>{d<t.to&&g>t.from&&(o=!0)}),o}function pa(p,t,o=1){let d=p.charCategorizer(t),g=p.doc.lineAt(t),D=t-g.from;if(g.length==0)return ut.cursor(t);D==0?o=1:D==g.length&&(o=-1);let L=D,$=D;o<0?L=wn(g.text,D,!1):$=wn(g.text,D);let te=d(g.text.slice(L,$));for(;L>0;){let he=wn(g.text,L,!1);if(d(g.text.slice(he,L))!=te)break;L=he}for(;$<g.length;){let he=wn(g.text,$);if(d(g.text.slice($,he))!=te)break;$=he}return ut.range(L+g.from,$+g.from)}function Lo(p,t){return t.left>p?t.left-p:Math.max(0,p-t.right)}function su(p,t){return t.top>p?t.top-p:Math.max(0,p-t.bottom)}function uo(p,t){return p.top<t.bottom-1&&p.bottom>t.top+1}function yo(p,t){return t<p.top?{top:t,left:p.left,right:p.right,bottom:p.bottom}:p}function lu(p,t){return t>p.bottom?{top:p.top,left:p.left,right:p.right,bottom:t}:p}function Be(p,t,o){let d,g,D,L,$=!1,te,he,ve,qe;for(let qn=p.firstChild;qn;qn=qn.nextSibling){let zr=Ql(qn);for(let Qr=0;Qr<zr.length;Qr++){let $i=zr[Qr];g&&uo(g,$i)&&($i=yo(lu($i,g.bottom),g.top));let _s=Lo(t,$i),ea=su(o,$i);if(_s==0&&ea==0)return qn.nodeType==3?vt(qn,t,o):Be(qn,t,o);if(!d||L>ea||L==ea&&D>_s){d=qn,g=$i,D=_s,L=ea;let Ws=ea?o<$i.top?-1:1:_s?t<$i.left?-1:1:0;$=!Ws||(Ws>0?Qr<zr.length-1:Qr>0)}_s==0?o>$i.bottom&&(!ve||ve.bottom<$i.bottom)?(te=qn,ve=$i):o<$i.top&&(!qe||qe.top>$i.top)&&(he=qn,qe=$i):ve&&uo(ve,$i)?ve=lu(ve,$i.bottom):qe&&uo(qe,$i)&&(qe=yo(qe,$i.top))}}if(ve&&ve.bottom>=o?(d=te,g=ve):qe&&qe.top<=o&&(d=he,g=qe),!d)return{node:p,offset:0};let Rt=Math.max(g.left,Math.min(g.right,t));if(d.nodeType==3)return vt(d,Rt,o);if($&&d.contentEditable!="false")return Be(d,Rt,o);let En=Array.prototype.indexOf.call(p.childNodes,d)+(t>=(g.left+g.right)/2?1:0);return{node:p,offset:En}}function vt(p,t,o){let d=p.nodeValue.length,g=-1,D=1e9,L=0;for(let $=0;$<d;$++){let te=ha(p,$,$+1).getClientRects();for(let he=0;he<te.length;he++){let ve=te[he];if(ve.top==ve.bottom)continue;L||(L=t-ve.left);let qe=(ve.top>o?ve.top-o:o-ve.bottom)-1;if(ve.left-1<=t&&ve.right+1>=t&&qe<D){let Rt=t>=(ve.left+ve.right)/2,En=Rt;if((xs.chrome||xs.gecko)&&ha(p,$).getBoundingClientRect().left==ve.right&&(En=!Rt),qe<=0)return{node:p,offset:$+(En?1:0)};g=$+(En?1:0),D=qe}}}return{node:p,offset:g>-1?g:L>0?p.nodeValue.length:0}}function xt(p,t,o,d=-1){var g,D;let L=p.contentDOM.getBoundingClientRect(),$=L.top+p.viewState.paddingTop,te,{docHeight:he}=p.viewState,{x:ve,y:qe}=t,Rt=qe-$;if(Rt<0)return 0;if(Rt>he)return p.state.doc.length;for(let Ws=p.viewState.heightOracle.textHeight/2,Os=!1;te=p.elementAtHeight(Rt),te.type!=Zo.Text;)for(;Rt=d>0?te.bottom+Ws:te.top-Ws,!(Rt>=0&&Rt<=he);){if(Os)return o?null:0;Os=!0,d=-d}qe=$+Rt;let En=te.from;if(En<p.viewport.from)return p.viewport.from==0?0:o?null:Zt(p,L,te,ve,qe);if(En>p.viewport.to)return p.viewport.to==p.state.doc.length?p.state.doc.length:o?null:Zt(p,L,te,ve,qe);let qn=p.dom.ownerDocument,zr=p.root.elementFromPoint?p.root:qn,Qr=zr.elementFromPoint(ve,qe);Qr&&!p.contentDOM.contains(Qr)&&(Qr=null),Qr||(ve=Math.max(L.left+1,Math.min(L.right-1,ve)),Qr=zr.elementFromPoint(ve,qe),Qr&&!p.contentDOM.contains(Qr)&&(Qr=null));let $i,_s=-1;if(Qr&&((g=p.docView.nearest(Qr))===null||g===void 0?void 0:g.isEditable)!=!1){if(qn.caretPositionFromPoint){let Ws=qn.caretPositionFromPoint(ve,qe);Ws&&({offsetNode:$i,offset:_s}=Ws)}else if(qn.caretRangeFromPoint){let Ws=qn.caretRangeFromPoint(ve,qe);Ws&&({startContainer:$i,startOffset:_s}=Ws,(!p.contentDOM.contains($i)||xs.safari&&He($i,_s,ve)||xs.chrome&&Pn($i,_s,ve))&&($i=void 0))}}if(!$i||!p.docView.dom.contains($i)){let Ws=vu.find(p.docView,En);if(!Ws)return Rt>te.top+te.height/2?te.to:te.from;({node:$i,offset:_s}=Be(Ws.dom,ve,qe))}let ea=p.docView.nearest($i);if(!ea)return null;if(ea.isWidget&&((D=ea.dom)===null||D===void 0?void 0:D.nodeType)==1){let Ws=ea.dom.getBoundingClientRect();return t.y<Ws.top||t.y<=Ws.bottom&&t.x<=(Ws.left+Ws.right)/2?ea.posAtStart:ea.posAtEnd}else return ea.localPosFromDOM($i,_s)+ea.posAtStart}function Zt(p,t,o,d,g){let D=Math.round((d-t.left)*p.defaultCharacterWidth);if(p.lineWrapping&&o.height>p.defaultLineHeight*1.5){let $=p.viewState.heightOracle.textHeight,te=Math.floor((g-o.top-(p.defaultLineHeight-$)*.5)/$);D+=te*p.viewState.heightOracle.lineLength}let L=p.state.sliceDoc(o.from,o.to);return o.from+ya(L,D,p.state.tabSize)}function He(p,t,o){let d;if(p.nodeType!=3||t!=(d=p.nodeValue.length))return!1;for(let g=p.nextSibling;g;g=g.nextSibling)if(g.nodeType!=1||g.nodeName!="BR")return!1;return ha(p,d-1,d).getBoundingClientRect().left>o}function Pn(p,t,o){if(t!=0)return!1;for(let g=p;;){let D=g.parentNode;if(!D||D.nodeType!=1||D.firstChild!=g)return!1;if(D.classList.contains("cm-line"))break;g=D}let d=p.nodeType==1?p.getBoundingClientRect():ha(p,0,Math.max(p.nodeValue.length,1)).getBoundingClientRect();return o-d.left>5}function Xn(p,t){let o=p.lineBlockAt(t);if(Array.isArray(o.type)){for(let d of o.type)if(d.to>t||d.to==t&&(d.to==o.to||d.type==Zo.Text))return d}return o}function Qt(p,t,o,d){let g=Xn(p,t.head),D=!d||g.type!=Zo.Text||!(p.lineWrapping||g.widgetLineBreaks)?null:p.coordsAtPos(t.assoc<0&&t.head>g.from?t.head-1:t.head);if(D){let L=p.dom.getBoundingClientRect(),$=p.textDirectionAt(g.from),te=p.posAtCoords({x:o==($==eo.LTR)?L.right-1:L.left+1,y:(D.top+D.bottom)/2});if(te!=null)return ut.cursor(te,o?-1:1)}return ut.cursor(o?g.to:g.from,o?-1:1)}function Bn(p,t,o,d){let g=p.state.doc.lineAt(t.head),D=p.bidiSpans(g),L=p.textDirectionAt(g.from);for(let $=t,te=null;;){let he=V0(g,D,L,$,o),ve=il;if(!he){if(g.number==(o?p.state.doc.lines:1))return $;ve=`
`,g=p.state.doc.line(g.number+(o?1:-1)),D=p.bidiSpans(g),he=p.visualLineSide(g,!o)}if(te){if(!te(ve))return $}else{if(!d)return he;te=d(ve)}$=he}}function ir(p,t,o){let d=p.state.charCategorizer(t),g=d(o);return D=>{let L=d(D);return g==co.Space&&(g=L),g==L}}function Pr(p,t,o,d){let g=t.head,D=o?1:-1;if(g==(o?p.state.doc.length:0))return ut.cursor(g,t.assoc);let L=t.goalColumn,$,te=p.contentDOM.getBoundingClientRect(),he=p.coordsAtPos(g,t.assoc||-1),ve=p.documentTop;if(he)L==null&&(L=he.left-te.left),$=D<0?he.top:he.bottom;else{let En=p.viewState.lineBlockAt(g);L==null&&(L=Math.min(te.right-te.left,p.defaultCharacterWidth*(g-En.from))),$=(D<0?En.top:En.bottom)+ve}let qe=te.left+L,Rt=d??p.viewState.heightOracle.textHeight>>1;for(let En=0;;En+=10){let qn=$+(Rt+En)*D,zr=xt(p,{x:qe,y:qn},!1,D);if(qn<te.top||qn>te.bottom||(D<0?zr<g:zr>g)){let Qr=p.docView.coordsForChar(zr),$i=!Qr||qn<Qr.top?-1:1;return ut.cursor(zr,$i,void 0,L)}}}function Er(p,t,o){for(;;){let d=0;for(let g of p)g.between(t-1,t+1,(D,L,$)=>{if(t>D&&t<L){let te=d||o||(t-D<L-t?-1:1);t=te<0?D:L,d=te}});if(!d)return t}}function Ti(p,t,o){let d=Er(p.state.facet(Tn).map(g=>g(p)),o.from,t.head>o.from?-1:1);return d==o.from?o:ut.cursor(d,d<o.from?1:-1)}class ji{setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}constructor(t){this.view=t,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastEscPress=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=t.hasFocus,xs.safari&&t.contentDOM.addEventListener("input",()=>null),xs.gecko&&yf(t.contentDOM.ownerDocument)}handleEvent(t){!Hu(this.view,t)||this.ignoreDuringComposition(t)||t.type=="keydown"&&this.keydown(t)||this.runHandlers(t.type,t)}runHandlers(t,o){let d=this.handlers[t];if(d){for(let g of d.observers)g(this.view,o);for(let g of d.handlers){if(o.defaultPrevented)break;if(g(this.view,o)){o.preventDefault();break}}}}ensureHandlers(t){let o=ls(t),d=this.handlers,g=this.view.contentDOM;for(let D in o)if(D!="scroll"){let L=!o[D].handlers.length,$=d[D];$&&L!=!$.handlers.length&&(g.removeEventListener(D,this.handleEvent),$=null),$||g.addEventListener(D,this.handleEvent,{passive:L})}for(let D in d)D!="scroll"&&!o[D]&&g.removeEventListener(D,this.handleEvent);this.handlers=o}keydown(t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&Date.now()<this.lastEscPress+2e3)return!0;if(t.keyCode!=27&&Js.indexOf(t.keyCode)<0&&(this.view.inputState.lastEscPress=0),xs.android&&xs.chrome&&!t.synthetic&&(t.keyCode==13||t.keyCode==8))return this.view.observer.delayAndroidKey(t.key,t.keyCode),!0;let o;return xs.ios&&!t.synthetic&&!t.altKey&&!t.metaKey&&((o=Zi.find(d=>d.keyCode==t.keyCode))&&!t.ctrlKey||Qs.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=o||t,setTimeout(()=>this.flushIOSKey(),250),!0):(t.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let t=this.pendingIOSKey;return t?(this.pendingIOSKey=void 0,qa(this.view.contentDOM,t.key,t.keyCode)):!1}ignoreDuringComposition(t){return/^key/.test(t.type)?this.composing>0?!0:xs.safari&&!xs.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.mouseSelection&&this.mouseSelection.update(t),this.draggedContent&&t.docChanged&&(this.draggedContent=this.draggedContent.map(t.changes)),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function Wi(p,t){return(o,d)=>{try{return t.call(p,d,o)}catch(g){zo(o.state,g)}}}function ls(p){let t=Object.create(null);function o(d){return t[d]||(t[d]={observers:[],handlers:[]})}for(let d of p){let g=d.spec;if(g&&g.domEventHandlers)for(let D in g.domEventHandlers){let L=g.domEventHandlers[D];L&&o(D).handlers.push(Wi(d.value,L))}if(g&&g.domEventObservers)for(let D in g.domEventObservers){let L=g.domEventObservers[D];L&&o(D).observers.push(Wi(d.value,L))}}for(let d in Fo)o(d).handlers.push(Fo[d]);for(let d in Ya)o(d).observers.push(Ya[d]);return t}const Zi=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],Qs="dthko",Js=[16,17,18,20,91,92,224,225],ks=6;function Hs(p){return Math.max(0,p)*.7+8}function Ka(p,t){return Math.max(Math.abs(p.clientX-t.clientX),Math.abs(p.clientY-t.clientY))}class Ma{constructor(t,o,d,g){this.view=t,this.startEvent=o,this.style=d,this.mustSelect=g,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=o,this.scrollParent=Ri(t.contentDOM),this.atoms=t.state.facet(Tn).map(L=>L(t));let D=t.contentDOM.ownerDocument;D.addEventListener("mousemove",this.move=this.move.bind(this)),D.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=o.shiftKey,this.multiple=t.state.facet(Ha.allowMultipleSelections)&&no(t,o),this.dragging=Bo(t,o)&&Ju(o)==1?null:!1}start(t){this.dragging===!1&&this.select(t)}move(t){var o;if(t.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&Ka(this.startEvent,t)<10)return;this.select(this.lastEvent=t);let d=0,g=0,D=((o=this.scrollParent)===null||o===void 0?void 0:o.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},L=br(this.view);t.clientX-L.left<=D.left+ks?d=-Hs(D.left-t.clientX):t.clientX+L.right>=D.right-ks&&(d=Hs(t.clientX-D.right)),t.clientY-L.top<=D.top+ks?g=-Hs(D.top-t.clientY):t.clientY+L.bottom>=D.bottom-ks&&(g=Hs(t.clientY-D.bottom)),this.setScrollSpeed(d,g)}up(t){this.dragging==null&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(t,o){this.scrollSpeed={x:t,y:o},t||o?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(t){let o=null;for(let d=0;d<t.ranges.length;d++){let g=t.ranges[d],D=null;if(g.empty){let L=Er(this.atoms,g.from,0);L!=g.from&&(D=ut.cursor(L,-1))}else{let L=Er(this.atoms,g.from,-1),$=Er(this.atoms,g.to,1);(L!=g.from||$!=g.to)&&(D=ut.range(g.from==g.anchor?L:$,g.from==g.head?L:$))}D&&(o||(o=t.ranges.slice()),o[d]=D)}return o?ut.create(o,t.mainIndex):t}select(t){let{view:o}=this,d=this.skipAtoms(this.style.get(t,this.extend,this.multiple));(this.mustSelect||!d.eq(o.state.selection,this.dragging===!1))&&this.view.dispatch({selection:d,userEvent:"select.pointer"}),this.mustSelect=!1}update(t){this.style.update(t)&&setTimeout(()=>this.select(this.lastEvent),20)}}function no(p,t){let o=p.state.facet(A0);return o.length?o[0](t):xs.mac?t.metaKey:t.ctrlKey}function ho(p,t){let o=p.state.facet(t0);return o.length?o[0](t):xs.mac?!t.altKey:!t.ctrlKey}function Bo(p,t){let{main:o}=p.state.selection;if(o.empty)return!1;let d=bc(p.root);if(!d||d.rangeCount==0)return!0;let g=d.getRangeAt(0).getClientRects();for(let D=0;D<g.length;D++){let L=g[D];if(L.left<=t.clientX&&L.right>=t.clientX&&L.top<=t.clientY&&L.bottom>=t.clientY)return!0}return!1}function Hu(p,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let o=t.target,d;o!=p.contentDOM;o=o.parentNode)if(!o||o.nodeType==11||(d=Ta.get(o))&&d.ignoreEvent(t))return!1;return!0}const Fo=Object.create(null),Ya=Object.create(null),Na=xs.ie&&xs.ie_version<15||xs.ios&&xs.webkit_version<604;function ti(p){let t=p.dom.parentNode;if(!t)return;let o=t.appendChild(document.createElement("textarea"));o.style.cssText="position: fixed; left: -10000px; top: 10px",o.focus(),setTimeout(()=>{p.focus(),o.remove(),ra(p,o.value)},50)}function ra(p,t){let{state:o}=p,d,g=1,D=o.toText(t),L=D.lines==o.selection.ranges.length;if(yu!=null&&o.selection.ranges.every(te=>te.empty)&&yu==D.toString()){let te=-1;d=o.changeByRange(he=>{let ve=o.doc.lineAt(he.from);if(ve.from==te)return{range:he};te=ve.from;let qe=o.toText((L?D.line(g++).text:t)+o.lineBreak);return{changes:{from:ve.from,insert:qe},range:ut.cursor(he.from+qe.length)}})}else L?d=o.changeByRange(te=>{let he=D.line(g++);return{changes:{from:te.from,to:te.to,insert:he.text},range:ut.cursor(te.from+he.length)}}):d=o.replaceSelection(D);p.dispatch(d,{userEvent:"input.paste",scrollIntoView:!0})}Ya.scroll=p=>{p.inputState.lastScrollTop=p.scrollDOM.scrollTop,p.inputState.lastScrollLeft=p.scrollDOM.scrollLeft},Fo.keydown=(p,t)=>(p.inputState.setSelectionOrigin("select"),t.keyCode==27&&(p.inputState.lastEscPress=Date.now()),!1),Ya.touchstart=(p,t)=>{p.inputState.lastTouchTime=Date.now(),p.inputState.setSelectionOrigin("select.pointer")},Ya.touchmove=p=>{p.inputState.setSelectionOrigin("select.pointer")},Fo.mousedown=(p,t)=>{if(p.observer.flush(),p.inputState.lastTouchTime>Date.now()-2e3)return!1;let o=null;for(let d of p.state.facet(Pl))if(o=d(p,t),o)break;if(!o&&t.button==0&&(o=Vo(p,t)),o){let d=!p.hasFocus;p.inputState.startMouseSelection(new Ma(p,t,o,d)),d&&p.observer.ignore(()=>Aa(p.contentDOM));let g=p.inputState.mouseSelection;if(g)return g.start(t),g.dragging===!1}return!1};function Ua(p,t,o,d){if(d==1)return ut.cursor(t,o);if(d==2)return pa(p.state,t,o);{let g=vu.find(p.docView,t),D=p.state.doc.lineAt(g?g.posAtEnd:t),L=g?g.posAtStart:D.from,$=g?g.posAtEnd:D.to;return $<p.state.doc.length&&$==D.to&&$++,ut.range(L,$)}}let fl=(p,t)=>p>=t.top&&p<=t.bottom,Ol=(p,t,o)=>fl(t,o)&&p>=o.left&&p<=o.right;function Ba(p,t,o,d){let g=vu.find(p.docView,t);if(!g)return 1;let D=t-g.posAtStart;if(D==0)return 1;if(D==g.length)return-1;let L=g.coordsAt(D,-1);if(L&&Ol(o,d,L))return-1;let $=g.coordsAt(D,1);return $&&Ol(o,d,$)?1:L&&fl(d,L)?-1:1}function mc(p,t){let o=p.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:o,bias:Ba(p,o,t.clientX,t.clientY)}}const Hc=xs.ie&&xs.ie_version<=11;let sl=null,_u=0,zs=0;function Ju(p){if(!Hc)return p.detail;let t=sl,o=zs;return sl=p,zs=Date.now(),_u=!t||o>Date.now()-400&&Math.abs(t.clientX-p.clientX)<2&&Math.abs(t.clientY-p.clientY)<2?(_u+1)%3:1}function Vo(p,t){let o=mc(p,t),d=Ju(t),g=p.state.selection;return{update(D){D.docChanged&&(o.pos=D.changes.mapPos(o.pos),g=g.map(D.changes))},get(D,L,$){let te=mc(p,D),he,ve=Ua(p,te.pos,te.bias,d);if(o.pos!=te.pos&&!L){let qe=Ua(p,o.pos,o.bias,d),Rt=Math.min(qe.from,ve.from),En=Math.max(qe.to,ve.to);ve=Rt<ve.from?ut.range(Rt,En):ut.range(En,Rt)}return L?g.replaceRange(g.main.extend(ve.from,ve.to)):$&&d==1&&g.ranges.length>1&&(he=Ao(g,te.pos))?he:$?g.addRange(ve):ut.create([ve])}}}function Ao(p,t){for(let o=0;o<p.ranges.length;o++){let{from:d,to:g}=p.ranges[o];if(d<=t&&g>=t)return ut.create(p.ranges.slice(0,o).concat(p.ranges.slice(o+1)),p.mainIndex==o?0:p.mainIndex-(p.mainIndex>o?1:0))}return null}Fo.dragstart=(p,t)=>{let{selection:{main:o}}=p.state;if(t.target.draggable){let g=p.docView.nearest(t.target);if(g&&g.isWidget){let D=g.posAtStart,L=D+g.length;(D>=o.to||L<=o.from)&&(o=ut.range(D,L))}}let{inputState:d}=p;return d.mouseSelection&&(d.mouseSelection.dragging=!0),d.draggedContent=o,t.dataTransfer&&(t.dataTransfer.setData("Text",p.state.sliceDoc(o.from,o.to)),t.dataTransfer.effectAllowed="copyMove"),!1},Fo.dragend=p=>(p.inputState.draggedContent=null,!1);function ku(p,t,o,d){if(!o)return;let g=p.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:D}=p.inputState,L=d&&D&&ho(p,t)?{from:D.from,to:D.to}:null,$={from:g,insert:o},te=p.state.changes(L?[L,$]:$);p.focus(),p.dispatch({changes:te,selection:{anchor:te.mapPos(g,-1),head:te.mapPos(g,1)},userEvent:L?"move.drop":"input.drop"}),p.inputState.draggedContent=null}Fo.drop=(p,t)=>{if(!t.dataTransfer)return!1;if(p.state.readOnly)return!0;let o=t.dataTransfer.files;if(o&&o.length){let d=Array(o.length),g=0,D=()=>{++g==o.length&&ku(p,t,d.filter(L=>L!=null).join(p.state.lineBreak),!1)};for(let L=0;L<o.length;L++){let $=new FileReader;$.onerror=D,$.onload=()=>{/[\x00-\x08\x0e-\x1f]{2}/.test($.result)||(d[L]=$.result),D()},$.readAsText(o[L])}return!0}else{let d=t.dataTransfer.getData("Text");if(d)return ku(p,t,d,!0),!0}return!1},Fo.paste=(p,t)=>{if(p.state.readOnly)return!0;p.observer.flush();let o=Na?null:t.clipboardData;return o?(ra(p,o.getData("text/plain")||o.getData("text/uri-text")),!0):(ti(p),!1)};function x0(p,t){let o=p.dom.parentNode;if(!o)return;let d=o.appendChild(document.createElement("textarea"));d.style.cssText="position: fixed; left: -10000px; top: 10px",d.value=t,d.focus(),d.selectionEnd=t.length,d.selectionStart=0,setTimeout(()=>{d.remove(),p.focus()},50)}function Ar(p){let t=[],o=[],d=!1;for(let g of p.selection.ranges)g.empty||(t.push(p.sliceDoc(g.from,g.to)),o.push(g));if(!t.length){let g=-1;for(let{from:D}of p.selection.ranges){let L=p.doc.lineAt(D);L.number>g&&(t.push(L.text),o.push({from:L.from,to:Math.min(p.doc.length,L.to+1)})),g=L.number}d=!0}return{text:t.join(p.lineBreak),ranges:o,linewise:d}}let yu=null;Fo.copy=Fo.cut=(p,t)=>{let{text:o,ranges:d,linewise:g}=Ar(p.state);if(!o&&!g)return!1;yu=g?o:null,t.type=="cut"&&!p.state.readOnly&&p.dispatch({changes:d,scrollIntoView:!0,userEvent:"delete.cut"});let D=Na?null:t.clipboardData;return D?(D.clearData(),D.setData("text/plain",o),!0):(x0(p,o),!1)};const Zd=os.define();function Rl(p,t){let o=[];for(let d of p.facet($l)){let g=d(p,t);g&&o.push(g)}return o?p.update({effects:o,annotations:Zd.of(!0)}):null}function F0(p){setTimeout(()=>{let t=p.hasFocus;if(t!=p.inputState.notifiedFocused){let o=Rl(p.state,t);o?p.dispatch(o):p.update([])}},10)}Ya.focus=p=>{p.inputState.lastFocusTime=Date.now(),!p.scrollDOM.scrollTop&&(p.inputState.lastScrollTop||p.inputState.lastScrollLeft)&&(p.scrollDOM.scrollTop=p.inputState.lastScrollTop,p.scrollDOM.scrollLeft=p.inputState.lastScrollLeft),F0(p)},Ya.blur=p=>{p.observer.clearSelectionRange(),F0(p)},Ya.compositionstart=Ya.compositionupdate=p=>{p.inputState.compositionFirstChange==null&&(p.inputState.compositionFirstChange=!0),p.inputState.composing<0&&(p.inputState.composing=0)},Ya.compositionend=p=>{p.inputState.composing=-1,p.inputState.compositionEndedAt=Date.now(),p.inputState.compositionPendingKey=!0,p.inputState.compositionPendingChange=p.observer.pendingRecords().length>0,p.inputState.compositionFirstChange=null,xs.chrome&&xs.android?p.observer.flushSoon():p.inputState.compositionPendingChange?Promise.resolve().then(()=>p.observer.flush()):setTimeout(()=>{p.inputState.composing<0&&p.docView.hasComposition&&p.update([])},50)},Ya.contextmenu=p=>{p.inputState.lastContextMenu=Date.now()},Fo.beforeinput=(p,t)=>{var o;let d;if(xs.chrome&&xs.android&&(d=Zi.find(g=>g.inputType==t.inputType))&&(p.observer.delayAndroidKey(d.key,d.keyCode),d.key=="Backspace"||d.key=="Delete")){let g=((o=window.visualViewport)===null||o===void 0?void 0:o.height)||0;setTimeout(()=>{var D;(((D=window.visualViewport)===null||D===void 0?void 0:D.height)||0)>g+10&&p.hasFocus&&(p.contentDOM.blur(),p.focus())},100)}return!1};const Md=new Set;function yf(p){Md.has(p)||(Md.add(p),p.addEventListener("copy",()=>{}),p.addEventListener("cut",()=>{}))}const ac=["pre-wrap","normal","pre-line","break-spaces"];class Du{constructor(t){this.lineWrapping=t,this.doc=$t.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(t,o){let d=this.doc.lineAt(o).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(d+=Math.max(0,Math.ceil((o-t-d*this.lineLength*.5)/this.lineLength))),this.lineHeight*d}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return ac.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let o=!1;for(let d=0;d<t.length;d++){let g=t[d];g<0?d++:this.heightSamples[Math.floor(g*10)]||(o=!0,this.heightSamples[Math.floor(g*10)]=!0)}return o}refresh(t,o,d,g,D,L){let $=ac.indexOf(t)>-1,te=Math.round(o)!=Math.round(this.lineHeight)||this.lineWrapping!=$;if(this.lineWrapping=$,this.lineHeight=o,this.charWidth=d,this.textHeight=g,this.lineLength=D,te){this.heightSamples={};for(let he=0;he<L.length;he++){let ve=L[he];ve<0?he++:this.heightSamples[Math.floor(ve*10)]=!0}}return te}}class h0{constructor(t,o){this.from=t,this.heights=o,this.index=0}get more(){return this.index<this.heights.length}}class Ll{constructor(t,o,d,g,D){this.from=t,this.length=o,this.top=d,this.height=g,this._content=D}get type(){return typeof this._content=="number"?Zo.Text:Array.isArray(this._content)?this._content:this._content.type}get to(){return this.from+this.length}get bottom(){return this.top+this.height}get widget(){return this._content instanceof kc?this._content.widget:null}get widgetLineBreaks(){return typeof this._content=="number"?this._content:0}join(t){let o=(Array.isArray(this._content)?this._content:[this]).concat(Array.isArray(t._content)?t._content:[t]);return new Ll(this.from,this.length+t.length,this.top,this.height+t.height,o)}}var Au=function(p){return p[p.ByPos=0]="ByPos",p[p.ByHeight=1]="ByHeight",p[p.ByPosNoHeight=2]="ByPosNoHeight",p}(Au||(Au={}));const _d=.001;class Jl{constructor(t,o,d=2){this.length=t,this.height=o,this.flags=d}get outdated(){return(this.flags&2)>0}set outdated(t){this.flags=(t?2:0)|this.flags&-3}setHeight(t,o){this.height!=o&&(Math.abs(this.height-o)>_d&&(t.heightChanged=!0),this.height=o)}replace(t,o,d){return Jl.of(d)}decomposeLeft(t,o){o.push(this)}decomposeRight(t,o){o.push(this)}applyChanges(t,o,d,g){let D=this,L=d.doc;for(let $=g.length-1;$>=0;$--){let{fromA:te,toA:he,fromB:ve,toB:qe}=g[$],Rt=D.lineAt(te,Au.ByPosNoHeight,d.setDoc(o),0,0),En=Rt.to>=he?Rt:D.lineAt(he,Au.ByPosNoHeight,d,0,0);for(qe+=En.to-he,he=En.to;$>0&&Rt.from<=g[$-1].toA;)te=g[$-1].fromA,ve=g[$-1].fromB,$--,te<Rt.from&&(Rt=D.lineAt(te,Au.ByPosNoHeight,d,0,0));ve+=Rt.from-te,te=Rt.from;let qn=gs.build(d.setDoc(L),t,ve,qe);D=D.replace(te,he,qn)}return D.updateHeight(d,0)}static empty(){return new Tc(0,0)}static of(t){if(t.length==1)return t[0];let o=0,d=t.length,g=0,D=0;for(;;)if(o==d)if(g>D*2){let $=t[o-1];$.break?t.splice(--o,1,$.left,null,$.right):t.splice(--o,1,$.left,$.right),d+=1+$.break,g-=$.size}else if(D>g*2){let $=t[d];$.break?t.splice(d,1,$.left,null,$.right):t.splice(d,1,$.left,$.right),d+=2+$.break,D-=$.size}else break;else if(g<D){let $=t[o++];$&&(g+=$.size)}else{let $=t[--d];$&&(D+=$.size)}let L=0;return t[o-1]==null?(L=1,o--):t[o]==null&&(L=1,d++),new Nf(Jl.of(t.slice(0,o)),L,Jl.of(t.slice(d)))}}Jl.prototype.size=1;class xi extends Jl{constructor(t,o,d){super(t,o),this.deco=d}blockAt(t,o,d,g){return new Ll(g,this.length,d,this.height,this.deco||0)}lineAt(t,o,d,g,D){return this.blockAt(0,d,g,D)}forEachLine(t,o,d,g,D,L){t<=D+this.length&&o>=D&&L(this.blockAt(0,d,g,D))}updateHeight(t,o=0,d=!1,g){return g&&g.from<=o&&g.more&&this.setHeight(t,g.heights[g.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Tc extends xi{constructor(t,o){super(t,o,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(t,o,d,g){return new Ll(g,this.length,d,this.height,this.breaks)}replace(t,o,d){let g=d[0];return d.length==1&&(g instanceof Tc||g instanceof Us&&g.flags&4)&&Math.abs(this.length-g.length)<10?(g instanceof Us?g=new Tc(g.length,this.height):g.height=this.height,this.outdated||(g.outdated=!1),g):Jl.of(d)}updateHeight(t,o=0,d=!1,g){return g&&g.from<=o&&g.more?this.setHeight(t,g.heights[g.index++]):(d||this.outdated)&&this.setHeight(t,Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))+this.breaks*t.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Us extends Jl{constructor(t){super(t,0)}heightMetrics(t,o){let d=t.doc.lineAt(o).number,g=t.doc.lineAt(o+this.length).number,D=g-d+1,L,$=0;if(t.lineWrapping){let te=Math.min(this.height,t.lineHeight*D);L=te/D,this.length>D+1&&($=(this.height-te)/(this.length-D-1))}else L=this.height/D;return{firstLine:d,lastLine:g,perLine:L,perChar:$}}blockAt(t,o,d,g){let{firstLine:D,lastLine:L,perLine:$,perChar:te}=this.heightMetrics(o,g);if(o.lineWrapping){let he=g+Math.round(Math.max(0,Math.min(1,(t-d)/this.height))*this.length),ve=o.doc.lineAt(he),qe=$+ve.length*te,Rt=Math.max(d,t-qe/2);return new Ll(ve.from,ve.length,Rt,qe,0)}else{let he=Math.max(0,Math.min(L-D,Math.floor((t-d)/$))),{from:ve,length:qe}=o.doc.line(D+he);return new Ll(ve,qe,d+$*he,$,0)}}lineAt(t,o,d,g,D){if(o==Au.ByHeight)return this.blockAt(t,d,g,D);if(o==Au.ByPosNoHeight){let{from:En,to:qn}=d.doc.lineAt(t);return new Ll(En,qn-En,0,0,0)}let{firstLine:L,perLine:$,perChar:te}=this.heightMetrics(d,D),he=d.doc.lineAt(t),ve=$+he.length*te,qe=he.number-L,Rt=g+$*qe+te*(he.from-D-qe);return new Ll(he.from,he.length,Math.max(g,Math.min(Rt,g+this.height-ve)),ve,0)}forEachLine(t,o,d,g,D,L){t=Math.max(t,D),o=Math.min(o,D+this.length);let{firstLine:$,perLine:te,perChar:he}=this.heightMetrics(d,D);for(let ve=t,qe=g;ve<=o;){let Rt=d.doc.lineAt(ve);if(ve==t){let qn=Rt.number-$;qe+=te*qn+he*(t-D-qn)}let En=te+he*Rt.length;L(new Ll(Rt.from,Rt.length,qe,En,0)),qe+=En,ve=Rt.to+1}}replace(t,o,d){let g=this.length-o;if(g>0){let D=d[d.length-1];D instanceof Us?d[d.length-1]=new Us(D.length+g):d.push(null,new Us(g-1))}if(t>0){let D=d[0];D instanceof Us?d[0]=new Us(t+D.length):d.unshift(new Us(t-1),null)}return Jl.of(d)}decomposeLeft(t,o){o.push(new Us(t-1),null)}decomposeRight(t,o){o.push(null,new Us(this.length-t-1))}updateHeight(t,o=0,d=!1,g){let D=o+this.length;if(g&&g.from<=o+this.length&&g.more){let L=[],$=Math.max(o,g.from),te=-1;for(g.from>o&&L.push(new Us(g.from-o-1).updateHeight(t,o));$<=D&&g.more;){let ve=t.doc.lineAt($).length;L.length&&L.push(null);let qe=g.heights[g.index++];te==-1?te=qe:Math.abs(qe-te)>=_d&&(te=-2);let Rt=new Tc(ve,qe);Rt.outdated=!1,L.push(Rt),$+=ve+1}$<=D&&L.push(null,new Us(D-$).updateHeight(t,$));let he=Jl.of(L);return(te<0||Math.abs(he.height-this.height)>=_d||Math.abs(te-this.heightMetrics(t,o).perLine)>=_d)&&(t.heightChanged=!0),he}else(d||this.outdated)&&(this.setHeight(t,t.heightForGap(o,o+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class Nf extends Jl{constructor(t,o,d){super(t.length+o+d.length,t.height+d.height,o|(t.outdated||d.outdated?2:0)),this.left=t,this.right=d,this.size=t.size+d.size}get break(){return this.flags&1}blockAt(t,o,d,g){let D=d+this.left.height;return t<D?this.left.blockAt(t,o,d,g):this.right.blockAt(t,o,D,g+this.left.length+this.break)}lineAt(t,o,d,g,D){let L=g+this.left.height,$=D+this.left.length+this.break,te=o==Au.ByHeight?t<L:t<$,he=te?this.left.lineAt(t,o,d,g,D):this.right.lineAt(t,o,d,L,$);if(this.break||(te?he.to<$:he.from>$))return he;let ve=o==Au.ByPosNoHeight?Au.ByPosNoHeight:Au.ByPos;return te?he.join(this.right.lineAt($,ve,d,L,$)):this.left.lineAt($,ve,d,g,D).join(he)}forEachLine(t,o,d,g,D,L){let $=g+this.left.height,te=D+this.left.length+this.break;if(this.break)t<te&&this.left.forEachLine(t,o,d,g,D,L),o>=te&&this.right.forEachLine(t,o,d,$,te,L);else{let he=this.lineAt(te,Au.ByPos,d,g,D);t<he.from&&this.left.forEachLine(t,he.from-1,d,g,D,L),he.to>=t&&he.from<=o&&L(he),o>he.to&&this.right.forEachLine(he.to+1,o,d,$,te,L)}}replace(t,o,d){let g=this.left.length+this.break;if(o<g)return this.balanced(this.left.replace(t,o,d),this.right);if(t>this.left.length)return this.balanced(this.left,this.right.replace(t-g,o-g,d));let D=[];t>0&&this.decomposeLeft(t,D);let L=D.length;for(let $ of d)D.push($);if(t>0&&yd(D,L-1),o<this.length){let $=D.length;this.decomposeRight(o,D),yd(D,$)}return Jl.of(D)}decomposeLeft(t,o){let d=this.left.length;if(t<=d)return this.left.decomposeLeft(t,o);o.push(this.left),this.break&&(d++,t>=d&&o.push(null)),t>d&&this.right.decomposeLeft(t-d,o)}decomposeRight(t,o){let d=this.left.length,g=d+this.break;if(t>=g)return this.right.decomposeRight(t-g,o);t<d&&this.left.decomposeRight(t,o),this.break&&t<g&&o.push(null),o.push(this.right)}balanced(t,o){return t.size>2*o.size||o.size>2*t.size?Jl.of(this.break?[t,null,o]:[t,o]):(this.left=t,this.right=o,this.height=t.height+o.height,this.outdated=t.outdated||o.outdated,this.size=t.size+o.size,this.length=t.length+this.break+o.length,this)}updateHeight(t,o=0,d=!1,g){let{left:D,right:L}=this,$=o+D.length+this.break,te=null;return g&&g.from<=o+D.length&&g.more?te=D=D.updateHeight(t,o,d,g):D.updateHeight(t,o,d),g&&g.from<=$+L.length&&g.more?te=L=L.updateHeight(t,$,d,g):L.updateHeight(t,$,d),te?this.balanced(D,L):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function yd(p,t){let o,d;p[t]==null&&(o=p[t-1])instanceof Us&&(d=p[t+1])instanceof Us&&p.splice(t-1,3,new Us(o.length+1+d.length))}const Pf=5;class gs{constructor(t,o){this.pos=t,this.oracle=o,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,o){if(this.lineStart>-1){let d=Math.min(o,this.lineEnd),g=this.nodes[this.nodes.length-1];g instanceof Tc?g.length+=d-this.pos:(d>this.pos||!this.isCovered)&&this.nodes.push(new Tc(d-this.pos,-1)),this.writtenTo=d,o>d&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=o}point(t,o,d){if(t<o||d.heightRelevant){let g=d.widget?d.widget.estimatedHeight:0,D=d.widget?d.widget.lineBreaks:0;g<0&&(g=this.oracle.lineHeight);let L=o-t;d.block?this.addBlock(new xi(L,g,d)):(L||D||g>=Pf)&&this.addLineDeco(g,D,L)}else o>t&&this.span(t,o);this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)}enterLine(){if(this.lineStart>-1)return;let{from:t,to:o}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=o,this.writtenTo<t&&((this.writtenTo<t-1||this.nodes[this.nodes.length-1]==null)&&this.nodes.push(this.blankContent(this.writtenTo,t-1)),this.nodes.push(null)),this.pos>t&&this.nodes.push(new Tc(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,o){let d=new Us(o-t);return this.oracle.doc.lineAt(t).to==o&&(d.flags|=4),d}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof Tc)return t;let o=new Tc(0,-1);return this.nodes.push(o),o}addBlock(t){this.enterLine();let o=t.deco;o&&o.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,o&&o.endSide>0&&(this.covering=t)}addLineDeco(t,o,d){let g=this.ensureLine();g.length+=d,g.collapsed+=d,g.widgetHeight=Math.max(g.widgetHeight,t),g.breaks+=o,this.writtenTo=this.pos=this.pos+d}finish(t){let o=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(o instanceof Tc)&&!this.isCovered?this.nodes.push(new Tc(0,-1)):(this.writtenTo<this.pos||o==null)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos));let d=t;for(let g of this.nodes)g instanceof Tc&&g.updateHeight(this.oracle,d),d+=g?g.length:1;return this.nodes}static build(t,o,d,g){let D=new gs(d,t);return ke.spans(o,d,g,D,0),D.finish(d)}}function bd(p,t,o){let d=new qu;return ke.compare(p,t,o,d,0),d.changes}class qu{constructor(){this.changes=[]}compareRange(){}comparePoint(t,o,d,g){(t<o||d&&d.heightRelevant||g&&g.heightRelevant)&&d0(t,o,this.changes,5)}}function p0(p,t){let o=p.getBoundingClientRect(),d=p.ownerDocument,g=d.defaultView||window,D=Math.max(0,o.left),L=Math.min(g.innerWidth,o.right),$=Math.max(0,o.top),te=Math.min(g.innerHeight,o.bottom);for(let he=p.parentNode;he&&he!=d.body;)if(he.nodeType==1){let ve=he,qe=window.getComputedStyle(ve);if((ve.scrollHeight>ve.clientHeight||ve.scrollWidth>ve.clientWidth)&&qe.overflow!="visible"){let Rt=ve.getBoundingClientRect();D=Math.max(D,Rt.left),L=Math.min(L,Rt.right),$=Math.max($,Rt.top),te=he==p.parentNode?Rt.bottom:Math.min(te,Rt.bottom)}he=qe.position=="absolute"||qe.position=="fixed"?ve.offsetParent:ve.parentNode}else if(he.nodeType==11)he=he.host;else break;return{left:D-o.left,right:Math.max(D,L)-o.left,top:$-(o.top+t),bottom:Math.max($,te)-(o.top+t)}}function bf(p,t){let o=p.getBoundingClientRect();return{left:0,right:o.right-o.left,top:t,bottom:o.bottom-(o.top+t)}}class cu{constructor(t,o,d){this.from=t,this.to=o,this.size=d}static same(t,o){if(t.length!=o.length)return!1;for(let d=0;d<t.length;d++){let g=t[d],D=o[d];if(g.from!=D.from||g.to!=D.to||g.size!=D.size)return!1}return!0}draw(t,o){return aa.replace({widget:new Dt(this.size*(o?t.scaleY:t.scaleX),o)}).range(this.from,this.to)}}class Dt extends vl{constructor(t,o){super(),this.size=t,this.vertical=o}eq(t){return t.size==this.size&&t.vertical==this.vertical}toDOM(){let t=document.createElement("div");return this.vertical?t.style.height=this.size+"px":(t.style.width=this.size+"px",t.style.height="2px",t.style.display="inline-block"),t}get estimatedHeight(){return this.vertical?this.size:-1}}class gc{constructor(t){this.state=t,this.pixelViewport={left:0,right:window.innerWidth,top:0,bottom:0},this.inView=!0,this.paddingTop=0,this.paddingBottom=0,this.contentDOMWidth=0,this.contentDOMHeight=0,this.editorHeight=0,this.editorWidth=0,this.scrollTop=0,this.scrolledToBottom=!0,this.scaleX=1,this.scaleY=1,this.scrollAnchorPos=0,this.scrollAnchorHeight=-1,this.scaler=hl,this.scrollTarget=null,this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=eo.LTR,this.visibleRanges=[],this.mustEnforceCursorAssoc=!1;let o=t.facet(Wl).some(d=>typeof d!="function"&&d.class=="cm-lineWrapping");this.heightOracle=new Du(o),this.stateDeco=t.facet(et).filter(d=>typeof d!="function"),this.heightMap=Jl.empty().applyChanges(this.stateDeco,$t.empty,this.heightOracle.setDoc(t.doc),[new pi(0,0,0,t.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=aa.set(this.lineGaps.map(d=>d.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:o}=this.state.selection;for(let d=0;d<=1;d++){let g=d?o.head:o.anchor;if(!t.some(({from:D,to:L})=>g>=D&&g<=L)){let{from:D,to:L}=this.lineBlockAt(g);t.push(new O0(D,L))}}this.viewports=t.sort((d,g)=>d.from-g.from),this.scaler=this.heightMap.height<=7e6?hl:new zh(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,t=>{this.viewportLines.push(this.scaler.scale==1?t:Cd(t,this.scaler))})}update(t,o=null){this.state=t.state;let d=this.stateDeco;this.stateDeco=this.state.facet(et).filter(ve=>typeof ve!="function");let g=t.changedRanges,D=pi.extendWithRanges(g,bd(d,this.stateDeco,t?t.changes:xr.empty(this.state.doc.length))),L=this.heightMap.height,$=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),D),this.heightMap.height!=L&&(t.flags|=2),$?(this.scrollAnchorPos=t.changes.mapPos($.from,-1),this.scrollAnchorHeight=$.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let te=D.length?this.mapViewport(this.viewport,t.changes):this.viewport;(o&&(o.range.head<te.from||o.range.head>te.to)||!this.viewportIsAppropriate(te))&&(te=this.getViewport(0,o));let he=!t.changes.empty||t.flags&2||te.from!=this.viewport.from||te.to!=this.viewport.to;this.viewport=te,this.updateForViewport(),he&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>2e3<<1)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(),o&&(this.scrollTarget=o),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&!t.state.facet(Xu)&&(this.mustEnforceCursorAssoc=!0)}measure(t){let o=t.contentDOM,d=window.getComputedStyle(o),g=this.heightOracle,D=d.whiteSpace;this.defaultTextDirection=d.direction=="rtl"?eo.RTL:eo.LTR;let L=this.heightOracle.mustRefreshForWrapping(D),$=o.getBoundingClientRect(),te=L||this.mustMeasureContent||this.contentDOMHeight!=$.height;this.contentDOMHeight=$.height,this.mustMeasureContent=!1;let he=0,ve=0;if($.width&&$.height){let{scaleX:Ws,scaleY:Os}=si(o,$);(this.scaleX!=Ws||this.scaleY!=Os)&&(this.scaleX=Ws,this.scaleY=Os,he|=8,L=te=!0)}let qe=(parseInt(d.paddingTop)||0)*this.scaleY,Rt=(parseInt(d.paddingBottom)||0)*this.scaleY;(this.paddingTop!=qe||this.paddingBottom!=Rt)&&(this.paddingTop=qe,this.paddingBottom=Rt,he|=10),this.editorWidth!=t.scrollDOM.clientWidth&&(g.lineWrapping&&(te=!0),this.editorWidth=t.scrollDOM.clientWidth,he|=8);let En=t.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=En&&(this.scrollAnchorHeight=-1,this.scrollTop=En),this.scrolledToBottom=ou(t.scrollDOM);let qn=(this.printing?bf:p0)(o,this.paddingTop),zr=qn.top-this.pixelViewport.top,Qr=qn.bottom-this.pixelViewport.bottom;this.pixelViewport=qn;let $i=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if($i!=this.inView&&(this.inView=$i,$i&&(te=!0)),!this.inView&&!this.scrollTarget)return 0;let _s=$.width;if((this.contentDOMWidth!=_s||this.editorHeight!=t.scrollDOM.clientHeight)&&(this.contentDOMWidth=$.width,this.editorHeight=t.scrollDOM.clientHeight,he|=8),te){let Ws=t.docView.measureVisibleLineHeights(this.viewport);if(g.mustRefreshForHeights(Ws)&&(L=!0),L||g.lineWrapping&&Math.abs(_s-this.contentDOMWidth)>g.charWidth){let{lineHeight:Os,charWidth:ua,textHeight:Ls}=t.docView.measureTextSize();L=Os>0&&g.refresh(D,Os,ua,Ls,_s/ua,Ws),L&&(t.docView.minWidth=0,he|=8)}zr>0&&Qr>0?ve=Math.max(zr,Qr):zr<0&&Qr<0&&(ve=Math.min(zr,Qr)),g.heightChanged=!1;for(let Os of this.viewports){let ua=Os.from==this.viewport.from?Ws:t.docView.measureVisibleLineHeights(Os);this.heightMap=(L?Jl.empty().applyChanges(this.stateDeco,$t.empty,this.heightOracle,[new pi(0,0,0,t.state.doc.length)]):this.heightMap).updateHeight(g,0,L,new h0(Os.from,ua))}g.heightChanged&&(he|=2)}let ea=!this.viewportIsAppropriate(this.viewport,ve)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to);return ea&&(this.viewport=this.getViewport(ve,this.scrollTarget)),this.updateForViewport(),(he&2||ea)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>2e3<<1)&&this.updateLineGaps(this.ensureLineGaps(L?[]:this.lineGaps,t)),he|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),he}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,o){let d=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),g=this.heightMap,D=this.heightOracle,{visibleTop:L,visibleBottom:$}=this,te=new O0(g.lineAt(L-d*1e3,Au.ByHeight,D,0,0).from,g.lineAt($+(1-d)*1e3,Au.ByHeight,D,0,0).to);if(o){let{head:he}=o.range;if(he<te.from||he>te.to){let ve=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),qe=g.lineAt(he,Au.ByPos,D,0,0),Rt;o.y=="center"?Rt=(qe.top+qe.bottom)/2-ve/2:o.y=="start"||o.y=="nearest"&&he<te.from?Rt=qe.top:Rt=qe.bottom-ve,te=new O0(g.lineAt(Rt-1e3/2,Au.ByHeight,D,0,0).from,g.lineAt(Rt+ve+1e3/2,Au.ByHeight,D,0,0).to)}}return te}mapViewport(t,o){let d=o.mapPos(t.from,-1),g=o.mapPos(t.to,1);return new O0(this.heightMap.lineAt(d,Au.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(g,Au.ByPos,this.heightOracle,0,0).to)}viewportIsAppropriate({from:t,to:o},d=0){if(!this.inView)return!0;let{top:g}=this.heightMap.lineAt(t,Au.ByPos,this.heightOracle,0,0),{bottom:D}=this.heightMap.lineAt(o,Au.ByPos,this.heightOracle,0,0),{visibleTop:L,visibleBottom:$}=this;return(t==0||g<=L-Math.max(10,Math.min(-d,250)))&&(o==this.state.doc.length||D>=$+Math.max(10,Math.min(d,250)))&&g>L-2*1e3&&D<$+2*1e3}mapLineGaps(t,o){if(!t.length||o.empty)return t;let d=[];for(let g of t)o.touchesRange(g.from,g.to)||d.push(new cu(o.mapPos(g.from),o.mapPos(g.to),g.size));return d}ensureLineGaps(t,o){let d=this.heightOracle.lineWrapping,g=d?1e4:2e3,D=g>>1,L=g<<1;if(this.defaultTextDirection!=eo.LTR&&!d)return[];let $=[],te=(he,ve,qe,Rt)=>{if(ve-he<D)return;let En=this.state.selection.main,qn=[En.from];En.empty||qn.push(En.to);for(let Qr of qn)if(Qr>he&&Qr<ve){te(he,Qr-10,qe,Rt),te(Qr+10,ve,qe,Rt);return}let zr=Nd(t,Qr=>Qr.from>=qe.from&&Qr.to<=qe.to&&Math.abs(Qr.from-he)<D&&Math.abs(Qr.to-ve)<D&&!qn.some($i=>Qr.from<$i&&Qr.to>$i));if(!zr){if(ve<qe.to&&o&&d&&o.visibleRanges.some(Qr=>Qr.from<=ve&&Qr.to>=ve)){let Qr=o.moveToLineBoundary(ut.cursor(ve),!1,!0).head;Qr>he&&(ve=Qr)}zr=new cu(he,ve,this.gapSize(qe,he,ve,Rt))}$.push(zr)};for(let he of this.viewportLines){if(he.length<L)continue;let ve=sf(he.from,he.to,this.stateDeco);if(ve.total<L)continue;let qe=this.scrollTarget?this.scrollTarget.range.head:null,Rt,En;if(d){let qn=g/this.heightOracle.lineLength*this.heightOracle.lineHeight,zr,Qr;if(qe!=null){let $i=ro(ve,qe),_s=((this.visibleBottom-this.visibleTop)/2+qn)/he.height;zr=$i-_s,Qr=$i+_s}else zr=(this.visibleTop-he.top-qn)/he.height,Qr=(this.visibleBottom-he.top+qn)/he.height;Rt=Bl(ve,zr),En=Bl(ve,Qr)}else{let qn=ve.total*this.heightOracle.charWidth,zr=g*this.heightOracle.charWidth,Qr,$i;if(qe!=null){let _s=ro(ve,qe),ea=((this.pixelViewport.right-this.pixelViewport.left)/2+zr)/qn;Qr=_s-ea,$i=_s+ea}else Qr=(this.pixelViewport.left-zr)/qn,$i=(this.pixelViewport.right+zr)/qn;Rt=Bl(ve,Qr),En=Bl(ve,$i)}Rt>he.from&&te(he.from,Rt,he,ve),En<he.to&&te(En,he.to,he,ve)}return $}gapSize(t,o,d,g){let D=ro(g,d)-ro(g,o);return this.heightOracle.lineWrapping?t.height*D:g.total*this.heightOracle.charWidth*D}updateLineGaps(t){cu.same(t,this.lineGaps)||(this.lineGaps=t,this.lineGapDeco=aa.set(t.map(o=>o.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let t=this.stateDeco;this.lineGaps.length&&(t=t.concat(this.lineGapDeco));let o=[];ke.spans(t,this.viewport.from,this.viewport.to,{span(g,D){o.push({from:g,to:D})},point(){}},20);let d=o.length!=this.visibleRanges.length||this.visibleRanges.some((g,D)=>g.from!=o[D].from||g.to!=o[D].to);return this.visibleRanges=o,d?4:0}lineBlockAt(t){return t>=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find(o=>o.from<=t&&o.to>=t)||Cd(this.heightMap.lineAt(t,Au.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(t){return Cd(this.heightMap.lineAt(this.scaler.fromDOM(t),Au.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(t){let o=this.lineBlockAtHeight(t+8);return o.from>=this.viewport.from||this.viewportLines[0].top-t>200?o:this.viewportLines[0]}elementAtHeight(t){return Cd(this.heightMap.blockAt(this.scaler.fromDOM(t),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class O0{constructor(t,o){this.from=t,this.to=o}}function sf(p,t,o){let d=[],g=p,D=0;return ke.spans(o,p,t,{span(){},point(L,$){L>g&&(d.push({from:g,to:L}),D+=L-g),g=$}},20),g<t&&(d.push({from:g,to:t}),D+=t-g),{total:D,ranges:d}}function Bl({total:p,ranges:t},o){if(o<=0)return t[0].from;if(o>=1)return t[t.length-1].to;let d=Math.floor(p*o);for(let g=0;;g++){let{from:D,to:L}=t[g],$=L-D;if(d<=$)return D+d;d-=$}}function ro(p,t){let o=0;for(let{from:d,to:g}of p.ranges){if(t<=g){o+=t-d;break}o+=g-d}return o/p.total}function Nd(p,t){for(let o of p)if(t(o))return o}const hl={toDOM(p){return p},fromDOM(p){return p},scale:1};class zh{constructor(t,o,d){let g=0,D=0,L=0;this.viewports=d.map(({from:$,to:te})=>{let he=o.lineAt($,Au.ByPos,t,0,0).top,ve=o.lineAt(te,Au.ByPos,t,0,0).bottom;return g+=ve-he,{from:$,to:te,top:he,bottom:ve,domTop:0,domBottom:0}}),this.scale=(7e6-g)/(o.height-g);for(let $ of this.viewports)$.domTop=L+($.top-D)*this.scale,L=$.domBottom=$.domTop+($.bottom-$.top),D=$.bottom}toDOM(t){for(let o=0,d=0,g=0;;o++){let D=o<this.viewports.length?this.viewports[o]:null;if(!D||t<D.top)return g+(t-d)*this.scale;if(t<=D.bottom)return D.domTop+(t-D.top);d=D.bottom,g=D.domBottom}}fromDOM(t){for(let o=0,d=0,g=0;;o++){let D=o<this.viewports.length?this.viewports[o]:null;if(!D||t<D.domTop)return d+(t-g)/this.scale;if(t<=D.domBottom)return D.top+(t-D.domTop);d=D.bottom,g=D.domBottom}}}function Cd(p,t){if(t.scale==1)return p;let o=t.toDOM(p.top),d=t.toDOM(p.bottom);return new Ll(p.from,p.length,o,d-o,Array.isArray(p._content)?p._content.map(g=>Cd(g,t)):p._content)}const Pd=ln.define({combine:p=>p.join(" ")}),nd=ln.define({combine:p=>p.indexOf(!0)>-1}),Ca=Ko.newName(),Gu=Ko.newName(),vc=Ko.newName(),ud={"&light":"."+Gu,"&dark":"."+vc};function Xd(p,t,o){return new Ko(t,{finish(d){return/&/.test(d)?d.replace(/&\w*/,g=>{if(g=="&")return p;if(!o||!o[g])throw new RangeError(`Unsupported selector: ${g}`);return o[g]}):p+" "+d}})}const Lf=Xd("."+Ca,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="20"><path stroke="%23888" stroke-width="1" fill="none" d="M1 10H196L190 5M190 15L196 10M197 4L197 16"/></svg>')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},ud),Ld="\uFFFF";class K0{constructor(t,o){this.points=t,this.text="",this.lineSeparator=o.facet(Ha.lineSeparator)}append(t){this.text+=t}lineBreak(){this.text+=Ld}readRange(t,o){if(!t)return this;let d=t.parentNode;for(let g=t;;){this.findPointBefore(d,g);let D=this.text.length;this.readNode(g);let L=g.nextSibling;if(L==o)break;let $=Ta.get(g),te=Ta.get(L);($&&te?$.breakAfter:($?$.breakAfter:Y0(g))||Y0(L)&&(g.nodeName!="BR"||g.cmIgnore)&&this.text.length>D)&&this.lineBreak(),g=L}return this.findPointBefore(d,o),this}readTextNode(t){let o=t.nodeValue;for(let d of this.points)d.node==t&&(d.pos=this.text.length+Math.min(d.offset,o.length));for(let d=0,g=this.lineSeparator?null:/\r\n?|\n/g;;){let D=-1,L=1,$;if(this.lineSeparator?(D=o.indexOf(this.lineSeparator,d),L=this.lineSeparator.length):($=g.exec(o))&&(D=$.index,L=$[0].length),this.append(o.slice(d,D<0?o.length:D)),D<0)break;if(this.lineBreak(),L>1)for(let te of this.points)te.node==t&&te.pos>this.text.length&&(te.pos-=L-1);d=D+L}}readNode(t){if(t.cmIgnore)return;let o=Ta.get(t),d=o&&o.overrideDOMText;if(d!=null){this.findPointInside(t,d.length);for(let g=d.iter();!g.next().done;)g.lineBreak?this.lineBreak():this.append(g.value)}else t.nodeType==3?this.readTextNode(t):t.nodeName=="BR"?t.nextSibling&&this.lineBreak():t.nodeType==1&&this.readRange(t.firstChild,null)}findPointBefore(t,o){for(let d of this.points)d.node==t&&t.childNodes[d.offset]==o&&(d.pos=this.text.length)}findPointInside(t,o){for(let d of this.points)(t.nodeType==3?d.node==t:t.contains(d.node))&&(d.pos=this.text.length+(af(t,d.node,d.offset)?o:0))}}function af(p,t,o){for(;;){if(!t||o<gn(t))return!1;if(t==p)return!0;o=zn(t)+1,t=t.parentNode}}function Y0(p){return p.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(p.nodeName)}class rd{constructor(t,o){this.node=t,this.offset=o,this.pos=-1}}class r0{constructor(t,o,d,g){this.typeOver=g,this.bounds=null,this.text="";let{impreciseHead:D,impreciseAnchor:L}=t.docView;if(t.state.readOnly&&o>-1)this.newSel=null;else if(o>-1&&(this.bounds=t.docView.domBoundsAround(o,d,0))){let $=D||L?[]:qf(t),te=new K0($,t.state);te.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=te.text,this.newSel=yl($,this.bounds.from)}else{let $=t.observer.selectionRange,te=D&&D.node==$.focusNode&&D.offset==$.focusOffset||!T0(t.contentDOM,$.focusNode)?t.state.selection.main.head:t.docView.posFromDOM($.focusNode,$.focusOffset),he=L&&L.node==$.anchorNode&&L.offset==$.anchorOffset||!T0(t.contentDOM,$.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM($.anchorNode,$.anchorOffset),ve=t.viewport;if(xs.ios&&t.state.selection.main.empty&&te!=he&&(ve.from>0||ve.to<t.state.doc.length)){let qe=ve.from-Math.min(te,he),Rt=ve.to-Math.max(te,he);(qe==0||qe==1)&&(Rt==0||Rt==-1)&&(te=0,he=t.state.doc.length)}this.newSel=ut.single(he,te)}}}function Bd(p,t){let o,{newSel:d}=t,g=p.state.selection.main,D=p.inputState.lastKeyTime>Date.now()-100?p.inputState.lastKeyCode:-1;if(t.bounds){let{from:L,to:$}=t.bounds,te=g.from,he=null;(D===8||xs.android&&t.text.length<$-L)&&(te=g.to,he="end");let ve=Jf(p.state.doc.sliceString(L,$,Ld),t.text,te-L,he);ve&&(xs.chrome&&D==13&&ve.toB==ve.from+2&&t.text.slice(ve.from,ve.toB)==Ld+Ld&&ve.toB--,o={from:L+ve.from,to:L+ve.toA,insert:$t.of(t.text.slice(ve.from,ve.toB).split(Ld))})}else d&&(!p.hasFocus&&p.state.facet(Is)||d.main.eq(g))&&(d=null);if(!o&&!d)return!1;if(!o&&t.typeOver&&!g.empty&&d&&d.main.empty?o={from:g.from,to:g.to,insert:p.state.doc.slice(g.from,g.to)}:o&&o.from>=g.from&&o.to<=g.to&&(o.from!=g.from||o.to!=g.to)&&g.to-g.from-(o.to-o.from)<=4?o={from:g.from,to:g.to,insert:p.state.doc.slice(g.from,o.from).append(o.insert).append(p.state.doc.slice(o.to,g.to))}:(xs.mac||xs.android)&&o&&o.from==o.to&&o.from==g.head-1&&/^\. ?$/.test(o.insert.toString())&&p.contentDOM.getAttribute("autocorrect")=="off"?(d&&o.insert.length==2&&(d=ut.single(d.main.anchor-1,d.main.head-1)),o={from:g.from,to:g.to,insert:$t.of([" "])}):xs.chrome&&o&&o.from==o.to&&o.from==g.head&&o.insert.toString()==`
 `&&p.lineWrapping&&(d&&(d=ut.single(d.main.anchor-1,d.main.head-1)),o={from:g.from,to:g.to,insert:$t.of([" "])}),o){if(xs.ios&&p.inputState.flushIOSKey()||xs.android&&(o.from==g.from&&o.to==g.to&&o.insert.length==1&&o.insert.lines==2&&qa(p.contentDOM,"Enter",13)||(o.from==g.from-1&&o.to==g.to&&o.insert.length==0||D==8&&o.insert.length<o.to-o.from&&o.to>g.head)&&qa(p.contentDOM,"Backspace",8)||o.from==g.from&&o.to==g.to+1&&o.insert.length==0&&qa(p.contentDOM,"Delete",46)))return!0;let L=o.insert.toString();p.inputState.composing>=0&&p.inputState.composing++;let $,te=()=>$||($=Co(p,o,d));return p.state.facet(Lc).some(he=>he(p,o.from,o.to,L,te))||p.dispatch(te()),!0}else if(d&&!d.main.eq(g)){let L=!1,$="select";return p.inputState.lastSelectionTime>Date.now()-50&&(p.inputState.lastSelectionOrigin=="select"&&(L=!0),$=p.inputState.lastSelectionOrigin),p.dispatch({selection:d,scrollIntoView:L,userEvent:$}),!0}else return!1}function Co(p,t,o){let d,g=p.state,D=g.selection.main;if(t.from>=D.from&&t.to<=D.to&&t.to-t.from>=(D.to-D.from)/3&&(!o||o.main.empty&&o.main.from==t.from+t.insert.length)&&p.inputState.composing<0){let $=D.from<t.from?g.sliceDoc(D.from,t.from):"",te=D.to>t.to?g.sliceDoc(t.to,D.to):"";d=g.replaceSelection(p.state.toText($+t.insert.sliceString(0,void 0,p.state.lineBreak)+te))}else{let $=g.changes(t),te=o&&o.main.to<=$.newLength?o.main:void 0;if(g.selection.ranges.length>1&&p.inputState.composing>=0&&t.to<=D.to&&t.to>=D.to-10){let he=p.state.sliceDoc(t.from,t.to),ve,qe=o&&Ds(p,o.main.head);if(qe){let qn=t.insert.length-(t.to-t.from);ve={from:qe.from,to:qe.to-qn}}else ve=p.state.doc.lineAt(D.head);let Rt=D.to-t.to,En=D.to-D.from;d=g.changeByRange(qn=>{if(qn.from==D.from&&qn.to==D.to)return{changes:$,range:te||qn.map($)};let zr=qn.to-Rt,Qr=zr-he.length;if(qn.to-qn.from!=En||p.state.sliceDoc(Qr,zr)!=he||qn.to>=ve.from&&qn.from<=ve.to)return{range:qn};let $i=g.changes({from:Qr,to:zr,insert:t.insert}),_s=qn.to-D.to;return{changes:$i,range:te?ut.range(Math.max(0,te.anchor+_s),Math.max(0,te.head+_s)):qn.map($i)}})}else d={changes:$,selection:te&&g.selection.replaceRange(te)}}let L="input.type";return(p.composing||p.inputState.compositionPendingChange&&p.inputState.compositionEndedAt>Date.now()-50)&&(p.inputState.compositionPendingChange=!1,L+=".compose",p.inputState.compositionFirstChange&&(L+=".start",p.inputState.compositionFirstChange=!1)),g.update(d,{userEvent:L,scrollIntoView:!0})}function Jf(p,t,o,d){let g=Math.min(p.length,t.length),D=0;for(;D<g&&p.charCodeAt(D)==t.charCodeAt(D);)D++;if(D==g&&p.length==t.length)return null;let L=p.length,$=t.length;for(;L>0&&$>0&&p.charCodeAt(L-1)==t.charCodeAt($-1);)L--,$--;if(d=="end"){let te=Math.max(0,D-Math.min(L,$));o-=L+te-D}if(L<D&&p.length<t.length){let te=o<=D&&o>=L?D-o:0;D-=te,$=D+($-L),L=D}else if($<D){let te=o<=D&&o>=$?D-o:0;D-=te,L=D+(L-$),$=D}return{from:D,toA:L,toB:$}}function qf(p){let t=[];if(p.root.activeElement!=p.contentDOM)return t;let{anchorNode:o,anchorOffset:d,focusNode:g,focusOffset:D}=p.observer.selectionRange;return o&&(t.push(new rd(o,d)),(g!=o||D!=d)&&t.push(new rd(g,D))),t}function yl(p,t){if(p.length==0)return null;let o=p[0].pos,d=p.length==2?p[1].pos:o;return o>-1&&d>-1?ut.single(o+t,d+t):null}const Gc={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ql=xs.ie&&xs.ie_version<=11;class Jd{constructor(t){this.view=t,this.active=!1,this.selectionRange=new ta,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver(o=>{for(let d of o)this.queue.push(d);(xs.ie&&xs.ie_version<=11||xs.ios&&t.composing)&&o.some(d=>d.type=="childList"&&d.removedNodes.length||d.type=="characterData"&&d.oldValue.length>d.target.nodeValue.length)?this.flushSoon():this.flush()}),ql&&(this.onCharData=o=>{this.queue.push({target:o.target,type:"characterData",oldValue:o.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var o;((o=this.view.docView)===null||o===void 0?void 0:o.lastUpdate)<Date.now()-75&&this.onResize()}),this.resizeScroll.observe(t.scrollDOM)),this.addWindowListeners(this.win=t.win),this.start(),typeof IntersectionObserver=="function"&&(this.intersection=new IntersectionObserver(o=>{this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),o.length>0&&o[o.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(o=>{o.length>0&&o[o.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some((o,d)=>o!=t[d]))){this.gapIntersection.disconnect();for(let o of t)this.gapIntersection.observe(o);this.gaps=t}}onSelectionChange(t){let o=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:d}=this,g=this.selectionRange;if(d.state.facet(Is)?d.root.activeElement!=this.dom:!P0(d.dom,g))return;let D=g.anchorNode&&d.docView.nearest(g.anchorNode);if(D&&D.ignoreEvent(t)){o||(this.selectionChanged=!1);return}(xs.ie&&xs.ie_version<=11||xs.android&&xs.chrome)&&!d.state.selection.main.empty&&g.focusNode&&Qc(g.focusNode,g.focusOffset,g.anchorNode,g.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,o=xs.safari&&t.root.nodeType==11&&N0(this.dom.ownerDocument)==this.dom&&of(this.view)||bc(t.root);if(!o||this.selectionRange.eq(o))return!1;let d=P0(this.dom,o);return d&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime<Date.now()-300&&Wo(this.dom,o)?(this.view.inputState.lastFocusTime=0,t.docView.updateSelection(),!1):(this.selectionRange.setRange(o),d&&(this.selectionChanged=!0),!0)}setSelectionRange(t,o){this.selectionRange.set(t.node,t.offset,o.node,o.offset),this.selectionChanged=!1}clearSelectionRange(){this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1;let t=0,o=null;for(let d=this.dom;d;)if(d.nodeType==1)!o&&t<this.scrollTargets.length&&this.scrollTargets[t]==d?t++:o||(o=this.scrollTargets.slice(0,t)),o&&o.push(d),d=d.assignedSlot||d.parentNode;else if(d.nodeType==11)d=d.host;else break;if(t<this.scrollTargets.length&&!o&&(o=this.scrollTargets.slice(0,t)),o){for(let d of this.scrollTargets)d.removeEventListener("scroll",this.onScroll);for(let d of this.scrollTargets=o)d.addEventListener("scroll",this.onScroll)}}ignore(t){if(!this.active)return t();try{return this.stop(),t()}finally{this.start(),this.clear()}}start(){this.active||(this.observer.observe(this.dom,Gc),ql&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.active=!0)}stop(){this.active&&(this.active=!1,this.observer.disconnect(),ql&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}delayAndroidKey(t,o){var d;if(!this.delayedAndroidKey){let g=()=>{let D=this.delayedAndroidKey;D&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=D.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&D.force&&qa(this.dom,D.key,D.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(g)}(!this.delayedAndroidKey||t=="Enter")&&(this.delayedAndroidKey={key:t,keyCode:o,force:this.lastChange<Date.now()-50||!!(!((d=this.delayedAndroidKey)===null||d===void 0)&&d.force)})}clearDelayedAndroidKey(){this.win.cancelAnimationFrame(this.flushingAndroidKey),this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame(()=>{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[]);let o=-1,d=-1,g=!1;for(let D of t){let L=this.readMutation(D);L&&(L.typeOver&&(g=!0),o==-1?{from:o,to:d}=L:(o=Math.min(L.from,o),d=Math.max(L.to,d)))}return{from:o,to:d,typeOver:g}}readChange(){let{from:t,to:o,typeOver:d}=this.processRecords(),g=this.selectionChanged&&P0(this.dom,this.selectionRange);if(t<0&&!g)return null;t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let D=new r0(this.view,t,o,d);return this.view.docView.domChanged={newSel:D.newSel?D.newSel.main:null},D}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let o=this.readChange();if(!o)return this.view.requestMeasure(),!1;let d=this.view.state,g=Bd(this.view,o);return this.view.state==d&&this.view.update([]),g}readMutation(t){let o=this.view.docView.nearest(t.target);if(!o||o.ignoreMutation(t))return null;if(o.markDirty(t.type=="attributes"),t.type=="attributes"&&(o.flags|=4),t.type=="childList"){let d=R0(o,t.previousSibling||t.target.previousSibling,-1),g=R0(o,t.nextSibling||t.target.nextSibling,1);return{from:d?o.posAfter(d):o.posAtStart,to:g?o.posBefore(g):o.posAtEnd,typeOver:!1}}else return t.type=="characterData"?{from:o.posAtStart,to:o.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var t,o,d;this.stop(),(t=this.intersection)===null||t===void 0||t.disconnect(),(o=this.gapIntersection)===null||o===void 0||o.disconnect(),(d=this.resizeScroll)===null||d===void 0||d.disconnect();for(let g of this.scrollTargets)g.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function R0(p,t,o){for(;t;){let d=Ta.get(t);if(d&&d.parent==p)return d;let g=t.parentNode;t=g!=p.dom?g:o>0?t.nextSibling:t.previousSibling}return null}function of(p){let t=null;function o(te){te.preventDefault(),te.stopImmediatePropagation(),t=te.getTargetRanges()[0]}if(p.contentDOM.addEventListener("beforeinput",o,!0),p.dom.ownerDocument.execCommand("indent"),p.contentDOM.removeEventListener("beforeinput",o,!0),!t)return null;let d=t.startContainer,g=t.startOffset,D=t.endContainer,L=t.endOffset,$=p.docView.domAtPos(p.state.selection.main.anchor);return Qc($.node,$.offset,D,L)&&([d,g,D,L]=[D,L,d,g]),{anchorNode:d,anchorOffset:g,focusNode:D,focusOffset:L}}class Rs{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(t={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),t.parent&&t.parent.appendChild(this.dom);let{dispatch:o}=t;this.dispatchTransactions=t.dispatchTransactions||o&&(d=>d.forEach(g=>o(g,this)))||(d=>this.update(d)),this.dispatch=this.dispatch.bind(this),this._root=t.root||fo(t.parent)||document,this.viewState=new gc(t.state||Ha.create(t)),t.scrollTo&&t.scrollTo.is(Go)&&(this.viewState.scrollTarget=t.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Fu).map(d=>new pc(d));for(let d of this.plugins)d.update(this);this.observer=new Jd(this),this.inputState=new ji(this),this.inputState.ensureHandlers(this.plugins),this.docView=new Fi(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...t){let o=t.length==1&&t[0]instanceof ns?t:t.length==1&&Array.isArray(t[0])?t[0]:[this.state.update(...t)];this.dispatchTransactions(o,this)}update(t){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let o=!1,d=!1,g,D=this.state;for(let Rt of t){if(Rt.startState!=D)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");D=Rt.state}if(this.destroyed){this.viewState.state=D;return}let L=this.hasFocus,$=0,te=null;t.some(Rt=>Rt.annotation(Zd))?(this.inputState.notifiedFocused=L,$=1):L!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=L,te=Rl(D,L),te||($=1));let he=this.observer.delayedAndroidKey,ve=null;if(he?(this.observer.clearDelayedAndroidKey(),ve=this.observer.readChange(),(ve&&!this.state.doc.eq(D.doc)||!this.state.selection.eq(D.selection))&&(ve=null)):this.observer.clear(),D.facet(Ha.phrases)!=this.state.facet(Ha.phrases))return this.setState(D);g=Bi.create(this,D,t),g.flags|=$;let qe=this.viewState.scrollTarget;try{this.updateState=2;for(let Rt of t){if(qe&&(qe=qe.map(Rt.changes)),Rt.scrollIntoView){let{main:En}=Rt.state.selection;qe=new Iu(En.empty?En:ut.cursor(En.head,En.head>En.anchor?-1:1))}for(let En of Rt.effects)En.is(Go)&&(qe=En.value.clip(this.state))}this.viewState.update(g,qe),this.bidiCache=Fd.update(this.bidiCache,g.changes),g.empty||(this.updatePlugins(g),this.inputState.update(g)),o=this.docView.update(g),this.state.facet(li)!=this.styleModules&&this.mountStyles(),d=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(o,t.some(Rt=>Rt.isUserEvent("select.pointer")))}finally{this.updateState=0}if(g.startState.facet(Pd)!=g.state.facet(Pd)&&(this.viewState.mustMeasureContent=!0),(o||d||qe||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),!g.empty)for(let Rt of this.state.facet(Pc))try{Rt(g)}catch(En){zo(this.state,En,"update listener")}(te||ve)&&Promise.resolve().then(()=>{te&&this.state==te.startState&&this.dispatch(te),ve&&!Bd(this,ve)&&he.force&&qa(this.contentDOM,he.key,he.keyCode)})}setState(t){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=t;return}this.updateState=2;let o=this.hasFocus;try{for(let d of this.plugins)d.destroy(this);this.viewState=new gc(t),this.plugins=t.facet(Fu).map(d=>new pc(d)),this.pluginMap.clear();for(let d of this.plugins)d.update(this);this.docView.destroy(),this.docView=new Fi(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}o&&this.focus(),this.requestMeasure()}updatePlugins(t){let o=t.startState.facet(Fu),d=t.state.facet(Fu);if(o!=d){let g=[];for(let D of d){let L=o.indexOf(D);if(L<0)g.push(new pc(D));else{let $=this.plugins[L];$.mustUpdate=t,g.push($)}}for(let D of this.plugins)D.mustUpdate!=t&&D.destroy(this);this.plugins=g,this.pluginMap.clear()}else for(let g of this.plugins)g.mustUpdate=t;for(let g=0;g<this.plugins.length;g++)this.plugins[g].update(this);o!=d&&this.inputState.ensureHandlers(this.plugins)}measure(t=!0){if(this.destroyed)return;if(this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,t&&this.observer.forceFlush();let o=null,d=this.scrollDOM,g=d.scrollTop*this.scaleY,{scrollAnchorPos:D,scrollAnchorHeight:L}=this.viewState;Math.abs(g-this.viewState.scrollTop)>1&&(L=-1),this.viewState.scrollAnchorHeight=-1;try{for(let $=0;;$++){if(L<0)if(ou(d))D=-1,L=this.viewState.heightMap.height;else{let En=this.viewState.scrollAnchorAt(g);D=En.from,L=En.top}this.updateState=1;let te=this.viewState.measure(this);if(!te&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if($>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let he=[];te&4||([this.measureRequests,he]=[he,this.measureRequests]);let ve=he.map(En=>{try{return En.read(this)}catch(qn){return zo(this.state,qn),id}}),qe=Bi.create(this,this.state,[]),Rt=!1;qe.flags|=te,o?o.flags|=te:o=qe,this.updateState=2,qe.empty||(this.updatePlugins(qe),this.inputState.update(qe),this.updateAttrs(),Rt=this.docView.update(qe));for(let En=0;En<he.length;En++)if(ve[En]!=id)try{let qn=he[En];qn.write&&qn.write(ve[En],this)}catch(qn){zo(this.state,qn)}if(Rt&&this.docView.updateSelection(!0),!qe.viewportChanged&&this.measureRequests.length==0){if(this.viewState.editorHeight)if(this.viewState.scrollTarget){this.docView.scrollIntoView(this.viewState.scrollTarget),this.viewState.scrollTarget=null,L=-1;continue}else{let qn=(D<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(D).top)-L;if(qn>1||qn<-1){g=g+qn,d.scrollTop=g/this.scaleY,L=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(o&&!o.empty)for(let $ of this.state.facet(Pc))$(o)}get themeClasses(){return Ca+" "+(this.state.facet(nd)?vc:Gu)+" "+this.state.facet(Pd)}updateAttrs(){let t=uf(this,n0,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),o={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Is)?"true":"false",class:"cm-content",style:`${xs.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(o["aria-readonly"]="true"),uf(this,Wl,o);let d=this.observer.ignore(()=>{let g=fc(this.contentDOM,this.contentAttrs,o),D=fc(this.dom,this.editorAttrs,t);return g||D});return this.editorAttrs=t,this.contentAttrs=o,d}showAnnouncements(t){let o=!0;for(let d of t)for(let g of d.effects)if(g.is(Rs.announce)){o&&(this.announceDOM.textContent=""),o=!1;let D=this.announceDOM.appendChild(document.createElement("div"));D.textContent=g.value}}mountStyles(){this.styleModules=this.state.facet(li);let t=this.state.facet(Rs.cspNonce);Ko.mount(this.root,this.styleModules.concat(Lf).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),t){if(this.measureRequests.indexOf(t)>-1)return;if(t.key!=null){for(let o=0;o<this.measureRequests.length;o++)if(this.measureRequests[o].key===t.key){this.measureRequests[o]=t;return}}this.measureRequests.push(t)}}plugin(t){let o=this.pluginMap.get(t);return(o===void 0||o&&o.spec!=t)&&this.pluginMap.set(t,o=this.plugins.find(d=>d.spec==t)||null),o&&o.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,o,d){return Ti(this,t,Bn(this,t,o,d))}moveByGroup(t,o){return Ti(this,t,Bn(this,t,o,d=>ir(this,t.head,d)))}visualLineSide(t,o){let d=this.bidiSpans(t),g=this.textDirectionAt(t.from),D=d[o?d.length-1:0];return ut.cursor(D.side(o,g)+t.from,D.forward(!o,g)?1:-1)}moveToLineBoundary(t,o,d=!0){return Qt(this,t,o,d)}moveVertically(t,o,d){return Ti(this,t,Pr(this,t,o,d))}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,o=0){return this.docView.posFromDOM(t,o)}posAtCoords(t,o=!0){return this.readMeasured(),xt(this,t,o)}coordsAtPos(t,o=1){this.readMeasured();let d=this.docView.coordsAt(t,o);if(!d||d.left==d.right)return d;let g=this.state.doc.lineAt(t),D=this.bidiSpans(g),L=D[Xl.find(D,t-g.from,-1,o)];return tr(d,L.dir==eo.LTR==o>0)}coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar(t)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(Ts)||t<this.viewport.from||t>this.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>Bf)return hc(t.length);let o=this.textDirectionAt(t.from),d;for(let D of this.bidiCache)if(D.from==t.from&&D.dir==o&&(D.fresh||Nc(D.isolates,d=fr(this,t))))return D.order;d||(d=fr(this,t));let g=$c(t.text,o,d);return this.bidiCache.push(new Fd(t.from,t.to,o,d,!0,g)),g}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||xs.safari&&((t=this.inputState)===null||t===void 0?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Aa(this.contentDOM),this.docView.updateSelection()})}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((t.nodeType==9?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,o={}){return Go.of(new Iu(typeof t=="number"?ut.cursor(t):t,o.y,o.x,o.yMargin,o.xMargin))}scrollSnapshot(){let{scrollTop:t,scrollLeft:o}=this.scrollDOM,d=this.viewState.scrollAnchorAt(t);return Go.of(new Iu(ut.cursor(d.from),"start","start",d.top-t,o,!0))}static domEventHandlers(t){return na.define(()=>({}),{eventHandlers:t})}static domEventObservers(t){return na.define(()=>({}),{eventObservers:t})}static theme(t,o){let d=Ko.newName(),g=[Pd.of(d),li.of(Xd(`.${d}`,t))];return o&&o.dark&&g.push(nd.of(!0)),g}static baseTheme(t){return bs.lowest(li.of(Xd("."+Ca,t,ud)))}static findFromDOM(t){var o;let d=t.querySelector(".cm-content"),g=d&&Ta.get(d)||Ta.get(t);return((o=g?.rootView)===null||o===void 0?void 0:o.view)||null}}Rs.styleModule=li,Rs.inputHandler=Lc,Rs.focusChangeEffect=$l,Rs.perLineTextDirection=Ts,Rs.exceptionSink=xl,Rs.updateListener=Pc,Rs.editable=Is,Rs.mouseSelectionStyle=Pl,Rs.dragMovesSelection=t0,Rs.clickAddsSelectionRange=A0,Rs.decorations=et,Rs.outerDecorations=pn,Rs.atomicRanges=Tn,Rs.bidiIsolatedRanges=Kn,Rs.scrollMargins=Sr,Rs.darkTheme=nd,Rs.cspNonce=ln.define({combine:p=>p.length?p[0]:""}),Rs.contentAttributes=Wl,Rs.editorAttributes=n0,Rs.lineWrapping=Rs.contentAttributes.of({class:"cm-lineWrapping"}),Rs.announce=Vi.define();const Bf=4096,id={};class Fd{constructor(t,o,d,g,D,L){this.from=t,this.to=o,this.dir=d,this.isolates=g,this.fresh=D,this.order=L}static update(t,o){if(o.empty&&!t.some(D=>D.fresh))return t;let d=[],g=t.length?t[t.length-1].dir:eo.LTR;for(let D=Math.max(0,t.length-10);D<t.length;D++){let L=t[D];L.dir==g&&!o.touchesRange(L.from,L.to)&&d.push(new Fd(o.mapPos(L.from,1),o.mapPos(L.to,-1),L.dir,L.isolates,!1,L.order))}return d}}function uf(p,t,o){for(let d=p.state.facet(t),g=d.length-1;g>=0;g--){let D=d[g],L=typeof D=="function"?D(p):D;L&&qc(L,o)}return o}const Ff=xs.mac?"mac":xs.windows?"win":xs.linux?"linux":"key";function kf(p,t){const o=p.split(/-(?!$)/);let d=o[o.length-1];d=="Space"&&(d=" ");let g,D,L,$;for(let te=0;te<o.length-1;++te){const he=o[te];if(/^(cmd|meta|m)$/i.test(he))$=!0;else if(/^a(lt)?$/i.test(he))g=!0;else if(/^(c|ctrl|control)$/i.test(he))D=!0;else if(/^s(hift)?$/i.test(he))L=!0;else if(/^mod$/i.test(he))t=="mac"?$=!0:D=!0;else throw new Error("Unrecognized modifier name: "+he)}return g&&(d="Alt-"+d),D&&(d="Ctrl-"+d),$&&(d="Meta-"+d),L&&(d="Shift-"+d),d}function Sd(p,t,o){return t.altKey&&(p="Alt-"+p),t.ctrlKey&&(p="Ctrl-"+p),t.metaKey&&(p="Meta-"+p),o!==!1&&t.shiftKey&&(p="Shift-"+p),p}const qd=bs.default(Rs.domEventHandlers({keydown(p,t){return bl(ld(t.state),p,t,"editor")}})),du=ln.define({enables:qd}),k0=new WeakMap;function ld(p){let t=p.facet(du),o=k0.get(t);return o||k0.set(t,o=eh(t.reduce((d,g)=>d.concat(g),[]))),o}function vi(p,t,o){return bl(ld(p.state),t,p,o)}let cd=null;const kd=4e3;function eh(p,t=Ff){let o=Object.create(null),d=Object.create(null),g=(L,$)=>{let te=d[L];if(te==null)d[L]=$;else if(te!=$)throw new Error("Key binding "+L+" is used both as a regular binding and as a multi-stroke prefix")},D=(L,$,te,he,ve)=>{var qe,Rt;let En=o[L]||(o[L]=Object.create(null)),qn=$.split(/ (?!$)/).map($i=>kf($i,t));for(let $i=1;$i<qn.length;$i++){let _s=qn.slice(0,$i).join(" ");g(_s,!0),En[_s]||(En[_s]={preventDefault:!0,stopPropagation:!1,run:[ea=>{let Ws=cd={view:ea,prefix:_s,scope:L};return setTimeout(()=>{cd==Ws&&(cd=null)},kd),!0}]})}let zr=qn.join(" ");g(zr,!1);let Qr=En[zr]||(En[zr]={preventDefault:!1,stopPropagation:!1,run:((Rt=(qe=En._any)===null||qe===void 0?void 0:qe.run)===null||Rt===void 0?void 0:Rt.slice())||[]});te&&Qr.run.push(te),he&&(Qr.preventDefault=!0),ve&&(Qr.stopPropagation=!0)};for(let L of p){let $=L.scope?L.scope.split(" "):["editor"];if(L.any)for(let he of $){let ve=o[he]||(o[he]=Object.create(null));ve._any||(ve._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let qe in ve)ve[qe].run.push(L.any)}let te=L[t]||L.key;if(te)for(let he of $)D(he,te,L.run,L.preventDefault,L.stopPropagation),L.shift&&D(he,"Shift-"+te,L.shift,L.preventDefault,L.stopPropagation)}return o}function bl(p,t,o,d){let g=S0(t),D=ft(g,0),L=qt(D)==g.length&&g!=" ",$="",te=!1,he=!1,ve=!1;cd&&cd.view==o&&cd.scope==d&&($=cd.prefix+" ",Js.indexOf(t.keyCode)<0&&(he=!0,cd=null));let qe=new Set,Rt=Qr=>{if(Qr){for(let $i of Qr.run)if(!qe.has($i)&&(qe.add($i),$i(o,t)))return Qr.stopPropagation&&(ve=!0),!0;Qr.preventDefault&&(Qr.stopPropagation&&(ve=!0),he=!0)}return!1},En=p[d],qn,zr;return En&&(Rt(En[$+Sd(g,t,!L)])?te=!0:L&&(t.altKey||t.metaKey||t.ctrlKey)&&!(xs.windows&&t.ctrlKey&&t.altKey)&&(qn=Ul[t.keyCode])&&qn!=g?(Rt(En[$+Sd(qn,t,!0)])||t.shiftKey&&(zr=Vc[t.keyCode])!=g&&zr!=qn&&Rt(En[$+Sd(zr,t,!1)]))&&(te=!0):L&&t.shiftKey&&Rt(En[$+Sd(g,t,!0)])&&(te=!0),!te&&Rt(En._any)&&(te=!0)),he&&(te=!0),te&&ve&&t.stopPropagation(),te}class U0{constructor(t,o,d,g,D){this.className=t,this.left=o,this.top=d,this.width=g,this.height=D}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}update(t,o){return o.className!=this.className?!1:(this.adjust(t),!0)}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",this.width!=null&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}static forRange(t,o,d){if(d.empty){let g=t.coordsAtPos(d.head,d.assoc||1);if(!g)return[];let D=tt(t);return[new U0(o,g.left-D.left,g.top-D.top,null,g.bottom-g.top)]}else return Yn(t,o,d)}}function tt(p){let t=p.scrollDOM.getBoundingClientRect();return{left:(p.textDirection==eo.LTR?t.left:t.right-p.scrollDOM.clientWidth*p.scaleX)-p.scrollDOM.scrollLeft*p.scaleX,top:t.top-p.scrollDOM.scrollTop*p.scaleY}}function hn(p,t,o){let d=ut.cursor(t);return{from:Math.max(o.from,p.moveToLineBoundary(d,!1,!0).from),to:Math.min(o.to,p.moveToLineBoundary(d,!0,!0).from),type:Zo.Text}}function Yn(p,t,o){if(o.to<=p.viewport.from||o.from>=p.viewport.to)return[];let d=Math.max(o.from,p.viewport.from),g=Math.min(o.to,p.viewport.to),D=p.textDirection==eo.LTR,L=p.contentDOM,$=L.getBoundingClientRect(),te=tt(p),he=L.querySelector(".cm-line"),ve=he&&window.getComputedStyle(he),qe=$.left+(ve?parseInt(ve.paddingLeft)+Math.min(0,parseInt(ve.textIndent)):0),Rt=$.right-(ve?parseInt(ve.paddingRight):0),En=Xn(p,d),qn=Xn(p,g),zr=En.type==Zo.Text?En:null,Qr=qn.type==Zo.Text?qn:null;if(zr&&(p.lineWrapping||En.widgetLineBreaks)&&(zr=hn(p,d,zr)),Qr&&(p.lineWrapping||qn.widgetLineBreaks)&&(Qr=hn(p,g,Qr)),zr&&Qr&&zr.from==Qr.from)return _s(ea(o.from,o.to,zr));{let Os=zr?ea(o.from,null,zr):Ws(En,!1),ua=Qr?ea(null,o.to,Qr):Ws(qn,!0),Ls=[];return(zr||En).to<(Qr||qn).from-(zr&&Qr?1:0)||En.widgetLineBreaks>1&&Os.bottom+p.defaultLineHeight/2<ua.top?Ls.push($i(qe,Os.bottom,Rt,ua.top)):Os.bottom<ua.top&&p.elementAtHeight((Os.bottom+ua.top)/2).type==Zo.Text&&(Os.bottom=ua.top=(Os.bottom+ua.top)/2),_s(Os).concat(Ls).concat(_s(ua))}function $i(Os,ua,Ls,vo){return new U0(t,Os-te.left,ua-te.top-.01,Ls-Os,vo-ua+.01)}function _s({top:Os,bottom:ua,horizontal:Ls}){let vo=[];for(let lo=0;lo<Ls.length;lo+=2)vo.push($i(Ls[lo],Os,Ls[lo+1],ua));return vo}function ea(Os,ua,Ls){let vo=1e9,lo=-1e9,Ro=[];function Mo(ul,Fc,H0,wc,X0){let vd=p.coordsAtPos(ul,ul==Ls.to?-2:2),y0=p.coordsAtPos(H0,H0==Ls.from?2:-2);!vd||!y0||(vo=Math.min(vd.top,y0.top,vo),lo=Math.max(vd.bottom,y0.bottom,lo),X0==eo.LTR?Ro.push(D&&Fc?qe:vd.left,D&&wc?Rt:y0.right):Ro.push(!D&&wc?qe:y0.left,!D&&Fc?Rt:vd.right))}let Xo=Os??Ls.from,kl=ua??Ls.to;for(let ul of p.visibleRanges)if(ul.to>Xo&&ul.from<kl)for(let Fc=Math.max(ul.from,Xo),H0=Math.min(ul.to,kl);;){let wc=p.state.doc.lineAt(Fc);for(let X0 of p.bidiSpans(wc)){let vd=X0.from+wc.from,y0=X0.to+wc.from;if(vd>=H0)break;y0>Fc&&Mo(Math.max(vd,Fc),Os==null&&vd<=Xo,Math.min(y0,H0),ua==null&&y0>=kl,X0.dir)}if(Fc=wc.to+1,Fc>=H0)break}return Ro.length==0&&Mo(Xo,Os==null,kl,ua==null,p.textDirection),{top:vo,bottom:lo,horizontal:Ro}}function Ws(Os,ua){let Ls=$.top+(ua?Os.top:Os.bottom);return{top:Ls,bottom:Ls,horizontal:[]}}}function h(p,t){return p.constructor==t.constructor&&p.eq(t)}class b{constructor(t,o){this.view=t,this.layer=o,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=t.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),o.above&&this.dom.classList.add("cm-layer-above"),o.class&&this.dom.classList.add(o.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(t.state),t.requestMeasure(this.measureReq),o.mount&&o.mount(this.dom,t)}update(t){t.startState.facet(F)!=t.state.facet(F)&&this.setOrder(t.state),(this.layer.update(t,this.dom)||t.geometryChanged)&&(this.scale(),t.view.requestMeasure(this.measureReq))}setOrder(t){let o=0,d=t.facet(F);for(;o<d.length&&d[o]!=this.layer;)o++;this.dom.style.zIndex=String((this.layer.above?150:-1)-o)}measure(){return this.layer.markers(this.view)}scale(){let{scaleX:t,scaleY:o}=this.view;(t!=this.scaleX||o!=this.scaleY)&&(this.scaleX=t,this.scaleY=o,this.dom.style.transform=`scale(${1/t}, ${1/o})`)}draw(t){if(t.length!=this.drawn.length||t.some((o,d)=>!h(o,this.drawn[d]))){let o=this.dom.firstChild,d=0;for(let g of t)g.update&&o&&g.constructor&&this.drawn[d].constructor&&g.update(o,this.drawn[d])?(o=o.nextSibling,d++):this.dom.insertBefore(g.draw(),o);for(;o;){let g=o.nextSibling;o.remove(),o=g}this.drawn=t}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const F=ln.define();function k(p){return[na.define(t=>new b(t,p)),F.of(p)]}const G=!xs.ios,ae=ln.define({combine(p){return Jo(p,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,o)=>Math.min(t,o),drawRangeCursor:(t,o)=>t||o})}});function De(p={}){return[ae.of(p),it,Zn,Tr,Xu.of(!0)]}function Xe(p){return p.facet(ae)}function lt(p){return p.startState.facet(ae)!=p.state.facet(ae)}const it=k({above:!0,markers(p){let{state:t}=p,o=t.facet(ae),d=[];for(let g of t.selection.ranges){let D=g==t.selection.main;if(g.empty?!D||G:o.drawRangeCursor){let L=D?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",$=g.empty?g:ut.cursor(g.head,g.head>g.anchor?-1:1);for(let te of U0.forRange(p,L,$))d.push(te)}}return d},update(p,t){p.transactions.some(d=>d.selection)&&(t.style.animationName=t.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let o=lt(p);return o&&Rn(p.state,t),p.docChanged||p.selectionSet||o},mount(p,t){Rn(t.state,p)},class:"cm-cursorLayer"});function Rn(p,t){t.style.animationDuration=p.facet(ae).cursorBlinkRate+"ms"}const Zn=k({above:!1,markers(p){return p.state.selection.ranges.map(t=>t.empty?[]:U0.forRange(p,"cm-selectionBackground",t)).reduce((t,o)=>t.concat(o))},update(p,t){return p.docChanged||p.selectionSet||p.viewportChanged||lt(p)},class:"cm-selectionLayer"}),Fr={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};G&&(Fr[".cm-line"].caretColor="transparent !important",Fr[".cm-content"]={caretColor:"transparent !important"});const Tr=bs.highest(Rs.theme(Fr)),ui=Vi.define({map(p,t){return p==null?null:t.mapPos(p)}}),ki=Qi.define({create(){return null},update(p,t){return p!=null&&(p=t.changes.mapPos(p)),t.effects.reduce((o,d)=>d.is(ui)?d.value:o,p)}}),cs=na.fromClass(class{constructor(p){this.view=p,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(p){var t;let o=p.state.field(ki);o==null?this.cursor!=null&&((t=this.cursor)===null||t===void 0||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(p.startState.field(ki)!=o||p.docChanged||p.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:p}=this,t=p.state.field(ki),o=t!=null&&p.coordsAtPos(t);if(!o)return null;let d=p.scrollDOM.getBoundingClientRect();return{left:o.left-d.left+p.scrollDOM.scrollLeft*p.scaleX,top:o.top-d.top+p.scrollDOM.scrollTop*p.scaleY,height:o.bottom-o.top}}drawCursor(p){if(this.cursor){let{scaleX:t,scaleY:o}=this.view;p?(this.cursor.style.left=p.left/t+"px",this.cursor.style.top=p.top/o+"px",this.cursor.style.height=p.height/o+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(p){this.view.state.field(ki)!=p&&this.view.dispatch({effects:ui.of(p)})}},{eventObservers:{dragover(p){this.setDropPos(this.view.posAtCoords({x:p.clientX,y:p.clientY}))},dragleave(p){(p.target==this.view.contentDOM||!this.view.contentDOM.contains(p.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function qi(){return[ki,cs]}function is(p,t,o,d,g){t.lastIndex=0;for(let D=p.iterRange(o,d),L=o,$;!D.next().done;L+=D.value.length)if(!D.lineBreak)for(;$=t.exec(D.value);)g(L+$.index,$)}function Ns(p,t){let o=p.visibleRanges;if(o.length==1&&o[0].from==p.viewport.from&&o[0].to==p.viewport.to)return o;let d=[];for(let{from:g,to:D}of o)g=Math.max(p.state.doc.lineAt(g).from,g-t),D=Math.min(p.state.doc.lineAt(D).to,D+t),d.length&&d[d.length-1].to>=g?d[d.length-1].to=D:d.push({from:g,to:D});return d}class Zs{constructor(t){const{regexp:o,decoration:d,decorate:g,boundary:D,maxLength:L=1e3}=t;if(!o.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=o,g)this.addMatch=($,te,he,ve)=>g(ve,he,he+$[0].length,$,te);else if(typeof d=="function")this.addMatch=($,te,he,ve)=>{let qe=d($,te,he);qe&&ve(he,he+$[0].length,qe)};else if(d)this.addMatch=($,te,he,ve)=>ve(he,he+$[0].length,d);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=D,this.maxLength=L}createDeco(t){let o=new Wt,d=o.add.bind(o);for(let{from:g,to:D}of Ns(t,this.maxLength))is(t.state.doc,this.regexp,g,D,(L,$)=>this.addMatch($,t,L,d));return o.finish()}updateDeco(t,o){let d=1e9,g=-1;return t.docChanged&&t.changes.iterChanges((D,L,$,te)=>{te>t.view.viewport.from&&$<t.view.viewport.to&&(d=Math.min($,d),g=Math.max(te,g))}),t.viewportChanged||g-d>1e3?this.createDeco(t.view):g>-1?this.updateRange(t.view,o.map(t.changes),d,g):o}updateRange(t,o,d,g){for(let D of t.visibleRanges){let L=Math.max(D.from,d),$=Math.min(D.to,g);if($>L){let te=t.state.doc.lineAt(L),he=te.to<$?t.state.doc.lineAt($):te,ve=Math.max(D.from,te.from),qe=Math.min(D.to,he.to);if(this.boundary){for(;L>te.from;L--)if(this.boundary.test(te.text[L-1-te.from])){ve=L;break}for(;$<he.to;$++)if(this.boundary.test(he.text[$-he.from])){qe=$;break}}let Rt=[],En,qn=(zr,Qr,$i)=>Rt.push($i.range(zr,Qr));if(te==he)for(this.regexp.lastIndex=ve-te.from;(En=this.regexp.exec(te.text))&&En.index<qe-te.from;)this.addMatch(En,t,En.index+te.from,qn);else is(t.state.doc,this.regexp,ve,qe,(zr,Qr)=>this.addMatch(Qr,t,zr,qn));o=o.update({filterFrom:ve,filterTo:qe,filter:(zr,Qr)=>zr<ve||Qr>qe,add:Rt})}}return o}}const wa=/x/.unicode!=null?"gu":"g",qs=new RegExp(`[\0-\b
-\x7F-\x9F\xAD\u061C\u200B\u200E\u200F\u2028\u2029\u202D\u202E\u2066\u2067\u2069\uFEFF\uFFF9-\uFFFC]`,wa),ao={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let So=null;function wl(){var p;if(So==null&&typeof document<"u"&&document.body){let t=document.body.style;So=((p=t.tabSize)!==null&&p!==void 0?p:t.MozTabSize)!=null}return So||!1}const Uu=ln.define({combine(p){let t=Jo(p,{render:null,specialChars:qs,addSpecialChars:null});return(t.replaceTabs=!wl())&&(t.specialChars=new RegExp("	|"+t.specialChars.source,wa)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,wa)),t}});function pl(p={}){return[Uu.of(p),xu()]}let Dc=null;function xu(){return Dc||(Dc=na.fromClass(class{constructor(p){this.view=p,this.decorations=aa.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(p.state.facet(Uu)),this.decorations=this.decorator.createDeco(p)}makeDecorator(p){return new Zs({regexp:p.specialChars,decoration:(t,o,d)=>{let{doc:g}=o.state,D=ft(t[0],0);if(D==9){let L=g.lineAt(d),$=o.state.tabSize,te=io(L.text,$,d-L.from);return aa.replace({widget:new ju(($-te%$)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[D]||(this.decorationCache[D]=aa.replace({widget:new al(p,D)}))},boundary:p.replaceTabs?void 0:/[^]/})}update(p){let t=p.state.facet(Uu);p.startState.facet(Uu)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(p.view)):this.decorations=this.decorator.updateDeco(p,this.decorations)}},{decorations:p=>p.decorations}))}const Bc="\u2022";function oc(p){return p>=32?Bc:p==10?"\u2424":String.fromCharCode(9216+p)}class al extends vl{constructor(t,o){super(),this.options=t,this.code=o}eq(t){return t.code==this.code}toDOM(t){let o=oc(this.code),d=t.state.phrase("Control character")+" "+(ao[this.code]||"0x"+this.code.toString(16)),g=this.options.render&&this.options.render(this.code,d,o);if(g)return g;let D=document.createElement("span");return D.textContent=o,D.title=d,D.setAttribute("aria-label",d),D.className="cm-specialChar",D}ignoreEvent(){return!1}}class ju extends vl{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent="	",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}const ml=null;function zc(){return[ml,Wl.of(p=>{var t;return((t=p.plugin(ml))===null||t===void 0?void 0:t.attrs)||null})]}function m0(){return $u}const Q0=aa.line({class:"cm-activeLine"}),$u=na.fromClass(class{constructor(p){this.decorations=this.getDeco(p)}update(p){(p.docChanged||p.selectionSet)&&(this.decorations=this.getDeco(p.view))}getDeco(p){let t=-1,o=[];for(let d of p.state.selection.ranges){let g=p.lineBlockAt(d.head);g.from>t&&(o.push(Q0.range(g.from)),t=g.from)}return aa.set(o)}},{decorations:p=>p.decorations});class ko extends vl{constructor(t){super(),this.content=t}toDOM(){let t=document.createElement("span");return t.className="cm-placeholder",t.style.pointerEvents="none",t.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?t.setAttribute("aria-label","placeholder "+this.content):t.setAttribute("aria-hidden","true"),t}coordsAt(t){let o=t.firstChild?Ql(t.firstChild):[];if(!o.length)return null;let d=window.getComputedStyle(t.parentNode),g=tr(o[0],d.direction!="rtl"),D=parseInt(d.lineHeight);return g.bottom-g.top>D*1.5?{left:g.left,right:g.right,top:g.top,bottom:g.top+D}:g}ignoreEvent(){return!1}}function tu(p){return na.fromClass(class{constructor(t){this.view=t,this.placeholder=p?aa.set([aa.widget({widget:new ko(p),side:1}).range(0)]):aa.none}get decorations(){return this.view.state.doc.length?aa.none:this.placeholder}},{decorations:t=>t.decorations})}const Cl=2e3;function ol(p,t,o){let d=Math.min(t.line,o.line),g=Math.max(t.line,o.line),D=[];if(t.off>Cl||o.off>Cl||t.col<0||o.col<0){let L=Math.min(t.off,o.off),$=Math.max(t.off,o.off);for(let te=d;te<=g;te++){let he=p.doc.line(te);he.length<=$&&D.push(ut.range(he.from+L,he.to+$))}}else{let L=Math.min(t.col,o.col),$=Math.max(t.col,o.col);for(let te=d;te<=g;te++){let he=p.doc.line(te),ve=ya(he.text,L,p.tabSize,!0);if(ve<0)D.push(ut.cursor(he.to));else{let qe=ya(he.text,$,p.tabSize);D.push(ut.range(he.from+ve,he.from+qe))}}}return D}function Ec(p,t){let o=p.coordsAtPos(p.viewport.from);return o?Math.round(Math.abs((o.left-t)/p.defaultCharacterWidth)):-1}function g0(p,t){let o=p.posAtCoords({x:t.clientX,y:t.clientY},!1),d=p.state.doc.lineAt(o),g=o-d.from,D=g>Cl?-1:g==d.length?Ec(p,t.clientX):io(d.text,p.state.tabSize,o-d.from);return{line:d.number,col:D,off:g}}function pu(p,t){let o=g0(p,t),d=p.state.selection;return o?{update(g){if(g.docChanged){let D=g.changes.mapPos(g.startState.doc.line(o.line).from),L=g.state.doc.lineAt(D);o={line:L.number,col:o.col,off:Math.min(o.off,L.length)},d=d.map(g.changes)}},get(g,D,L){let $=g0(p,g);if(!$)return d;let te=ol(p.state,o,$);return te.length?L?ut.create(te.concat(d.ranges)):ut.create(te):d}}:null}function uc(p){let t=p?.eventFilter||(o=>o.altKey&&o.button==0);return Rs.mouseSelectionStyle.of((o,d)=>t(d)?pu(o,d):null)}const Hl={Alt:[18,p=>!!p.altKey],Control:[17,p=>!!p.ctrlKey],Shift:[16,p=>!!p.shiftKey],Meta:[91,p=>!!p.metaKey]},Gl={style:"cursor: crosshair"};function _h(p={}){let[t,o]=Hl[p.key||"Alt"],d=na.fromClass(class{constructor(g){this.view=g,this.isDown=!1}set(g){this.isDown!=g&&(this.isDown=g,this.view.update([]))}},{eventObservers:{keydown(g){this.set(g.keyCode==t||o(g))},keyup(g){(g.keyCode==t||!o(g))&&this.set(!1)},mousemove(g){this.set(o(g))}}});return[d,Rs.contentAttributes.of(g=>{var D;return!((D=g.plugin(d))===null||D===void 0)&&D.isDown?Gl:null})]}const dd="-10000px";class w0{constructor(t,o,d){this.facet=o,this.createTooltipView=d,this.input=t.state.facet(o),this.tooltips=this.input.filter(g=>g),this.tooltipViews=this.tooltips.map(d)}update(t,o){var d;let g=t.state.facet(this.facet),D=g.filter(te=>te);if(g===this.input){for(let te of this.tooltipViews)te.update&&te.update(t);return!1}let L=[],$=o?[]:null;for(let te=0;te<D.length;te++){let he=D[te],ve=-1;if(he){for(let qe=0;qe<this.tooltips.length;qe++){let Rt=this.tooltips[qe];Rt&&Rt.create==he.create&&(ve=qe)}if(ve<0)L[te]=this.createTooltipView(he),$&&($[te]=!!he.above);else{let qe=L[te]=this.tooltipViews[ve];$&&($[te]=o[ve]),qe.update&&qe.update(t)}}}for(let te of this.tooltipViews)L.indexOf(te)<0&&(te.dom.remove(),(d=te.destroy)===null||d===void 0||d.call(te));return o&&($.forEach((te,he)=>o[he]=te),o.length=$.length),this.input=g,this.tooltips=D,this.tooltipViews=L,!0}}function Vh(p={}){return ia.of(p)}function Pi(p){let{win:t}=p;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}const ia=ln.define({combine:p=>{var t,o,d;return{position:xs.ios?"absolute":((t=p.find(g=>g.position))===null||t===void 0?void 0:t.position)||"fixed",parent:((o=p.find(g=>g.parent))===null||o===void 0?void 0:o.parent)||null,tooltipSpace:((d=p.find(g=>g.tooltipSpace))===null||d===void 0?void 0:d.tooltipSpace)||Pi}}}),ja=new WeakMap,Fa=na.fromClass(class{constructor(p){this.view=p,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=p.state.facet(ia);this.position=t.position,this.parent=t.parent,this.classes=p.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.manager=new w0(p,po,o=>this.createTooltip(o)),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(o=>{Date.now()>this.lastTransaction-50&&o.length>0&&o[o.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),p.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let p of this.manager.tooltipViews)this.intersectionObserver.observe(p.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(p){p.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(p,this.above);t&&this.observeIntersection();let o=t||p.geometryChanged,d=p.state.facet(ia);if(d.position!=this.position&&!this.madeAbsolute){this.position=d.position;for(let g of this.manager.tooltipViews)g.dom.style.position=this.position;o=!0}if(d.parent!=this.parent){this.parent&&this.container.remove(),this.parent=d.parent,this.createContainer();for(let g of this.manager.tooltipViews)this.container.appendChild(g.dom);o=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);o&&this.maybeMeasure()}createTooltip(p){let t=p.create(this.view);if(t.dom.classList.add("cm-tooltip"),p.arrow&&!t.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let o=document.createElement("div");o.className="cm-tooltip-arrow",t.dom.appendChild(o)}return t.dom.style.position=this.position,t.dom.style.top=dd,t.dom.style.left="0px",this.container.appendChild(t.dom),t.mount&&t.mount(this.view),t}destroy(){var p,t;this.view.win.removeEventListener("resize",this.measureSoon);for(let o of this.manager.tooltipViews)o.dom.remove(),(p=o.destroy)===null||p===void 0||p.call(o);this.parent&&this.container.remove(),(t=this.intersectionObserver)===null||t===void 0||t.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let p=this.view.dom.getBoundingClientRect(),t=1,o=1,d=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:g}=this.manager.tooltipViews[0];if(xs.gecko)d=g.offsetParent!=this.container.ownerDocument.body;else if(g.style.top==dd&&g.style.left=="0px"){let D=g.getBoundingClientRect();d=Math.abs(D.top+1e4)>1||Math.abs(D.left)>1}}if(d||this.position=="absolute")if(this.parent){let g=this.parent.getBoundingClientRect();g.width&&g.height&&(t=g.width/this.parent.offsetWidth,o=g.height/this.parent.offsetHeight)}else({scaleX:t,scaleY:o}=this.view.viewState);return{editor:p,parent:this.parent?this.container.getBoundingClientRect():p,pos:this.manager.tooltips.map((g,D)=>{let L=this.manager.tooltipViews[D];return L.getCoords?L.getCoords(g.pos):this.view.coordsAtPos(g.pos)}),size:this.manager.tooltipViews.map(({dom:g})=>g.getBoundingClientRect()),space:this.view.state.facet(ia).tooltipSpace(this.view),scaleX:t,scaleY:o,makeAbsolute:d}}writeMeasure(p){var t;if(p.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let $ of this.manager.tooltipViews)$.dom.style.position="absolute"}let{editor:o,space:d,scaleX:g,scaleY:D}=p,L=[];for(let $=0;$<this.manager.tooltips.length;$++){let te=this.manager.tooltips[$],he=this.manager.tooltipViews[$],{dom:ve}=he,qe=p.pos[$],Rt=p.size[$];if(!qe||qe.bottom<=Math.max(o.top,d.top)||qe.top>=Math.min(o.bottom,d.bottom)||qe.right<Math.max(o.left,d.left)-.1||qe.left>Math.min(o.right,d.right)+.1){ve.style.top=dd;continue}let En=te.arrow?he.dom.querySelector(".cm-tooltip-arrow"):null,qn=En?7:0,zr=Rt.right-Rt.left,Qr=(t=ja.get(he))!==null&&t!==void 0?t:Rt.bottom-Rt.top,$i=he.offset||bu,_s=this.view.textDirection==eo.LTR,ea=Rt.width>d.right-d.left?_s?d.left:d.right-Rt.width:_s?Math.min(qe.left-(En?14:0)+$i.x,d.right-zr):Math.max(d.left,qe.left-zr+(En?14:0)-$i.x),Ws=this.above[$];!te.strictSide&&(Ws?qe.top-(Rt.bottom-Rt.top)-$i.y<d.top:qe.bottom+(Rt.bottom-Rt.top)+$i.y>d.bottom)&&Ws==d.bottom-qe.bottom>qe.top-d.top&&(Ws=this.above[$]=!Ws);let Os=(Ws?qe.top-d.top:d.bottom-qe.bottom)-qn;if(Os<Qr&&he.resize!==!1){if(Os<this.view.defaultLineHeight){ve.style.top=dd;continue}ja.set(he,Qr),ve.style.height=(Qr=Os)/D+"px"}else ve.style.height&&(ve.style.height="");let ua=Ws?qe.top-Qr-qn-$i.y:qe.bottom+qn+$i.y,Ls=ea+zr;if(he.overlap!==!0)for(let vo of L)vo.left<Ls&&vo.right>ea&&vo.top<ua+Qr&&vo.bottom>ua&&(ua=Ws?vo.top-Qr-2-qn:vo.bottom+qn+2);if(this.position=="absolute"?(ve.style.top=(ua-p.parent.top)/D+"px",ve.style.left=(ea-p.parent.left)/g+"px"):(ve.style.top=ua/D+"px",ve.style.left=ea/g+"px"),En){let vo=qe.left+(_s?$i.x:-$i.x)-(ea+14-7);En.style.left=vo/g+"px"}he.overlap!==!0&&L.push({left:ea,top:ua,right:Ls,bottom:ua+Qr}),ve.classList.toggle("cm-tooltip-above",Ws),ve.classList.toggle("cm-tooltip-below",!Ws),he.positioned&&he.positioned(p.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let p of this.manager.tooltipViews)p.dom.style.top=dd}},{eventObservers:{scroll(){this.maybeMeasure()}}}),xo=Rs.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:`${7}px`,width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:`${7}px solid transparent`,borderRight:`${7}px solid transparent`},".cm-tooltip-above &":{bottom:`-${7}px`,"&:before":{borderTop:`${7}px solid #bbb`},"&:after":{borderTop:`${7}px solid #f5f5f5`,bottom:"1px"}},".cm-tooltip-below &":{top:`-${7}px`,"&:before":{borderBottom:`${7}px solid #bbb`},"&:after":{borderBottom:`${7}px solid #f5f5f5`,top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),bu={x:0,y:0},po=ln.define({enables:[Fa,xo]}),Mu=ln.define();class Td{static create(t){return new Td(t)}constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new w0(t,Mu,o=>this.createHostedView(o))}createHostedView(t){let o=t.create(this.view);return o.dom.classList.add("cm-tooltip-section"),this.dom.appendChild(o.dom),this.mounted&&o.mount&&o.mount(this.view),o}mount(t){for(let o of this.manager.tooltipViews)o.mount&&o.mount(t);this.mounted=!0}positioned(t){for(let o of this.manager.tooltipViews)o.positioned&&o.positioned(t)}update(t){this.manager.update(t)}destroy(){var t;for(let o of this.manager.tooltipViews)(t=o.destroy)===null||t===void 0||t.call(o)}passProp(t){let o;for(let d of this.manager.tooltipViews){let g=d[t];if(g!==void 0){if(o===void 0)o=g;else if(o!==g)return}}return o}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const Uf=po.compute([Mu],p=>{let t=p.facet(Mu).filter(o=>o);return t.length===0?null:{pos:Math.min(...t.map(o=>o.pos)),end:Math.max(...t.map(o=>{var d;return(d=o.end)!==null&&d!==void 0?d:o.pos})),create:Td.create,above:t[0].above,arrow:t.some(o=>o.arrow)}});class th{constructor(t,o,d,g,D){this.view=t,this.source=o,this.field=d,this.setHover=g,this.hoverTime=D,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active)return;let t=Date.now()-this.lastMove.time;t<this.hoverTime?this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime-t):this.startHover()}startHover(){clearTimeout(this.restartTimeout);let{view:t,lastMove:o}=this,d=t.docView.nearest(o.target);if(!d)return;let g,D=1;if(d instanceof jl)g=d.posAtStart;else{if(g=t.posAtCoords(o),g==null)return;let $=t.coordsAtPos(g);if(!$||o.y<$.top||o.y>$.bottom||o.x<$.left-t.defaultCharacterWidth||o.x>$.right+t.defaultCharacterWidth)return;let te=t.bidiSpans(t.state.doc.lineAt(g)).find(ve=>ve.from<=g&&ve.to>=g),he=te&&te.dir==eo.RTL?-1:1;D=o.x<$.left?-he:he}let L=this.source(t,g,D);if(L?.then){let $=this.pending={pos:g};L.then(te=>{this.pending==$&&(this.pending=null,te&&t.dispatch({effects:this.setHover.of(te)}))},te=>zo(t.state,te,"hover tooltip"))}else L&&t.dispatch({effects:this.setHover.of(L)})}get tooltip(){let t=this.view.plugin(Fa),o=t?t.manager.tooltips.findIndex(d=>d.create==Td.create):-1;return o>-1?t.manager.tooltipViews[o]:null}mousemove(t){var o;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:d,tooltip:g}=this;if(d&&g&&!v0(g.dom,t)||this.pending){let{pos:D}=d||this.pending,L=(o=d?.end)!==null&&o!==void 0?o:D;(D==L?this.view.posAtCoords(this.lastMove)!=D:!ef(this.view,D,L,t.clientX,t.clientY))&&(this.view.dispatch({effects:this.setHover.of(null)}),this.pending=null)}}mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:o}=this;if(o){let{tooltip:d}=this;d&&d.dom.contains(t.relatedTarget)?this.watchTooltipLeave(d.dom):this.view.dispatch({effects:this.setHover.of(null)})}}watchTooltipLeave(t){let o=d=>{t.removeEventListener("mouseleave",o),this.active&&!this.view.dom.contains(d.relatedTarget)&&this.view.dispatch({effects:this.setHover.of(null)})};t.addEventListener("mouseleave",o)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const Cf=4;function v0(p,t){let o=p.getBoundingClientRect();return t.clientX>=o.left-Cf&&t.clientX<=o.right+Cf&&t.clientY>=o.top-Cf&&t.clientY<=o.bottom+Cf}function ef(p,t,o,d,g,D){let L=p.scrollDOM.getBoundingClientRect(),$=p.documentTop+p.documentPadding.top+p.contentHeight;if(L.left>d||L.right<d||L.top>g||Math.min(L.bottom,$)<g)return!1;let te=p.posAtCoords({x:d,y:g},!1);return te>=t&&te<=o}function Dd(p,t={}){let o=Vi.define(),d=Qi.define({create(){return null},update(g,D){if(g&&(t.hideOnChange&&(D.docChanged||D.selection)||t.hideOn&&t.hideOn(D,g)))return null;if(g&&D.docChanged){let L=D.changes.mapPos(g.pos,-1,lr.TrackDel);if(L==null)return null;let $=Object.assign(Object.create(null),g);$.pos=L,g.end!=null&&($.end=D.changes.mapPos(g.end)),g=$}for(let L of D.effects)L.is(o)&&(g=L.value),L.is(nh)&&(g=null);return g},provide:g=>Mu.from(g)});return[d,na.define(g=>new th(g,p,d,o,t.hoverTime||300)),Uf]}function i0(p,t){let o=p.plugin(Fa);if(!o)return null;let d=o.manager.tooltips.indexOf(t);return d<0?null:o.manager.tooltipViews[d]}function L4(p){return p.facet(Mu).some(t=>t)}const nh=Vi.define(),sd=null;function B4(p){let t=p.plugin(Fa);t&&t.maybeMeasure()}const Ud=ln.define({combine(p){let t,o;for(let d of p)t=t||d.topContainer,o=o||d.bottomContainer;return{topContainer:t,bottomContainer:o}}});function F4(p){return p?[Ud.of(p)]:[]}function Sf(p,t){let o=p.plugin(j0),d=o?o.specs.indexOf(t):-1;return d>-1?o.panels[d]:null}const j0=na.fromClass(class{constructor(p){this.input=p.state.facet(I0),this.specs=this.input.filter(o=>o),this.panels=this.specs.map(o=>o(p));let t=p.state.facet(Ud);this.top=new jo(p,!0,t.topContainer),this.bottom=new jo(p,!1,t.bottomContainer),this.top.sync(this.panels.filter(o=>o.top)),this.bottom.sync(this.panels.filter(o=>!o.top));for(let o of this.panels)o.dom.classList.add("cm-panel"),o.mount&&o.mount()}update(p){let t=p.state.facet(Ud);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new jo(p.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new jo(p.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let o=p.state.facet(I0);if(o!=this.input){let d=o.filter(te=>te),g=[],D=[],L=[],$=[];for(let te of d){let he=this.specs.indexOf(te),ve;he<0?(ve=te(p.view),$.push(ve)):(ve=this.panels[he],ve.update&&ve.update(p)),g.push(ve),(ve.top?D:L).push(ve)}this.specs=d,this.panels=g,this.top.sync(D),this.bottom.sync(L);for(let te of $)te.dom.classList.add("cm-panel"),te.mount&&te.mount()}else for(let d of this.panels)d.update&&d.update(p)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:p=>Rs.scrollMargins.of(t=>{let o=t.plugin(p);return o&&{top:o.top.scrollMargin(),bottom:o.bottom.scrollMargin()}})});class jo{constructor(t,o,d){this.view=t,this.top=o,this.container=d,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let o of this.panels)o.destroy&&t.indexOf(o)<0&&o.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let o=this.container||this.view.dom;o.insertBefore(this.dom,this.top?o.firstChild:null)}let t=this.dom.firstChild;for(let o of this.panels)if(o.dom.parentNode==this.dom){for(;t!=o.dom;)t=lf(t);t=t.nextSibling}else this.dom.insertBefore(o.dom,t);for(;t;)t=lf(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function lf(p){let t=p.nextSibling;return p.remove(),t}const I0=ln.define({enables:j0});class fd extends qo{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}fd.prototype.elementClass="",fd.prototype.toDOM=void 0,fd.prototype.mapMode=lr.TrackBefore,fd.prototype.startSide=fd.prototype.endSide=-1,fd.prototype.point=!0;const rh=ln.define(),zu={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>ke.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},yh=ln.define();function Qp(p){return[Ep(),yh.of(Object.assign(Object.assign({},zu),p))]}const Kh=ln.define({combine:p=>p.some(t=>t)});function Ep(p){let t=[jf];return p&&p.fixed===!1&&t.push(Kh.of(!0)),t}const jf=na.fromClass(class{constructor(p){this.view=p,this.prevViewport=p.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=p.state.facet(yh).map(t=>new _c(p,t));for(let t of this.gutters)this.dom.appendChild(t.dom);this.fixed=!p.state.facet(Kh),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),p.scrollDOM.insertBefore(this.dom,p.contentDOM)}update(p){if(this.updateGutters(p)){let t=this.prevViewport,o=p.view.viewport,d=Math.min(t.to,o.to)-Math.max(t.from,o.from);this.syncGutters(d<(o.to-o.from)*.8)}p.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight+"px"),this.view.state.facet(Kh)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=p.view.viewport}syncGutters(p){let t=this.dom.nextSibling;p&&this.dom.remove();let o=ke.iter(this.view.state.facet(rh),this.view.viewport.from),d=[],g=this.gutters.map(D=>new _p(D,this.view.viewport,-this.view.documentPadding.top));for(let D of this.view.viewportLineBlocks)if(d.length&&(d=[]),Array.isArray(D.type)){let L=!0;for(let $ of D.type)if($.type==Zo.Text&&L){cf(o,d,$.from);for(let te of g)te.line(this.view,$,d);L=!1}else if($.widget)for(let te of g)te.widget(this.view,$)}else if(D.type==Zo.Text){cf(o,d,D.from);for(let L of g)L.line(this.view,D,d)}else if(D.widget)for(let L of g)L.widget(this.view,D);for(let D of g)D.finish();p&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(p){let t=p.startState.facet(yh),o=p.state.facet(yh),d=p.docChanged||p.heightChanged||p.viewportChanged||!ke.eq(p.startState.facet(rh),p.state.facet(rh),p.view.viewport.from,p.view.viewport.to);if(t==o)for(let g of this.gutters)g.update(p)&&(d=!0);else{d=!0;let g=[];for(let D of o){let L=t.indexOf(D);L<0?g.push(new _c(this.view,D)):(this.gutters[L].update(p),g.push(this.gutters[L]))}for(let D of this.gutters)D.dom.remove(),g.indexOf(D)<0&&D.destroy();for(let D of g)this.dom.appendChild(D.dom);this.gutters=g}return d}destroy(){for(let p of this.gutters)p.destroy();this.dom.remove()}},{provide:p=>Rs.scrollMargins.of(t=>{let o=t.plugin(p);return!o||o.gutters.length==0||!o.fixed?null:t.textDirection==eo.LTR?{left:o.dom.offsetWidth*t.scaleX}:{right:o.dom.offsetWidth*t.scaleX}})});function Zp(p){return Array.isArray(p)?p:[p]}function cf(p,t,o){for(;p.value&&p.from<=o;)p.from==o&&t.push(p.value),p.next()}class _p{constructor(t,o,d){this.gutter=t,this.height=d,this.i=0,this.cursor=ke.iter(t.markers,o.from)}addElement(t,o,d){let{gutter:g}=this,D=(o.top-this.height)/t.scaleY,L=o.height/t.scaleY;if(this.i==g.elements.length){let $=new Yh(t,L,D,d);g.elements.push($),g.dom.appendChild($.dom)}else g.elements[this.i].update(t,L,D,d);this.height=o.bottom,this.i++}line(t,o,d){let g=[];cf(this.cursor,g,o.from),d.length&&(g=g.concat(d));let D=this.gutter.config.lineMarker(t,o,g);D&&g.unshift(D);let L=this.gutter;g.length==0&&!L.config.renderEmptyElements||this.addElement(t,o,g)}widget(t,o){let d=this.gutter.config.widgetMarker(t,o.widget,o);d&&this.addElement(t,o,[d])}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let o=t.elements.pop();t.dom.removeChild(o.dom),o.destroy()}}}class _c{constructor(t,o){this.view=t,this.config=o,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let d in o.domEventHandlers)this.dom.addEventListener(d,g=>{let D=g.target,L;if(D!=this.dom&&this.dom.contains(D)){for(;D.parentNode!=this.dom;)D=D.parentNode;let te=D.getBoundingClientRect();L=(te.top+te.bottom)/2}else L=g.clientY;let $=t.lineBlockAtHeight(L-t.documentTop);o.domEventHandlers[d](t,$,g)&&g.preventDefault()});this.markers=Zp(o.markers(t)),o.initialSpacer&&(this.spacer=new Yh(t,0,0,[o.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let o=this.markers;if(this.markers=Zp(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let g=this.config.updateSpacer(this.spacer.markers[0],t);g!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[g])}let d=t.view.viewport;return!ke.eq(this.markers,o,d.from,d.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(t):!1)}destroy(){for(let t of this.elements)t.destroy()}}class Yh{constructor(t,o,d,g){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,o,d,g)}update(t,o,d,g){this.height!=o&&(this.height=o,this.dom.style.height=o+"px"),this.above!=d&&(this.dom.style.marginTop=(this.above=d)?d+"px":""),Xp(this.markers,g)||this.setMarkers(t,g)}setMarkers(t,o){let d="cm-gutterElement",g=this.dom.firstChild;for(let D=0,L=0;;){let $=L,te=D<o.length?o[D++]:null,he=!1;if(te){let ve=te.elementClass;ve&&(d+=" "+ve);for(let qe=L;qe<this.markers.length;qe++)if(this.markers[qe].compare(te)){$=qe,he=!0;break}}else $=this.markers.length;for(;L<$;){let ve=this.markers[L++];if(ve.toDOM){ve.destroy(g);let qe=g.nextSibling;g.remove(),g=qe}}if(!te)break;te.toDOM&&(he?g=g.nextSibling:this.dom.insertBefore(te.toDOM(t),g)),he&&L++}this.dom.className=d,this.markers=o}destroy(){this.setMarkers(null,[])}}function Xp(p,t){if(p.length!=t.length)return!1;for(let o=0;o<p.length;o++)if(!p[o].compare(t[o]))return!1;return!0}const Jp=ln.define(),ec=ln.define({combine(p){return Jo(p,{formatNumber:String,domEventHandlers:{}},{domEventHandlers(t,o){let d=Object.assign({},t);for(let g in o){let D=d[g],L=o[g];d[g]=D?($,te,he)=>D($,te,he)||L($,te,he):L}return d}})}});class s0 extends fd{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function df(p,t){return p.state.facet(ec).formatNumber(t,p.state)}const k4=yh.compute([ec],p=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(t){return t.state.facet(Jp)},lineMarker(t,o,d){return d.some(g=>g.toDOM)?null:new s0(df(t,t.state.doc.lineAt(o.from).number))},widgetMarker:()=>null,lineMarkerChange:t=>t.startState.facet(ec)!=t.state.facet(ec),initialSpacer(t){return new s0(df(t,bh(t.state.doc.lines)))},updateSpacer(t,o){let d=df(o.view,bh(o.view.state.doc.lines));return d==t.number?t:new s0(d)},domEventHandlers:p.facet(ec).domEventHandlers}));function Ad(p={}){return[ec.of(p),Ep(),k4]}function bh(p){let t=9;for(;t<p;)t=t*10+9;return t}const U4=new class extends fd{constructor(){super(...arguments),this.elementClass="cm-activeLineGutter"}},ff=rh.compute(["selection"],p=>{let t=[],o=-1;for(let d of p.selection.ranges){let g=p.doc.lineAt(d.head).from;g>o&&(o=g,t.push(U4.range(g)))}return ke.of(t)});function Qh(){return ff}const Tf=new Map;function Zh(p){let t=Tf.get(p);return t||Tf.set(p,t=aa.mark({attributes:p==="	"?{class:"cm-highlightTab"}:{class:"cm-highlightSpace","data-display":p.replace(/ /g,"\xB7")}})),t}function Xh(p){return na.define(t=>({decorations:p.createDeco(t),update(o){this.decorations=p.updateDeco(o,this.decorations)}}),{decorations:t=>t.decorations})}const Jh=Xh(new Zs({regexp:/\t| +/g,decoration:p=>Zh(p[0]),boundary:/\S/}));function ih(){return Jh}const Ch=Xh(new Zs({regexp:/\s+$/g,decoration:aa.mark({class:"cm-trailingSpace"}),boundary:/\S/}));function yp(){return Ch}const qp={HeightMap:Jl,HeightOracle:Du,MeasuredHeights:h0,QueryType:Au,ChangedRange:pi,computeOrder:$c,moveVisually:V0};var Sh;const jd=new _;function sh(p){return ln.define({combine:p?t=>t.concat(p):void 0})}const e4=new _;class $0{constructor(t,o,d=[],g=""){this.data=t,this.name=g,Ha.prototype.hasOwnProperty("tree")||Object.defineProperty(Ha.prototype,"tree",{get(){return Ac(this)}}),this.parser=o,this.extension=[V.of(this),Ha.languageData.of((D,L,$)=>{let te=Df(D,L,$),he=te.type.prop(jd);if(!he)return[];let ve=D.facet(he),qe=te.type.prop(e4);if(qe){let Rt=te.resolve(L-te.from,$);for(let En of qe)if(En.test(Rt,D)){let qn=D.facet(En.facet);return En.type=="replace"?qn:qn.concat(ve)}}return ve})].concat(d)}isActiveAt(t,o,d=-1){return Df(t,o,d).type.prop(jd)==this.data}findRegions(t){let o=t.facet(V);if(o?.data==this.data)return[{from:0,to:t.doc.length}];if(!o||!o.allowsNesting)return[];let d=[],g=(D,L)=>{if(D.prop(jd)==this.data){d.push({from:L,to:L+D.length});return}let $=D.prop(_.mounted);if($){if($.tree.prop(jd)==this.data){if($.overlay)for(let te of $.overlay)d.push({from:te.from+L,to:te.to+L});else d.push({from:L,to:L+D.length});return}else if($.overlay){let te=d.length;if(g($.tree,$.overlay[0].from+L),d.length>te)return}}for(let te=0;te<D.children.length;te++){let he=D.children[te];he instanceof B&&g(he,D.positions[te]+L)}};return g(Ac(t),0),d}get allowsNesting(){return!0}}$0.setState=Vi.define();function Df(p,t,o){let d=p.facet(V),g=Ac(p).topNode;if(!d||d.allowsNesting)for(let D=g;D;D=D.enter(t,o,N.ExcludeBuffers))D.type.isTop&&(g=D);return g}class Th extends $0{constructor(t,o,d){super(t,o,[],d),this.parser=o}static define(t){let o=sh(t.languageData);return new Th(o,t.parser.configure({props:[jd.add(d=>d.isTop?o:void 0)]}),t.name)}configure(t,o){return new Th(this.data,this.parser.configure(t),o||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Ac(p){let t=p.field($0.state,!1);return t?t.tree:B.empty}function Dh(p,t,o=50){var d;let g=(d=p.field($0.state,!1))===null||d===void 0?void 0:d.context;if(!g)return null;let D=g.viewport;g.updateViewport({from:0,to:t});let L=g.isDone(t)||g.work(o,t)?g.tree:null;return g.updateViewport(D),L}function t4(p,t=p.doc.length){var o;return((o=p.field($0.state,!1))===null||o===void 0?void 0:o.context.isDone(t))||!1}function $f(p,t=p.viewport.to,o=100){let d=Dh(p.state,t,o);return d!=Ac(p.state)&&p.dispatch({}),!!d}function Wf(p){var t;return((t=p.plugin(x))===null||t===void 0?void 0:t.isWorking())||!1}class j4{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,o){let d=this.cursorPos-this.string.length;return t<d||o>=this.cursorPos?this.doc.sliceString(t,o):this.string.slice(t-d,o-d)}}let hf=null;class Af{constructor(t,o,d=[],g,D,L,$,te){this.parser=t,this.state=o,this.fragments=d,this.tree=g,this.treeLen=D,this.viewport=L,this.skipped=$,this.scheduleOn=te,this.parse=null,this.tempSkipped=[]}static create(t,o,d){return new Af(t,o,[],B.empty,0,d,[],null)}startParse(){return this.parser.startParse(new j4(this.state.doc),this.fragments)}work(t,o){return o!=null&&o>=this.state.doc.length&&(o=void 0),this.tree!=B.empty&&this.isDone(o??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var d;if(typeof t=="number"){let g=Date.now()+t;t=()=>Date.now()>g}for(this.parse||(this.parse=this.startParse()),o!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>o)&&o<this.state.doc.length&&this.parse.stopAt(o);;){let g=this.parse.advance();if(g)if(this.fragments=this.withoutTempSkipped(Qe.addTree(g,this.fragments,this.parse.stoppedAt!=null)),this.treeLen=(d=this.parse.stoppedAt)!==null&&d!==void 0?d:this.state.doc.length,this.tree=g,this.parse=null,this.treeLen<(o??this.state.doc.length))this.parse=this.startParse();else return!0;if(t())return!1}})}takeTree(){let t,o;this.parse&&(t=this.parse.parsedPos)>=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(o=this.parse.advance()););}),this.treeLen=t,this.tree=o,this.fragments=this.withoutTempSkipped(Qe.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let o=hf;hf=this;try{return t()}finally{hf=o}}withoutTempSkipped(t){for(let o;o=this.tempSkipped.pop();)t=Hf(t,o.from,o.to);return t}changes(t,o){let{fragments:d,tree:g,treeLen:D,viewport:L,skipped:$}=this;if(this.takeTree(),!t.empty){let te=[];if(t.iterChangedRanges((he,ve,qe,Rt)=>te.push({fromA:he,toA:ve,fromB:qe,toB:Rt})),d=Qe.applyChanges(d,te),g=B.empty,D=0,L={from:t.mapPos(L.from,-1),to:t.mapPos(L.to,1)},this.skipped.length){$=[];for(let he of this.skipped){let ve=t.mapPos(he.from,1),qe=t.mapPos(he.to,-1);ve<qe&&$.push({from:ve,to:qe})}}}return new Af(this.parser,o,d,g,D,L,$,this.scheduleOn)}updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.to)return!1;this.viewport=t;let o=this.skipped.length;for(let d=0;d<this.skipped.length;d++){let{from:g,to:D}=this.skipped[d];g<t.to&&D>t.from&&(this.fragments=Hf(this.fragments,g,D),this.skipped.splice(d--,1))}return this.skipped.length>=o?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,o){this.skipped.push({from:t,to:o})}static getSkippingParser(t){return new class extends ce{createParse(o,d,g){let D=g[0].from,L=g[g.length-1].to;return{parsedPos:D,advance(){let te=hf;if(te){for(let he of g)te.tempSkipped.push(he);t&&(te.scheduleOn=te.scheduleOn?Promise.all([te.scheduleOn,t]):t)}return this.parsedPos=L,new B(R.none,[],[],L-D)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let o=this.fragments;return this.treeLen>=t&&o.length&&o[0].from==0&&o[0].to>=t}static get(){return hf}}function Hf(p,t,o){return Qe.applyChanges(p,[{fromA:t,toA:o,fromB:t,toB:o}])}class Gf{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let o=this.context.changes(t.changes,t.state),d=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),o.viewport.to);return o.work(20,d)||o.takeTree(),new Gf(o)}static init(t){let o=Math.min(3e3,t.doc.length),d=Af.create(t.facet(V).parser,t,{from:0,to:o});return d.work(20,o)||d.takeTree(),new Gf(d)}}$0.state=Qi.define({create:Gf.init,update(p,t){for(let o of t.effects)if(o.is($0.setState))return o.value;return t.startState.facet(V)!=t.state.facet(V)?Gf.init(t.state):p.apply(t)}});let Ah=p=>{let t=setTimeout(()=>p(),500);return()=>clearTimeout(t)};typeof requestIdleCallback<"u"&&(Ah=p=>{let t=-1,o=setTimeout(()=>{t=requestIdleCallback(p,{timeout:500-100})},100);return()=>t<0?clearTimeout(o):cancelIdleCallback(t)});const y=typeof navigator<"u"&&(!((Sh=navigator.scheduling)===null||Sh===void 0)&&Sh.isInputPending)?()=>navigator.scheduling.isInputPending():null,x=na.fromClass(class{constructor(t){this.view=t,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(t){let o=this.view.state.field($0.state).context;(o.updateViewport(t.view.viewport)||this.view.viewport.to>o.treeLen)&&this.scheduleWork(),(t.docChanged||t.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(o)}scheduleWork(){if(this.working)return;let{state:t}=this.view,o=t.field($0.state);(o.tree!=o.context.tree||!o.context.isDone(t.doc.length))&&(this.working=Ah(this.work))}work(t){this.working=null;let o=Date.now();if(this.chunkEnd<o&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=o+3e4,this.chunkBudget=3e3),this.chunkBudget<=0)return;let{state:d,viewport:{to:g}}=this.view,D=d.field($0.state);if(D.tree==D.context.tree&&D.context.isDone(g+1e5))return;let L=Date.now()+Math.min(this.chunkBudget,100,t&&!y?Math.max(25,t.timeRemaining()-5):1e9),$=D.context.treeLen<g&&d.doc.length>g+1e3,te=D.context.work(()=>y&&y()||Date.now()>L,g+($?0:1e5));this.chunkBudget-=Date.now()-o,(te||this.chunkBudget<=0)&&(D.context.takeTree(),this.view.dispatch({effects:$0.setState.of(new Gf(D.context))})),this.chunkBudget>0&&!(te&&!$)&&this.scheduleWork(),this.checkAsyncSchedule(D.context)}checkAsyncSchedule(t){t.scheduleOn&&(this.workScheduled++,t.scheduleOn.then(()=>this.scheduleWork()).catch(o=>zo(this.view.state,o)).then(()=>this.workScheduled--),t.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),V=ln.define({combine(p){return p.length?p[0]:null},enables:p=>[$0.state,x,Rs.contentAttributes.compute([p],t=>{let o=t.facet(p);return o&&o.name?{"data-language":o.name}:{}})]});class ie{constructor(t,o=[]){this.language=t,this.support=o,this.extension=[t,o]}}class Oe{constructor(t,o,d,g,D,L=void 0){this.name=t,this.alias=o,this.extensions=d,this.filename=g,this.loadFunc=D,this.support=L,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(t=>this.support=t,t=>{throw this.loading=null,t}))}static of(t){let{load:o,support:d}=t;if(!o){if(!d)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");o=()=>Promise.resolve(d)}return new Oe(t.name,(t.alias||[]).concat(t.name).map(g=>g.toLowerCase()),t.extensions||[],t.filename,o,d)}static matchFilename(t,o){for(let g of t)if(g.filename&&g.filename.test(o))return g;let d=/\.([^.]+)$/.exec(o);if(d){for(let g of t)if(g.extensions.indexOf(d[1])>-1)return g}return null}static matchLanguageName(t,o,d=!0){o=o.toLowerCase();for(let g of t)if(g.alias.some(D=>D==o))return g;if(d)for(let g of t)for(let D of g.alias){let L=o.indexOf(D);if(L>-1&&(D.length>2||!/\w/.test(o[L-1])&&!/\w/.test(o[L+D.length])))return g}return null}}const Je=ln.define(),en=ln.define({combine:p=>{if(!p.length)return"  ";let t=p[0];if(!t||/\S/.test(t)||Array.from(t).some(o=>o!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(p[0]));return t}});function ar(p){let t=p.facet(en);return t.charCodeAt(0)==9?p.tabSize*t.length:t.length}function Lr(p,t){let o="",d=p.tabSize,g=p.facet(en)[0];if(g=="	"){for(;t>=d;)o+="	",t-=d;g=" "}for(let D=0;D<t;D++)o+=g;return o}function Ei(p,t){p instanceof Ha&&(p=new vs(p));for(let d of p.state.facet(Je)){let g=d(p,t);if(g!==void 0)return g}let o=Ac(p.state);return o.length>=t?va(p,o,t):null}function ms(p,t,o){let d=Object.create(null),g=new vs(p,{overrideIndentation:L=>{var $;return($=d[L])!==null&&$!==void 0?$:-1}}),D=[];for(let L=t;L<=o;){let $=p.doc.lineAt(L);L=$.to+1;let te=Ei(g,$.from);if(te==null)continue;/\S/.test($.text)||(te=0);let he=/^\s*/.exec($.text)[0],ve=Lr(p,te);he!=ve&&(d[$.from]=te,D.push({from:$.from,to:$.from+he.length,insert:ve}))}return p.changes(D)}class vs{constructor(t,o={}){this.state=t,this.options=o,this.unit=ar(t)}lineAt(t,o=1){let d=this.state.doc.lineAt(t),{simulateBreak:g,simulateDoubleBreak:D}=this.options;return g!=null&&g>=d.from&&g<=d.to?D&&g==t?{text:"",from:t}:(o<0?g<t:g<=t)?{text:d.text.slice(g-d.from),from:g}:{text:d.text.slice(0,g-d.from),from:d.from}:d}textAfterPos(t,o=1){if(this.options.simulateDoubleBreak&&t==this.options.simulateBreak)return"";let{text:d,from:g}=this.lineAt(t,o);return d.slice(t-g,Math.min(d.length,t+100-g))}column(t,o=1){let{text:d,from:g}=this.lineAt(t,o),D=this.countColumn(d,t-g),L=this.options.overrideIndentation?this.options.overrideIndentation(g):-1;return L>-1&&(D+=L-this.countColumn(d,d.search(/\S|$/))),D}countColumn(t,o=t.length){return io(t,this.state.tabSize,o)}lineIndent(t,o=1){let{text:d,from:g}=this.lineAt(t,o),D=this.options.overrideIndentation;if(D){let L=D(g);if(L>-1)return L}return this.countColumn(d,d.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const ps=new _;function va(p,t,o){let d=t.resolveStack(o),g=d.node.enterUnfinishedNodesBefore(o);if(g!=d.node){let D=[];for(let L=g;L!=d.node;L=L.parent)D.push(L);for(let L=D.length-1;L>=0;L--)d={node:D[L],next:d}}return Pa(d,p,o)}function Pa(p,t,o){for(let d=p;d;d=d.next){let g=xc(d.node);if(g)return g(Yr.create(t,o,d))}return 0}function Ia(p){return p.pos==p.options.simulateBreak&&p.options.simulateDoubleBreak}function xc(p){let t=p.type.prop(ps);if(t)return t;let o=p.firstChild,d;if(o&&(d=o.type.prop(_.closedBy))){let g=p.lastChild,D=g&&d.indexOf(g.name)>-1;return L=>Eo(L,!0,1,void 0,D&&!Ia(L)?g.from:void 0)}return p.parent==null?mi:null}function mi(){return 0}class Yr extends vs{constructor(t,o,d){super(t.state,t.options),this.base=t,this.pos=o,this.context=d}get node(){return this.context.node}static create(t,o,d){return new Yr(t,o,d)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let o=this.state.doc.lineAt(t.from);for(;;){let d=t.resolve(o.from);for(;d.parent&&d.parent.from==d.from;)d=d.parent;if(Ci(d,t))break;o=this.state.doc.lineAt(d.from)}return this.lineIndent(o.from)}continue(){return Pa(this.context.next,this.base,this.pos)}}function Ci(p,t){for(let o=t;o;o=o.parent)if(p==o)return!0;return!1}function Ms(p){let t=p.node,o=t.childAfter(t.from),d=t.lastChild;if(!o)return null;let g=p.options.simulateBreak,D=p.state.doc.lineAt(o.from),L=g==null||g<=D.from?D.to:Math.min(D.to,g);for(let $=o.to;;){let te=t.childAfter($);if(!te||te==d)return null;if(!te.type.isSkipped)return te.from<L?o:null;$=te.to}}function Ja({closing:p,align:t=!0,units:o=1}){return d=>Eo(d,t,o,p)}function Eo(p,t,o,d,g){let D=p.textAfter,L=D.match(/^\s*/)[0].length,$=d&&D.slice(L,L+d.length)==d||g==p.pos+L,te=t?Ms(p):null;return te?$?p.column(te.from):p.column(te.to):p.baseIndent+($?0:p.unit*o)}const To=p=>p.baseIndent;function Oo({except:p,units:t=1}={}){return o=>{let d=p&&p.test(o.textAfter);return o.baseIndent+(d?0:t*o.unit)}}const a0=200;function Wu(){return Ha.transactionFilter.of(p=>{if(!p.docChanged||!p.isUserEvent("input.type")&&!p.isUserEvent("input.complete"))return p;let t=p.startState.languageDataAt("indentOnInput",p.startState.selection.main.head);if(!t.length)return p;let o=p.newDoc,{head:d}=p.newSelection.main,g=o.lineAt(d);if(d>g.from+a0)return p;let D=o.sliceString(g.from,d);if(!t.some(he=>he.test(D)))return p;let{state:L}=p,$=-1,te=[];for(let{head:he}of L.selection.ranges){let ve=L.doc.lineAt(he);if(ve.from==$)continue;$=ve.from;let qe=Ei(L,ve.from);if(qe==null)continue;let Rt=/^\s*/.exec(ve.text)[0],En=Lr(L,qe);Rt!=En&&te.push({from:ve.from,to:ve.from+Rt.length,insert:En})}return te.length?[p,{changes:te,sequential:!0}]:p})}const xf=ln.define(),qh=new _;function Rm(p){let t=p.firstChild,o=p.lastChild;return t&&t.to<o.from?{from:t.to,to:o.type.isError?p.to:o.from}:null}function Og(p,t,o){let d=Ac(p);if(d.length<o)return null;let g=d.resolveStack(o,1),D=null;for(let L=g;L;L=L.next){let $=L.node;if($.to<=o||$.from>o)continue;if(D&&$.from<t)break;let te=$.type.prop(qh);if(te&&($.to<d.length-50||d.length==p.doc.length||!Rg($))){let he=te($,p);he&&he.from<=o&&he.from>=t&&he.to>o&&(D=he)}}return D}function Rg(p){let t=p.lastChild;return t&&t.to==p.to&&t.type.isError}function bp(p,t,o){for(let d of p.facet(xf)){let g=d(p,t,o);if(g)return g}return Og(p,t,o)}function Cp(p,t){let o=t.mapPos(p.from,1),d=t.mapPos(p.to,-1);return o>=d?void 0:{from:o,to:d}}const ep=Vi.define({map:Cp}),tc=Vi.define({map:Cp});function tp(p){let t=[];for(let{head:o}of p.state.selection.ranges)t.some(d=>d.from<=o&&d.to>=o)||t.push(p.lineBlockAt(o));return t}const tf=Qi.define({create(){return aa.none},update(p,t){p=p.map(t.changes);for(let o of t.effects)if(o.is(ep)&&!Il(p,o.value.from,o.value.to)){let{preparePlaceholder:d}=t.state.facet(r4),g=d?aa.replace({widget:new wg(d(t.state,o.value))}):Nm;p=p.update({add:[g.range(o.value.from,o.value.to)]})}else o.is(tc)&&(p=p.update({filter:(d,g)=>o.value.from!=d||o.value.to!=g,filterFrom:o.value.from,filterTo:o.value.to}));if(t.selection){let o=!1,{head:d}=t.selection.main;p.between(d,d,(g,D)=>{g<d&&D>d&&(o=!0)}),o&&(p=p.update({filterFrom:d,filterTo:d,filter:(g,D)=>D<=d||g>=d}))}return p},provide:p=>Rs.decorations.from(p),toJSON(p,t){let o=[];return p.between(0,t.doc.length,(d,g)=>{o.push(d,g)}),o},fromJSON(p){if(!Array.isArray(p)||p.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let o=0;o<p.length;){let d=p[o++],g=p[o++];if(typeof d!="number"||typeof g!="number")throw new RangeError("Invalid JSON for fold state");t.push(Nm.range(d,g))}return aa.set(t,!0)}});function n4(p){return p.field(tf,!1)||RangeSet.empty}function Of(p,t,o){var d;let g=null;return(d=p.field(tf,!1))===null||d===void 0||d.between(t,o,(D,L)=>{(!g||g.from>D)&&(g={from:D,to:L})}),g}function Il(p,t,o){let d=!1;return p.between(t,t,(g,D)=>{g==t&&D==o&&(d=!0)}),d}function ah(p,t){return p.field(tf,!1)?t:t.concat(Vi.appendConfig.of(Sp()))}const oh=p=>{for(let t of tp(p)){let o=bp(p.state,t.from,t.to);if(o)return p.dispatch({effects:ah(p.state,[ep.of(o),xh(p,o)])}),!0}return!1},$d=p=>{if(!p.state.field(tf,!1))return!1;let t=[];for(let o of tp(p)){let d=Of(p.state,o.from,o.to);d&&t.push(tc.of(d),xh(p,d,!1))}return t.length&&p.dispatch({effects:t}),t.length>0};function xh(p,t,o=!0){let d=p.state.doc.lineAt(t.from).number,g=p.state.doc.lineAt(t.to).number;return Rs.announce.of(`${p.state.phrase(o?"Folded lines":"Unfolded lines")} ${d} ${p.state.phrase("to")} ${g}.`)}const wm=p=>{let{state:t}=p,o=[];for(let d=0;d<t.doc.length;){let g=p.lineBlockAt(d),D=bp(t,g.from,g.to);D&&o.push(ep.of(D)),d=(D?p.lineBlockAt(D.to):g).to+1}return o.length&&p.dispatch({effects:ah(p.state,o)}),!!o.length},M0=p=>{let t=p.state.field(tf,!1);if(!t||!t.size)return!1;let o=[];return t.between(0,p.state.doc.length,(d,g)=>{o.push(tc.of({from:d,to:g}))}),p.dispatch({effects:o}),!0};function uh(p,t){for(let o=t;;){let d=bp(p.state,o.from,o.to);if(d&&d.to>t.from)return d;if(!o.from)return null;o=p.lineBlockAt(o.from-1)}}const Oh=p=>{let t=[];for(let o of tp(p)){let d=Of(p.state,o.from,o.to);if(d)t.push(tc.of(d),xh(p,d,!1));else{let g=uh(p,o);g&&t.push(ep.of(g),xh(p,g))}}return t.length>0&&p.dispatch({effects:ah(p.state,t)}),!!t.length},Fl=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:oh},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:$d},{key:"Ctrl-Alt-[",run:wm},{key:"Ctrl-Alt-]",run:M0}],Im={placeholderDOM:null,preparePlaceholder:null,placeholderText:"\u2026"},r4=ln.define({combine(p){return Jo(p,Im)}});function Sp(p){let t=[tf,i4];return p&&t.push(r4.of(p)),t}function Mm(p,t){let{state:o}=p,d=o.facet(r4),g=L=>{let $=p.lineBlockAt(p.posAtDOM(L.target)),te=Of(p.state,$.from,$.to);te&&p.dispatch({effects:tc.of(te)}),L.preventDefault()};if(d.placeholderDOM)return d.placeholderDOM(p,g,t);let D=document.createElement("span");return D.textContent=d.placeholderText,D.setAttribute("aria-label",o.phrase("folded code")),D.title=o.phrase("unfold"),D.className="cm-foldPlaceholder",D.onclick=g,D}const Nm=aa.replace({widget:new class extends vl{toDOM(p){return Mm(p,null)}}});class wg extends vl{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return Mm(t,this.value)}}const Rh={openText:"\u2304",closedText:"\u203A",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class Z0 extends fd{constructor(t,o){super(),this.config=t,this.open=o}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let o=document.createElement("span");return o.textContent=this.open?this.config.openText:this.config.closedText,o.title=t.state.phrase(this.open?"Fold line":"Unfold line"),o}}function np(p={}){let t=Object.assign(Object.assign({},Rh),p),o=new Z0(t,!0),d=new Z0(t,!1),g=na.fromClass(class{constructor(L){this.from=L.viewport.from,this.markers=this.buildMarkers(L)}update(L){(L.docChanged||L.viewportChanged||L.startState.facet(V)!=L.state.facet(V)||L.startState.field(tf,!1)!=L.state.field(tf,!1)||Ac(L.startState)!=Ac(L.state)||t.foldingChanged(L))&&(this.markers=this.buildMarkers(L.view))}buildMarkers(L){let $=new Wt;for(let te of L.viewportLineBlocks){let he=Of(L.state,te.from,te.to)?d:bp(L.state,te.from,te.to)?o:null;he&&$.add(te.from,te.from,he)}return $.finish()}}),{domEventHandlers:D}=t;return[g,Qp({class:"cm-foldGutter",markers(L){var $;return(($=L.plugin(g))===null||$===void 0?void 0:$.markers)||ke.empty},initialSpacer(){return new Z0(t,!1)},domEventHandlers:Object.assign(Object.assign({},D),{click:(L,$,te)=>{if(D.click&&D.click(L,$,te))return!0;let he=Of(L.state,$.from,$.to);if(he)return L.dispatch({effects:tc.of(he)}),!0;let ve=bp(L.state,$.from,$.to);return ve?(L.dispatch({effects:ep.of(ve)}),!0):!1}})}),Sp()]}const i4=Rs.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class zf{constructor(t,o){this.specs=t;let d;function g($){let te=Ko.newName();return(d||(d=Object.create(null)))["."+te]=$,te}const D=typeof o.all=="string"?o.all:o.all?g(o.all):void 0,L=o.scope;this.scope=L instanceof $0?$=>$.prop(jd)==L.data:L?$=>$==L:void 0,this.style=Ui(t.map($=>({tag:$.tag,class:$.class||g(Object.assign({},$,{tag:null}))})),{all:D}).style,this.module=d?new Ko(d):null,this.themeType=o.themeType}static define(t,o){return new zf(t,o||{})}}const wh=ln.define(),Tp=ln.define({combine(p){return p.length?[p[0]]:null}});function pf(p){let t=p.facet(wh);return t.length?t:p.facet(Tp)}function Vf(p,t){let o=[ip],d;return p instanceof zf&&(p.module&&o.push(Rs.styleModule.of(p.module)),d=p.themeType),t?.fallback?o.push(Tp.of(p)):d?o.push(wh.computeN([Rs.darkTheme],g=>g.facet(Rs.darkTheme)==(d=="dark")?[p]:[])):o.push(wh.of(p)),o}function rp(p,t,o){let d=pf(p),g=null;if(d){for(let D of d)if(!D.scope||o&&D.scope(o)){let L=D.style(t);L&&(g=g?g+" "+L:L)}}return g}class Rf{constructor(t){this.markCache=Object.create(null),this.tree=Ac(t.state),this.decorations=this.buildDeco(t,pf(t.state))}update(t){let o=Ac(t.state),d=pf(t.state),g=d!=pf(t.startState);o.length<t.view.viewport.to&&!g&&o.type==this.tree.type?this.decorations=this.decorations.map(t.changes):(o!=this.tree||t.viewportChanged||g)&&(this.tree=o,this.decorations=this.buildDeco(t.view,d))}buildDeco(t,o){if(!o||!this.tree.length)return aa.none;let d=new Wt;for(let{from:g,to:D}of t.visibleRanges)$n(this.tree,o,(L,$,te)=>{d.add(L,$,this.markCache[te]||(this.markCache[te]=aa.mark({class:te})))},g,D);return d.finish()}}const ip=bs.high(na.fromClass(Rf,{decorations:p=>p.decorations})),Ih=zf.define([{tag:on.meta,color:"#404740"},{tag:on.link,textDecoration:"underline"},{tag:on.heading,textDecoration:"underline",fontWeight:"bold"},{tag:on.emphasis,fontStyle:"italic"},{tag:on.strong,fontWeight:"bold"},{tag:on.strikethrough,textDecoration:"line-through"},{tag:on.keyword,color:"#708"},{tag:[on.atom,on.bool,on.url,on.contentSeparator,on.labelName],color:"#219"},{tag:[on.literal,on.inserted],color:"#164"},{tag:[on.string,on.deleted],color:"#a11"},{tag:[on.regexp,on.escape,on.special(on.string)],color:"#e40"},{tag:on.definition(on.variableName),color:"#00f"},{tag:on.local(on.variableName),color:"#30a"},{tag:[on.typeName,on.namespace],color:"#085"},{tag:on.className,color:"#167"},{tag:[on.special(on.variableName),on.macroName],color:"#256"},{tag:on.definition(on.propertyName),color:"#00c"},{tag:on.comment,color:"#940"},{tag:on.invalid,color:"#f00"}]),Mh=Rs.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),sp=1e4,Nh="()[]{}",Ph=ln.define({combine(p){return Jo(p,{afterCursor:!0,brackets:Nh,maxScanDistance:sp,renderMatch:hd})}}),Wd=aa.mark({class:"cm-matchingBracket"}),Kf=aa.mark({class:"cm-nonmatchingBracket"});function hd(p){let t=[],o=p.matched?Wd:Kf;return t.push(o.range(p.start.from,p.start.to)),p.end&&t.push(o.range(p.end.from,p.end.to)),t}const lh=[Qi.define({create(){return aa.none},update(p,t){if(!t.docChanged&&!t.selection)return p;let o=[],d=t.state.facet(Ph);for(let g of t.state.selection.ranges){if(!g.empty)continue;let D=Hd(t.state,g.head,-1,d)||g.head>0&&Hd(t.state,g.head-1,1,d)||d.afterCursor&&(Hd(t.state,g.head,1,d)||g.head<t.state.doc.length&&Hd(t.state,g.head+1,-1,d));D&&(o=o.concat(d.renderMatch(D,t.state)))}return aa.set(o,!0)},provide:p=>Rs.decorations.from(p)}),Mh];function E0(p={}){return[Ph.of(p),lh]}const o0=new _;function s4(p,t,o){let d=p.prop(t<0?_.openedBy:_.closedBy);if(d)return d;if(p.name.length==1){let g=o.indexOf(p.name);if(g>-1&&g%2==(t<0?1:0))return[o[g+t]]}return null}function $4(p){let t=p.type.prop(o0);return t?t(p.node):p}function Hd(p,t,o,d={}){let g=d.maxScanDistance||sp,D=d.brackets||Nh,L=Ac(p),$=L.resolveInner(t,o);for(let te=$;te;te=te.parent){let he=s4(te.type,o,D);if(he&&te.from<te.to){let ve=$4(te);if(ve&&(o>0?t>=ve.from&&t<ve.to:t>ve.from&&t<=ve.to))return Ig(p,t,o,te,ve,he,D)}}return xd(p,t,o,L,$.type,g,D)}function Ig(p,t,o,d,g,D,L){let $=d.parent,te={from:g.from,to:g.to},he=0,ve=$?.cursor();if(ve&&(o<0?ve.childBefore(d.from):ve.childAfter(d.to)))do if(o<0?ve.to<=d.from:ve.from>=d.to){if(he==0&&D.indexOf(ve.type.name)>-1&&ve.from<ve.to){let qe=$4(ve);return{start:te,end:qe?{from:qe.from,to:qe.to}:void 0,matched:!0}}else if(s4(ve.type,o,L))he++;else if(s4(ve.type,-o,L)){if(he==0){let qe=$4(ve);return{start:te,end:qe&&qe.from<qe.to?{from:qe.from,to:qe.to}:void 0,matched:!1}}he--}}while(o<0?ve.prevSibling():ve.nextSibling());return{start:te,matched:!1}}function xd(p,t,o,d,g,D,L){let $=o<0?p.sliceDoc(t-1,t):p.sliceDoc(t,t+1),te=L.indexOf($);if(te<0||te%2==0!=o>0)return null;let he={from:o<0?t-1:t,to:o>0?t+1:t},ve=p.doc.iterRange(t,o>0?p.doc.length:0),qe=0;for(let Rt=0;!ve.next().done&&Rt<=D;){let En=ve.value;o<0&&(Rt+=En.length);let qn=t+Rt*o;for(let zr=o>0?0:En.length-1,Qr=o>0?En.length:-1;zr!=Qr;zr+=o){let $i=L.indexOf(En[zr]);if(!($i<0||d.resolveInner(qn+zr,1).type!=g))if($i%2==0==o>0)qe++;else{if(qe==1)return{start:he,end:{from:qn+zr,to:qn+zr+1},matched:$i>>1==te>>1};qe--}}o>0&&(Rt+=En.length)}return ve.done?{start:he,matched:!1}:null}function Gd(p,t,o,d=0,g=0){t==null&&(t=p.search(/[^\s\u00a0]/),t==-1&&(t=p.length));let D=g;for(let L=d;L<t;L++)p.charCodeAt(L)==9?D+=o-D%o:D++;return D}class ap{constructor(t,o,d,g){this.string=t,this.tabSize=o,this.indentUnit=d,this.overrideIndent=g,this.pos=0,this.start=0,this.lastColumnPos=0,this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(t){let o=this.string.charAt(this.pos),d;if(typeof t=="string"?d=o==t:d=o&&(t instanceof RegExp?t.test(o):t(o)),d)return++this.pos,o}eatWhile(t){let o=this.pos;for(;this.eat(t););return this.pos>o}eatSpace(){let t=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>t}skipToEnd(){this.pos=this.string.length}skipTo(t){let o=this.string.indexOf(t,this.pos);if(o>-1)return this.pos=o,!0}backUp(t){this.pos-=t}column(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Gd(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue}indentation(){var t;return(t=this.overrideIndent)!==null&&t!==void 0?t:Gd(this.string,null,this.tabSize)}match(t,o,d){if(typeof t=="string"){let g=L=>d?L.toLowerCase():L,D=this.string.substr(this.pos,t.length);return g(D)==g(t)?(o!==!1&&(this.pos+=t.length),!0):null}else{let g=this.string.slice(this.pos).match(t);return g&&g.index>0?null:(g&&o!==!1&&(this.pos+=g[0].length),g)}}current(){return this.string.slice(this.start,this.pos)}}function Bh(p){return{name:p.name||"",token:p.token,blankLine:p.blankLine||(()=>{}),startState:p.startState||(()=>!0),copyState:p.copyState||Dp,indent:p.indent||(()=>null),languageData:p.languageData||{},tokenTable:p.tokenTable||xp}}function Dp(p){if(typeof p!="object")return p;let t={};for(let o in p){let d=p[o];t[o]=d instanceof Array?d.slice():d}return t}const op=new WeakMap;class Ap extends $0{constructor(t){let o=sh(t.languageData),d=Bh(t),g,D=new class extends ce{createParse(L,$,te){return new Mg(g,L,$,te)}};super(o,D,[Je.of((L,$)=>this.getIndent(L,$))],t.name),this.topNode=Ng(o),g=this,this.streamParser=d,this.stateAfter=new _({perNode:!0}),this.tokenTable=t.tokenTable?new W4(d.tokenTable):H4}static define(t){return new Ap(t)}getIndent(t,o){let d=Ac(t.state),g=d.resolve(o);for(;g&&g.type!=this.topNode;)g=g.parent;if(!g)return null;let D,{overrideIndentation:L}=t.options;L&&(D=op.get(t.state),D!=null&&D<o-1e4&&(D=void 0));let $=Yf(this,d,0,g.from,D??o),te,he;if($?(he=$.state,te=$.pos+1):(he=this.streamParser.startState(t.unit),te=0),o-te>1e4)return null;for(;te<o;){let qe=t.state.doc.lineAt(te),Rt=Math.min(o,qe.to);if(qe.length){let En=L?L(qe.from):-1,qn=new ap(qe.text,t.state.tabSize,t.unit,En<0?void 0:En);for(;qn.pos<Rt-qe.from;)Bm(this.streamParser.token,qn,he)}else this.streamParser.blankLine(he,t.unit);if(Rt==o)break;te=qe.to+1}let ve=t.lineAt(o);return L&&D==null&&op.set(t.state,ve.from),this.streamParser.indent(he,/^\s*(.*)/.exec(ve.text)[1],t)}get allowsNesting(){return!1}}function Yf(p,t,o,d,g){let D=o>=d&&o+t.length<=g&&t.prop(p.stateAfter);if(D)return{state:p.streamParser.copyState(D),pos:o+t.length};for(let L=t.children.length-1;L>=0;L--){let $=t.children[L],te=o+t.positions[L],he=$ instanceof B&&te<g&&Yf(p,$,te,d,g);if(he)return he}return null}function Pm(p,t,o,d,g){if(g&&o<=0&&d>=t.length)return t;!g&&t.type==p.topNode&&(g=!0);for(let D=t.children.length-1;D>=0;D--){let L=t.positions[D],$=t.children[D],te;if(L<d&&$ instanceof B){if(!(te=Pm(p,$,o-L,d-L,g)))break;return g?new B(t.type,t.children.slice(0,D).concat(te),t.positions.slice(0,D+1),L+te.length):te}}return null}function Lm(p,t,o,d){for(let g of t){let D=g.from+(g.openStart?25:0),L=g.to-(g.openEnd?25:0),$=D<=o&&L>o&&Yf(p,g.tree,0-g.offset,o,L),te;if($&&(te=Pm(p,g.tree,o+g.offset,$.pos+g.offset,!1)))return{state:$.state,tree:te}}return{state:p.streamParser.startState(d?ar(d):4),tree:B.empty}}class Mg{constructor(t,o,d,g){this.lang=t,this.input=o,this.fragments=d,this.ranges=g,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=g[g.length-1].to;let D=Af.get(),L=g[0].from,{state:$,tree:te}=Lm(t,d,L,D?.state);this.state=$,this.parsedPos=this.chunkStart=L+te.length;for(let he=0;he<te.children.length;he++)this.chunks.push(te.children[he]),this.chunkPos.push(te.positions[he]);D&&this.parsedPos<D.viewport.from-1e5&&(this.state=this.lang.streamParser.startState(ar(D.state)),D.skipUntilInView(this.parsedPos,D.viewport.from),this.parsedPos=D.viewport.from),this.moveRangeIndex()}advance(){let t=Af.get(),o=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt),d=Math.min(o,this.chunkStart+2048);for(t&&(d=Math.min(d,t.viewport.to));this.parsedPos<d;)this.parseLine(t);return this.chunkStart<this.parsedPos&&this.finishChunk(),this.parsedPos>=o?this.finish():t&&this.parsedPos>=t.viewport.to?(t.skipUntilInView(this.parsedPos,o),this.finish()):null}stopAt(t){this.stoppedAt=t}lineAfter(t){let o=this.input.chunk(t);if(this.input.lineChunks)o==`
`&&(o="");else{let d=o.indexOf(`
`);d>-1&&(o=o.slice(0,d))}return t+o.length<=this.to?o:o.slice(0,this.to-t)}nextLine(){let t=this.parsedPos,o=this.lineAfter(t),d=t+o.length;for(let g=this.rangeIndex;;){let D=this.ranges[g].to;if(D>=d||(o=o.slice(0,D-(d-o.length)),g++,g==this.ranges.length))break;let L=this.ranges[g].from,$=this.lineAfter(L);o+=$,d=L+$.length}return{line:o,end:d}}skipGapsTo(t,o,d){for(;;){let g=this.ranges[this.rangeIndex].to,D=t+o;if(d>0?g>D:g>=D)break;let L=this.ranges[++this.rangeIndex].from;o+=L-g}return o}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to<this.parsedPos;)this.rangeIndex++}emitToken(t,o,d,g,D){if(this.ranges.length>1){D=this.skipGapsTo(o,D,1),o+=D;let L=this.chunk.length;D=this.skipGapsTo(d,D,-1),d+=D,g+=this.chunk.length-L}return this.chunk.push(t,o,d,g),D}parseLine(t){let{line:o,end:d}=this.nextLine(),g=0,{streamParser:D}=this.lang,L=new ap(o,t?t.state.tabSize:4,t?ar(t.state):2);if(L.eol())D.blankLine(this.state,L.indentUnit);else for(;!L.eol();){let $=Bm(D.token,L,this.state);if($&&(g=this.emitToken(this.lang.tokenTable.resolve($),this.parsedPos+L.start,this.parsedPos+L.pos,4,g)),L.start>1e4)break}this.parsedPos=d,this.moveRangeIndex(),this.parsedPos<this.to&&this.parsedPos++}finishChunk(){let t=B.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:Op,topID:0,maxBufferLength:2048,reused:this.chunkReused});t=new B(t.type,t.children,t.positions,t.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]),this.chunks.push(t),this.chunkPos.push(this.chunkStart-this.ranges[0].from),this.chunk=[],this.chunkReused=void 0,this.chunkStart=this.parsedPos}finish(){return new B(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}function Bm(p,t,o){t.start=t.pos;for(let d=0;d<10;d++){let g=p(t,o);if(t.pos>t.start)return g}throw new Error("Stream parser failed to advance stream.")}const xp=Object.create(null),ch=[R.none],Op=new P(ch),Ji=[],Fh=Object.create(null),wf=Object.create(null);for(let[p,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])wf[p]=G4(xp,t);class W4{constructor(t){this.extra=t,this.table=Object.assign(Object.create(null),wf)}resolve(t){return t?this.table[t]||(this.table[t]=G4(this.extra,t)):0}}const H4=new W4(xp);function Rp(p,t){Ji.indexOf(p)>-1||(Ji.push(p),console.warn(t))}function G4(p,t){let o=[];for(let $ of t.split(" ")){let te=[];for(let he of $.split(".")){let ve=p[he]||on[he];ve?typeof ve=="function"?te.length?te=te.map(ve):Rp(he,`Modifier ${he} used at start of tag`):te.length?Rp(he,`Tag ${he} used as modifier`):te=Array.isArray(ve)?ve:[ve]:Rp(he,`Unknown highlighting tag ${he}`)}for(let he of te)o.push(he)}if(!o.length)return 0;let d=t.replace(/ /g,"_"),g=d+" "+o.map($=>$.id),D=Fh[g];if(D)return D.id;let L=Fh[g]=R.define({id:ch.length,name:d,props:[Ur({[d]:o})]});return ch.push(L),L.id}function Ng(p){let t=R.define({id:ch.length,name:"Document",props:[jd.add(()=>p)],top:!0});return ch.push(t),t}function a4(p){return p.length<=4096&&/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/.test(p)}function o4(p){for(let t=p.iter();!t.next().done;)if(a4(t.value))return!0;return!1}function z4(p){let t=!1;return p.iterChanges((o,d,g,D,L)=>{!t&&o4(L)&&(t=!0)}),t}const up=ln.define({combine:p=>p.some(t=>t)});function Fm(p={}){let t=[V4];return p.alwaysIsolate&&t.push(up.of(!0)),t}const V4=na.fromClass(class{constructor(p){this.always=p.state.facet(up)||p.textDirection!=eo.LTR||p.state.facet(Rs.perLineTextDirection),this.hasRTL=!this.always&&o4(p.state.doc),this.tree=Ac(p.state),this.decorations=_0(p,this.tree,this.always)}update(p){let t=p.state.facet(up)||p.view.textDirection!=eo.LTR||p.state.facet(Rs.perLineTextDirection);if(!t&&!this.hasRTL&&z4(p.changes)&&(this.hasRTL=!0),!t&&!this.hasRTL)return;let o=Ac(p.state);(t!=this.always||o!=this.tree||p.docChanged||p.viewportChanged)&&(this.tree=o,this.always=t,this.decorations=_0(p.view,o,t))}},{provide:p=>{function t(o){var d,g;return(g=(d=o.plugin(p))===null||d===void 0?void 0:d.decorations)!==null&&g!==void 0?g:aa.none}return[Rs.outerDecorations.of(t),bs.lowest(Rs.bidiIsolatedRanges.of(t))]}});function _0(p,t,o){let d=new Wt,g=p.visibleRanges;o||(g=Pg(g,p.state.doc));for(let{from:D,to:L}of g)t.iterate({enter:$=>{let te=$.type.prop(_.isolate);te&&d.add($.from,$.to,km[te])},from:D,to:L});return d.finish()}function Pg(p,t){let o=t.iter(),d=0,g=[],D=null;for(let{from:L,to:$}of p)for(L!=d&&(d<L&&o.next(L-d),d=L);;){let te=d,he=d+o.value.length;if(!o.lineBreak&&a4(o.value)&&(D&&D.to>te-10?D.to=Math.min($,he):g.push(D={from:te,to:Math.min($,he)})),d>=$)break;d=he,o.next()}return g}const km={rtl:aa.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"rtl"},bidiIsolate:eo.RTL}),ltr:aa.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"ltr"},bidiIsolate:eo.LTR}),auto:aa.mark({class:"cm-iso",inclusive:!0,attributes:{dir:"auto"},bidiIsolate:null})},wp=()=>p=>{try{JSON.parse(p.state.doc.toString())}catch(t){if(!(t instanceof SyntaxError))throw t;const o=K4(t,p.state.doc);return[{from:o,message:t.message,severity:"error",to:o}]}return[]};function K4(p,t){let o;return(o=p.message.match(/at position (\d+)/))?Math.min(+o[1],t.length):(o=p.message.match(/at line (\d+) column (\d+)/))?Math.min(t.line(+o[1]).from+ +o[2]-1,t.length):0}const Um=Th.define({name:"json",parser:Yt.configure({props:[ps.add({Object:Oo({except:/^\s*\}/}),Array:Oo({except:/^\s*\]/})}),qh.add({"Object Array":Rm})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function Lg(){return new ie(Um)}var kh=e(59056),Bg=e(54e3);const Fg=p=>{let{state:t}=p,o=t.doc.lineAt(t.selection.main.from),d=Y4(p.state,o.from);return d.line?kg(p):d.block?jm(p):!1};function u4(p,t){return({state:o,dispatch:d})=>{if(o.readOnly)return!1;let g=p(t,o);return g?(d(o.update(g)),!0):!1}}const kg=u4(Q4,0),H3=null,G3=null,Ug=u4(Wm,0),z3=null,V3=null,jm=u4((p,t)=>Wm(p,t,$m(t)),0);function Y4(p,t){let o=p.languageDataAt("commentTokens",t);return o.length?o[0]:{}}const Ip=50;function jg(p,{open:t,close:o},d,g){let D=p.sliceDoc(d-Ip,d),L=p.sliceDoc(g,g+Ip),$=/\s*$/.exec(D)[0].length,te=/^\s*/.exec(L)[0].length,he=D.length-$;if(D.slice(he-t.length,he)==t&&L.slice(te,te+o.length)==o)return{open:{pos:d-$,margin:$&&1},close:{pos:g+te,margin:te&&1}};let ve,qe;g-d<=2*Ip?ve=qe=p.sliceDoc(d,g):(ve=p.sliceDoc(d,d+Ip),qe=p.sliceDoc(g-Ip,g));let Rt=/^\s*/.exec(ve)[0].length,En=/\s*$/.exec(qe)[0].length,qn=qe.length-En-o.length;return ve.slice(Rt,Rt+t.length)==t&&qe.slice(qn,qn+o.length)==o?{open:{pos:d+Rt+t.length,margin:/\s/.test(ve.charAt(Rt+t.length))?1:0},close:{pos:g-En-o.length,margin:/\s/.test(qe.charAt(qn-1))?1:0}}:null}function $m(p){let t=[];for(let o of p.selection.ranges){let d=p.doc.lineAt(o.from),g=o.to<=d.to?d:p.doc.lineAt(o.to),D=t.length-1;D>=0&&t[D].to>d.from?t[D].to=g.to:t.push({from:d.from+/^\s*/.exec(d.text)[0].length,to:g.to})}return t}function Wm(p,t,o=t.selection.ranges){let d=o.map(D=>Y4(t,D.from).block);if(!d.every(D=>D))return null;let g=o.map((D,L)=>jg(t,d[L],D.from,D.to));if(p!=2&&!g.every(D=>D))return{changes:t.changes(o.map((D,L)=>g[L]?[]:[{from:D.from,insert:d[L].open+" "},{from:D.to,insert:" "+d[L].close}]))};if(p!=1&&g.some(D=>D)){let D=[];for(let L=0,$;L<g.length;L++)if($=g[L]){let te=d[L],{open:he,close:ve}=$;D.push({from:he.pos-te.open.length,to:he.pos+he.margin},{from:ve.pos-ve.margin,to:ve.pos+te.close.length})}return{changes:D}}return null}function Q4(p,t,o=t.selection.ranges){let d=[],g=-1;for(let{from:D,to:L}of o){let $=d.length,te=1e9,he=Y4(t,D).line;if(he){for(let ve=D;ve<=L;){let qe=t.doc.lineAt(ve);if(qe.from>g&&(D==L||L>qe.from)){g=qe.from;let Rt=/^\s*/.exec(qe.text)[0].length,En=Rt==qe.length,qn=qe.text.slice(Rt,Rt+he.length)==he?Rt:-1;Rt<qe.text.length&&Rt<te&&(te=Rt),d.push({line:qe,comment:qn,token:he,indent:Rt,empty:En,single:!1})}ve=qe.to+1}if(te<1e9)for(let ve=$;ve<d.length;ve++)d[ve].indent<d[ve].line.text.length&&(d[ve].indent=te);d.length==$+1&&(d[$].single=!0)}}if(p!=2&&d.some(D=>D.comment<0&&(!D.empty||D.single))){let D=[];for(let{line:$,token:te,indent:he,empty:ve,single:qe}of d)(qe||!ve)&&D.push({from:$.from+he,insert:te+" "});let L=t.changes(D);return{changes:L,selection:t.selection.map(L,1)}}else if(p!=1&&d.some(D=>D.comment>=0)){let D=[];for(let{line:L,comment:$,token:te}of d)if($>=0){let he=L.from+$,ve=he+te.length;L.text[ve-L.from]==" "&&ve++,D.push({from:he,to:ve})}return{changes:D}}return null}const Z4=os.define(),Hm=os.define(),$g=ln.define(),Gm=ln.define({combine(p){return Jo(p,{minDepth:100,newGroupDelay:500,joinToEvent:(t,o)=>o},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(t,o)=>(d,g)=>t(d,g)||o(d,g)})}}),X4=Qi.define({create(){return pd.empty},update(p,t){let o=t.state.facet(Gm),d=t.annotation(Z4);if(d){let te=ad.fromTransaction(t,d.selection),he=d.side,ve=he==0?p.undone:p.done;return te?ve=c4(ve,ve.length,o.minDepth,te):ve=Qf(ve,t.startState.selection),new pd(he==0?d.rest:ve,he==0?ve:d.rest)}let g=t.annotation(Hm);if((g=="full"||g=="before")&&(p=p.isolate()),t.annotation(ns.addToHistory)===!1)return t.changes.empty?p:p.addMapping(t.changes.desc);let D=ad.fromTransaction(t),L=t.annotation(ns.time),$=t.annotation(ns.userEvent);return D?p=p.addChanges(D,L,$,o,t):t.selection&&(p=p.addSelection(t.startState.selection,L,$,o.newGroupDelay)),(g=="full"||g=="after")&&(p=p.isolate()),p},toJSON(p){return{done:p.done.map(t=>t.toJSON()),undone:p.undone.map(t=>t.toJSON())}},fromJSON(p){return new pd(p.done.map(ad.fromJSON),p.undone.map(ad.fromJSON))}});function Wg(p={}){return[X4,Gm.of(p),Rs.domEventHandlers({beforeinput(t,o){let d=t.inputType=="historyUndo"?Mp:t.inputType=="historyRedo"?Np:null;return d?(t.preventDefault(),d(o)):!1}})]}const Hg=null;function l4(p,t){return function({state:o,dispatch:d}){if(!t&&o.readOnly)return!1;let g=o.field(X4,!1);if(!g)return!1;let D=g.pop(p,o,t);return D?(d(D),!0):!1}}const Mp=l4(0,!1),Np=l4(1,!1),J4=l4(0,!0),Gg=l4(1,!0);function zg(p){return function(t){let o=t.field(X4,!1);if(!o)return 0;let d=p==0?o.done:o.undone;return d.length-(d.length&&!d[0].changes?1:0)}}const K3=null,q4=null;class ad{constructor(t,o,d,g,D){this.changes=t,this.effects=o,this.mapped=d,this.startSelection=g,this.selectionsAfter=D}setSelAfter(t){return new ad(this.changes,this.effects,this.mapped,this.startSelection,t)}toJSON(){var t,o,d;return{changes:(t=this.changes)===null||t===void 0?void 0:t.toJSON(),mapped:(o=this.mapped)===null||o===void 0?void 0:o.toJSON(),startSelection:(d=this.startSelection)===null||d===void 0?void 0:d.toJSON(),selectionsAfter:this.selectionsAfter.map(g=>g.toJSON())}}static fromJSON(t){return new ad(t.changes&&xr.fromJSON(t.changes),[],t.mapped&&Cr.fromJSON(t.mapped),t.startSelection&&ut.fromJSON(t.startSelection),t.selectionsAfter.map(ut.fromJSON))}static fromTransaction(t,o){let d=bo;for(let g of t.startState.facet($g)){let D=g(t);D.length&&(d=d.concat(D))}return!d.length&&t.changes.empty?null:new ad(t.changes.invert(t.startState.doc),d,void 0,o||t.startState.selection,bo)}static selection(t){return new ad(void 0,bo,void 0,void 0,t)}}function c4(p,t,o,d){let g=t+1>o+20?t-o-1:0,D=p.slice(g,t);return D.push(d),D}function em(p,t){let o=[],d=!1;return p.iterChangedRanges((g,D)=>o.push(g,D)),t.iterChangedRanges((g,D,L,$)=>{for(let te=0;te<o.length;){let he=o[te++],ve=o[te++];$>=he&&L<=ve&&(d=!0)}}),d}function zm(p,t){return p.ranges.length==t.ranges.length&&p.ranges.filter((o,d)=>o.empty!=t.ranges[d].empty).length===0}function Uh(p,t){return p.length?t.length?p.concat(t):p:t}const bo=[],Vg=200;function Qf(p,t){if(p.length){let o=p[p.length-1],d=o.selectionsAfter.slice(Math.max(0,o.selectionsAfter.length-Vg));return d.length&&d[d.length-1].eq(t)?p:(d.push(t),c4(p,p.length-1,1e9,o.setSelAfter(d)))}else return[ad.selection([t])]}function Kg(p){let t=p[p.length-1],o=p.slice();return o[p.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1)),o}function d4(p,t){if(!p.length)return p;let o=p.length,d=bo;for(;o;){let g=lc(p[o-1],t,d);if(g.changes&&!g.changes.empty||g.effects.length){let D=p.slice(0,o);return D[o-1]=g,D}else t=g.mapped,o--,d=g.selectionsAfter}return d.length?[ad.selection(d)]:bo}function lc(p,t,o){let d=Uh(p.selectionsAfter.length?p.selectionsAfter.map($=>$.map(t)):bo,o);if(!p.changes)return ad.selection(d);let g=p.changes.map(t),D=t.mapDesc(p.changes,!0),L=p.mapped?p.mapped.composeDesc(D):D;return new ad(g,Vi.mapEffects(p.effects,t),L,p.startSelection.map(D),d)}const Oc=/^(input\.type|delete)($|\.)/;class pd{constructor(t,o,d=0,g=void 0){this.done=t,this.undone=o,this.prevTime=d,this.prevUserEvent=g}isolate(){return this.prevTime?new pd(this.done,this.undone):this}addChanges(t,o,d,g,D){let L=this.done,$=L[L.length-1];return $&&$.changes&&!$.changes.empty&&t.changes&&(!d||Oc.test(d))&&(!$.selectionsAfter.length&&o-this.prevTime<g.newGroupDelay&&g.joinToEvent(D,em($.changes,t.changes))||d=="input.type.compose")?L=c4(L,L.length-1,g.minDepth,new ad(t.changes.compose($.changes),Uh(t.effects,$.effects),$.mapped,$.startSelection,bo)):L=c4(L,L.length,g.minDepth,t),new pd(L,bo,o,d)}addSelection(t,o,d,g){let D=this.done.length?this.done[this.done.length-1].selectionsAfter:bo;return D.length>0&&o-this.prevTime<g&&d==this.prevUserEvent&&d&&/^select($|\.)/.test(d)&&zm(D[D.length-1],t)?this:new pd(Qf(this.done,t),this.undone,o,d)}addMapping(t){return new pd(d4(this.done,t),d4(this.undone,t),this.prevTime,this.prevUserEvent)}pop(t,o,d){let g=t==0?this.done:this.undone;if(g.length==0)return null;let D=g[g.length-1],L=D.selectionsAfter[0]||o.selection;if(d&&D.selectionsAfter.length)return o.update({selection:D.selectionsAfter[D.selectionsAfter.length-1],annotations:Z4.of({side:t,rest:Kg(g),selection:L}),userEvent:t==0?"select.undo":"select.redo",scrollIntoView:!0});if(D.changes){let $=g.length==1?bo:g.slice(0,g.length-1);return D.mapped&&($=d4($,D.mapped)),o.update({changes:D.changes,selection:D.startSelection,effects:D.effects,annotations:Z4.of({side:t,rest:$,selection:L}),filter:!1,userEvent:t==0?"undo":"redo",scrollIntoView:!0})}else return null}}pd.empty=new pd(bo,bo);const Yg=[{key:"Mod-z",run:Mp,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:Np,preventDefault:!0},{linux:"Ctrl-Shift-z",run:Np,preventDefault:!0},{key:"Mod-u",run:J4,preventDefault:!0},{key:"Alt-u",mac:"Mod-Shift-u",run:Gg,preventDefault:!0}];function jh(p,t){return ut.create(p.ranges.map(t),p.mainIndex)}function If(p,t){return p.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function zd({state:p,dispatch:t},o){let d=jh(p.selection,o);return d.eq(p.selection,!0)?!1:(t(If(p,d)),!0)}function dh(p,t){return ut.cursor(t?p.to:p.from)}function Pp(p,t){return zd(p,o=>o.empty?p.moveByChar(o,t):dh(o,t))}function u0(p){return p.textDirectionAt(p.state.selection.main.head)==eo.LTR}const Vm=p=>Pp(p,!u0(p)),Km=p=>Pp(p,u0(p)),Y3=p=>Pp(p,!0),Q3=p=>Pp(p,!1);function f4(p,t){return zd(p,o=>o.empty?p.moveByGroup(o,t):dh(o,t))}const md=p=>f4(p,!u0(p)),tm=p=>f4(p,u0(p)),Z3=p=>f4(p,!0),Qg=p=>f4(p,!1),nm=typeof Intl<"u"&&Intl.Segmenter?new Intl.Segmenter(void 0,{granularity:"word"}):null;function rm(p,t,o){let d=p.state.charCategorizer(t.from),g=CharCategory.Space,D=t.from,L=0,$=!1,te=!1,he=!1,ve=Rt=>{if($)return!1;D+=o?Rt.length:-Rt.length;let En=d(Rt),qn;if(En==CharCategory.Word&&Rt.charCodeAt(0)<128&&/[\W_]/.test(Rt)&&(En=-1),g==CharCategory.Space&&(g=En),g!=En)return!1;if(g==CharCategory.Word)if(Rt.toLowerCase()==Rt){if(!o&&te)return!1;he=!0}else if(he){if(o)return!1;$=!0}else{if(te&&o&&d(qn=p.state.sliceDoc(D,D+1))==CharCategory.Word&&qn.toLowerCase()==qn)return!1;te=!0}return L++,!0},qe=p.moveByChar(t,o,Rt=>(ve(Rt),ve));if(nm&&g==CharCategory.Word&&qe.from==t.from+L*(o?1:-1)){let Rt=Math.min(t.head,qe.head),En=Math.max(t.head,qe.head),qn=p.state.sliceDoc(Rt,En);if(qn.length>1&&/[\u4E00-\uffff]/.test(qn)){let zr=Array.from(nm.segment(qn));if(zr.length>1)return o?EditorSelection.cursor(t.head+zr[1].index,-1):EditorSelection.cursor(qe.head+zr[zr.length-1].index,1)}}return qe}function im(p,t){return zd(p,o=>o.empty?rm(p,o,t):dh(o,t))}const X3=p=>im(p,!0),J3=p=>im(p,!1);function Zg(p,t,o){if(t.type.prop(o))return!0;let d=t.to-t.from;return d&&(d>2||/[^\s,.;:]/.test(p.sliceDoc(t.from,t.to)))||t.firstChild}function h4(p,t,o){let d=Ac(p).resolveInner(t.head),g=o?_.closedBy:_.openedBy;for(let te=t.head;;){let he=o?d.childAfter(te):d.childBefore(te);if(!he)break;Zg(p,he,g)?d=he:te=o?he.to:he.from}let D=d.type.prop(g),L,$;return D&&(L=o?Hd(p,d.from,1):Hd(p,d.to,-1))&&L.matched?$=o?L.end.to:L.end.from:$=o?d.to:d.from,ut.cursor($,o?-1:1)}const Xg=p=>zd(p,t=>h4(p.state,t,!u0(p))),q3=p=>zd(p,t=>h4(p.state,t,u0(p)));function sm(p,t){return zd(p,o=>{if(!o.empty)return dh(o,t);let d=p.moveVertically(o,t);return d.head!=o.head?d:p.moveToLineBoundary(o,t)})}const am=p=>sm(p,!1),om=p=>sm(p,!0);function um(p){let t=p.scrollDOM.clientHeight<p.scrollDOM.scrollHeight-2,o=0,d=0,g;if(t){for(let D of p.state.facet(Rs.scrollMargins)){let L=D(p);L?.top&&(o=Math.max(L?.top,o)),L?.bottom&&(d=Math.max(L?.bottom,d))}g=p.scrollDOM.clientHeight-o-d}else g=(p.dom.ownerDocument.defaultView||window).innerHeight;return{marginTop:o,marginBottom:d,selfScroll:t,height:Math.max(p.defaultLineHeight,g-5)}}function Ym(p,t){let o=um(p),{state:d}=p,g=jh(d.selection,L=>L.empty?p.moveVertically(L,t,o.height):dh(L,t));if(g.eq(d.selection))return!1;let D;if(o.selfScroll){let L=p.coordsAtPos(d.selection.main.head),$=p.scrollDOM.getBoundingClientRect(),te=$.top+o.marginTop,he=$.bottom-o.marginBottom;L&&L.top>te&&L.bottom<he&&(D=Rs.scrollIntoView(g.main.head,{y:"start",yMargin:L.top-te}))}return p.dispatch(If(d,g),{effects:D}),!0}const lm=p=>Ym(p,!1),p4=p=>Ym(p,!0);function fh(p,t,o){let d=p.lineBlockAt(t.head),g=p.moveToLineBoundary(t,o);if(g.head==t.head&&g.head!=(o?d.to:d.from)&&(g=p.moveToLineBoundary(t,o,!1)),!o&&g.head==d.from&&d.length){let D=/^\s*/.exec(p.state.sliceDoc(d.from,Math.min(d.from+100,d.to)))[0].length;D&&t.head!=d.from+D&&(g=ut.cursor(d.from+D))}return g}const m4=p=>zd(p,t=>fh(p,t,!0)),Qm=p=>zd(p,t=>fh(p,t,!1)),Zf=p=>zd(p,t=>fh(p,t,!u0(p))),$h=p=>zd(p,t=>fh(p,t,u0(p))),Jg=p=>zd(p,t=>ut.cursor(p.lineBlockAt(t.head).from,1)),cm=p=>zd(p,t=>ut.cursor(p.lineBlockAt(t.head).to,-1));function Zm(p,t,o){let d=!1,g=jh(p.selection,D=>{let L=Hd(p,D.head,-1)||Hd(p,D.head,1)||D.head>0&&Hd(p,D.head-1,1)||D.head<p.doc.length&&Hd(p,D.head+1,-1);if(!L||!L.end)return D;d=!0;let $=L.start.from==D.head?L.end.to:L.end.from;return o?ut.range(D.anchor,$):ut.cursor($)});return d?(t(If(p,g)),!0):!1}const dm=({state:p,dispatch:t})=>Zm(p,t,!1),ev=({state:p,dispatch:t})=>Zm(p,t,!0);function Od(p,t){let o=jh(p.state.selection,d=>{let g=t(d);return ut.range(d.anchor,g.head,g.goalColumn,g.bidiLevel||void 0)});return o.eq(p.state.selection)?!1:(p.dispatch(If(p.state,o)),!0)}function g4(p,t){return Od(p,o=>p.moveByChar(o,t))}const I=p=>g4(p,!u0(p)),H=p=>g4(p,u0(p)),ue=p=>g4(p,!0),rt=p=>g4(p,!1);function Kt(p,t){return Od(p,o=>p.moveByGroup(o,t))}const Mn=p=>Kt(p,!u0(p)),Dr=p=>Kt(p,u0(p)),Gr=p=>Kt(p,!0),gi=p=>Kt(p,!1);function us(p,t){return Od(p,o=>rm(p,o,t))}const es=p=>us(p,!0),ws=p=>us(p,!1),Sa=p=>Od(p,t=>h4(p.state,t,!u0(p))),Qa=p=>Od(p,t=>h4(p.state,t,u0(p)));function mo(p,t){return Od(p,o=>p.moveVertically(o,t))}const nu=p=>mo(p,!1),go=p=>mo(p,!0);function au(p,t){return Od(p,o=>p.moveVertically(o,t,um(p).height))}const mu=p=>au(p,!1),W0=p=>au(p,!0),Rd=p=>Od(p,t=>fh(p,t,!0)),hh=p=>Od(p,t=>fh(p,t,!1)),Rc=p=>Od(p,t=>fh(p,t,!u0(p))),nf=p=>Od(p,t=>fh(p,t,u0(p))),v4=p=>Od(p,t=>ut.cursor(p.lineBlockAt(t.head).from)),E4=p=>Od(p,t=>ut.cursor(p.lineBlockAt(t.head).to)),qg=({state:p,dispatch:t})=>(t(If(p,{anchor:0})),!0),tv=({state:p,dispatch:t})=>(t(If(p,{anchor:p.doc.length})),!0),e3=({state:p,dispatch:t})=>(t(If(p,{anchor:p.selection.main.anchor,head:0})),!0),t3=({state:p,dispatch:t})=>(t(If(p,{anchor:p.selection.main.anchor,head:p.doc.length})),!0),nv=({state:p,dispatch:t})=>(t(p.update({selection:{anchor:0,head:p.doc.length},userEvent:"select"})),!0),rv=({state:p,dispatch:t})=>{let o=qm(p).map(({from:d,to:g})=>ut.range(d,Math.min(g+1,p.doc.length)));return t(p.update({selection:ut.create(o),userEvent:"select"})),!0},UE=({state:p,dispatch:t})=>{let o=jh(p.selection,d=>{var g;let D=Ac(p).resolveStack(d.from,1);for(let L=D;L;L=L.next){let{node:$}=L;if(($.from<d.from&&$.to>=d.to||$.to>d.to&&$.from<=d.from)&&(!((g=$.parent)===null||g===void 0)&&g.parent))return ut.range($.to,$.from)}return d});return t(If(p,o)),!0},iv=({state:p,dispatch:t})=>{let o=p.selection,d=null;return o.ranges.length>1?d=ut.create([o.main]):o.main.empty||(d=ut.create([ut.cursor(o.main.head)])),d?(t(If(p,d)),!0):!1};function _4(p,t){if(p.state.readOnly)return!1;let o="delete.selection",{state:d}=p,g=d.changeByRange(D=>{let{from:L,to:$}=D;if(L==$){let te=t(D);te<L?(o="delete.backward",te=Xm(p,te,!1)):te>L&&(o="delete.forward",te=Xm(p,te,!0)),L=Math.min(L,te),$=Math.max($,te)}else L=Xm(p,L,!1),$=Xm(p,$,!0);return L==$?{range:D}:{changes:{from:L,to:$},range:ut.cursor(L,L<D.head?-1:1)}});return g.changes.empty?!1:(p.dispatch(d.update(g,{scrollIntoView:!0,userEvent:o,effects:o=="delete.selection"?Rs.announce.of(d.phrase("Selection deleted")):void 0})),!0)}function Xm(p,t,o){if(p instanceof Rs)for(let d of p.state.facet(Rs.atomicRanges).map(g=>g(p)))d.between(t,t,(g,D)=>{g<t&&D>t&&(t=o?D:g)});return t}const n3=(p,t)=>_4(p,o=>{let d=o.from,{state:g}=p,D=g.doc.lineAt(d),L,$;if(!t&&d>D.from&&d<D.from+200&&!/[^ \t]/.test(L=D.text.slice(0,d-D.from))){if(L[L.length-1]=="	")return d-1;let te=io(L,g.tabSize),he=te%ar(g)||ar(g);for(let ve=0;ve<he&&L[L.length-1-ve]==" ";ve++)d--;$=d}else $=wn(D.text,d-D.from,t,t)+D.from,$==d&&D.number!=(t?g.doc.lines:1)?$+=t?1:-1:!t&&/[\ufe00-\ufe0f]/.test(D.text.slice($-D.from,d-D.from))&&($=wn(D.text,$-D.from,!1,!1)+D.from);return $}),Jm=p=>n3(p,!1),sv=p=>n3(p,!0),r3=(p,t)=>_4(p,o=>{let d=o.head,{state:g}=p,D=g.doc.lineAt(d),L=g.charCategorizer(d);for(let $=null;;){if(d==(t?D.to:D.from)){d==o.head&&D.number!=(t?g.doc.lines:1)&&(d+=t?1:-1);break}let te=wn(D.text,d-D.from,t)+D.from,he=D.text.slice(Math.min(d,te)-D.from,Math.max(d,te)-D.from),ve=L(he);if($!=null&&ve!=$)break;(he!=" "||d!=o.head)&&($=ve),d=te}return d}),av=p=>r3(p,!1),jE=p=>r3(p,!0),T_=p=>_4(p,t=>{let o=p.lineBlockAt(t.head).to;return t.head<o?o:Math.min(p.state.doc.length,t.head+1)}),Gy=p=>_4(p,t=>{let o=p.lineBlockAt(t.head).from;return t.head>o?o:Math.max(0,t.head-1)}),ov=p=>_4(p,t=>{let o=p.moveToLineBoundary(t,!1).head;return t.head>o?o:Math.max(0,t.head-1)}),$E=p=>_4(p,t=>{let o=p.moveToLineBoundary(t,!0).head;return t.head<o?o:Math.min(p.state.doc.length,t.head+1)}),uv=({state:p,dispatch:t})=>{if(p.readOnly)return!1;let o=[];for(let d=0,g="",D=p.doc.iter();;){if(D.next(),D.lineBreak||D.done){let L=g.search(/\s+$/);if(L>-1&&o.push({from:d-(g.length-L),to:d}),D.done)break;g=""}else g=D.value;d+=D.value.length}return o.length?(t(p.update({changes:o,userEvent:"delete"})),!0):!1},lv=({state:p,dispatch:t})=>{if(p.readOnly)return!1;let o=p.changeByRange(d=>({changes:{from:d.from,to:d.to,insert:$t.of(["",""])},range:ut.cursor(d.from)}));return t(p.update(o,{scrollIntoView:!0,userEvent:"input"})),!0},i3=({state:p,dispatch:t})=>{if(p.readOnly)return!1;let o=p.changeByRange(d=>{if(!d.empty||d.from==0||d.from==p.doc.length)return{range:d};let g=d.from,D=p.doc.lineAt(g),L=g==D.from?g-1:wn(D.text,g-D.from,!1)+D.from,$=g==D.to?g+1:wn(D.text,g-D.from,!0)+D.from;return{changes:{from:L,to:$,insert:p.doc.slice(g,$).append(p.doc.slice(L,g))},range:ut.cursor($)}});return o.changes.empty?!1:(t(p.update(o,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function qm(p){let t=[],o=-1;for(let d of p.selection.ranges){let g=p.doc.lineAt(d.from),D=p.doc.lineAt(d.to);if(!d.empty&&d.to==D.from&&(D=p.doc.lineAt(d.to-1)),o>=g.number){let L=t[t.length-1];L.to=D.to,L.ranges.push(d)}else t.push({from:g.from,to:D.to,ranges:[d]});o=D.number+1}return t}function cv(p,t,o){if(p.readOnly)return!1;let d=[],g=[];for(let D of qm(p)){if(o?D.to==p.doc.length:D.from==0)continue;let L=p.doc.lineAt(o?D.to+1:D.from-1),$=L.length+1;if(o){d.push({from:D.to,to:L.to},{from:D.from,insert:L.text+p.lineBreak});for(let te of D.ranges)g.push(ut.range(Math.min(p.doc.length,te.anchor+$),Math.min(p.doc.length,te.head+$)))}else{d.push({from:L.from,to:D.from},{from:D.to,insert:p.lineBreak+L.text});for(let te of D.ranges)g.push(ut.range(te.anchor-$,te.head-$))}}return d.length?(t(p.update({changes:d,scrollIntoView:!0,selection:ut.create(g,p.selection.mainIndex),userEvent:"move.line"})),!0):!1}const dv=({state:p,dispatch:t})=>cv(p,t,!1),WE=({state:p,dispatch:t})=>cv(p,t,!0);function fv(p,t,o){if(p.readOnly)return!1;let d=[];for(let g of qm(p))o?d.push({from:g.from,insert:p.doc.slice(g.from,g.to)+p.lineBreak}):d.push({from:g.to,insert:p.lineBreak+p.doc.slice(g.from,g.to)});return t(p.update({changes:d,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const HE=({state:p,dispatch:t})=>fv(p,t,!1),GE=({state:p,dispatch:t})=>fv(p,t,!0),zE=p=>{if(p.state.readOnly)return!1;let{state:t}=p,o=t.changes(qm(t).map(({from:g,to:D})=>(g>0?g--:D<t.doc.length&&D++,{from:g,to:D}))),d=jh(t.selection,g=>p.moveVertically(g,!0)).map(o);return p.dispatch({changes:o,selection:d,scrollIntoView:!0,userEvent:"delete.line"}),!0},D_=({state:p,dispatch:t})=>(t(p.update(p.replaceSelection(p.lineBreak),{scrollIntoView:!0,userEvent:"input"})),!0);function VE(p,t){if(/\(\)|\[\]|\{\}/.test(p.sliceDoc(t-1,t+1)))return{from:t,to:t};let o=Ac(p).resolveInner(t),d=o.childBefore(t),g=o.childAfter(t),D;return d&&g&&d.to<=t&&g.from>=t&&(D=d.type.prop(_.closedBy))&&D.indexOf(g.name)>-1&&p.doc.lineAt(d.to).from==p.doc.lineAt(g.from).from&&!/\S/.test(p.sliceDoc(d.to,g.from))?{from:d.to,to:g.from}:null}const A_=s3(!1),x_=s3(!0);function s3(p){return({state:t,dispatch:o})=>{if(t.readOnly)return!1;let d=t.changeByRange(g=>{let{from:D,to:L}=g,$=t.doc.lineAt(D),te=!p&&D==L&&VE(t,D);p&&(D=L=(L<=$.to?$:t.doc.lineAt(L)).to);let he=new vs(t,{simulateBreak:D,simulateDoubleBreak:!!te}),ve=Ei(he,D);for(ve==null&&(ve=io(/^\s*/.exec(t.doc.lineAt(D).text)[0],t.tabSize));L<$.to&&/\s/.test($.text[L-$.from]);)L++;te?{from:D,to:L}=te:D>$.from&&D<$.from+100&&!/\S/.test($.text.slice(0,D))&&(D=$.from);let qe=["",Lr(t,ve)];return te&&qe.push(Lr(t,he.lineIndent($.from,-1))),{changes:{from:D,to:L,insert:$t.of(qe)},range:ut.cursor(D+1+qe[1].length)}});return o(t.update(d,{scrollIntoView:!0,userEvent:"input"})),!0}}function mf(p,t){let o=-1;return p.changeByRange(d=>{let g=[];for(let L=d.from;L<=d.to;){let $=p.doc.lineAt(L);$.number>o&&(d.empty||d.to>$.from)&&(t($,g,d),o=$.number),L=$.to+1}let D=p.changes(g);return{changes:g,range:ut.range(D.mapPos(d.anchor,1),D.mapPos(d.head,1))}})}const KE=({state:p,dispatch:t})=>{if(p.readOnly)return!1;let o=Object.create(null),d=new vs(p,{overrideIndentation:D=>{let L=o[D];return L??-1}}),g=mf(p,(D,L,$)=>{let te=Ei(d,D.from);if(te==null)return;/\S/.test(D.text)||(te=0);let he=/^\s*/.exec(D.text)[0],ve=Lr(p,te);(he!=ve||$.from<D.from+he.length)&&(o[D.from]=te,L.push({from:D.from,to:D.from+he.length,insert:ve}))});return g.changes.empty||t(p.update(g,{userEvent:"indent"})),!0},lp=({state:p,dispatch:t})=>p.readOnly?!1:(t(p.update(mf(p,(o,d)=>{d.push({from:o.from,insert:p.facet(en)})}),{userEvent:"input.indent"})),!0),a3=({state:p,dispatch:t})=>p.readOnly?!1:(t(p.update(mf(p,(o,d)=>{let g=/^\s*/.exec(o.text)[0];if(!g)return;let D=io(g,p.tabSize),L=0,$=Lr(p,Math.max(0,D-ar(p)));for(;L<g.length&&L<$.length&&g.charCodeAt(L)==$.charCodeAt(L);)L++;d.push({from:o.from+L,to:o.from+g.length,insert:$.slice(L)})}),{userEvent:"delete.dedent"})),!0),fm=({state:p,dispatch:t})=>p.selection.ranges.some(o=>!o.empty)?lp({state:p,dispatch:t}):(t(p.update(p.replaceSelection("	"),{scrollIntoView:!0,userEvent:"input"})),!0),hv=[{key:"Ctrl-b",run:Vm,shift:I,preventDefault:!0},{key:"Ctrl-f",run:Km,shift:H},{key:"Ctrl-p",run:am,shift:nu},{key:"Ctrl-n",run:om,shift:go},{key:"Ctrl-a",run:Jg,shift:v4},{key:"Ctrl-e",run:cm,shift:E4},{key:"Ctrl-d",run:sv},{key:"Ctrl-h",run:Jm},{key:"Ctrl-k",run:T_},{key:"Ctrl-Alt-h",run:av},{key:"Ctrl-o",run:lv},{key:"Ctrl-t",run:i3},{key:"Ctrl-v",run:p4}],pv=[{key:"ArrowLeft",run:Vm,shift:I,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:md,shift:Mn,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:Zf,shift:Rc,preventDefault:!0},{key:"ArrowRight",run:Km,shift:H,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:tm,shift:Dr,preventDefault:!0},{mac:"Cmd-ArrowRight",run:$h,shift:nf,preventDefault:!0},{key:"ArrowUp",run:am,shift:nu,preventDefault:!0},{mac:"Cmd-ArrowUp",run:qg,shift:e3},{mac:"Ctrl-ArrowUp",run:lm,shift:mu},{key:"ArrowDown",run:om,shift:go,preventDefault:!0},{mac:"Cmd-ArrowDown",run:tv,shift:t3},{mac:"Ctrl-ArrowDown",run:p4,shift:W0},{key:"PageUp",run:lm,shift:mu},{key:"PageDown",run:p4,shift:W0},{key:"Home",run:Qm,shift:hh,preventDefault:!0},{key:"Mod-Home",run:qg,shift:e3},{key:"End",run:m4,shift:Rd,preventDefault:!0},{key:"Mod-End",run:tv,shift:t3},{key:"Enter",run:A_},{key:"Mod-a",run:nv},{key:"Backspace",run:Jm,shift:Jm},{key:"Delete",run:sv},{key:"Mod-Backspace",mac:"Alt-Backspace",run:av},{key:"Mod-Delete",mac:"Alt-Delete",run:jE},{mac:"Mod-Backspace",run:ov},{mac:"Mod-Delete",run:$E}].concat(hv.map(p=>({mac:p.key,run:p.run,shift:p.shift}))),hm=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Xg,shift:Sa},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:q3,shift:Qa},{key:"Alt-ArrowUp",run:dv},{key:"Shift-Alt-ArrowUp",run:HE},{key:"Alt-ArrowDown",run:WE},{key:"Shift-Alt-ArrowDown",run:GE},{key:"Escape",run:iv},{key:"Mod-Enter",run:x_},{key:"Alt-l",mac:"Ctrl-l",run:rv},{key:"Mod-i",run:UE,preventDefault:!0},{key:"Mod-[",run:a3},{key:"Mod-]",run:lp},{key:"Mod-Alt-\\",run:KE},{key:"Shift-Mod-k",run:zE},{key:"Shift-Mod-\\",run:dm},{key:"Mod-/",run:Fg},{key:"Alt-A",run:Ug}].concat(pv),mv={key:"Tab",run:lp,shift:a3};function yc(){var p=arguments[0];typeof p=="string"&&(p=document.createElement(p));var t=1,o=arguments[1];if(o&&typeof o=="object"&&o.nodeType==null&&!Array.isArray(o)){for(var d in o)if(Object.prototype.hasOwnProperty.call(o,d)){var g=o[d];typeof g=="string"?p.setAttribute(d,g):g!=null&&(p[d]=g)}t++}for(;t<arguments.length;t++)gv(p,arguments[t]);return p}function gv(p,t){if(typeof t=="string")p.appendChild(document.createTextNode(t));else if(t!=null)if(t.nodeType!=null)p.appendChild(t);else if(Array.isArray(t))for(var o=0;o<t.length;o++)gv(p,t[o]);else throw new RangeError("Unsupported child node: "+t)}const Lp=typeof String.prototype.normalize=="function"?p=>p.normalize("NFKD"):p=>p;class ph{constructor(t,o,d=0,g=t.length,D,L){this.test=L,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(d,g),this.bufferStart=d,this.normalize=D?$=>D(Lp($)):Lp,this.query=this.normalize(o)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return ft(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0,this;let o=Mt(t),d=this.bufferStart+this.bufferPos;this.bufferPos+=qt(t);let g=this.normalize(o);for(let D=0,L=d;;D++){let $=g.charCodeAt(D),te=this.match($,L);if(D==g.length-1){if(te)return this.value=te,this;break}L==d&&D<o.length&&o.charCodeAt(D)==$&&L++}}}match(t,o){let d=null;for(let g=0;g<this.matches.length;g+=2){let D=this.matches[g],L=!1;this.query.charCodeAt(D)==t&&(D==this.query.length-1?d={from:this.matches[g+1],to:o+1}:(this.matches[g]++,L=!0)),L||(this.matches.splice(g,2),g-=2)}return this.query.charCodeAt(0)==t&&(this.query.length==1?d={from:o,to:o+1}:this.matches.push(1,o)),d&&this.test&&!this.test(d.from,d.to,this.buffer,this.bufferStart)&&(d=null),d}}typeof Symbol<"u"&&(ph.prototype[Symbol.iterator]=function(){return this});const o3={from:-1,to:-1,match:/.*/.exec("")},u3="gm"+(/x/.unicode==null?"":"u");class vv{constructor(t,o,d,g=0,D=t.length){if(this.text=t,this.to=D,this.curLine="",this.done=!1,this.value=o3,/\\[sWDnr]|\n|\r|\[\^/.test(o))return new Ev(t,o,d,g,D);this.re=new RegExp(o,u3+(d?.ignoreCase?"i":"")),this.test=d?.test,this.iter=t.iter();let L=t.lineAt(g);this.curLineStart=L.from,this.matchPos=eg(t,g),this.getLine(this.curLineStart)}getLine(t){this.iter.next(t),this.iter.lineBreak?this.curLine="":(this.curLine=this.iter.value,this.curLineStart+this.curLine.length>this.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let t=this.matchPos-this.curLineStart;;){this.re.lastIndex=t;let o=this.matchPos<=this.to&&this.re.exec(this.curLine);if(o){let d=this.curLineStart+o.index,g=d+o[0].length;if(this.matchPos=eg(this.text,g+(d==g?1:0)),d==this.curLineStart+this.curLine.length&&this.nextLine(),(d<g||d>this.value.to)&&(!this.test||this.test(d,g,o)))return this.value={from:d,to:g,match:o},this;t=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to)this.nextLine(),t=0;else return this.done=!0,this}}}const l3=new WeakMap;class y4{constructor(t,o){this.from=t,this.text=o}get to(){return this.from+this.text.length}static get(t,o,d){let g=l3.get(t);if(!g||g.from>=d||g.to<=o){let $=new y4(o,t.sliceString(o,d));return l3.set(t,$),$}if(g.from==o&&g.to==d)return g;let{text:D,from:L}=g;return L>o&&(D=t.sliceString(o,L)+D,L=o),g.to<d&&(D+=t.sliceString(g.to,d)),l3.set(t,new y4(L,D)),new y4(o,D.slice(o-L,d-L))}}class Ev{constructor(t,o,d,g,D){this.text=t,this.to=D,this.done=!1,this.value=o3,this.matchPos=eg(t,g),this.re=new RegExp(o,u3+(d?.ignoreCase?"i":"")),this.test=d?.test,this.flat=y4.get(t,g,this.chunkEnd(g+5e3))}chunkEnd(t){return t>=this.to?this.to:this.text.lineAt(t).to}next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,o=this.re.exec(this.flat.text);if(o&&!o[0]&&o.index==t&&(this.re.lastIndex=t+1,o=this.re.exec(this.flat.text)),o){let d=this.flat.from+o.index,g=d+o[0].length;if((this.flat.to>=this.to||o.index+o[0].length<=this.flat.text.length-10)&&(!this.test||this.test(d,g,o)))return this.value={from:d,to:g,match:o},this.matchPos=eg(this.text,g+(d==g?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=y4.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(vv.prototype[Symbol.iterator]=Ev.prototype[Symbol.iterator]=function(){return this});function YE(p){try{return new RegExp(p,u3),!0}catch{return!1}}function eg(p,t){if(t>=p.length)return t;let o=p.lineAt(t),d;for(;t<o.to&&(d=o.text.charCodeAt(t-o.from))>=56320&&d<57344;)t++;return t}function c3(p){let t=String(p.state.doc.lineAt(p.state.selection.main.head).number),o=yc("input",{class:"cm-textfield",name:"line",value:t}),d=yc("form",{class:"cm-gotoLine",onkeydown:D=>{D.keyCode==27?(D.preventDefault(),p.dispatch({effects:tg.of(!1)}),p.focus()):D.keyCode==13&&(D.preventDefault(),g())},onsubmit:D=>{D.preventDefault(),g()}},yc("label",p.state.phrase("Go to line"),": ",o)," ",yc("button",{class:"cm-button",type:"submit"},p.state.phrase("go")));function g(){let D=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(o.value);if(!D)return;let{state:L}=p,$=L.doc.lineAt(L.selection.main.head),[,te,he,ve,qe]=D,Rt=ve?+ve.slice(1):0,En=he?+he:$.number;if(he&&qe){let Qr=En/100;te&&(Qr=Qr*(te=="-"?-1:1)+$.number/L.doc.lines),En=Math.round(L.doc.lines*Qr)}else he&&te&&(En=En*(te=="-"?-1:1)+$.number);let qn=L.doc.line(Math.max(1,Math.min(L.doc.lines,En))),zr=ut.cursor(qn.from+Math.max(0,Math.min(Rt,qn.length)));p.dispatch({effects:[tg.of(!1),Rs.scrollIntoView(zr.from,{y:"center"})],selection:zr}),p.focus()}return{dom:d}}const tg=Vi.define(),gf=Qi.define({create(){return!0},update(p,t){for(let o of t.effects)o.is(tg)&&(p=o.value);return p},provide:p=>I0.from(p,t=>t?c3:null)}),QE=p=>{let t=Sf(p,c3);if(!t){let o=[tg.of(!0)];p.state.field(gf,!1)==null&&o.push(Vi.appendConfig.of([gf,Vu])),p.dispatch({effects:o}),t=Sf(p,c3)}return t&&t.dom.querySelector("input").select(),!0},Vu=Rs.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),ZE={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},ng=ln.define({combine(p){return Jo(p,ZE,{highlightWordAroundCursor:(t,o)=>t||o,minSelectionLength:Math.min,maxMatches:Math.min})}});function d3(p){let t=[bv,qE];return p&&t.push(ng.of(p)),t}const _v=aa.mark({class:"cm-selectionMatch"}),XE=aa.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function yv(p,t,o,d){return(o==0||p(t.sliceDoc(o-1,o))!=co.Word)&&(d==t.doc.length||p(t.sliceDoc(d,d+1))!=co.Word)}function JE(p,t,o,d){return p(t.sliceDoc(o,o+1))==co.Word&&p(t.sliceDoc(d-1,d))==co.Word}const qE=na.fromClass(class{constructor(p){this.decorations=this.getDeco(p)}update(p){(p.selectionSet||p.docChanged||p.viewportChanged)&&(this.decorations=this.getDeco(p.view))}getDeco(p){let t=p.state.facet(ng),{state:o}=p,d=o.selection;if(d.ranges.length>1)return aa.none;let g=d.main,D,L=null;if(g.empty){if(!t.highlightWordAroundCursor)return aa.none;let te=o.wordAt(g.head);if(!te)return aa.none;L=o.charCategorizer(g.head),D=o.sliceDoc(te.from,te.to)}else{let te=g.to-g.from;if(te<t.minSelectionLength||te>200)return aa.none;if(t.wholeWords){if(D=o.sliceDoc(g.from,g.to),L=o.charCategorizer(g.head),!(yv(L,o,g.from,g.to)&&JE(L,o,g.from,g.to)))return aa.none}else if(D=o.sliceDoc(g.from,g.to).trim(),!D)return aa.none}let $=[];for(let te of p.visibleRanges){let he=new ph(o.doc,D,te.from,te.to);for(;!he.next().done;){let{from:ve,to:qe}=he.value;if((!L||yv(L,o,ve,qe))&&(g.empty&&ve<=g.from&&qe>=g.to?$.push(XE.range(ve,qe)):(ve>=g.to||qe<=g.from)&&$.push(_v.range(ve,qe)),$.length>t.maxMatches))return aa.none}}return aa.set($)}},{decorations:p=>p.decorations}),bv=Rs.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),e1=({state:p,dispatch:t})=>{let{selection:o}=p,d=ut.create(o.ranges.map(g=>p.wordAt(g.head)||ut.cursor(g.head)),o.mainIndex);return d.eq(o)?!1:(t(p.update({selection:d})),!0)};function b4(p,t){let{main:o,ranges:d}=p.selection,g=p.wordAt(o.head),D=g&&g.from==o.from&&g.to==o.to;for(let L=!1,$=new ph(p.doc,t,d[d.length-1].to);;)if($.next(),$.done){if(L)return null;$=new ph(p.doc,t,0,Math.max(0,d[d.length-1].from-1)),L=!0}else{if(L&&d.some(te=>te.from==$.value.from))continue;if(D){let te=p.wordAt($.value.from);if(!te||te.from!=$.value.from||te.to!=$.value.to)continue}return $.value}}const cp=({state:p,dispatch:t})=>{let{ranges:o}=p.selection;if(o.some(D=>D.from===D.to))return e1({state:p,dispatch:t});let d=p.sliceDoc(o[0].from,o[0].to);if(p.selection.ranges.some(D=>p.sliceDoc(D.from,D.to)!=d))return!1;let g=b4(p,d);return g?(t(p.update({selection:p.selection.addRange(ut.range(g.from,g.to),!1),effects:Rs.scrollIntoView(g.to)})),!0):!1},Bp=ln.define({combine(p){return Jo(p,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:t=>new l1(t),scrollToMatch:t=>Rs.scrollIntoView(t)})}});function O_(p){return p?[Bp.of(p),dp]:dp}class Cv{constructor(t){this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||YE(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord}unquote(t){return this.literal?t:t.replace(/\\([nrt\\])/g,(o,d)=>d=="n"?`
`:d=="r"?"\r":d=="t"?"	":"\\")}eq(t){return this.search==t.search&&this.replace==t.replace&&this.caseSensitive==t.caseSensitive&&this.regexp==t.regexp&&this.wholeWord==t.wholeWord}create(){return this.regexp?new i1(this):new n1(this)}getCursor(t,o=0,d){let g=t.doc?t:Ha.create({doc:t});return d==null&&(d=g.doc.length),this.regexp?S4(this,g,o,d):C4(this,g,o,d)}}class Sv{constructor(t){this.spec=t}}function C4(p,t,o,d){return new ph(t.doc,p.unquoted,o,d,p.caseSensitive?void 0:g=>g.toLowerCase(),p.wholeWord?t1(t.doc,t.charCategorizer(t.selection.main.head)):void 0)}function t1(p,t){return(o,d,g,D)=>((D>o||D+g.length<d)&&(D=Math.max(0,o-2),g=p.sliceString(D,Math.min(p.length,d+2))),(t(rg(g,o-D))!=co.Word||t(ig(g,o-D))!=co.Word)&&(t(ig(g,d-D))!=co.Word||t(rg(g,d-D))!=co.Word))}class n1 extends Sv{constructor(t){super(t)}nextMatch(t,o,d){let g=C4(this.spec,t,d,t.doc.length).nextOverlapping();return g.done&&(g=C4(this.spec,t,0,o).nextOverlapping()),g.done?null:g.value}prevMatchInRange(t,o,d){for(let g=d;;){let D=Math.max(o,g-1e4-this.spec.unquoted.length),L=C4(this.spec,t,D,g),$=null;for(;!L.nextOverlapping().done;)$=L.value;if($)return $;if(D==o)return null;g-=1e4}}prevMatch(t,o,d){return this.prevMatchInRange(t,0,o)||this.prevMatchInRange(t,d,t.doc.length)}getReplacement(t){return this.spec.unquote(this.spec.replace)}matchAll(t,o){let d=C4(this.spec,t,0,t.doc.length),g=[];for(;!d.next().done;){if(g.length>=o)return null;g.push(d.value)}return g}highlight(t,o,d,g){let D=C4(this.spec,t,Math.max(0,o-this.spec.unquoted.length),Math.min(d+this.spec.unquoted.length,t.doc.length));for(;!D.next().done;)g(D.value.from,D.value.to)}}function S4(p,t,o,d){return new vv(t.doc,p.search,{ignoreCase:!p.caseSensitive,test:p.wholeWord?r1(t.charCategorizer(t.selection.main.head)):void 0},o,d)}function rg(p,t){return p.slice(wn(p,t,!1),t)}function ig(p,t){return p.slice(t,wn(p,t))}function r1(p){return(t,o,d)=>!d[0].length||(p(rg(d.input,d.index))!=co.Word||p(ig(d.input,d.index))!=co.Word)&&(p(ig(d.input,d.index+d[0].length))!=co.Word||p(rg(d.input,d.index+d[0].length))!=co.Word)}class i1 extends Sv{nextMatch(t,o,d){let g=S4(this.spec,t,d,t.doc.length).next();return g.done&&(g=S4(this.spec,t,0,o).next()),g.done?null:g.value}prevMatchInRange(t,o,d){for(let g=1;;g++){let D=Math.max(o,d-g*1e4),L=S4(this.spec,t,D,d),$=null;for(;!L.next().done;)$=L.value;if($&&(D==o||$.from>D+10))return $;if(D==o)return null}}prevMatch(t,o,d){return this.prevMatchInRange(t,0,o)||this.prevMatchInRange(t,d,t.doc.length)}getReplacement(t){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(o,d)=>d=="$"?"$":d=="&"?t.match[0]:d!="0"&&+d<t.match.length?t.match[d]:o)}matchAll(t,o){let d=S4(this.spec,t,0,t.doc.length),g=[];for(;!d.next().done;){if(g.length>=o)return null;g.push(d.value)}return g}highlight(t,o,d,g){let D=S4(this.spec,t,Math.max(0,o-250),Math.min(d+250,t.doc.length));for(;!D.next().done;)g(D.value.from,D.value.to)}}const pm=Vi.define(),f3=Vi.define(),mh=Qi.define({create(p){return new h3(sg(p).create(),null)},update(p,t){for(let o of t.effects)o.is(pm)?p=new h3(o.value.create(),p.panel):o.is(f3)&&(p=new h3(p.query,o.value?p3:null));return p},provide:p=>I0.from(p,t=>t.panel)});function R_(p){let t=p.field(mh,!1);return t?t.query.spec:sg(p)}function w_(p){var t;return((t=p.field(mh,!1))===null||t===void 0?void 0:t.panel)!=null}class h3{constructor(t,o){this.query=t,this.panel=o}}const gh=aa.mark({class:"cm-searchMatch"}),Wh=aa.mark({class:"cm-searchMatch cm-searchMatch-selected"}),s1=na.fromClass(class{constructor(p){this.view=p,this.decorations=this.highlight(p.state.field(mh))}update(p){let t=p.state.field(mh);(t!=p.startState.field(mh)||p.docChanged||p.selectionSet||p.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:p,panel:t}){if(!t||!p.spec.valid)return aa.none;let{view:o}=this,d=new Wt;for(let g=0,D=o.visibleRanges,L=D.length;g<L;g++){let{from:$,to:te}=D[g];for(;g<L-1&&te>D[g+1].from-2*250;)te=D[++g].to;p.highlight(o.state,$,te,(he,ve)=>{let qe=o.state.selection.ranges.some(Rt=>Rt.from==he&&Rt.to==ve);d.add(he,ve,qe?Wh:gh)})}return d.finish()}},{decorations:p=>p.decorations});function T4(p){return t=>{let o=t.state.field(mh,!1);return o&&o.query.spec.valid?p(t,o):xv(t)}}const mm=T4((p,{query:t})=>{let{to:o}=p.state.selection.main,d=t.nextMatch(p.state,o,o);if(!d)return!1;let g=ut.single(d.from,d.to),D=p.state.facet(Bp);return p.dispatch({selection:g,effects:[vh(p,d),D.scrollToMatch(g.main,p)],userEvent:"select.search"}),Av(p),!0}),Fp=T4((p,{query:t})=>{let{state:o}=p,{from:d}=o.selection.main,g=t.prevMatch(o,d,d);if(!g)return!1;let D=ut.single(g.from,g.to),L=p.state.facet(Bp);return p.dispatch({selection:D,effects:[vh(p,g),L.scrollToMatch(D.main,p)],userEvent:"select.search"}),Av(p),!0}),a1=T4((p,{query:t})=>{let o=t.matchAll(p.state,1e3);return!o||!o.length?!1:(p.dispatch({selection:ut.create(o.map(d=>ut.range(d.from,d.to))),userEvent:"select.search.matches"}),!0)}),o1=({state:p,dispatch:t})=>{let o=p.selection;if(o.ranges.length>1||o.main.empty)return!1;let{from:d,to:g}=o.main,D=[],L=0;for(let $=new ph(p.doc,p.sliceDoc(d,g));!$.next().done;){if(D.length>1e3)return!1;$.value.from==d&&(L=D.length),D.push(ut.range($.value.from,$.value.to))}return t(p.update({selection:ut.create(D,L),userEvent:"select.search.matches"})),!0},Tv=T4((p,{query:t})=>{let{state:o}=p,{from:d,to:g}=o.selection.main;if(o.readOnly)return!1;let D=t.nextMatch(o,d,d);if(!D)return!1;let L=[],$,te,he=[];if(D.from==d&&D.to==g&&(te=o.toText(t.getReplacement(D)),L.push({from:D.from,to:D.to,insert:te}),D=t.nextMatch(o,D.from,D.to),he.push(Rs.announce.of(o.phrase("replaced match on line $",o.doc.lineAt(d).number)+"."))),D){let ve=L.length==0||L[0].from>=D.to?0:D.to-D.from-te.length;$=ut.single(D.from-ve,D.to-ve),he.push(vh(p,D)),he.push(o.facet(Bp).scrollToMatch($.main,p))}return p.dispatch({changes:L,selection:$,effects:he,userEvent:"input.replace"}),!0}),u1=T4((p,{query:t})=>{if(p.state.readOnly)return!1;let o=t.matchAll(p.state,1e9).map(g=>{let{from:D,to:L}=g;return{from:D,to:L,insert:t.getReplacement(g)}});if(!o.length)return!1;let d=p.state.phrase("replaced $ matches",o.length)+".";return p.dispatch({changes:o,effects:Rs.announce.of(d),userEvent:"input.replace.all"}),!0});function p3(p){return p.state.facet(Bp).createPanel(p)}function sg(p,t){var o,d,g,D,L;let $=p.selection.main,te=$.empty||$.to>$.from+100?"":p.sliceDoc($.from,$.to);if(t&&!te)return t;let he=p.facet(Bp);return new Cv({search:((o=t?.literal)!==null&&o!==void 0?o:he.literal)?te:te.replace(/\n/g,"\\n"),caseSensitive:(d=t?.caseSensitive)!==null&&d!==void 0?d:he.caseSensitive,literal:(g=t?.literal)!==null&&g!==void 0?g:he.literal,regexp:(D=t?.regexp)!==null&&D!==void 0?D:he.regexp,wholeWord:(L=t?.wholeWord)!==null&&L!==void 0?L:he.wholeWord})}function Dv(p){let t=Sf(p,p3);return t&&t.dom.querySelector("[main-field]")}function Av(p){let t=Dv(p);t&&t==p.root.activeElement&&t.select()}const xv=p=>{let t=p.state.field(mh,!1);if(t&&t.panel){let o=Dv(p);if(o&&o!=p.root.activeElement){let d=sg(p.state,t.query.spec);d.valid&&p.dispatch({effects:pm.of(d)}),o.focus(),o.select()}}else p.dispatch({effects:[f3.of(!0),t?pm.of(sg(p.state,t.query.spec)):Vi.appendConfig.of(dp)]});return!0},Ov=p=>{let t=p.state.field(mh,!1);if(!t||!t.panel)return!1;let o=Sf(p,p3);return o&&o.dom.contains(p.root.activeElement)&&p.focus(),p.dispatch({effects:f3.of(!1)}),!0},Rv=[{key:"Mod-f",run:xv,scope:"editor search-panel"},{key:"F3",run:mm,shift:Fp,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:mm,shift:Fp,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:Ov,scope:"editor search-panel"},{key:"Mod-Shift-l",run:o1},{key:"Mod-Alt-g",run:QE},{key:"Mod-d",run:cp,preventDefault:!0}];class l1{constructor(t){this.view=t;let o=this.query=t.state.field(mh).query.spec;this.commit=this.commit.bind(this),this.searchField=yc("input",{value:o.search,placeholder:rf(t,"Find"),"aria-label":rf(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=yc("input",{value:o.replace,placeholder:rf(t,"Replace"),"aria-label":rf(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=yc("input",{type:"checkbox",name:"case",form:"",checked:o.caseSensitive,onchange:this.commit}),this.reField=yc("input",{type:"checkbox",name:"re",form:"",checked:o.regexp,onchange:this.commit}),this.wordField=yc("input",{type:"checkbox",name:"word",form:"",checked:o.wholeWord,onchange:this.commit});function d(g,D,L){return yc("button",{class:"cm-button",name:g,onclick:D,type:"button"},L)}this.dom=yc("div",{onkeydown:g=>this.keydown(g),class:"cm-search"},[this.searchField,d("next",()=>mm(t),[rf(t,"next")]),d("prev",()=>Fp(t),[rf(t,"previous")]),d("select",()=>a1(t),[rf(t,"all")]),yc("label",null,[this.caseField,rf(t,"match case")]),yc("label",null,[this.reField,rf(t,"regexp")]),yc("label",null,[this.wordField,rf(t,"by word")]),...t.state.readOnly?[]:[yc("br"),this.replaceField,d("replace",()=>Tv(t),[rf(t,"replace")]),d("replaceAll",()=>u1(t),[rf(t,"replace all")])],yc("button",{name:"close",onclick:()=>Ov(t),"aria-label":rf(t,"close"),type:"button"},["\xD7"])])}commit(){let t=new Cv({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:pm.of(t)}))}keydown(t){vi(this.view,t,"search-panel")?t.preventDefault():t.keyCode==13&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?Fp:mm)(this.view)):t.keyCode==13&&t.target==this.replaceField&&(t.preventDefault(),Tv(this.view))}update(t){for(let o of t.transactions)for(let d of o.effects)d.is(pm)&&!d.value.eq(this.query)&&this.setQuery(d.value)}setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp,this.wordField.checked=t.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Bp).top}}function rf(p,t){return p.state.phrase(t)}const vf=30,ag=/[\s\.,:;?!]/;function vh(p,{from:t,to:o}){let d=p.state.doc.lineAt(t),g=p.state.doc.lineAt(o).to,D=Math.max(d.from,t-vf),L=Math.min(g,o+vf),$=p.state.sliceDoc(D,L);if(D!=d.from){for(let te=0;te<vf;te++)if(!ag.test($[te+1])&&ag.test($[te])){$=$.slice(te);break}}if(L!=g){for(let te=$.length-1;te>$.length-vf;te--)if(!ag.test($[te-1])&&ag.test($[te])){$=$.slice(0,te);break}}return Rs.announce.of(`${p.state.phrase("current match")}. ${$} ${p.state.phrase("on line")} ${d.number}.`)}const c1=Rs.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),dp=[mh,bs.low(s1),c1];class wv{constructor(t,o,d){this.state=t,this.pos=o,this.explicit=d,this.abortListeners=[]}tokenBefore(t){let o=Ac(this.state).resolveInner(this.pos,-1);for(;o&&t.indexOf(o.name)<0;)o=o.parent;return o?{from:o.from,to:this.pos,text:this.state.sliceDoc(o.from,this.pos),type:o.type}:null}matchBefore(t){let o=this.state.doc.lineAt(this.pos),d=Math.max(o.from,this.pos-250),g=o.text.slice(d-o.from,this.pos-o.from),D=g.search(Mv(t,!1));return D<0?null:{from:d+D,to:this.pos,text:g.slice(D)}}get aborted(){return this.abortListeners==null}addEventListener(t,o){t=="abort"&&this.abortListeners&&this.abortListeners.push(o)}}function Hh(p){let t=Object.keys(p).join(""),o=/\w/.test(t);return o&&(t=t.replace(/\w/g,"")),`[${o?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function fp(p){let t=Object.create(null),o=Object.create(null);for(let{label:g}of p){t[g[0]]=!0;for(let D=1;D<g.length;D++)o[g[D]]=!0}let d=Hh(t)+Hh(o)+"*$";return[new RegExp("^"+d),new RegExp(d)]}function gm(p){let t=p.map(g=>typeof g=="string"?{label:g}:g),[o,d]=t.every(g=>/^\w+$/.test(g.label))?[/\w*$/,/\w+$/]:fp(t);return g=>{let D=g.matchBefore(d);return D||g.explicit?{from:D?D.from:g.pos,options:t,validFor:o}:null}}function I_(p,t){return o=>{for(let d=syntaxTree(o.state).resolveInner(o.pos,-1);d;d=d.parent){if(p.indexOf(d.name)>-1)return t(o);if(d.type.isTop)break}return null}}function d1(p,t){return o=>{for(let d=syntaxTree(o.state).resolveInner(o.pos,-1);d;d=d.parent){if(p.indexOf(d.name)>-1)return null;if(d.type.isTop)break}return t(o)}}class Iv{constructor(t,o,d,g){this.completion=t,this.source=o,this.match=d,this.score=g}}function hp(p){return p.selection.main.from}function Mv(p,t){var o;let{source:d}=p,g=t&&d[0]!="^",D=d[d.length-1]!="$";return!g&&!D?p:new RegExp(`${g?"^":""}(?:${d})${D?"$":""}`,(o=p.flags)!==null&&o!==void 0?o:p.ignoreCase?"i":"")}const Nv=os.define();function f1(p,t,o,d){let{main:g}=p.selection,D=o-g.from,L=d-g.from;return Object.assign(Object.assign({},p.changeByRange($=>$!=g&&o!=d&&p.sliceDoc($.from+D,$.from+L)!=p.sliceDoc(o,d)?{range:$}:{changes:{from:$.from+D,to:d==g.from?$.to:$.from+L,insert:t},range:ut.cursor($.from+D+t.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const vm=new WeakMap;function h1(p){if(!Array.isArray(p))return p;let t=vm.get(p);return t||vm.set(p,t=gm(p)),t}const og=Vi.define(),Em=Vi.define();class Pv{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let o=0;o<t.length;){let d=ft(t,o),g=qt(d);this.chars.push(d);let D=t.slice(o,o+g),L=D.toUpperCase();this.folded.push(ft(L==D?D.toLowerCase():L,0)),o+=g}this.astral=t.length!=this.chars.length}ret(t,o){return this.score=t,this.matched=o,!0}match(t){if(this.pattern.length==0)return this.ret(-100,[]);if(t.length<this.pattern.length)return!1;let{chars:o,folded:d,any:g,precise:D,byWord:L}=this;if(o.length==1){let _s=ft(t,0),ea=qt(_s),Ws=ea==t.length?0:-100;if(_s!=o[0])if(_s==d[0])Ws+=-200;else return!1;return this.ret(Ws,[0,ea])}let $=t.indexOf(this.pattern);if($==0)return this.ret(t.length==this.pattern.length?0:-100,[0,this.pattern.length]);let te=o.length,he=0;if($<0){for(let _s=0,ea=Math.min(t.length,200);_s<ea&&he<te;){let Ws=ft(t,_s);(Ws==o[he]||Ws==d[he])&&(g[he++]=_s),_s+=qt(Ws)}if(he<te)return!1}let ve=0,qe=0,Rt=!1,En=0,qn=-1,zr=-1,Qr=/[a-z]/.test(t),$i=!0;for(let _s=0,ea=Math.min(t.length,200),Ws=0;_s<ea&&qe<te;){let Os=ft(t,_s);$<0&&(ve<te&&Os==o[ve]&&(D[ve++]=_s),En<te&&(Os==o[En]||Os==d[En]?(En==0&&(qn=_s),zr=_s+1,En++):En=0));let ua,Ls=Os<255?Os>=48&&Os<=57||Os>=97&&Os<=122?2:Os>=65&&Os<=90?1:0:(ua=Mt(Os))!=ua.toLowerCase()?1:ua!=ua.toUpperCase()?2:0;(!_s||Ls==1&&Qr||Ws==0&&Ls!=0)&&(o[qe]==Os||d[qe]==Os&&(Rt=!0)?L[qe++]=_s:L.length&&($i=!1)),Ws=Ls,_s+=qt(Os)}return qe==te&&L[0]==0&&$i?this.result(-100+(Rt?-200:0),L,t):En==te&&qn==0?this.ret(-200-t.length+(zr==t.length?0:-100),[0,zr]):$>-1?this.ret(-700-t.length,[$,$+this.pattern.length]):En==te?this.ret(-200+-700-t.length,[qn,zr]):qe==te?this.result(-100+(Rt?-200:0)+-700+($i?0:-1100),L,t):o.length==2?!1:this.result((g[0]?-700:0)+-200+-1100,g,t)}result(t,o,d){let g=[],D=0;for(let L of o){let $=L+(this.astral?qt(ft(d,L)):1);D&&g[D-1]==L?g[D-1]=$:(g[D++]=L,g[D++]=$)}return this.ret(t-d.length,g)}}const gd=ln.define({combine(p){return Jo(p,{activateOnTyping:!0,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:Bv,compareCompletions:(t,o)=>t.label.localeCompare(o.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,o)=>t&&o,closeOnBlur:(t,o)=>t&&o,icons:(t,o)=>t&&o,tooltipClass:(t,o)=>d=>Lv(t(d),o(d)),optionClass:(t,o)=>d=>Lv(t(d),o(d)),addToOptions:(t,o)=>t.concat(o)})}});function Lv(p,t){return p?t?p+" "+t:p:t}function Bv(p,t,o,d,g,D){let L=p.textDirection==eo.RTL,$=L,te=!1,he="top",ve,qe,Rt=t.left-g.left,En=g.right-t.right,qn=d.right-d.left,zr=d.bottom-d.top;if($&&Rt<Math.min(qn,En)?$=!1:!$&&En<Math.min(qn,Rt)&&($=!0),qn<=($?Rt:En))ve=Math.max(g.top,Math.min(o.top,g.bottom-zr))-t.top,qe=Math.min(400,$?Rt:En);else{te=!0,qe=Math.min(400,(L?t.right:g.right-t.left)-30);let _s=g.bottom-t.bottom;_s>=zr||_s>t.top?ve=o.bottom-t.top:(he="bottom",ve=t.bottom-o.top)}let Qr=(t.bottom-t.top)/D.offsetHeight,$i=(t.right-t.left)/D.offsetWidth;return{style:`${he}: ${ve/Qr}px; max-width: ${qe/$i}px`,class:"cm-completionInfo-"+(te?L?"left-narrow":"right-narrow":$?"left":"right")}}function p1(p){let t=p.addToOptions.slice();return p.icons&&t.push({render(o){let d=document.createElement("div");return d.classList.add("cm-completionIcon"),o.type&&d.classList.add(...o.type.split(/\s+/g).map(g=>"cm-completionIcon-"+g)),d.setAttribute("aria-hidden","true"),d},position:20}),t.push({render(o,d,g,D){let L=document.createElement("span");L.className="cm-completionLabel";let $=o.displayLabel||o.label,te=0;for(let he=0;he<D.length;){let ve=D[he++],qe=D[he++];ve>te&&L.appendChild(document.createTextNode($.slice(te,ve)));let Rt=L.appendChild(document.createElement("span"));Rt.appendChild(document.createTextNode($.slice(ve,qe))),Rt.className="cm-completionMatchedText",te=qe}return te<$.length&&L.appendChild(document.createTextNode($.slice(te))),L},position:50},{render(o){if(!o.detail)return null;let d=document.createElement("span");return d.className="cm-completionDetail",d.textContent=o.detail,d},position:80}),t.sort((o,d)=>o.position-d.position).map(o=>o.render)}function ug(p,t,o){if(p<=o)return{from:0,to:p};if(t<0&&(t=0),t<=p>>1){let g=Math.floor(t/o);return{from:g*o,to:(g+1)*o}}let d=Math.floor((p-t)/o);return{from:p-(d+1)*o,to:p-d*o}}class Fv{constructor(t,o,d){this.view=t,this.stateField=o,this.applyCompletion=d,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:te=>this.placeInfo(te),key:this},this.space=null,this.currentClass="";let g=t.state.field(o),{options:D,selected:L}=g.open,$=t.state.facet(gd);this.optionContent=p1($),this.optionClass=$.optionClass,this.tooltipClass=$.tooltipClass,this.range=ug(D.length,L,$.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",te=>{let{options:he}=t.state.field(o).open;for(let ve=te.target,qe;ve&&ve!=this.dom;ve=ve.parentNode)if(ve.nodeName=="LI"&&(qe=/-(\d+)$/.exec(ve.id))&&+qe[1]<he.length){this.applyCompletion(t,he[+qe[1]]),te.preventDefault();return}}),this.dom.addEventListener("focusout",te=>{let he=t.state.field(this.stateField,!1);he&&he.tooltip&&t.state.facet(gd).closeOnBlur&&te.relatedTarget!=t.contentDOM&&t.dispatch({effects:Em.of(null)})}),this.showOptions(D,g.id)}mount(){this.updateSel()}showOptions(t,o){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,o,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(t){var o;let d=t.state.field(this.stateField),g=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),d!=g){let{options:D,selected:L,disabled:$}=d.open;(!g.open||g.open.options!=D)&&(this.range=ug(D.length,L,t.state.facet(gd).maxRenderedOptions),this.showOptions(D,d.id)),this.updateSel(),$!=((o=g.open)===null||o===void 0?void 0:o.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!$)}}updateTooltipClass(t){let o=this.tooltipClass(t);if(o!=this.currentClass){for(let d of this.currentClass.split(" "))d&&this.dom.classList.remove(d);for(let d of o.split(" "))d&&this.dom.classList.add(d);this.currentClass=o}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),o=t.open;if((o.selected>-1&&o.selected<this.range.from||o.selected>=this.range.to)&&(this.range=ug(o.options.length,o.selected,this.view.state.facet(gd).maxRenderedOptions),this.showOptions(o.options,t.id)),this.updateSelectedOption(o.selected)){this.destroyInfo();let{completion:d}=o.options[o.selected],{info:g}=d;if(!g)return;let D=typeof g=="string"?document.createTextNode(g):g(d);if(!D)return;"then"in D?D.then(L=>{L&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(L,d)}).catch(L=>zo(this.view.state,L,"completion info")):this.addInfoPane(D,d)}}addInfoPane(t,o){this.destroyInfo();let d=this.info=document.createElement("div");if(d.className="cm-tooltip cm-completionInfo",t.nodeType!=null)d.appendChild(t),this.infoDestroy=null;else{let{dom:g,destroy:D}=t;d.appendChild(g),this.infoDestroy=D||null}this.dom.appendChild(d),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let o=null;for(let d=this.list.firstChild,g=this.range.from;d;d=d.nextSibling,g++)d.nodeName!="LI"||!d.id?g--:g==t?d.hasAttribute("aria-selected")||(d.setAttribute("aria-selected","true"),o=d):d.hasAttribute("aria-selected")&&d.removeAttribute("aria-selected");return o&&g1(this.list,o),o}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let o=this.dom.getBoundingClientRect(),d=this.info.getBoundingClientRect(),g=t.getBoundingClientRect(),D=this.space;if(!D){let L=this.dom.ownerDocument.defaultView||window;D={left:0,top:0,right:L.innerWidth,bottom:L.innerHeight}}return g.top>Math.min(D.bottom,o.bottom)-10||g.bottom<Math.max(D.top,o.top)+10?null:this.view.state.facet(gd).positionInfo(this.view,o,g,d,D,this.dom)}placeInfo(t){this.info&&(t?(t.style&&(this.info.style.cssText=t.style),this.info.className="cm-tooltip cm-completionInfo "+(t.class||"")):this.info.style.cssText="top: -1e6px")}createListBox(t,o,d){const g=document.createElement("ul");g.id=o,g.setAttribute("role","listbox"),g.setAttribute("aria-expanded","true"),g.setAttribute("aria-label",this.view.state.phrase("Completions"));let D=null;for(let L=d.from;L<d.to;L++){let{completion:$,match:te}=t[L],{section:he}=$;if(he){let Rt=typeof he=="string"?he:he.name;if(Rt!=D&&(L>d.from||d.from==0))if(D=Rt,typeof he!="string"&&he.header)g.appendChild(he.header(he));else{let En=g.appendChild(document.createElement("completion-section"));En.textContent=Rt}}const ve=g.appendChild(document.createElement("li"));ve.id=o+"-"+L,ve.setAttribute("role","option");let qe=this.optionClass($);qe&&(ve.className=qe);for(let Rt of this.optionContent){let En=Rt($,this.view.state,this.view,te);En&&ve.appendChild(En)}}return d.from&&g.classList.add("cm-completionListIncompleteTop"),d.to<t.length&&g.classList.add("cm-completionListIncompleteBottom"),g}destroyInfo(){this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),this.info=null)}destroy(){this.destroyInfo()}}function m1(p,t){return o=>new Fv(o,p,t)}function g1(p,t){let o=p.getBoundingClientRect(),d=t.getBoundingClientRect(),g=o.height/p.offsetHeight;d.top<o.top?p.scrollTop-=(o.top-d.top)/g:d.bottom>o.bottom&&(p.scrollTop+=(d.bottom-o.bottom)/g)}function m3(p){return(p.boost||0)*100+(p.apply?10:0)+(p.info?5:0)+(p.type?1:0)}function kv(p,t){let o=[],d=null,g=te=>{o.push(te);let{section:he}=te.completion;if(he){d||(d=[]);let ve=typeof he=="string"?he:he.name;d.some(qe=>qe.name==ve)||d.push(typeof he=="string"?{name:ve}:he)}};for(let te of p)if(te.hasResult()){let he=te.result.getMatch;if(te.result.filter===!1)for(let ve of te.result.options)g(new Iv(ve,te.source,he?he(ve):[],1e9-o.length));else{let ve=new Pv(t.sliceDoc(te.from,te.to));for(let qe of te.result.options)if(ve.match(qe.label)){let Rt=qe.displayLabel?he?he(qe,ve.matched):[]:ve.matched;g(new Iv(qe,te.source,Rt,ve.score+(qe.boost||0)))}}}if(d){let te=Object.create(null),he=0,ve=(qe,Rt)=>{var En,qn;return((En=qe.rank)!==null&&En!==void 0?En:1e9)-((qn=Rt.rank)!==null&&qn!==void 0?qn:1e9)||(qe.name<Rt.name?-1:1)};for(let qe of d.sort(ve))he-=1e5,te[qe.name]=he;for(let qe of o){let{section:Rt}=qe.completion;Rt&&(qe.score+=te[typeof Rt=="string"?Rt:Rt.name])}}let D=[],L=null,$=t.facet(gd).compareCompletions;for(let te of o.sort((he,ve)=>ve.score-he.score||$(he.completion,ve.completion))){let he=te.completion;!L||L.label!=he.label||L.detail!=he.detail||L.type!=null&&he.type!=null&&L.type!=he.type||L.apply!=he.apply||L.boost!=he.boost?D.push(te):m3(te.completion)>m3(L)&&(D[D.length-1]=te),L=te.completion}return D}class D4{constructor(t,o,d,g,D,L){this.options=t,this.attrs=o,this.tooltip=d,this.timestamp=g,this.selected=D,this.disabled=L}setSelected(t,o){return t==this.selected||t>=this.options.length?this:new D4(this.options,Uv(o,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,o,d,g,D){let L=kv(t,o);if(!L.length)return g&&t.some(te=>te.state==1)?new D4(g.options,g.attrs,g.tooltip,g.timestamp,g.selected,!0):null;let $=o.facet(gd).selectOnOpen?0:-1;if(g&&g.selected!=$&&g.selected!=-1){let te=g.options[g.selected].completion;for(let he=0;he<L.length;he++)if(L[he].completion==te){$=he;break}}return new D4(L,Uv(d,$),{pos:t.reduce((te,he)=>he.hasResult()?Math.min(te,he.from):te,1e8),create:lg,above:D.aboveCursor},g?g.timestamp:Date.now(),$,!1)}map(t){return new D4(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class A4{constructor(t,o,d){this.active=t,this.id=o,this.open=d}static start(){return new A4(_1,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:o}=t,d=o.facet(gd),D=(d.override||o.languageDataAt("autocomplete",hp(o)).map(h1)).map($=>(this.active.find(he=>he.source==$)||new Vd($,this.active.some(he=>he.state!=0)?1:0)).update(t,d));D.length==this.active.length&&D.every(($,te)=>$==this.active[te])&&(D=this.active);let L=this.open;L&&t.docChanged&&(L=L.map(t.changes)),t.selection||D.some($=>$.hasResult()&&t.changes.touchesRange($.from,$.to))||!v1(D,this.active)?L=D4.build(D,o,this.id,L,d):L&&L.disabled&&!D.some($=>$.state==1)&&(L=null),!L&&D.every($=>$.state!=1)&&D.some($=>$.hasResult())&&(D=D.map($=>$.hasResult()?new Vd($.source,0):$));for(let $ of t.effects)$.is(_m)&&(L=L&&L.setSelected($.value,this.id));return D==this.active&&L==this.open?this:new A4(D,this.id,L)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:E1}}function v1(p,t){if(p==t)return!0;for(let o=0,d=0;;){for(;o<p.length&&!p[o].hasResult;)o++;for(;d<t.length&&!t[d].hasResult;)d++;let g=o==p.length,D=d==t.length;if(g||D)return g==D;if(p[o++].result!=t[d++].result)return!1}}const E1={"aria-autocomplete":"list"};function Uv(p,t){let o={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":p};return t>-1&&(o["aria-activedescendant"]=p+"-"+t),o}const _1=[];function g3(p){return p.isUserEvent("input.type")?"input":p.isUserEvent("delete.backward")?"delete":null}class Vd{constructor(t,o,d=-1){this.source=t,this.state=o,this.explicitPos=d}hasResult(){return!1}update(t,o){let d=g3(t),g=this;d?g=g.handleUserEvent(t,d,o):t.docChanged?g=g.handleChange(t):t.selection&&g.state!=0&&(g=new Vd(g.source,0));for(let D of t.effects)if(D.is(og))g=new Vd(g.source,1,D.value?hp(t.state):-1);else if(D.is(Em))g=new Vd(g.source,0);else if(D.is(jv))for(let L of D.value)L.source==g.source&&(g=L);return g}handleUserEvent(t,o,d){return o=="delete"||!d.activateOnTyping?this.map(t.changes):new Vd(this.source,1)}handleChange(t){return t.changes.touchesRange(hp(t.startState))?new Vd(this.source,0):this.map(t.changes)}map(t){return t.empty||this.explicitPos<0?this:new Vd(this.source,this.state,t.mapPos(this.explicitPos))}}class x4 extends Vd{constructor(t,o,d,g,D){super(t,2,o),this.result=d,this.from=g,this.to=D}hasResult(){return!0}handleUserEvent(t,o,d){var g;let D=t.changes.mapPos(this.from),L=t.changes.mapPos(this.to,1),$=hp(t.state);if((this.explicitPos<0?$<=D:$<this.from)||$>L||o=="delete"&&hp(t.startState)==this.from)return new Vd(this.source,o=="input"&&d.activateOnTyping?1:0);let te=this.explicitPos<0?-1:t.changes.mapPos(this.explicitPos),he;return y1(this.result.validFor,t.state,D,L)?new x4(this.source,te,this.result,D,L):this.result.update&&(he=this.result.update(this.result,D,L,new wv(t.state,$,te>=0)))?new x4(this.source,te,he,he.from,(g=he.to)!==null&&g!==void 0?g:hp(t.state)):new Vd(this.source,1,te)}handleChange(t){return t.changes.touchesRange(this.from,this.to)?new Vd(this.source,0):this.map(t.changes)}map(t){return t.empty?this:new x4(this.source,this.explicitPos<0?-1:t.mapPos(this.explicitPos),this.result,t.mapPos(this.from),t.mapPos(this.to,1))}}function y1(p,t,o,d){if(!p)return!1;let g=t.sliceDoc(o,d);return typeof p=="function"?p(g,o,d,t):Mv(p,!0).test(g)}const jv=Vi.define({map(p,t){return p.map(o=>o.map(t))}}),_m=Vi.define(),od=Qi.define({create(){return A4.start()},update(p,t){return p.update(t)},provide:p=>[po.from(p,t=>t.tooltip),Rs.contentAttributes.from(p,t=>t.attrs)]});function $v(p,t){const o=t.completion.apply||t.completion.label;let d=p.state.field(od).active.find(g=>g.source==t.source);return d instanceof x4?(typeof o=="string"?p.dispatch(Object.assign(Object.assign({},f1(p.state,o,d.from,d.to)),{annotations:Nv.of(t.completion)})):o(p,t.completion,d.from,d.to),!0):!1}const lg=m1(od,$v);function cg(p,t="option"){return o=>{let d=o.state.field(od,!1);if(!d||!d.open||d.open.disabled||Date.now()-d.open.timestamp<o.state.facet(gd).interactionDelay)return!1;let g=1,D;t=="page"&&(D=i0(o,d.open.tooltip))&&(g=Math.max(2,Math.floor(D.dom.offsetHeight/D.dom.querySelector("li").offsetHeight)-1));let{length:L}=d.open.options,$=d.open.selected>-1?d.open.selected+g*(p?1:-1):p?0:L-1;return $<0?$=t=="page"?0:L-1:$>=L&&($=t=="page"?L-1:0),o.dispatch({effects:_m.of($)}),!0}}const Wv=p=>{let t=p.state.field(od,!1);return p.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<p.state.facet(gd).interactionDelay?!1:$v(p,t.open.options[t.open.selected])},b1=p=>p.state.field(od,!1)?(p.dispatch({effects:og.of(!0)}),!0):!1,C1=p=>{let t=p.state.field(od,!1);return!t||!t.active.some(o=>o.state!=0)?!1:(p.dispatch({effects:Em.of(null)}),!0)};class Hv{constructor(t,o){this.active=t,this.context=o,this.time=Date.now(),this.updates=[],this.done=void 0}}const S1=50,T1=1e3,D1=na.fromClass(class{constructor(p){this.view=p,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of p.state.field(od).active)t.state==1&&this.startQuery(t)}update(p){let t=p.state.field(od);if(!p.selectionSet&&!p.docChanged&&p.startState.field(od)==t)return;let o=p.transactions.some(g=>(g.selection||g.docChanged)&&!g3(g));for(let g=0;g<this.running.length;g++){let D=this.running[g];if(o||D.updates.length+p.transactions.length>S1&&Date.now()-D.time>T1){for(let L of D.context.abortListeners)try{L()}catch($){zo(this.view.state,$)}D.context.abortListeners=null,this.running.splice(g--,1)}else D.updates.push(...p.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),p.transactions.some(g=>g.effects.some(D=>D.is(og)))&&(this.pendingStart=!0);let d=this.pendingStart?50:p.state.facet(gd).activateOnTypingDelay;if(this.debounceUpdate=t.active.some(g=>g.state==1&&!this.running.some(D=>D.active.source==g.source))?setTimeout(()=>this.startUpdate(),d):-1,this.composing!=0)for(let g of p.transactions)g3(g)=="input"?this.composing=2:this.composing==2&&g.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:p}=this.view,t=p.field(od);for(let o of t.active)o.state==1&&!this.running.some(d=>d.active.source==o.source)&&this.startQuery(o)}startQuery(p){let{state:t}=this.view,o=hp(t),d=new wv(t,o,p.explicitPos==o),g=new Hv(p,d);this.running.push(g),Promise.resolve(p.source(d)).then(D=>{g.context.aborted||(g.done=D||null,this.scheduleAccept())},D=>{this.view.dispatch({effects:Em.of(null)}),zo(this.view.state,D)})}scheduleAccept(){this.running.every(p=>p.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(gd).updateSyncTime))}accept(){var p;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],o=this.view.state.facet(gd);for(let d=0;d<this.running.length;d++){let g=this.running[d];if(g.done===void 0)continue;if(this.running.splice(d--,1),g.done){let L=new x4(g.active.source,g.active.explicitPos,g.done,g.done.from,(p=g.done.to)!==null&&p!==void 0?p:hp(g.updates.length?g.updates[0].startState:this.view.state));for(let $ of g.updates)L=L.update($,o);if(L.hasResult()){t.push(L);continue}}let D=this.view.state.field(od).active.find(L=>L.source==g.active.source);if(D&&D.state==1)if(g.done==null){let L=new Vd(g.active.source,0);for(let $ of g.updates)L=L.update($,o);L.state!=1&&t.push(L)}else this.startQuery(D)}t.length&&this.view.dispatch({effects:jv.of(t)})}},{eventHandlers:{blur(p){let t=this.view.state.field(od,!1);if(t&&t.tooltip&&this.view.state.facet(gd).closeOnBlur){let o=t.open&&i0(this.view,t.open.tooltip);(!o||!o.dom.contains(p.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:Em.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:og.of(!1)}),20),this.composing=0}}}),Gv=Rs.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"\xB7\xB7\xB7"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:`${400}px`,boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`${30}px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`${30}px`},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'\u0192'"}},".cm-completionIcon-class":{"&:after":{content:"'\u25CB'"}},".cm-completionIcon-interface":{"&:after":{content:"'\u25CC'"}},".cm-completionIcon-variable":{"&:after":{content:"'\u{1D465}'"}},".cm-completionIcon-constant":{"&:after":{content:"'\u{1D436}'"}},".cm-completionIcon-type":{"&:after":{content:"'\u{1D461}'"}},".cm-completionIcon-enum":{"&:after":{content:"'\u222A'"}},".cm-completionIcon-property":{"&:after":{content:"'\u25A1'"}},".cm-completionIcon-keyword":{"&:after":{content:"'\u{1F511}\uFE0E'"}},".cm-completionIcon-namespace":{"&:after":{content:"'\u25A2'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class A1{constructor(t,o,d,g){this.field=t,this.line=o,this.from=d,this.to=g}}class v3{constructor(t,o,d){this.field=t,this.from=o,this.to=d}map(t){let o=t.mapPos(this.from,-1,MapMode.TrackDel),d=t.mapPos(this.to,1,MapMode.TrackDel);return o==null||d==null?null:new v3(this.field,o,d)}}class E3{constructor(t,o){this.lines=t,this.fieldPositions=o}instantiate(t,o){let d=[],g=[o],D=t.doc.lineAt(o),L=/^\s*/.exec(D.text)[0];for(let te of this.lines){if(d.length){let he=L,ve=/^\t*/.exec(te)[0].length;for(let qe=0;qe<ve;qe++)he+=t.facet(indentUnit);g.push(o+he.length-ve),te=he+te.slice(ve)}d.push(te),o+=te.length+1}let $=this.fieldPositions.map(te=>new v3(te.field,g[te.line]+te.from,g[te.line]+te.to));return{text:d,ranges:$}}static parse(t){let o=[],d=[],g=[],D;for(let L of t.split(/\r\n?|\n/)){for(;D=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(L);){let $=D[1]?+D[1]:null,te=D[2]||D[3]||"",he=-1;for(let ve=0;ve<o.length;ve++)($!=null?o[ve].seq==$:te&&o[ve].name==te)&&(he=ve);if(he<0){let ve=0;for(;ve<o.length&&($==null||o[ve].seq!=null&&o[ve].seq<$);)ve++;o.splice(ve,0,{seq:$,name:te}),he=ve;for(let qe of g)qe.field>=he&&qe.field++}g.push(new A1(he,d.length,D.index,D.index+te.length)),L=L.slice(0,D.index)+te+L.slice(D.index+D[0].length)}for(let $;$=/\\([{}])/.exec(L);){L=L.slice(0,$.index)+$[1]+L.slice($.index+$[0].length);for(let te of g)te.line==d.length&&te.from>$.index&&(te.from--,te.to--)}d.push(L)}return new E3(d,g)}}let x1=aa.widget({widget:new class extends vl{toDOM(){let p=document.createElement("span");return p.className="cm-snippetFieldPosition",p}ignoreEvent(){return!1}}}),O1=aa.mark({class:"cm-snippetField"});class kp{constructor(t,o){this.ranges=t,this.active=o,this.deco=aa.set(t.map(d=>(d.from==d.to?x1:O1).range(d.from,d.to)))}map(t){let o=[];for(let d of this.ranges){let g=d.map(t);if(!g)return null;o.push(g)}return new kp(o,this.active)}selectionInsideField(t){return t.ranges.every(o=>this.ranges.some(d=>d.field==this.active&&d.from<=o.from&&d.to>=o.to))}}const ym=Vi.define({map(p,t){return p&&p.map(t)}}),R1=Vi.define(),Up=Qi.define({create(){return null},update(p,t){for(let o of t.effects){if(o.is(ym))return o.value;if(o.is(R1)&&p)return new kp(p.ranges,o.value)}return p&&t.docChanged&&(p=p.map(t.changes)),p&&t.selection&&!p.selectionInsideField(t.selection)&&(p=null),p},provide:p=>Rs.decorations.from(p,t=>t?t.deco:aa.none)});function _3(p,t){return ut.create(p.filter(o=>o.field==t).map(o=>ut.range(o.from,o.to)))}function w1(p){let t=E3.parse(p);return(o,d,g,D)=>{let{text:L,ranges:$}=t.instantiate(o.state,g),te={changes:{from:g,to:D,insert:Text.of(L)},scrollIntoView:!0,annotations:d?[Nv.of(d),Transaction.userEvent.of("input.complete")]:void 0};if($.length&&(te.selection=_3($,0)),$.some(he=>he.field>0)){let he=new kp($,0),ve=te.effects=[ym.of(he)];o.state.field(Up,!1)===void 0&&ve.push(StateEffect.appendConfig.of([Up,Qv,N1,Gv]))}o.dispatch(o.state.update(te))}}function y3(p){return({state:t,dispatch:o})=>{let d=t.field(Up,!1);if(!d||p<0&&d.active==0)return!1;let g=d.active+p,D=p>0&&!d.ranges.some(L=>L.field==g+p);return o(t.update({selection:_3(d.ranges,g),effects:ym.of(D?null:new kp(d.ranges,g)),scrollIntoView:!0})),!0}}const zv=({state:p,dispatch:t})=>p.field(Up,!1)?(t(p.update({effects:ym.of(null)})),!0):!1,Vv=y3(1),I1=y3(-1);function M_(p){let t=p.field(Up,!1);return!!(t&&t.ranges.some(o=>o.field==t.active+1))}function N_(p){let t=p.field(Up,!1);return!!(t&&t.active>0)}const Kv=[{key:"Tab",run:Vv,shift:I1},{key:"Escape",run:zv}],Yv=ln.define({combine(p){return p.length?p[0]:Kv}}),Qv=bs.highest(du.compute([Yv],p=>p.facet(Yv)));function M1(p,t){return Object.assign(Object.assign({},t),{apply:w1(p)})}const N1=Rs.domEventHandlers({mousedown(p,t){let o=t.state.field(Up,!1),d;if(!o||(d=t.posAtCoords({x:p.clientX,y:p.clientY}))==null)return!1;let g=o.ranges.find(D=>D.from<=d&&D.to>=d);return!g||g.field==o.active?!1:(t.dispatch({selection:_3(o.ranges,g.field),effects:ym.of(o.ranges.some(D=>D.field>g.field)?new kp(o.ranges,g.field):null),scrollIntoView:!0}),!0)}});function P1(p){let t=p.replace(/[\]\-\\]/g,"\\$&");try{return new RegExp(`[\\p{Alphabetic}\\p{Number}_${t}]+`,"ug")}catch{return new RegExp(`[w${t}]`,"g")}}function b3(p,t){return new RegExp(t(p.source),p.unicode?"u":"")}const dg=null;function C3(p){return dg[p]||(dg[p]=new WeakMap)}function Zv(p,t,o,d,g){for(let D=p.iterLines(),L=0;!D.next().done;){let{value:$}=D,te;for(t.lastIndex=0;te=t.exec($);)if(!d[te[0]]&&L+te.index!=g&&(o.push({type:"text",label:te[0]}),d[te[0]]=!0,o.length>=2e3))return;L+=$.length+1}}function Xv(p,t,o,d,g){let D=p.length>=1e3,L=D&&t.get(p);if(L)return L;let $=[],te=Object.create(null);if(p.children){let he=0;for(let ve of p.children){if(ve.length>=1e3)for(let qe of Xv(ve,t,o,d-he,g-he))te[qe.label]||(te[qe.label]=!0,$.push(qe));else Zv(ve,o,$,te,g-he);he+=ve.length+1}}else Zv(p,o,$,te,g);return D&&$.length<2e3&&t.set(p,$),$}const P_=p=>{let t=p.state.languageDataAt("wordChars",p.pos).join(""),o=P1(t),d=p.matchBefore(b3(o,L=>L+"$"));if(!d&&!p.explicit)return null;let g=d?d.from:p.pos,D=Xv(p.state.doc,C3(t),o,5e4,g);return{from:g,options:D,validFor:b3(o,L=>"^"+L)}},bm={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},jp=Vi.define({map(p,t){let o=t.mapPos(p,-1,lr.TrackAfter);return o??void 0}}),S3=new class extends qo{};S3.startSide=1,S3.endSide=-1;const Ai=Qi.define({create(){return ke.empty},update(p,t){if(p=p.map(t.changes),t.selection){let o=t.state.doc.lineAt(t.selection.main.head);p=p.update({filter:d=>d>=o.from&&d<=o.to})}for(let o of t.effects)o.is(jp)&&(p=p.update({add:[S3.range(o.value,o.value+1)]}));return p}});function L1(){return[Ef,Ai]}const O4="()[]{}<>";function Cm(p){for(let t=0;t<O4.length;t+=2)if(O4.charCodeAt(t)==p)return O4.charAt(t+1);return Mt(p<128?p:p+1)}function R4(p,t){return p.languageDataAt("closeBrackets",t)[0]||bm}const Jv=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Ef=Rs.inputHandler.of((p,t,o,d)=>{if((Jv?p.composing:p.compositionStarted)||p.state.readOnly)return!1;let g=p.state.selection.main;if(d.length>2||d.length==2&&qt(ft(d,0))==1||t!=g.from||o!=g.to)return!1;let D=fg(p.state,d);return D?(p.dispatch(D),!0):!1}),$p=[{key:"Backspace",run:({state:p,dispatch:t})=>{if(p.readOnly)return!1;let d=R4(p,p.selection.main.head).brackets||bm.brackets,g=null,D=p.changeByRange(L=>{if(L.empty){let $=B1(p.doc,L.head);for(let te of d)if(te==$&&hg(p.doc,L.head)==Cm(ft(te,0)))return{changes:{from:L.head-te.length,to:L.head+te.length},range:ut.cursor(L.head-te.length)}}return{range:g=L}});return g||t(p.update(D,{scrollIntoView:!0,userEvent:"delete.backward"})),!g}}];function fg(p,t){let o=R4(p,p.selection.main.head),d=o.brackets||bm.brackets;for(let g of d){let D=Cm(ft(g,0));if(t==g)return D==g?U1(p,g,d.indexOf(g+g+g)>-1,o):F1(p,g,D,o.before||bm.before);if(t==D&&Wp(p,p.selection.main.from))return k1(p,g,D)}return null}function Wp(p,t){let o=!1;return p.field(Ai).between(0,p.doc.length,d=>{d==t&&(o=!0)}),o}function hg(p,t){let o=p.sliceString(t,t+2);return o.slice(0,qt(ft(o,0)))}function B1(p,t){let o=p.sliceString(t-2,t);return qt(ft(o,0))==o.length?o:o.slice(1)}function F1(p,t,o,d){let g=null,D=p.changeByRange(L=>{if(!L.empty)return{changes:[{insert:t,from:L.from},{insert:o,from:L.to}],effects:jp.of(L.to+t.length),range:ut.range(L.anchor+t.length,L.head+t.length)};let $=hg(p.doc,L.head);return!$||/\s/.test($)||d.indexOf($)>-1?{changes:{insert:t+o,from:L.head},effects:jp.of(L.head+t.length),range:ut.cursor(L.head+t.length)}:{range:g=L}});return g?null:p.update(D,{scrollIntoView:!0,userEvent:"input.type"})}function k1(p,t,o){let d=null,g=p.changeByRange(D=>D.empty&&hg(p.doc,D.head)==o?{changes:{from:D.head,to:D.head+o.length,insert:o},range:ut.cursor(D.head+o.length)}:d={range:D});return d?null:p.update(g,{scrollIntoView:!0,userEvent:"input.type"})}function U1(p,t,o,d){let g=d.stringPrefixes||bm.stringPrefixes,D=null,L=p.changeByRange($=>{if(!$.empty)return{changes:[{insert:t,from:$.from},{insert:t,from:$.to}],effects:jp.of($.to+t.length),range:ut.range($.anchor+t.length,$.head+t.length)};let te=$.head,he=hg(p.doc,te),ve;if(he==t){if(qv(p,te))return{changes:{insert:t+t,from:te},effects:jp.of(te+t.length),range:ut.cursor(te+t.length)};if(Wp(p,te)){let Rt=o&&p.sliceDoc(te,te+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:te,to:te+Rt.length,insert:Rt},range:ut.cursor(te+Rt.length)}}}else{if(o&&p.sliceDoc(te-2*t.length,te)==t+t&&(ve=T3(p,te-2*t.length,g))>-1&&qv(p,ve))return{changes:{insert:t+t+t+t,from:te},effects:jp.of(te+t.length),range:ut.cursor(te+t.length)};if(p.charCategorizer(te)(he)!=co.Word&&T3(p,te,g)>-1&&!eE(p,te,t,g))return{changes:{insert:t+t,from:te},effects:jp.of(te+t.length),range:ut.cursor(te+t.length)}}return{range:D=$}});return D?null:p.update(L,{scrollIntoView:!0,userEvent:"input.type"})}function qv(p,t){let o=Ac(p).resolveInner(t+1);return o.parent&&o.from==t}function eE(p,t,o,d){let g=Ac(p).resolveInner(t,-1),D=d.reduce((L,$)=>Math.max(L,$.length),0);for(let L=0;L<5;L++){let $=p.sliceDoc(g.from,Math.min(g.to,g.from+o.length+D)),te=$.indexOf(o);if(!te||te>-1&&d.indexOf($.slice(0,te))>-1){let ve=g.firstChild;for(;ve&&ve.from==g.from&&ve.to-ve.from>o.length+te;){if(p.sliceDoc(ve.to-o.length,ve.to)==o)return!1;ve=ve.firstChild}return!0}let he=g.to==t&&g.parent;if(!he)break;g=he}return!1}function T3(p,t,o){let d=p.charCategorizer(t);if(d(p.sliceDoc(t-1,t))!=co.Word)return t;for(let g of o){let D=t-g.length;if(p.sliceDoc(D,t)==g&&d(p.sliceDoc(D-1,D))!=co.Word)return D}return-1}function j1(p={}){return[od,gd.of(p),D1,nE,Gv]}const tE=[{key:"Ctrl-Space",run:b1},{key:"Escape",run:C1},{key:"ArrowDown",run:cg(!0)},{key:"ArrowUp",run:cg(!1)},{key:"PageDown",run:cg(!0,"page")},{key:"PageUp",run:cg(!1,"page")},{key:"Enter",run:Wv}],nE=bs.highest(du.computeN([gd],p=>p.facet(gd).defaultKeymap?[tE]:[]));function $1(p){let t=p.field(od,!1);return t&&t.active.some(o=>o.state==1)?"pending":t&&t.active.some(o=>o.state!=0)?"active":null}const D3=new WeakMap;function B_(p){var t;let o=(t=p.field(od,!1))===null||t===void 0?void 0:t.open;if(!o||o.disabled)return[];let d=D3.get(o.options);return d||D3.set(o.options,d=o.options.map(g=>g.completion)),d}function rE(p){var t;let o=(t=p.field(od,!1))===null||t===void 0?void 0:t.open;return o&&!o.disabled&&o.selected>=0?o.options[o.selected].completion:null}function F_(p){var t;let o=(t=p.field(od,!1))===null||t===void 0?void 0:t.open;return o&&!o.disabled&&o.selected>=0?o.selected:null}function k_(p){return _m.of(p)}class W1{constructor(t,o,d){this.from=t,this.to=o,this.diagnostic=d}}class Hp{constructor(t,o,d){this.diagnostics=t,this.panel=o,this.selected=d}static init(t,o,d){let g=t,D=d.facet(gg).markerFilter;D&&(g=D(g));let L=aa.set(g.map($=>$.from==$.to||$.from==$.to-1&&d.doc.lineAt($.from).to==$.from?aa.widget({widget:new Y1($),diagnostic:$}).range($.from):aa.mark({attributes:{class:"cm-lintRange cm-lintRange-"+$.severity+($.markClass?" "+$.markClass:"")},diagnostic:$}).range($.from,$.to)),!0);return new Hp(L,o,Mf(L))}}function Mf(p,t=null,o=0){let d=null;return p.between(o,1e9,(g,D,{spec:L})=>{if(!(t&&L.diagnostic!=t))return d=new W1(g,D,L.diagnostic),!1}),d}function pg(p,t){let o=p.startState.doc.lineAt(t.pos);return!!(p.effects.some(d=>d.is(mg))||p.changes.touchesRange(o.from,o.to))}function iE(p,t){return p.field(wd,!1)?t:t.concat(Vi.appendConfig.of(M3))}function U_(p,t){return{effects:iE(p,[mg.of(t)])}}const mg=Vi.define(),A3=Vi.define(),x3=Vi.define(),wd=Qi.define({create(){return new Hp(aa.none,null,null)},update(p,t){if(t.docChanged){let o=p.diagnostics.map(t.changes),d=null;if(p.selected){let g=t.changes.mapPos(p.selected.from,1);d=Mf(o,p.selected.diagnostic,g)||Mf(o,null,g)}p=new Hp(o,p.panel,d)}for(let o of t.effects)o.is(mg)?p=Hp.init(o.value,p.panel,t.state):o.is(A3)?p=new Hp(p.diagnostics,o.value?Sm.open:null,p.selected):o.is(x3)&&(p=new Hp(p.diagnostics,p.panel,o.value));return p},provide:p=>[I0.from(p,t=>t.panel),Rs.decorations.from(p,t=>t.diagnostics)]});function j_(p){let t=p.field(wd,!1);return t?t.diagnostics.size:0}const H1=aa.mark({class:"cm-lintRange cm-lintRange-active"});function sE(p,t,o){let{diagnostics:d}=p.state.field(wd),g=[],D=2e8,L=0;d.between(t-(o<0?1:0),t+(o>0?1:0),(te,he,{spec:ve})=>{t>=te&&t<=he&&(te==he||(t>te||o>0)&&(t<he||o<0))&&(g.push(ve.diagnostic),D=Math.min(te,D),L=Math.max(he,L))});let $=p.state.facet(gg).tooltipFilter;return $&&(g=$(g)),g.length?{pos:D,end:L,above:p.state.doc.lineAt(D).to<L,create(){return{dom:O3(p,g)}}}:null}function O3(p,t){return yc("ul",{class:"cm-tooltip-lint"},t.map(o=>pp(p,o,!1)))}const aE=p=>{let t=p.state.field(wd,!1);(!t||!t.panel)&&p.dispatch({effects:iE(p.state,[A3.of(!0)])});let o=Sf(p,Sm.open);return o&&o.dom.querySelector(".cm-panel-lint ul").focus(),!0},oE=p=>{let t=p.state.field(wd,!1);return!t||!t.panel?!1:(p.dispatch({effects:A3.of(!1)}),!0)},G1=p=>{let t=p.state.field(wd,!1);if(!t)return!1;let o=p.state.selection.main,d=t.diagnostics.iter(o.to+1);return!d.value&&(d=t.diagnostics.iter(0),!d.value||d.from==o.from&&d.to==o.to)?!1:(p.dispatch({selection:{anchor:d.from,head:d.to},scrollIntoView:!0}),!0)},z1=p=>{let{state:t}=p,o=t.field(wd,!1);if(!o)return!1;let d=t.selection.main,g,D,L,$;return o.diagnostics.between(0,t.doc.length,(te,he)=>{he<d.to&&(g==null||g<te)&&(g=te,D=he),(L==null||te>L)&&(L=te,$=he)}),L==null||g==null&&L==d.from?!1:(p.dispatch({selection:{anchor:g??L,head:D??$},scrollIntoView:!0}),!0)},V1=[{key:"Mod-Shift-m",run:aE,preventDefault:!0},{key:"F8",run:G1}],uE=null,gg=ln.define({combine(p){return Object.assign({sources:p.map(t=>t.source)},Jo(p.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null},{needsRefresh:(t,o)=>t?o?d=>t(d)||o(d):t:o}))}});function $_(p,t={}){return[gg.of({source:p,config:t}),uE,M3]}function K1(p){let t=p.plugin(uE);t&&t.force()}function vg(p){let t=[];if(p)e:for(let{name:o}of p){for(let d=0;d<o.length;d++){let g=o[d];if(/[a-zA-Z]/.test(g)&&!t.some(D=>D.toLowerCase()==g.toLowerCase())){t.push(g);continue e}}t.push("")}return t}function pp(p,t,o){var d;let g=o?vg(t.actions):[];return yc("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},yc("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage():t.message),(d=t.actions)===null||d===void 0?void 0:d.map((D,L)=>{let $=!1,te=Rt=>{if(Rt.preventDefault(),$)return;$=!0;let En=Mf(p.state.field(wd).diagnostics,t);En&&D.apply(p,En.from,En.to)},{name:he}=D,ve=g[L]?he.indexOf(g[L]):-1,qe=ve<0?he:[he.slice(0,ve),yc("u",he.slice(ve,ve+1)),he.slice(ve+1)];return yc("button",{type:"button",class:"cm-diagnosticAction",onclick:te,onmousedown:te,"aria-label":` Action: ${he}${ve<0?"":` (access key "${g[L]})"`}.`},qe)}),t.source&&yc("div",{class:"cm-diagnosticSource"},t.source))}class Y1 extends vl{constructor(t){super(),this.diagnostic=t}eq(t){return t.diagnostic==this.diagnostic}toDOM(){return yc("span",{class:"cm-lintPoint cm-lintPoint-"+this.diagnostic.severity})}}class lE{constructor(t,o){this.diagnostic=o,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=pp(t,o,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Sm{constructor(t){this.view=t,this.items=[];let o=g=>{if(g.keyCode==27)oE(this.view),this.view.focus();else if(g.keyCode==38||g.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(g.keyCode==40||g.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(g.keyCode==36)this.moveSelection(0);else if(g.keyCode==35)this.moveSelection(this.items.length-1);else if(g.keyCode==13)this.view.focus();else if(g.keyCode>=65&&g.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:D}=this.items[this.selectedIndex],L=vg(D.actions);for(let $=0;$<L.length;$++)if(L[$].toUpperCase().charCodeAt(0)==g.keyCode){let te=Mf(this.view.state.field(wd).diagnostics,D);te&&D.actions[$].apply(t,te.from,te.to)}}else return;g.preventDefault()},d=g=>{for(let D=0;D<this.items.length;D++)this.items[D].dom.contains(g.target)&&this.moveSelection(D)};this.list=yc("ul",{tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),onkeydown:o,onclick:d}),this.dom=yc("div",{class:"cm-panel-lint"},this.list,yc("button",{type:"button",name:"close","aria-label":this.view.state.phrase("close"),onclick:()=>oE(this.view)},"\xD7")),this.update()}get selectedIndex(){let t=this.view.state.field(wd).selected;if(!t)return-1;for(let o=0;o<this.items.length;o++)if(this.items[o].diagnostic==t.diagnostic)return o;return-1}update(){let{diagnostics:t,selected:o}=this.view.state.field(wd),d=0,g=!1,D=null;for(t.between(0,this.view.state.doc.length,(L,$,{spec:te})=>{let he=-1,ve;for(let qe=d;qe<this.items.length;qe++)if(this.items[qe].diagnostic==te.diagnostic){he=qe;break}he<0?(ve=new lE(this.view,te.diagnostic),this.items.splice(d,0,ve),g=!0):(ve=this.items[he],he>d&&(this.items.splice(d,he-d),g=!0)),o&&ve.diagnostic==o.diagnostic?ve.dom.hasAttribute("aria-selected")||(ve.dom.setAttribute("aria-selected","true"),D=ve):ve.dom.hasAttribute("aria-selected")&&ve.dom.removeAttribute("aria-selected"),d++});d<this.items.length&&!(this.items.length==1&&this.items[0].diagnostic.from<0);)g=!0,this.items.pop();this.items.length==0&&(this.items.push(new lE(this.view,{from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")})),g=!0),D?(this.list.setAttribute("aria-activedescendant",D.id),this.view.requestMeasure({key:this,read:()=>({sel:D.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:L,panel:$})=>{let te=$.height/this.list.offsetHeight;L.top<$.top?this.list.scrollTop-=($.top-L.top)/te:L.bottom>$.bottom&&(this.list.scrollTop+=(L.bottom-$.bottom)/te)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),g&&this.sync()}sync(){let t=this.list.firstChild;function o(){let d=t;t=d.nextSibling,d.remove()}for(let d of this.items)if(d.dom.parentNode==this.list){for(;t!=d.dom;)o();t=d.dom.nextSibling}else this.list.insertBefore(d.dom,t);for(;t;)o()}moveSelection(t){if(this.selectedIndex<0)return;let o=this.view.state.field(wd),d=Mf(o.diagnostics,this.items[t].diagnostic);d&&this.view.dispatch({selection:{anchor:d.from,head:d.to},scrollIntoView:!0,effects:x3.of(d)})}static open(t){return new Sm(t)}}function w4(p,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" ${t}>${encodeURIComponent(p)}</svg>')`}function Tm(p){return w4(`<path d="m0 2.5 l2 -1.5 l1 0 l2 1.5 l1 0" stroke="${p}" fill="none" stroke-width=".7"/>`,'width="6" height="3"')}const Q1=Rs.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:Tm("#d11")},".cm-lintRange-warning":{backgroundImage:Tm("orange")},".cm-lintRange-info":{backgroundImage:Tm("#999")},".cm-lintRange-hint":{backgroundImage:Tm("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function R3(p){return p=="error"?4:p=="warning"?3:p=="info"?2:1}class cE extends fd{constructor(t){super(),this.diagnostics=t,this.severity=t.reduce((o,d)=>R3(o)<R3(d.severity)?d.severity:o,"hint")}toDOM(t){let o=document.createElement("div");o.className="cm-lint-marker cm-lint-marker-"+this.severity;let d=this.diagnostics,g=t.state.facet(Am).tooltipFilter;return g&&(d=g(d)),d.length&&(o.onmouseover=()=>Z1(t,o,d)),o}}function w3(p,t){let o=d=>{let g=t.getBoundingClientRect();if(!(d.clientX>g.left-10&&d.clientX<g.right+10&&d.clientY>g.top-10&&d.clientY<g.bottom+10)){for(let D=d.target;D;D=D.parentNode)if(D.nodeType==1&&D.classList.contains("cm-tooltip-lint"))return;window.removeEventListener("mousemove",o),p.state.field(I3)&&p.dispatch({effects:Dm.of(null)})}};window.addEventListener("mousemove",o)}function Z1(p,t,o){function d(){let L=p.elementAtHeight(t.getBoundingClientRect().top+5-p.documentTop);p.coordsAtPos(L.from)&&p.dispatch({effects:Dm.of({pos:L.from,above:!1,create(){return{dom:O3(p,o),getCoords:()=>t.getBoundingClientRect()}}})}),t.onmouseout=t.onmousemove=null,w3(p,t)}let{hoverTime:g}=p.state.facet(Am),D=setTimeout(d,g);t.onmouseout=()=>{clearTimeout(D),t.onmouseout=t.onmousemove=null},t.onmousemove=()=>{clearTimeout(D),D=setTimeout(d,g)}}function X1(p,t){let o=Object.create(null);for(let g of t){let D=p.lineAt(g.from);(o[D.from]||(o[D.from]=[])).push(g)}let d=[];for(let g in o)d.push(new cE(o[g]).range(+g));return ke.of(d,!0)}const J1=Qp({class:"cm-gutter-lint",markers:p=>p.state.field(dE)}),dE=Qi.define({create(){return ke.empty},update(p,t){p=p.map(t.changes);let o=t.state.facet(Am).markerFilter;for(let d of t.effects)if(d.is(mg)){let g=d.value;o&&(g=o(g||[])),p=X1(t.state.doc,g.slice(0))}return p}}),Dm=Vi.define(),I3=Qi.define({create(){return null},update(p,t){return p&&t.docChanged&&(p=pg(t,p)?null:Object.assign(Object.assign({},p),{pos:t.changes.mapPos(p.pos)})),t.effects.reduce((o,d)=>d.is(Dm)?d.value:o,p)},provide:p=>po.from(p)}),fE=Rs.baseTheme({".cm-gutter-lint":{width:"1.4em","& .cm-gutterElement":{padding:".2em"}},".cm-lint-marker":{width:"1em",height:"1em"},".cm-lint-marker-info":{content:w4('<path fill="#aaf" stroke="#77e" stroke-width="6" stroke-linejoin="round" d="M5 5L35 5L35 35L5 35Z"/>')},".cm-lint-marker-warning":{content:w4('<path fill="#fe8" stroke="#fd7" stroke-width="6" stroke-linejoin="round" d="M20 6L37 35L3 35Z"/>')},".cm-lint-marker-error":{content:w4('<circle cx="20" cy="20" r="15" fill="#f87" stroke="#f43" stroke-width="6"/>')}}),M3=[wd,Rs.decorations.compute([wd],p=>{let{selected:t,panel:o}=p.field(wd);return!t||!o||t.from==t.to?aa.none:aa.set([H1.range(t.from,t.to)])}),Dd(sE,{hideOn:pg}),Q1],Am=ln.define({combine(p){return Jo(p,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});function q1(p={}){return[Am.of(p),dE,J1,fE,I3]}function W_(p,t){let o=p.field(wd,!1);if(o&&o.diagnostics.size)for(let d=RangeSet.iter([o.diagnostics]);d.value;d.next())t(d.value.spec.diagnostic,d.from,d.to)}var N3=function(t){t===void 0&&(t={});var{crosshairCursor:o=!1}=t,d=[];t.closeBracketsKeymap!==!1&&(d=d.concat($p)),t.defaultKeymap!==!1&&(d=d.concat(hm)),t.searchKeymap!==!1&&(d=d.concat(Rv)),t.historyKeymap!==!1&&(d=d.concat(Yg)),t.foldKeymap!==!1&&(d=d.concat(Fl)),t.completionKeymap!==!1&&(d=d.concat(tE)),t.lintKeymap!==!1&&(d=d.concat(V1));var g=[];return t.lineNumbers!==!1&&g.push(Ad()),t.highlightActiveLineGutter!==!1&&g.push(Qh()),t.highlightSpecialChars!==!1&&g.push(pl()),t.history!==!1&&g.push(Wg()),t.foldGutter!==!1&&g.push(np()),t.drawSelection!==!1&&g.push(De()),t.dropCursor!==!1&&g.push(qi()),t.allowMultipleSelections!==!1&&g.push(Ha.allowMultipleSelections.of(!0)),t.indentOnInput!==!1&&g.push(Wu()),t.syntaxHighlighting!==!1&&g.push(Vf(Ih,{fallback:!0})),t.bracketMatching!==!1&&g.push(E0()),t.closeBrackets!==!1&&g.push(L1()),t.autocompletion!==!1&&g.push(j1()),t.rectangularSelection!==!1&&g.push(uc()),o!==!1&&g.push(_h()),t.highlightActiveLine!==!1&&g.push(m0()),t.highlightSelectionMatches!==!1&&g.push(d3()),t.tabSize&&typeof t.tabSize=="number"&&g.push(en.of(" ".repeat(t.tabSize))),g.concat([du.of(d.flat())]).filter(Boolean)},hE=function(t){t===void 0&&(t={});var o=[];t.defaultKeymap!==!1&&(o=o.concat(defaultKeymap)),t.historyKeymap!==!1&&(o=o.concat(historyKeymap));var d=[];return t.highlightSpecialChars!==!1&&d.push(highlightSpecialChars()),t.history!==!1&&d.push(history()),t.drawSelection!==!1&&d.push(drawSelection()),t.syntaxHighlighting!==!1&&d.push(syntaxHighlighting(defaultHighlightStyle,{fallback:!0})),d.concat([keymap.of(o.flat())]).filter(Boolean)};const pE="#e5c07b",Eg="#e06c75",mE="#56b6c2",_g="#ffffff",Gp="#abb2bf",yg="#7d8799",zp="#61afef",gE="#98c379",P3="#d19a66",vE="#c678dd",EE="#21252b",I4="#2c313a",bg="#282c34",M4="#353a42",_E="#3E4451",N4="#528bff",e_={chalky:pE,coral:Eg,cyan:mE,invalid:_g,ivory:Gp,stone:yg,malibu:zp,sage:gE,whiskey:P3,violet:vE,darkBackground:EE,highlightBackground:I4,background:bg,tooltipBackground:M4,selection:_E,cursor:N4},t_=Rs.theme({"&":{color:Gp,backgroundColor:bg},".cm-content":{caretColor:N4},".cm-cursor, .cm-dropCursor":{borderLeftColor:N4},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:_E},".cm-panels":{backgroundColor:EE,color:Gp},".cm-panels.cm-panels-top":{borderBottom:"2px solid black"},".cm-panels.cm-panels-bottom":{borderTop:"2px solid black"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#6699ff0b"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:bg,color:yg,border:"none"},".cm-activeLineGutter":{backgroundColor:I4},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"none",backgroundColor:M4},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:M4,borderBottomColor:M4},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{backgroundColor:I4,color:Gp}}},{dark:!0}),L3=zf.define([{tag:on.keyword,color:vE},{tag:[on.name,on.deleted,on.character,on.propertyName,on.macroName],color:Eg},{tag:[on.function(on.variableName),on.labelName],color:zp},{tag:[on.color,on.constant(on.name),on.standard(on.name)],color:P3},{tag:[on.definition(on.name),on.separator],color:Gp},{tag:[on.typeName,on.className,on.number,on.changed,on.annotation,on.modifier,on.self,on.namespace],color:pE},{tag:[on.operator,on.operatorKeyword,on.url,on.escape,on.regexp,on.link,on.special(on.string)],color:mE},{tag:[on.meta,on.comment],color:yg},{tag:on.strong,fontWeight:"bold"},{tag:on.emphasis,fontStyle:"italic"},{tag:on.strikethrough,textDecoration:"line-through"},{tag:on.link,color:yg,textDecoration:"underline"},{tag:on.heading,fontWeight:"bold",color:Eg},{tag:[on.atom,on.bool,on.special(on.variableName)],color:P3},{tag:[on.processingInstruction,on.string,on.inserted],color:gE},{tag:on.invalid,color:_g}]),yE=[t_,Vf(L3)];var bE=Rs.theme({"&":{backgroundColor:"#fff"}},{dark:!1}),n_=function(t){t===void 0&&(t={});var{indentWithTab:o=!0,editable:d=!0,readOnly:g=!1,theme:D="light",placeholder:L="",basicSetup:$=!0}=t,te=[];switch(o&&te.unshift(du.of([mv])),$&&(typeof $=="boolean"?te.unshift(N3()):te.unshift(N3($))),L&&te.unshift(tu(L)),D){case"light":te.push(bE);break;case"dark":te.push(yE);break;case"none":break;default:te.push(D);break}return d===!1&&te.push(Rs.editable.of(!1)),g&&te.push(Ha.readOnly.of(!0)),[...te]},CE=p=>({line:p.state.doc.lineAt(p.state.selection.main.from),lineCount:p.state.doc.lines,lineBreak:p.state.lineBreak,length:p.state.doc.length,readOnly:p.state.readOnly,tabSize:p.state.tabSize,selection:p.state.selection,selectionAsSingle:p.state.selection.asSingle().main,ranges:p.state.selection.ranges,selectionCode:p.state.sliceDoc(p.state.selection.main.from,p.state.selection.main.to),selections:p.state.selection.ranges.map(t=>p.state.sliceDoc(t.from,t.to)),selectedText:p.state.selection.ranges.some(t=>!t.empty)}),B3=os.define(),SE=[];function F3(p){var{value:t,selection:o,onChange:d,onStatistics:g,onCreateEditor:D,onUpdate:L,extensions:$=SE,autoFocus:te,theme:he="light",height:ve=null,minHeight:qe=null,maxHeight:Rt=null,width:En=null,minWidth:qn=null,maxWidth:zr=null,placeholder:Qr="",editable:$i=!0,readOnly:_s=!1,indentWithTab:ea=!0,basicSetup:Ws=!0,root:Os,initialState:ua}=p,[Ls,vo]=(0,a.useState)(),[lo,Ro]=(0,a.useState)(),[Mo,Xo]=(0,a.useState)(),kl=Rs.theme({"&":{height:ve,minHeight:qe,maxHeight:Rt,width:En,minWidth:qn,maxWidth:zr},"& .cm-scroller":{height:"100% !important"}}),ul=Rs.updateListener.of(wc=>{if(wc.docChanged&&typeof d=="function"&&!wc.transactions.some(y0=>y0.annotation(B3))){var X0=wc.state.doc,vd=X0.toString();d(vd,wc)}g&&g(CE(wc))}),Fc=n_({theme:he,editable:$i,readOnly:_s,placeholder:Qr,indentWithTab:ea,basicSetup:Ws}),H0=[ul,kl,...Fc];return L&&typeof L=="function"&&H0.push(Rs.updateListener.of(L)),H0=H0.concat($),(0,a.useEffect)(()=>{if(Ls&&!Mo){var wc={doc:t,selection:o,extensions:H0},X0=ua?Ha.fromJSON(ua.json,wc,ua.fields):Ha.create(wc);if(Xo(X0),!lo){var vd=new Rs({state:X0,parent:Ls,root:Os});Ro(vd),D&&D(vd,X0)}}return()=>{lo&&(Xo(void 0),Ro(void 0))}},[Ls,Mo]),(0,a.useEffect)(()=>vo(p.container),[p.container]),(0,a.useEffect)(()=>()=>{lo&&(lo.destroy(),Ro(void 0))},[lo]),(0,a.useEffect)(()=>{te&&lo&&lo.focus()},[te,lo]),(0,a.useEffect)(()=>{lo&&lo.dispatch({effects:Vi.reconfigure.of(H0)})},[he,$,ve,qe,Rt,En,qn,zr,Qr,$i,_s,ea,Ws,d,L]),(0,a.useEffect)(()=>{if(t!==void 0){var wc=lo?lo.state.doc.toString():"";lo&&t!==wc&&lo.dispatch({changes:{from:0,to:wc.length,insert:t||""},annotations:[B3.of(!0)]})}},[t,lo]),{state:Mo,setState:Xo,view:lo,setView:Ro,container:Ls,setContainer:vo}}var TE=["className","value","selection","extensions","onChange","onStatistics","onCreateEditor","onUpdate","autoFocus","theme","height","minHeight","maxHeight","width","minWidth","maxWidth","basicSetup","placeholder","indentWithTab","editable","readOnly","root","initialState"],DE=(0,a.forwardRef)((p,t)=>{var{className:o,value:d="",selection:g,extensions:D=[],onChange:L,onStatistics:$,onCreateEditor:te,onUpdate:he,autoFocus:ve,theme:qe="light",height:Rt,minHeight:En,maxHeight:qn,width:zr,minWidth:Qr,maxWidth:$i,basicSetup:_s,placeholder:ea,indentWithTab:Ws,editable:Os,readOnly:ua,root:Ls,initialState:vo}=p,lo=(0,Bg.c)(p,TE),Ro=(0,a.useRef)(null),{state:Mo,view:Xo,container:kl}=F3({container:Ro.current,root:Ls,value:d,autoFocus:ve,theme:qe,height:Rt,minHeight:En,maxHeight:qn,width:zr,minWidth:Qr,maxWidth:$i,basicSetup:_s,placeholder:ea,indentWithTab:Ws,editable:Os,readOnly:ua,selection:g,onChange:L,onStatistics:$,onCreateEditor:te,onUpdate:he,extensions:D,initialState:vo});if((0,a.useImperativeHandle)(t,()=>({editor:Ro.current,state:Mo,view:Xo}),[Ro,kl,Mo,Xo]),typeof d!="string")throw new Error("value must be typeof string but got "+typeof d);var ul=typeof qe=="string"?"cm-theme-"+qe:"cm-theme";return(0,i.jsx)("div",(0,kh.c)({ref:Ro,className:""+ul+(o?" "+o:"")},lo))});DE.displayName="CodeMirror";const r_=null;var AE=e(3704);const Cg=Vi.define(),k3=Vi.define(),U3=aa.mark({attributes:{style:"background-color: yellow; color: black"}}),i_=Qi.define({create(){return aa.none},update(p,t){return p=p.map(t.changes),t.effects.forEach(o=>{o.is(Cg)?p=p.update({add:o.value,sort:!0}):o.is(k3)&&(p=p.update({filter:o.value}))}),p},provide:p=>Rs.decorations.from(p)});var s_=e(94072),Kd=e(95080),xm=e(48936),a_=e(33128),xE=e(74264),j3=e(79080),o_=e(53744);const u_=(0,a.forwardRef)(({label:p,error:t,hint:o,labelAction:d,value:g="",required:D=!1,disabled:L=!1,onChange:$=()=>null,...te},he)=>{const ve=(0,a.useRef)(),qe=(0,a.useRef)(),Rt=(0,a.useRef)(),En=Boolean(t),qn=Ls=>{const vo=qe.current?.doc;if(vo){const{text:lo,to:Ro}=vo.line(Ls),Mo=Ro-lo.trimStart().length;Ro>Mo&&Rt.current?.dispatch({effects:Cg.of([U3.range(Mo,Ro)])})}},zr=()=>{const Ls=qe.current?.doc;if(Ls){const vo=Ls.length||0;Rt.current?.dispatch({effects:k3.of((lo,Ro)=>Ro<=0||lo>=vo)})}},Qr=({state:Ls,view:vo})=>{Rt.current=vo,qe.current=Ls,zr();const Ro=wp()(vo);Ro.length&&qn(Ls.doc.lineAt(Ro[0].from).number)},$i=(Ls,vo)=>{Qr(vo),$(Ls)},_s=(Ls,vo)=>{Rt.current=Ls,qe.current=vo,Qr({view:Ls,state:vo})},{setContainer:ea,view:Ws}=F3({value:g,onCreateEditor:_s,container:ve.current,editable:!L,extensions:[Lg(),i_],onChange:$i,theme:"dark",basicSetup:{lineNumbers:!0,bracketMatching:!0,closeBrackets:!0,indentOnInput:!0,syntaxHighlighting:!0,highlightSelectionMatches:!0,tabSize:2}}),Os=()=>{!L&&Ws&&Ws.focus()},ua=(0,s_.q)(ve,ea);return(0,a.useImperativeHandle)(he,()=>({...Ws?.dom,focus(){Ws&&Ws.focus()},scrollIntoView(Ls){Ws&&Ws.dom.scrollIntoView(Ls)}}),[Ws]),(0,i.jsx)(Kd.I,{error:t,hint:o,required:D,children:(0,i.jsxs)(xm.C,{direction:"column",alignItems:"stretch",gap:1,children:[p&&(0,i.jsx)(a_.u,{onClick:Os,action:d,children:p}),(0,i.jsx)(Vp,{ref:ua,hasError:En,alignItems:"stretch",fontSize:2,hasRadius:!0,...te}),(0,i.jsx)(xE.Q,{}),(0,i.jsx)(j3.o,{})]})})}),Vp=(0,AE.cp)(xm.C)`
  line-height: ${({theme:p})=>p.lineHeights[2]};

  .cm-editor {
    /** 
     * Hard coded since the color is the same between themes,
     * theme.colors.neutral800 changes between themes 
     */
    background-color: #32324d;
    width: 100%;
    outline: none;
  }

  .cm-scroller {
    border: 1px solid ${({theme:p,hasError:t})=>t?p.colors.danger600:p.colors.neutral200};
    /* inputFocusStyle will receive hasError prop */
    ${(0,o_.Ih)()}
  }

  .cm-editor,
  .cm-scroller {
    border-radius: ${({theme:p})=>p.borderRadius};
  }

  .cm-gutters,
  .cm-activeLineGutter {
    /** 
     * Hard coded since the color is the same between themes,
     * theme.colors.neutral700 changes between themes 
     */
    background-color: #4a4a6a;
  }
`},83360:(U,C,e)=>{"use strict";e.d(C,{a:()=>c});var i=e(19968),a=e(89192),l=e(5e3);const c=({tagName:v,attributeName:_="",...T})=>{const A=()=>{const M=document.activeElement;return M?v?M.tagName.toLowerCase()===v:M.hasAttribute(_):!1},R=M=>v?M.querySelectorAll(v):M.querySelectorAll(`[${_}]`),P=M=>{switch(M.key){case a._.RIGHT:case a._.DOWN:{if(A()){M.preventDefault();const O=document.activeElement,N=[...R(M.currentTarget)],B=N.findIndex(z=>z===O),j=B+1<N.length?B+1:0;N[j].focus()}break}case a._.LEFT:case a._.UP:{if(A()){M.preventDefault();const O=document.activeElement,N=[...R(M.currentTarget)],B=N.findIndex(z=>z===O),j=B-1>-1?B-1:N.length-1;N[j].focus()}break}case a._.HOME:{A()&&(M.preventDefault(),R(M.currentTarget).item(0).focus());break}case a._.END:{if(A()){M.preventDefault();const O=R(M.currentTarget);O.item(O.length-1).focus()}break}}};return(0,i.jsx)(l.k,{onKeyDown:P,...T})}},52051:(U,C,e)=>{"use strict";e.d(C,{U:()=>l});var i=e(19968),a=e(48936);const l=({startActions:c,endActions:v})=>!c&&!v?null:(0,i.jsxs)(a.C,{justifyContent:"space-between",alignItems:"flex-start",paddingBottom:4,paddingLeft:10,paddingRight:10,children:[(0,i.jsx)(a.C,{gap:2,wrap:"wrap",children:c}),(0,i.jsx)(a.C,{gap:2,shrink:0,wrap:"wrap",children:v})]})},20436:(U,C,e)=>{"use strict";e.d(C,{S:()=>l});var i=e(19968),a=e(5e3);const l=({children:c})=>(0,i.jsx)(a.k,{paddingLeft:10,paddingRight:10,children:c})},28464:(U,C,e)=>{"use strict";e.d(C,{s:()=>O,a:()=>P});var i=e(19968),a=e(62552),l=e(3704);const c=N=>{const B=(0,a.useRef)(null),[j,z]=(0,a.useState)(!0),W=([X])=>{z(X.isIntersecting)};return(0,a.useEffect)(()=>{const X=B.current,Q=new IntersectionObserver(W,N);return X&&Q.observe(B.current),()=>{X&&Q.disconnect()}},[B,N]),[B,j]};var v=e(72312);const _=(N,B)=>{const j=(0,v.Y)(B);(0,a.useLayoutEffect)(()=>{const z=new ResizeObserver(j);return Array.isArray(N)?N.forEach(W=>{W.current&&z.observe(W.current)}):N.current&&z.observe(N.current),()=>{z.disconnect()}},[N,j])};var T=e(5e3),A=e(48936),R=e(63358);const P=N=>{const B=(0,a.useRef)(null),[j,z]=(0,a.useState)(null),[W,X]=c({root:null,rootMargin:"0px",threshold:0});return _(W,()=>{W.current&&z(W.current.getBoundingClientRect())}),(0,a.useEffect)(()=>{B.current&&z(B.current.getBoundingClientRect())},[B]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{style:{height:j?.height},ref:W,children:X&&(0,i.jsx)(O,{ref:B,...N})}),!X&&(0,i.jsx)(O,{...N,sticky:!0,width:j?.width})]})};P.displayName="HeaderLayout";const M=(0,l.cp)(T.k)`
  width: ${({width:N})=>N?`${N/16}rem`:void 0};
  z-index: ${({theme:N})=>N.zIndices[1]};
`,O=a.forwardRef(({navigationAction:N,primaryAction:B,secondaryAction:j,subtitle:z,title:W,sticky:X,width:Q,...K},Y)=>{const Z=typeof z=="string";return X?(0,i.jsx)(M,{paddingLeft:6,paddingRight:6,paddingTop:3,paddingBottom:3,position:"fixed",top:0,right:0,background:"neutral0",shadow:"tableShadow",width:Q,"data-strapi-header-sticky":!0,children:(0,i.jsxs)(A.C,{justifyContent:"space-between",children:[(0,i.jsxs)(A.C,{children:[N&&(0,i.jsx)(T.k,{paddingRight:3,children:N}),(0,i.jsxs)(T.k,{children:[(0,i.jsx)(R.O,{variant:"beta",as:"h1",...K,children:W}),Z?(0,i.jsx)(R.O,{variant:"pi",textColor:"neutral600",children:z}):z]}),j?(0,i.jsx)(T.k,{paddingLeft:4,children:j}):null]}),(0,i.jsx)(A.C,{children:B?(0,i.jsx)(T.k,{paddingLeft:2,children:B}):void 0})]})}):(0,i.jsxs)(T.k,{ref:Y,paddingLeft:10,paddingRight:10,paddingBottom:8,paddingTop:N?6:8,background:"neutral100","data-strapi-header":!0,children:[N?(0,i.jsx)(T.k,{paddingBottom:2,children:N}):null,(0,i.jsxs)(A.C,{justifyContent:"space-between",children:[(0,i.jsxs)(A.C,{minWidth:0,children:[(0,i.jsx)(R.O,{as:"h1",variant:"alpha",...K,children:W}),j?(0,i.jsx)(T.k,{paddingLeft:4,children:j}):null]}),B]}),Z?(0,i.jsx)(R.O,{variant:"epsilon",textColor:"neutral600",as:"p",children:z}):z]})})},20596:(U,C,e)=>{"use strict";e.d(C,{_:()=>_});var i=e(19968),a=e(3704),l=e(5e3);const c=(0,a.cp)(l.k)`
  display: grid;
  grid-template-columns: ${({hasSideNav:T})=>T?"auto 1fr":"1fr"};
`,v=(0,a.cp)(l.k)`
  overflow-x: hidden;
`,_=({sideNav:T,children:A})=>(0,i.jsxs)(c,{hasSideNav:Boolean(T),children:[T,(0,i.jsx)(v,{paddingBottom:10,children:A})]})},65280:(U,C,e)=>{"use strict";e.d(C,{c:()=>M});var i=e(19968),a=e(62552),l=e(73648),c=e(39380),v=e(3704),_=e(53744),T=e(63358),A=e(5e3);const R=v.cp.a`
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  pointer-events: ${({disabled:O})=>O?"none":void 0};
  color: ${({disabled:O,theme:N})=>O?N.colors.neutral600:N.colors.primary600};

  svg path {
    transition: fill 150ms ease-out;
    fill: currentColor;
  }

  svg {
    font-size: ${10/16}rem;
  }

  ${T.O} {
    transition: color 150ms ease-out;
    color: currentColor;
  }

  &:hover {
    color: ${({theme:O})=>O.colors.primary500};
  }

  &:active {
    color: ${({theme:O})=>O.colors.primary700};
  }

  ${_.Md};
`,P=(0,v.cp)(A.k)`
  display: flex;
`,M=a.forwardRef(({children:O,href:N,to:B,disabled:j=!1,startIcon:z,endIcon:W,...X},Q)=>{const K=N?"_blank":void 0,Y=N?"noreferrer noopener":void 0;return(0,i.jsxs)(R,{as:B&&!j?c.Af:"a",target:K,rel:Y,to:j?void 0:B,href:j?"#":N,disabled:j,ref:Q,...X,children:[z&&(0,i.jsx)(P,{as:"span","aria-hidden":!0,paddingRight:2,children:z}),(0,i.jsx)(T.O,{children:O}),W&&!N&&(0,i.jsx)(P,{as:"span","aria-hidden":!0,paddingLeft:2,children:W}),N&&(0,i.jsx)(P,{as:"span","aria-hidden":!0,paddingLeft:2,children:(0,i.jsx)(l.c,{})})]})})},81504:(U,C,e)=>{"use strict";e.d(C,{E:()=>P});var i=e(19968),a=e(62552),l=e(39380),c=e(3704),v=e(49776),_=e(67056),T=e(48936),A=e(63358);const R=(0,c.cp)(_.y)`
  &[aria-disabled='true'] {
    ${v.kd}
    &:active {
      ${v.kd}
    }
  }
  &:hover {
    ${v.c5}
  }
  &:active {
    ${v.U3}
  }
  ${v.M1}
`,P=a.forwardRef(({variant:M="default",startIcon:O,endIcon:N,disabled:B=!1,children:j,size:z="S",href:W,to:X,...Q},K)=>{const Y=W?"_blank":void 0,Z=W?"noreferrer noopener":void 0,J=z==="S"?2:"10px",ee=4;return(0,i.jsxs)(R,{ref:K,"aria-disabled":B,size:z,variant:M,target:Y,rel:Z,to:B?void 0:X,href:B?"#":W,background:"buttonPrimary600",borderColor:"buttonPrimary600",hasRadius:!0,gap:2,inline:!0,paddingBottom:J,paddingLeft:ee,paddingRight:ee,paddingTop:J,pointerEvents:B?"none":void 0,...Q,as:X&&!B?l.Af:"a",children:[O&&(0,i.jsx)(T.C,{"aria-hidden":!0,children:O}),(0,i.jsx)(A.O,{variant:z==="S"?"pi":void 0,fontWeight:"bold",textColor:"buttonNeutral0",children:j}),N&&(0,i.jsx)(T.C,{"aria-hidden":!0,children:N})]})})},82168:(U,C,e)=>{"use strict";e.d(C,{e:()=>i});const i={Log:"live-region-log",Status:"live-region-status",Alert:"live-region-alert"}},3400:(U,C,e)=>{"use strict";e.d(C,{O:()=>_});var i=e(62552),a=e(82168);const l=T=>{const A=document.querySelector(`#${a.e.Log}`);A&&(A.innerText=T)},c=T=>{const A=document.querySelector(`#${a.e.Status}`);A&&(A.innerText=T)},v=T=>{const A=document.querySelector(`#${a.e.Alert}`);A&&(A.innerText=T)},_=()=>((0,i.useEffect)(()=>()=>{l(""),v(""),c("")},[]),{notifyLog:l,notifyAlert:v,notifyStatus:c})},89296:(U,C,e)=>{"use strict";e.d(C,{c:()=>A});var i=e(19968),a=e(62552),l=e(3704);const c="data:image/svg+xml,%3csvg%20width='63'%20height='63'%20viewBox='0%200%2063%2063'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M42.5563%2011.9816C39.484%2010.3071%2035.8575%209.29097%2032.3354%209.13521C28.6443%208.92888%2024.8295%209.72318%2021.3336%2011.4129C20.9123%2011.5901%2020.5376%2011.8101%2020.1722%2012.0249L20.0108%2012.1179C19.8774%2012.1951%2019.7441%2012.2724%2019.608%2012.3536C19.3253%2012.5146%2019.0492%2012.6744%2018.7544%2012.8792C18.5463%2013.0329%2018.3395%2013.1759%2018.1301%2013.323C17.5658%2013.7208%2016.9868%2014.1317%2016.4983%2014.5979C14.8476%2015.9524%2013.5571%2017.6075%2012.6071%2018.9214C10.4365%2022.1566%209.08622%2025.9567%208.80702%2029.6143L8.7764%2030.1588C8.73328%2030.9196%208.68476%2031.7057%208.75353%2032.4555C8.76648%2032.6084%208.7661%2032.7638%208.77506%2032.914C8.78895%2033.229%208.80152%2033.5373%208.846%2033.8672L9.07396%2035.4221C9.09756%2035.5764%209.1198%2035.7413%209.1633%2035.9263L9.65919%2037.9272L10.138%2039.2823C10.2729%2039.6673%2010.4158%2040.0751%2010.6%2040.43C12.0292%2043.637%2014.1425%2046.4578%2016.7063%2048.585C19.0508%2050.5296%2021.824%2052.0023%2024.7491%2052.8452L26.2371%2053.2376C26.3781%2053.2693%2026.4926%2053.2889%2026.6031%2053.3058L26.7775%2053.3311C27.0052%2053.3636%2027.2195%2053.3986%2027.4445%2053.435C27.8598%2053.5076%2028.2672%2053.5748%2028.7079%2053.6183L30.5641%2053.7229C30.9516%2053.7249%2031.3352%2053.7068%2031.7081%2053.6874C31.9039%2053.681%2032.0984%2053.6681%2032.3288%2053.662C34.5253%2053.4772%2036.5106%2053.0634%2038.0516%2052.4652C38.1769%2052.4171%2038.3008%2052.3796%2038.4234%2052.3355C38.6727%2052.2499%2038.9259%2052.167%2039.1432%2052.0599L40.8591%2051.2626L42.5702%2050.266C42.9009%2050.0682%2043.0205%2049.6414%2042.8282%2049.2984C42.632%2048.9526%2042.2034%2048.8308%2041.8634%2049.0166L40.1792%2049.9218L38.4995%2050.6224C38.3169%2050.6953%2038.121%2050.7534%2037.9224%2050.8155C37.7838%2050.8489%2037.6518%2050.8983%2037.5012%2050.9408C36.0711%2051.435%2034.2445%2051.7425%2032.244%2051.8346C32.0442%2051.8383%2031.8471%2051.8379%2031.654%2051.8403C31.3051%2051.8414%2030.9602%2051.8451%2030.6392%2051.8305L28.9177%2051.6725C28.5476%2051.619%2028.1695%2051.5427%2027.7848%2051.4678C27.5639%2051.4167%2027.3376%2051.3737%2027.1299%2051.3374L26.9529%2051.2987C26.8704%2051.2834%2026.7772%2051.2667%2026.7333%2051.2543L25.3466%2050.8322C22.7651%2049.9789%2020.33%2048.5729%2018.2942%2046.7557C16.1056%2044.7951%2014.3339%2042.2335%2013.1742%2039.3582C12.0276%2036.6013%2011.5988%2033.2792%2011.9716%2030.0076C12.3145%2027.0213%2013.3948%2024.1635%2015.1858%2021.5083C15.3034%2021.3339%2015.421%2021.1596%2015.5212%2021.0196C16.4309%2019.8688%2017.5408%2018.5589%2018.9483%2017.496C19.3367%2017.1525%2019.7862%2016.856%2020.2611%2016.5478C20.4878%2016.4009%2020.7079%2016.2553%2020.8907%2016.1306C21.0974%2016.0048%2021.3188%2015.8831%2021.5348%2015.7694C21.6761%2015.6975%2021.8162%2015.619%2021.9388%2015.5576L22.1002%2015.4646C22.4002%2015.3037%2022.6749%2015.1546%2022.9908%2015.039L24.1186%2014.5715C24.3399%2014.4844%2024.5718%2014.4159%2024.7997%2014.3447C24.953%2014.2982%2025.0982%2014.2635%2025.2635%2014.2078C25.786%2014.0182%2026.3283%2013.9112%2026.9105%2013.7965C27.117%2013.7571%2027.3302%2013.7163%2027.5608%2013.6585C27.7553%2013.611%2027.9737%2013.5969%2028.2082%2013.5762C28.364%2013.5603%2028.5172%2013.5483%2028.6318%2013.5333C28.7876%2013.5173%2028.9342%2013.5066%2029.0927%2013.4867C29.3285%2013.4555%2029.5456%2013.4347%2029.7494%2013.4337C30.0237%2013.44%2030.2994%2013.4357%2030.5777%2013.4274C31.0811%2013.421%2031.5579%2013.4197%2032.0318%2013.4914C34.9664%2013.7352%2037.7144%2014.6085%2040.2052%2016.0868C42.3489%2017.3655%2044.2716%2019.1525%2045.7607%2021.264C47.0255%2023.0628%2047.9756%2025.0528%2048.4928%2027.0393C48.572%2027.3176%2048.6299%2027.5931%2048.6839%2027.8659C48.7154%2028.0428%2048.7563%2028.2145%2048.7892%2028.3636C48.8037%2028.4541%2048.8208%2028.5406%2048.8445%2028.6258C48.8749%2028.7443%2048.8986%2028.864%2048.9116%2028.9651L48.9793%2029.6047C48.9922%2029.7748%2049.0132%2029.9331%2049.0301%2030.0887C49.0668%2030.3268%2049.0889%2030.5608%2049.0964%2030.7561L49.1083%2031.9001C49.1312%2032.3307%2049.089%2032.7116%2049.0522%2033.0673C49.0384%2033.2598%2049.0126%2033.4443%2049.0123%2033.5824C48.9961%2033.6926%2048.9918%2033.7935%2048.9836%2033.8917C48.9753%2034.0072%2048.9724%2034.1148%2048.9414%2034.2554L48.5449%2036.3059C48.3134%2037.8623%2049.3793%2039.3365%2050.9488%2039.5822C52.0417%2039.7601%2053.1536%2039.2819%2053.7711%2038.3664C54.0063%2038.0176%2054.1604%2037.6257%2054.2227%2037.2064L54.5217%2035.2574C54.5514%2035.0756%2054.572%2034.83%2054.5846%2034.5791L54.6028%2034.2338C54.6098%2034.0598%2054.6223%2033.8779%2054.6347%2033.6788C54.6734%2033.1052%2054.7163%2032.4479%2054.6619%2031.8058L54.5867%2030.4289C54.5622%2030.0952%2054.5097%2029.76%2054.4559%2029.4181C54.431%2029.2572%2054.4048%2029.0896%2054.3826%2028.9074L54.2687%2028.104C54.2332%2027.9244%2054.1804%2027.7273%2054.1329%2027.5396L54.0643%2027.2454C54.0195%2027.071%2053.9773%2026.8927%2053.9338%2026.7076C53.8455%2026.3309%2053.7479%2025.9422%2053.613%2025.5571C52.84%2023.0292%2051.5383%2020.5194%2049.8338%2018.2799C47.8544%2015.682%2045.3333%2013.5087%2042.5563%2011.9816Z'%20fill='%234945FF'/%3e%3c/svg%3e";var v=e(35480);const _=(0,l.xZ)`
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
`,T=l.cp.img`
  animation: ${_} 1s infinite linear;
  will-change: transform;
  ${({small:R,theme:P})=>R&&`width: ${P.spaces[6]}; height: ${P.spaces[6]};`}
`,A=a.forwardRef(({children:R,small:P=!1,...M},O)=>(0,i.jsxs)("div",{role:"alert","aria-live":"assertive",ref:O,...M,children:[(0,i.jsx)(v.K,{children:R}),(0,i.jsx)(T,{src:c,"aria-hidden":!0,small:P})]}))},48112:(U,C,e)=>{"use strict";e.d(C,{G:()=>v});var i=e(19968),a=e(3704),l=e(5e3);const c=(0,a.cp)(l.k)`
  // To prevent global outline on focus visible to force an outline when Main is focused
  &:focus-visible {
    outline: none;
  }
`,v=({labelledBy:_="main-content-title",...T})=>(0,i.jsx)(c,{"aria-labelledby":_,as:"main",id:"main-content",tabIndex:-1,...T})},48560:(U,C,e)=>{"use strict";e.d(C,{m:()=>v});var i=e(19968),a=e(3704),l=e(5e3);const c=(0,a.cp)(l.k)`
  text-decoration: none;

  &:focus {
    left: ${({theme:_})=>_.spaces[3]};
    top: ${({theme:_})=>_.spaces[3]};
  }
`,v=({children:_})=>(0,i.jsx)(c,{as:"a",href:"#main-content",background:"primary600",color:"neutral0",left:"-100%",padding:3,position:"absolute",top:"-100%",hasRadius:!0,zIndex:9999,children:_})},25824:(U,C,e)=>{"use strict";e.d(C,{a:()=>v});var i=e(19968),a=e(3704),l=e(5e3);const c=(0,a.cp)(l.k)`
  overflow: auto;
  max-height: 60vh;
`,v=_=>(0,i.jsx)(c,{padding:7,..._})},4792:(U,C,e)=>{"use strict";e.d(C,{G:()=>a,i:()=>l});var i=e(62552);const a=(0,i.createContext)(()=>{}),l=()=>(0,i.useContext)(a)},3548:(U,C,e)=>{"use strict";e.d(C,{_:()=>_});var i=e(19968),a=e(3704),l=e(5e3),c=e(48936);const v=(0,a.cp)(l.k)`
  border-radius: 0 0 ${({theme:T})=>T.borderRadius} ${({theme:T})=>T.borderRadius};
  border-top: 1px solid ${({theme:T})=>T.colors.neutral150};
`,_=({startActions:T,endActions:A})=>(0,i.jsx)(v,{paddingTop:4,paddingBottom:4,paddingLeft:5,paddingRight:5,background:"neutral100",children:(0,i.jsxs)(c.C,{justifyContent:"space-between",children:[(0,i.jsx)(c.C,{gap:2,children:T}),(0,i.jsx)(c.C,{gap:2,children:A})]})})},2931:(U,C,e)=>{"use strict";e.d(C,{k:()=>R});var i=e(19968),a=e(39716),l=e(3704),c=e(4792),v=e(23264),_=e(5e3),T=e(48936);const A=(0,l.cp)(_.k)`
  border-radius: ${({theme:P})=>P.borderRadius} ${({theme:P})=>P.borderRadius} 0 0;
  border-bottom: 1px solid ${({theme:P})=>P.colors.neutral150};
`,R=({children:P,closeLabel:M="Close the modal"})=>{const O=(0,c.i)();return(0,i.jsx)(A,{paddingTop:4,paddingBottom:4,paddingLeft:5,paddingRight:5,background:"neutral100",children:(0,i.jsxs)(T.C,{justifyContent:"space-between",children:[P,(0,i.jsx)(v.w,{onClick:O,"aria-label":M,icon:(0,i.jsx)(a.c,{})})]})})}},11208:(U,C,e)=>{"use strict";e.d(C,{E:()=>M});var i=e(19968),a=e(3704),l=e(4792),c=e(91e3),v=e(54248),_=e(48936),T=e(37340),A=e(77872),R=e(5e3);const P=(0,a.cp)(_.C)`
  background: ${({theme:O})=>`${O.colors.neutral800}1F`};
  inset: 0;
`,M=({onClose:O,labelledBy:N,...B})=>((0,v.c)(!0),(0,i.jsx)(T.a,{children:(0,i.jsx)(l.G.Provider,{value:O,children:(0,i.jsx)(P,{justifyContent:"center",paddingLeft:8,paddingRight:8,position:"fixed",zIndex:4,children:(0,i.jsx)(A.W,{children:(0,i.jsx)(c.G,{onEscapeKeyDown:O,onPointerDownOutside:O,children:(0,i.jsx)(R.k,{"aria-labelledby":N,"aria-modal":!0,onClick:j=>j.stopPropagation(),background:"neutral0",hasRadius:!0,role:"dialog",shadow:"popupShadow",width:`${830/16}rem`,...B})})})})})}))},65104:(U,C,e)=>{"use strict";e.d(C,{W:()=>Ge});var i=e(19968),a=e(62552);let l=new Map,c=!1;try{c=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let v=!1;try{v=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const _={degree:{narrow:{default:"\xB0","ja-JP":" \u5EA6","zh-TW":"\u5EA6","sl-SI":" \xB0"}}};class T{format(pe){let Se="";if(!c&&this.options.signDisplay!=null?Se=R(this.numberFormatter,this.options.signDisplay,pe):Se=this.numberFormatter.format(pe),this.options.style==="unit"&&!v){var _e;let{unit:Ne,unitDisplay:Le="short",locale:Ke}=this.resolvedOptions();if(!Ne)return Se;let bt=(_e=_[Ne])===null||_e===void 0?void 0:_e[Le];Se+=bt[Ke]||bt.default}return Se}formatToParts(pe){return this.numberFormatter.formatToParts(pe)}formatRange(pe,Se){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(pe,Se);if(Se<pe)throw new RangeError("End date must be >= start date");return`${this.format(pe)} \u2013 ${this.format(Se)}`}formatRangeToParts(pe,Se){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(pe,Se);if(Se<pe)throw new RangeError("End date must be >= start date");let _e=this.numberFormatter.formatToParts(pe),Ne=this.numberFormatter.formatToParts(Se);return[..._e.map(Le=>({...Le,source:"startRange"})),{type:"literal",value:" \u2013 ",source:"shared"},...Ne.map(Le=>({...Le,source:"endRange"}))]}resolvedOptions(){let pe=this.numberFormatter.resolvedOptions();return!c&&this.options.signDisplay!=null&&(pe={...pe,signDisplay:this.options.signDisplay}),!v&&this.options.style==="unit"&&(pe={...pe,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),pe}constructor(pe,Se={}){this.numberFormatter=A(pe,Se),this.options=Se}}function A(Pe,pe={}){let{numberingSystem:Se}=pe;if(Se&&Pe.includes("-nu-")&&(Pe.includes("-u-")||(Pe+="-u-"),Pe+=`-nu-${Se}`),pe.style==="unit"&&!v){var _e;let{unit:Ke,unitDisplay:bt="short"}=pe;if(!Ke)throw new Error('unit option must be provided with style: "unit"');if(!(!((_e=_[Ke])===null||_e===void 0)&&_e[bt]))throw new Error(`Unsupported unit ${Ke} with unitDisplay = ${bt}`);pe={...pe,style:"decimal"}}let Ne=Pe+(pe?Object.entries(pe).sort((Ke,bt)=>Ke[0]<bt[0]?-1:1).join():"");if(l.has(Ne))return l.get(Ne);let Le=new Intl.NumberFormat(Pe,pe);return l.set(Ne,Le),Le}function R(Pe,pe,Se){if(pe==="auto")return Pe.format(Se);if(pe==="never")return Pe.format(Math.abs(Se));{let _e=!1;if(pe==="always"?_e=Se>0||Object.is(Se,0):pe==="exceptZero"&&(Object.is(Se,-0)||Object.is(Se,0)?Se=Math.abs(Se):_e=Se>0),_e){let Ne=Pe.format(-Se),Le=Pe.format(Se),Ke=Ne.replace(Le,"").replace(/\u200e|\u061C/,"");return[...Ke].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),Ne.replace(Le,"!!!").replace(Ke,"+").replace("!!!",Le)}else return Pe.format(Se)}}const P=new RegExp("^.*\\(.*\\).*$"),M=["latn","arab","hanidec"];class O{parse(pe){return B(this.locale,this.options,pe).parse(pe)}isValidPartialNumber(pe,Se,_e){return B(this.locale,this.options,pe).isValidPartialNumber(pe,Se,_e)}getNumberingSystem(pe){return B(this.locale,this.options,pe).options.numberingSystem}constructor(pe,Se={}){this.locale=pe,this.options=Se}}const N=new Map;function B(Pe,pe,Se){let _e=j(Pe,pe);if(!Pe.includes("-nu-")&&!_e.isValidPartialNumber(Se)){for(let Ne of M)if(Ne!==_e.options.numberingSystem){let Le=j(Pe+(Pe.includes("-u-")?"-nu-":"-u-nu-")+Ne,pe);if(Le.isValidPartialNumber(Se))return Le}}return _e}function j(Pe,pe){let Se=Pe+(pe?Object.entries(pe).sort((Ne,Le)=>Ne[0]<Le[0]?-1:1).join():""),_e=N.get(Se);return _e||(_e=new z(Pe,pe),N.set(Se,_e)),_e}class z{parse(pe){let Se=this.sanitize(pe);if(this.symbols.group&&(Se=K(Se,this.symbols.group,"")),this.symbols.decimal&&(Se=Se.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(Se=Se.replace(this.symbols.minusSign,"-")),Se=Se.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let Ne=Se.indexOf("-");Se=Se.replace("-","");let Le=Se.indexOf(".");Le===-1&&(Le=Se.length),Se=Se.replace(".",""),Le-2===0?Se=`0.${Se}`:Le-2===-1?Se=`0.0${Se}`:Le-2===-2?Se="0.00":Se=`${Se.slice(0,Le-2)}.${Se.slice(Le-2)}`,Ne>-1&&(Se=`-${Se}`)}let _e=Se?+Se:NaN;if(isNaN(_e))return NaN;if(this.options.style==="percent"){let Ne={...this.options,style:"decimal",minimumFractionDigits:Math.min(this.options.minimumFractionDigits+2,20),maximumFractionDigits:Math.min(this.options.maximumFractionDigits+2,20)};return new O(this.locale,Ne).parse(new T(this.locale,Ne).format(_e))}return this.options.currencySign==="accounting"&&P.test(pe)&&(_e=-1*_e),_e}sanitize(pe){return pe=pe.replace(this.symbols.literals,""),this.symbols.minusSign&&(pe=pe.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(pe=pe.replace(",",this.symbols.decimal),pe=pe.replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(pe=K(pe,".",this.symbols.group))),this.options.locale==="fr-FR"&&(pe=K(pe,".",String.fromCharCode(8239))),pe}isValidPartialNumber(pe,Se=-1/0,_e=1/0){return pe=this.sanitize(pe),this.symbols.minusSign&&pe.startsWith(this.symbols.minusSign)&&Se<0?pe=pe.slice(this.symbols.minusSign.length):this.symbols.plusSign&&pe.startsWith(this.symbols.plusSign)&&_e>0&&(pe=pe.slice(this.symbols.plusSign.length)),this.symbols.group&&pe.startsWith(this.symbols.group)||this.symbols.decimal&&pe.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(pe=K(pe,this.symbols.group,"")),pe=pe.replace(this.symbols.numeral,""),this.symbols.decimal&&(pe=pe.replace(this.symbols.decimal,"")),pe.length===0)}constructor(pe,Se={}){this.locale=pe,this.formatter=new Intl.NumberFormat(pe,Se),this.options=this.formatter.resolvedOptions(),this.symbols=Q(pe,this.formatter,this.options,Se);var _e,Ne;this.options.style==="percent"&&(((_e=this.options.minimumFractionDigits)!==null&&_e!==void 0?_e:0)>18||((Ne=this.options.maximumFractionDigits)!==null&&Ne!==void 0?Ne:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const W=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),X=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function Q(Pe,pe,Se,_e){var Ne,Le,Ke,bt;let yt=new Intl.NumberFormat(Pe,{...Se,minimumSignificantDigits:1,maximumSignificantDigits:21}),It=yt.formatToParts(-10000.111),_t=yt.formatToParts(10000.111),zt=X.map(Sn=>yt.formatToParts(Sn));var Vt;let St=(Vt=(Ne=It.find(Sn=>Sn.type==="minusSign"))===null||Ne===void 0?void 0:Ne.value)!==null&&Vt!==void 0?Vt:"-",Xt=(Le=_t.find(Sn=>Sn.type==="plusSign"))===null||Le===void 0?void 0:Le.value;!Xt&&(_e?.signDisplay==="exceptZero"||_e?.signDisplay==="always")&&(Xt="+");let sn=(Ke=new Intl.NumberFormat(Pe,{...Se,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(Sn=>Sn.type==="decimal"))===null||Ke===void 0?void 0:Ke.value,dt=(bt=It.find(Sn=>Sn.type==="group"))===null||bt===void 0?void 0:bt.value,Ln=It.filter(Sn=>!W.has(Sn.type)).map(Sn=>Y(Sn.value)),fn=zt.flatMap(Sn=>Sn.filter(Hn=>!W.has(Hn.type)).map(Hn=>Y(Hn.value))),cr=[...new Set([...Ln,...fn])].sort((Sn,Hn)=>Hn.length-Sn.length),wr=cr.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${cr.join("|")}|[\\p{White_Space}]`,"gu"),Jn=[...new Intl.NumberFormat(Se.locale,{useGrouping:!1}).format(9876543210)].reverse(),nn=new Map(Jn.map((Sn,Hn)=>[Sn,Hn])),or=new RegExp(`[${Jn.join("")}]`,"g");return{minusSign:St,plusSign:Xt,decimal:sn,group:dt,literals:wr,numeral:or,index:Sn=>String(nn.get(Sn))}}function K(Pe,pe,Se){return Pe.replaceAll?Pe.replaceAll(pe,Se):Pe.split(pe).join(Se)}function Y(Pe){return Pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var Z=e(14520),J=e(3704),ee=e(59264),re=e(89192),me=e(52496),fe=e(37856),le=e(79672),Ve=e(95080),Ze=e(48936),Ce=e(33128),ye=e(55716),Ae=e(79080),Fe=e(74264);const Qe=J.cp.button`
  display: flex;
  height: 1rem;
  align-items: ${({reverse:Pe})=>Pe?"flex-end":"flex-start"};
  transform: translateY(${({reverse:Pe})=>Pe?"-2px":"2px"});
  cursor: ${({disabled:Pe})=>Pe?"not-allowed":void 0};
  svg {
    display: block;
    height: ${4/16}rem;
    transform: ${({reverse:Pe})=>Pe?"rotateX(180deg)":void 0};
  }
`,ce="",Ge=a.forwardRef(({size:Pe="M",startAction:pe,name:Se,hint:_e,error:Ne,label:Le,labelAction:Ke,locale:bt,id:yt,onValueChange:It,value:_t,step:zt=1,required:Vt=!1,disabled:St=!1,...Xt},jt)=>{const sn=(0,fe.I)(yt),dt=(0,ee.A)("NumberInput"),Ln=bt||dt.locale,fn=(0,a.useRef)(new O(Ln,{style:"decimal"})),cr=(0,a.useRef)(new T(Ln,{maximumFractionDigits:20})),[wr,Jn]=(0,me.W)({prop(an){const Cn=String(_t);return isNaN(Number(Cn))||Cn!==an&&an!==""?an:cr.current.format(Number(_t))},defaultProp:ce,onChange(an){const Cn=fn.current.parse(an??"");It(isNaN(Cn)?void 0:Cn)}}),nn=an=>{Jn(String(an))},or=({target:{value:an}})=>{fn.current.isValidPartialNumber(an)&&nn(an)},bn=()=>{if(!wr){nn(zt);return}const an=fn.current.parse(wr),Cn=isNaN(an)?zt:an+zt;nn(cr.current.format(Cn))},Sn=()=>{if(!wr){nn(-zt);return}const an=fn.current.parse(wr),Cn=isNaN(an)?-zt:an-zt;nn(cr.current.format(Cn))},Hn=an=>{if(!St)switch(an.key){case re._.DOWN:{an.preventDefault(),Sn();break}case re._.UP:{an.preventDefault(),bn();break}}},er=()=>{if(wr){const an=fn.current.parse(wr),Cn=isNaN(an)?"":cr.current.format(an);nn(Cn)}};return(0,i.jsx)(Ve.I,{name:Se,hint:_e,error:Ne,id:sn,required:Vt,children:(0,i.jsxs)(Ze.C,{direction:"column",alignItems:"stretch",gap:1,children:[Le&&(0,i.jsx)(Ce.u,{action:Ke,children:Le}),(0,i.jsx)(le.e,{ref:jt,startAction:pe,disabled:St,type:"text",inputMode:"decimal",onChange:or,onKeyDown:Hn,onBlur:er,value:wr,size:Pe,endAction:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Qe,{disabled:St,"aria-hidden":!0,reverse:!0,onClick:bn,tabIndex:-1,type:"button","data-testid":"ArrowUp",children:(0,i.jsx)(ye.G,{as:Z.c,color:"neutral500"})}),(0,i.jsx)(Qe,{disabled:St,"aria-hidden":!0,onClick:Sn,tabIndex:-1,type:"button","data-testid":"ArrowDown",children:(0,i.jsx)(ye.G,{as:Z.c,color:"neutral500"})})]}),...Xt}),(0,i.jsx)(Ae.o,{}),(0,i.jsx)(Fe.Q,{})]})})})},14448:(U,C,e)=>{"use strict";e.d(C,{_k:()=>ee,kP:()=>Y});var i=e(19968),a=e(62552),l=e(19672),c=e(29600),v=e(3072),_=e(85480),T=e(72312),A=e(4731),R=e(91272),P=e(67160),M=e(3704),O=e(91e3),N=e(31104),B=e(94072),j=e(37856),z=e(97008),W=e(5e3),X=e(37340);const Q=null,K=(0,M.cp)(W.k)`
  box-shadow: ${({theme:re})=>re.shadows.filterShadow};
  z-index: ${({theme:re})=>re.zIndices[0]};
  border: 1px solid ${({theme:re})=>re.colors.neutral150};
`,Y=a.forwardRef(({source:re,children:me,spacing:fe=0,fullWidth:le=!1,placement:Ve="bottom-start",centered:Ze=!1,onEscapeKeyDown:Ce,onPointerDownOutside:ye,onDismiss:Ae,onFocusOutside:Fe,...Qe},ce)=>{const[Ge,Pe]=a.useState(null),[pe,Se]=a.useState(void 0),_e=a.useRef(!1),{x:Ne,y:Le,refs:Ke,strategy:bt}=(0,l.gR)({strategy:"fixed",placement:Ze?"bottom":Ve,middleware:[(0,c.E3)({mainAxis:fe}),(0,v.CA)(),(0,v.EB)()],elements:{reference:re.current},whileElementsMounted:v.kN});a.useLayoutEffect(()=>{le&&Se(re.current.offsetWidth)},[le,re]),a.useEffect(()=>{if(Ge)return(0,R.gP)(Ge)},[Ge]);const yt=(0,T.Y)(Ae);a.useEffect(()=>{const _t=()=>{yt()};return window.addEventListener("blur",_t),window.addEventListener("resize",_t),()=>{window.removeEventListener("blur",_t),window.removeEventListener("resize",_t)}},[yt]);const It=(0,B.q)(ce,_t=>Pe(_t),Ke.setFloating);return(0,i.jsx)(P.c,{allowPinchZoom:!0,children:(0,i.jsx)(_.w,{asChild:!0,loop:!0,trapped:!0,onUnmountAutoFocus:_t=>{_t.preventDefault(),_e.current||re.current?.focus({preventScroll:!0})},children:(0,i.jsx)(O.G,{asChild:!0,onEscapeKeyDown:Ce,onPointerDownOutside:(0,A.K)(ye,_t=>{const zt=_t.detail.originalEvent,Vt=zt.button===0&&zt.ctrlKey===!0,St=zt.button===2||Vt;_e.current=St},{checkForDefaultPrevented:!1}),onFocusOutside:(0,A.K)(Fe,_t=>_t.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:Ae,children:(0,i.jsx)(K,{ref:It,style:{left:Ne,top:Le,position:bt,width:pe||void 0},hasRadius:!0,background:"neutral0",padding:1,...Qe,children:me})})})})}),Z=({children:re,intersectionId:me,onReachEnd:fe,...le})=>{const Ve=a.useRef(null),Ze=(0,j.I)();return(0,z.q)(Ve,fe??(()=>{}),{selectorToWatch:`#${(0,N.q)(Ze)}`,skipWhen:!me||!fe}),(0,i.jsxs)(J,{ref:Ve,...le,children:[re,me&&fe&&(0,i.jsx)(W.k,{id:(0,N.q)(Ze),width:"100%",height:"1px"})]})},J=(0,M.cp)(W.k)`
  // 16 is base base size, 3 is the factor to get closer to 40px and 5 is the number of elements visible in the list
  max-height: ${3*5}rem;
  overflow-y: auto;
  overflow-x: hidden;

  &::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 4px;
  }

  &::-webkit-scrollbar-track {
    background: ${({theme:re})=>re.colors.neutral0};
  }

  &::-webkit-scrollbar-thumb {
    background: ${({theme:re})=>re.colors.neutral150};
    border-radius: ${({theme:re})=>re.borderRadius};
    margin-right: 10px;
  }
`,ee=({children:re,source:me,spacing:fe,fullWidth:le,placement:Ve,centered:Ze,onEscapeKeyDown:Ce,onPointerDownOutside:ye,onDismiss:Ae,...Fe})=>(0,i.jsx)(X.a,{children:(0,i.jsx)(Y,{source:me,spacing:fe,fullWidth:le,placement:Ve,centered:Ze,onEscapeKeyDown:Ce,onPointerDownOutside:ye,onDismiss:Ae,children:(0,i.jsx)(Z,{...Fe,children:re})})})},37340:(U,C,e)=>{"use strict";e.d(C,{a:()=>v});var i=e(19968),a=e(62552),l=e(19632),c=e(5e3);const v=a.forwardRef(({container:_=globalThis?.document?.body,...T},A)=>_?(0,l.createPortal)((0,i.jsx)(c.k,{ref:A,...T}),_):null);v.displayName="Portal"},45412:(U,C,e)=>{"use strict";e.d(C,{d:()=>T,w:()=>A});var i=e(19968),a=e(62552),l=e(7536),c=e(1e4),v=e(89192),_=e(5e3);const T=R=>(0,i.jsx)(A,{...R,as:"th"}),A=({coords:R={col:0,row:0},as:P="td",...M})=>{const O=(0,a.useRef)(null),{rowIndex:N,colIndex:B,setTableValues:j}=(0,l.g)(),[z,W]=(0,a.useState)(!1),X=Y=>{const Z=(0,c.M)(O.current,!0);if(Z.length===0||Z.length===1&&(0,c.I)(Z).length===0)return;if(Z.length>1&&!Z.find(ee=>ee.tagName!=="BUTTON")){Y.preventDefault();const ee=Z.findIndex(re=>re===document.activeElement);if(Y.key===v._.RIGHT){const re=Z[ee+1];re&&(Y.stopPropagation(),re.focus())}else if(Y.key===v._.LEFT){const re=Z[ee-1];re&&(Y.stopPropagation(),re.focus())}return}const J=Y.key===v._.ENTER;if(J&&!z)W(!0);else if((Y.key===v._.ESCAPE||J)&&z){if(J&&document.activeElement?.tagName==="A")return;W(!1),O.current.focus()}else z&&Y.stopPropagation()},Q=N===R.row-1&&B===R.col-1;(0,a.useLayoutEffect)(()=>{const Y=(0,c.M)(O.current,!0);Y.length===0||Y.length===1&&(0,c.I)(Y).length!==0||Y.length>1&&Boolean(Y.find(Z=>Z.tagName!=="BUTTON"))?(O.current.setAttribute("tabIndex",!z&&Q?"0":"-1"),Y.forEach((Z,J)=>{Z.setAttribute("tabIndex",z?"0":"-1"),z&&J===0&&Z.focus()})):Y.forEach(Z=>{Z.setAttribute("tabIndex",Q?"0":"-1")})},[z,Q]);const K=(0,a.useCallback)(()=>{const Y=(0,c.M)(O.current,!0);Y.length>=1&&((0,c.I)(Y).length!==0||!Y.find(Z=>Z.tagName!=="BUTTON"))&&W(!0),j({rowIndex:R.row-1,colIndex:R.col-1})},[R,j]);return(0,a.useLayoutEffect)(()=>{const Y=O.current;return(0,c.M)(Y,!0).forEach(J=>{J.addEventListener("focus",K)}),()=>{(0,c.M)(Y,!0).forEach(ee=>{ee.removeEventListener("focus",K)})}},[K]),(0,i.jsx)(_.k,{role:"gridcell",as:P,ref:O,onKeyDown:X,...M})}},532:(U,C,e)=>{"use strict";e.d(C,{w:()=>_});var i=e(19968),a=e(62552);const l=T=>{const A=T.querySelector('[tabindex="0"]');A&&A.focus()};var c=e(7536),v=e(89192);const _=({colCount:T,rowCount:A,jumpStep:R=3,initialCol:P=0,initialRow:M=0,...O})=>{const N=(0,a.useRef)(null),B=(0,a.useRef)(!1),[j,z]=(0,a.useState)(M),[W,X]=(0,a.useState)(P),Q=(0,a.useCallback)(({colIndex:Z,rowIndex:J})=>{X(Z),z(J)},[]);(0,a.useEffect)(()=>{B.current&&l(N.current),B.current||(B.current=!0)},[W,j]);const K=Z=>{switch(Z.key){case v._.RIGHT:{Z.preventDefault(),X(J=>J<T-1?J+1:J);break}case v._.LEFT:{Z.preventDefault(),X(J=>J>0?J-1:J);break}case v._.UP:{Z.preventDefault(),z(J=>J>0?J-1:J);break}case v._.DOWN:{Z.preventDefault(),z(J=>J<A-1?J+1:J);break}case v._.HOME:{Z.preventDefault(),Z.ctrlKey&&z(0),X(0);break}case v._.END:{Z.preventDefault(),Z.ctrlKey&&z(A-1),X(T-1);break}case v._.PAGE_DOWN:{Z.preventDefault(),z(J=>J+R<A?J+R:A-1);break}case v._.PAGE_UP:{Z.preventDefault(),z(J=>J-R>0?J-R:0);break}}},Y=(0,a.useMemo)(()=>({rowIndex:j,colIndex:W,setTableValues:Q}),[W,j,Q]);return(0,i.jsx)(c.C.Provider,{value:Y,children:(0,i.jsx)("table",{role:"grid",ref:N,"aria-rowcount":A,"aria-colcount":T,onKeyDown:K,...O})})}},7536:(U,C,e)=>{"use strict";e.d(C,{C:()=>a,g:()=>l});var i=e(62552);const a=(0,i.createContext)({rowIndex:0,colIndex:0,setTableValues(){throw new Error("setTableValues must be initialized via the RawTableContext.Provider")}}),l=()=>(0,i.useContext)(a)},38296:(U,C,e)=>{"use strict";e.d(C,{A:()=>l});var i=e(19968),a=e(62552);const l=({children:c,...v})=>{const _=a.Children.toArray(c).map((T,A)=>(0,a.isValidElement)(T)?(0,a.cloneElement)(T,{"aria-rowindex":A+2}):T);return(0,i.jsx)("tbody",{...v,children:_})}},93432:(U,C,e)=>{"use strict";e.d(C,{Y:()=>l});var i=e(19968),a=e(62552);const l=({children:c,...v})=>{const _=a.Children.toArray(c).map(T=>(0,a.isValidElement)(T)?(0,a.cloneElement)(T,{"aria-rowindex":1}):T);return(0,i.jsx)("thead",{...v,children:_})}},75872:(U,C,e)=>{"use strict";e.d(C,{_:()=>c});var i=e(19968),a=e(62552),l=e(5e3);const c=({children:v,..._})=>{const T=a.Children.toArray(v).map((A,R)=>(0,a.isValidElement)(A)?(0,a.cloneElement)(A,{"aria-colindex":R+1,coords:{col:R+1,row:_["aria-rowindex"]}}):A);return(0,i.jsx)(l.k,{as:"tr",..._,children:T})}},57064:(U,C,e)=>{"use strict";e.d(C,{y:()=>a});var i=e(19968);const a=l=>(0,i.jsx)("form",{...l,role:"search"})},86400:(U,C,e)=>{"use strict";e.d(C,{E:()=>z});var i=e(19968),a=e(62552),l=e(39716),c=e(85088),v=e(3704),_=e(94072),T=e(53744),A=e(79672),R=e(17324),P=e(95080),M=e(35480),O=e(33128);const N=(0,v.cp)(l.c)`
  font-size: 0.5rem;
  path {
    fill: ${({theme:W})=>W.colors.neutral400};
  }
`,B=(0,v.cp)(c.c)`
  font-size: 0.8rem;
  path {
    fill: ${({theme:W})=>W.colors.neutral800};
  }
`,j=v.cp.div`
  border-radius: ${({theme:W})=>W.borderRadius};
  box-shadow: ${({theme:W})=>W.shadows.filterShadow};

  &:focus-within {
    ${B} {
      path {
        fill: ${({theme:W})=>W.colors.primary600};
      }
    }
  }

  ${A.S} {
    border: 1px solid transparent;
  }

  ${(0,T.Ih)(A.S)}
`,z=(0,a.forwardRef)(({name:W,size:X="M",children:Q,value:K="",onClear:Y,clearLabel:Z,...J},ee)=>{const re=(0,a.useRef)(null),me=K.length>0,fe=Ve=>{Y(Ve),re.current.focus()},le=(0,_.c)(ee,re);return(0,i.jsx)(j,{children:(0,i.jsxs)(P.I,{name:W,children:[(0,i.jsx)(M.K,{children:(0,i.jsx)(O.u,{children:Q})}),(0,i.jsx)(A.e,{ref:le,value:K,startAction:(0,i.jsx)(B,{"aria-hidden":!0}),size:X,endAction:me?(0,i.jsx)(R.d,{label:Z,onClick:fe,children:(0,i.jsx)(N,{})}):void 0,...J})]})})})},5928:(U,C,e)=>{"use strict";e.d(C,{OK:()=>Z,e:()=>Q,eI:()=>K});var i=e(19968),a=e(62552),l=e(39716),c=e(3704),v=e(37832),_=e(73748),T=e(31104),A=e(94072),R=e(37856),P=e(97008),M=e(15860),O=e(95080),N=e(48936),B=e(33128),j=e(5e3),z=e(79080),W=e(74264),X=e(63358);const Q=a.forwardRef(({"aria-label":J,children:ee,clearLabel:re="Clear",customizeContent:me,disabled:fe,error:le,hint:Ve,id:Ze,label:Ce,labelAction:ye,onChange:Ae,onClear:Fe,onCloseAutoFocus:Qe,onReachEnd:ce,placeholder:Ge,required:Pe,selectButtonTitle:pe,startIcon:Se,size:_e="M",value:Ne,withTags:Le,...Ke},bt)=>{const yt=a.useRef(null),[It,_t]=a.useState(),[zt,Vt]=a.useState(!1),St=(0,R.I)(Ze),Xt=`${St}-hint`,jt=`${St}-error`,sn=Hn=>{Ae?Ae(Hn):_t(Hn)},dt=Hn=>()=>{const er=Array.isArray(Ne)?Ne.filter(an=>an!==Hn):(It??[]).filter(an=>an!==Hn);Ae?Ae(er):_t(er)},Ln=Hn=>{Vt(Hn)},fn=a.useRef(null),cr=()=>{fn.current.focus()},wr=(0,R.I)(),Jn=`intersection-${(0,T.q)(wr)}`,nn=Hn=>{ce&&ce(Hn)};(0,P.q)(yt,nn,{selectorToWatch:`#${Jn}`,skipWhen:!zt});const or=typeof Ne<"u"&&Ne!==null?Ne:It,bn=Hn=>Hn&&typeof Hn=="object"&&Hn.value?(0,i.jsx)(M.E,{tabIndex:-1,disabled:fe,icon:(0,i.jsx)(l.c,{}),onClick:dt(Hn.value),children:Hn.textValue},Hn.value):null,Sn=(0,A.q)(fn,bt);return(0,i.jsx)(O.I,{hint:Ve,error:le,id:St,required:Pe,children:(0,i.jsxs)(N.C,{direction:"column",alignItems:"stretch",gap:1,children:[Ce?(0,i.jsx)(B.u,{onClick:cr,action:ye,children:Ce}):null,(0,i.jsxs)(v.Ss,{onOpenChange:Ln,disabled:fe,required:Pe,onValueChange:sn,value:or,...Ke,multi:!0,children:[(0,i.jsx)(v.mf,{ref:Sn,"aria-label":Ce??J,"aria-describedby":`${Xt} ${jt}`,id:St,startIcon:Se,size:_e,hasError:Boolean(le),disabled:fe,clearLabel:re,onClear:or?.length?Fe:void 0,paddingLeft:Le&&or?.length?1:3,children:(0,i.jsx)(v.s3,{placeholder:Ge,textColor:or?.length?"neutral800":"neutral600",children:or?.length?Le?bn:me?me(or):void 0:void 0})}),(0,i.jsx)(v.a8,{children:(0,i.jsx)(v.kP,{position:"popper",sideOffset:4,onCloseAutoFocus:Qe,children:(0,i.jsxs)(v.mm,{ref:yt,children:[ee,(0,i.jsx)(j.k,{id:Jn,width:"100%",height:"1px"})]})})})]}),(0,i.jsx)(z.o,{}),(0,i.jsx)(W.Q,{})]})})}),K=a.forwardRef(({value:J,children:ee,startIcon:re,...me},fe)=>(0,i.jsxs)(v.iY,{ref:fe,value:J.toString(),...me,children:[re&&(0,i.jsx)(j.k,{as:"span","aria-hidden":!0,children:re}),(0,i.jsx)(v.CE,{children:({isSelected:le,isIntermediate:Ve})=>(0,i.jsx)(Y,{hasRadius:!0,overflow:"hidden",position:"relative",$indeterminate:Ve,$selected:le,zIndex:1,height:"18px",width:"18px"})}),(0,i.jsx)(X.O,{textColor:"neutral800",children:(0,i.jsx)(v.CC,{children:ee})})]})),Y=(0,c.cp)(j.k)`
  border: 1px solid
    ${({theme:J,$selected:ee,$indeterminate:re})=>ee||re?J.colors.primary600:J.colors.neutral300};
  background-color: ${({theme:J,$selected:ee,$indeterminate:re})=>ee||re?J.colors.primary600:J.colors.neutral0};

  ${({theme:J,$indeterminate:ee})=>ee&&(0,c.gV)`
      &::after {
        content: '';
        display: block;
        position: relative;
        color: white;
        height: 2px;
        width: 10px;
        background-color: ${J.colors.neutral0};
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
      }
    `}

  ${({$selected:J})=>J&&(0,c.gV)`
      &::after {
        content: '';
        background: ${()=>`url("${_.c}") no-repeat no-repeat center center`};
        width: 100%;
        height: 100%;
        position: absolute;
      }
    `}
`,Z=a.forwardRef(({children:J,label:ee,startIcon:re,values:me=[],...fe},le)=>(0,i.jsxs)(v.WM,{ref:le,children:[(0,i.jsxs)(v.iY,{value:me,...fe,children:[re&&(0,i.jsx)(j.k,{as:"span","aria-hidden":!0,children:re}),(0,i.jsx)(v.CE,{children:({isSelected:Ve,isIntermediate:Ze})=>(0,i.jsx)(Y,{hasRadius:!0,overflow:"hidden",position:"relative",$indeterminate:Ze,$selected:Ve,zIndex:1,height:"18px",width:"18px"})}),(0,i.jsx)(X.O,{textColor:"neutral800",children:ee})]}),J]}))},13384:(U,C,e)=>{"use strict";e.d(C,{c:()=>v});var i=e(19968),a=e(5928),l=e(35933),c=e(56104);/**
 * @preserve
 * @deprecated You should import the specific type of option you want to render,
 * e.g. `import { MultiSelectOption } from '@strapi/design-system';`
 */const v=({multi:_,...T})=>{const A=(0,l.S)();return _||A.multi?(0,i.jsx)(a.eI,{...T}):(0,i.jsx)(c.kH,{...T})}},35933:(U,C,e)=>{"use strict";e.d(C,{M:()=>T,S:()=>_});var i=e(19968),a=e(62552),l=e(5928),c=e(56104);const v=a.createContext({multi:!1}),_=()=>a.useContext(v);/**
 * @preserve
 * @deprecated You should import the specific type of select you want to render
 *
 * e.g. `import { MultiSelect } from '@strapi/design-system';`
 */const T=A=>{const R=a.useMemo(()=>({multi:Boolean(A.multi||A.withTags)}),[A.multi,A.withTags]);return(0,i.jsx)(v.Provider,{value:R,children:A.multi||A.withTags?(0,i.jsx)(l.e,{...A}):(0,i.jsx)(c.K_,{...A})})}},37832:(U,C,e)=>{"use strict";e.d(C,{CC:()=>ye,CE:()=>Ce,Ss:()=>ee,WM:()=>Ae,a8:()=>fe,iY:()=>Ze,kP:()=>le,mf:()=>re,mm:()=>Ve,s3:()=>me});var i=e(19968),a=e(62552),l=e(39716),c=e(14520),v=e(6340),_=e(3704),T=e(94072),A=e(48936),R=e(5e3),P=e(53744),M=e(63358);const O=a.forwardRef(({onClear:Fe,clearLabel:Qe="Clear",startIcon:ce,disabled:Ge,hasError:Pe,size:pe="M",children:Se,..._e},Ne)=>{const Le=a.useRef(null),Ke=yt=>{Fe&&!Ge&&(Fe(yt),Le.current.focus())},bt=(0,T.q)(Le,Ne);return(0,i.jsx)(v.M1.Trigger,{asChild:!0,children:(0,i.jsxs)(B,{"aria-disabled":Ge,$hasError:Pe,$size:pe,ref:bt,alignItems:"center",justifyContent:"space-between",position:"relative",overflow:"hidden",hasRadius:!0,background:Ge?"neutral150":"neutral0",paddingLeft:3,paddingRight:3,gap:4,cursor:"default",width:"100%",..._e,children:[(0,i.jsxs)(A.C,{flex:"1",as:"span",gap:3,children:[ce&&(0,i.jsx)(R.k,{as:"span","aria-hidden":!0,children:ce}),Se]}),(0,i.jsxs)(A.C,{as:"span",gap:3,children:[Fe?(0,i.jsx)(N,{as:"button",hasRadius:!0,background:"transparent",role:"button",tabIndex:0,onClick:Ke,"aria-disabled":Ge,"aria-label":Qe,title:Qe,cursor:"pointer",children:(0,i.jsx)(l.c,{})}):null,(0,i.jsx)(j,{children:(0,i.jsx)(c.c,{})})]})]})})}),N=(0,_.cp)(R.k)`
  border: none;

  svg {
    height: ${11/16}rem;
    width: ${11/16}rem;
  }

  svg path {
    fill: ${({theme:Fe})=>Fe.colors.neutral600};
  }
`,B=(0,_.cp)(A.C)`
  border: 1px solid ${({theme:Fe,$hasError:Qe})=>Qe?Fe.colors.danger600:Fe.colors.neutral200};
  min-height: ${({theme:Fe,$size:Qe})=>(0,P.WI)("input")({theme:Fe,size:Qe})};

  &[aria-disabled='true'] {
    color: ${Fe=>Fe.theme.colors.neutral600};
  }

  /* Required to ensure the below inputFocusStyles are adhered too */
  &:focus-visible {
    outline: none;
  }

  ${({theme:Fe,$hasError:Qe})=>(0,P.Ih)()({theme:Fe,hasError:Qe})};
`,j=(0,_.cp)(v.M1.Icon)`
  & > svg {
    width: ${6/16}rem;

    & > path {
      fill: ${({theme:Fe})=>Fe.colors.neutral600};
    }
  }
`,z=a.forwardRef(({children:Fe,placeholder:Qe,...ce},Ge)=>(0,i.jsx)(W,{ref:Ge,ellipsis:!0,...ce,children:(0,i.jsx)(X,{placeholder:Qe,children:Fe})})),W=(0,_.cp)(M.O)`
  flex: 1;
`,X=(0,_.cp)(v.M1.Value)`
  display: flex;
  gap: ${({theme:Fe})=>Fe.spaces[1]};
  flex-wrap: wrap;
`,Q=(0,_.cp)(v.M1.Content)`
  background: ${({theme:Fe})=>Fe.colors.neutral0};
  box-shadow: ${({theme:Fe})=>Fe.shadows.filterShadow};
  border: 1px solid ${({theme:Fe})=>Fe.colors.neutral150};
  border-radius: ${({theme:Fe})=>Fe.borderRadius};
  min-width: var(--radix-select-trigger-width);
  /* This is from the design-system figma file. */
  max-height: 15rem;
  z-index: ${({theme:Fe})=>Fe.zIndices[1]};
`,K=(0,_.cp)(v.M1.Viewport)`
  padding: ${({theme:Fe})=>Fe.spaces[1]};
`,Y=a.forwardRef((Fe,Qe)=>(0,i.jsx)(J,{ref:Qe,...Fe})),Z=(0,_.gV)`
  width: 100%;
  border: none;
  text-align: left;
  outline-offset: -3px;
  border-radius: ${Fe=>Fe.theme.borderRadius};
  padding: ${Fe=>`${Fe.theme.spaces[2]} ${Fe.theme.spaces[4]}`};
  padding-left: ${({theme:Fe})=>Fe.spaces[4]};
  background-color: ${({theme:Fe})=>Fe.colors.neutral0};
  display: flex;
  align-items: center;
  gap: ${({theme:Fe})=>Fe.spaces[2]};
  white-space: nowrap;
  user-select: none;

  &:focus-visible {
    outline: none;
    background-color: ${({theme:Fe})=>Fe.colors.primary100};
  }
`,J=(0,_.cp)(v.M1.Item)`
  ${Z}

  &:hover {
    background-color: ${({theme:Fe})=>Fe.colors.primary100};
  }

  &[data-state='checked'] {
    ${M.O} {
      font-weight: bold;
      color: ${({theme:Fe})=>Fe.colors.primary600};
    }
  }
`,ee=v.M1.Root,re=O,me=z,fe=v.M1.Portal,le=Q,Ve=K,Ze=Y,Ce=v.M1.ItemIndicator,ye=v.M1.ItemText,Ae=v.M1.Group},56104:(U,C,e)=>{"use strict";e.d(C,{K_:()=>j,i:()=>z,kH:()=>W});var i=e(19968),a=e(62552),l=e(37832),c=e(31104),v=e(94072),_=e(37856),T=e(97008),A=e(95080),R=e(48936),P=e(33128),M=e(79080),O=e(74264),N=e(5e3),B=e(63358);const j=a.forwardRef(({error:X,hint:Q,id:K,label:Y,labelAction:Z,required:J,selectButtonTitle:ee,...re},me)=>{const fe=(0,_.I)(K),le=a.useRef(null),Ve=()=>{le.current.focus()},Ze=(0,v.q)(me,le);return(0,i.jsx)(A.I,{hint:Q,error:X,id:fe,required:J,children:(0,i.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:1,children:[Y?(0,i.jsx)(P.u,{onClick:Ve,action:Z,children:Y}):null,(0,i.jsx)(z,{label:Y,id:fe,ref:Ze,required:J,...re}),(0,i.jsx)(M.o,{}),(0,i.jsx)(O.Q,{})]})})}),z=a.forwardRef(({"aria-label":X,id:Q,children:K,clearLabel:Y="Clear",customizeContent:Z,disabled:J,error:ee,label:re,onChange:me,onClear:fe,onCloseAutoFocus:le,onReachEnd:Ve,placeholder:Ze,required:Ce,selectButtonTitle:ye,startIcon:Ae,size:Fe="M",value:Qe,...ce},Ge)=>{const[Pe,pe]=a.useState(),[Se,_e]=a.useState(!1),Ne=Xt=>{_e(Xt)},Le=Xt=>{fe&&fe(Xt),me||pe("")},Ke=`${Q}-hint`,bt=`${Q}-error`,yt=Xt=>{me?me(typeof Qe=="number"?Number(Xt):Xt):pe(Xt)},It=a.useRef(null),_t=(0,_.I)(),zt=`intersection-${(0,c.q)(_t)}`,Vt=Xt=>{Ve&&Ve(Xt)};(0,T.q)(It,Vt,{selectorToWatch:`#${zt}`,skipWhen:!Se});const St=(typeof Qe<"u"&&Qe!==null?Qe.toString():Pe)??"";return(0,i.jsxs)(l.Ss,{onOpenChange:Ne,disabled:J,required:Ce,onValueChange:yt,value:St,...ce,children:[(0,i.jsx)(l.mf,{ref:Ge,"aria-label":re??X,"aria-describedby":Q?`${Ke} ${bt}`:void 0,id:Q,startIcon:Ae,size:Fe,hasError:Boolean(ee),disabled:J,clearLabel:Y,onClear:St&&fe?Le:void 0,children:(0,i.jsx)(l.s3,{placeholder:Ze,textColor:St?"neutral800":"neutral600",children:St&&Z?Z(St):void 0})}),(0,i.jsx)(l.a8,{children:(0,i.jsx)(l.kP,{position:"popper",sideOffset:4,onCloseAutoFocus:le,children:(0,i.jsxs)(l.mm,{ref:It,children:[K,(0,i.jsx)(N.k,{id:zt,width:"100%",height:"1px"})]})})})]})}),W=a.forwardRef(({value:X,startIcon:Q,children:K,...Y},Z)=>(0,i.jsxs)(l.iY,{ref:Z,value:X.toString(),...Y,children:[Q&&(0,i.jsx)(N.k,{as:"span","aria-hidden":!0,children:Q}),(0,i.jsx)(B.O,{textColor:"neutral800",children:(0,i.jsx)(l.CC,{children:K})})]}))},9752:(U,C,e)=>{"use strict";e.d(C,{Td:()=>A,Th:()=>T});var i=e(19968),a=e(3704),l=e(45412),c=e(48936);const v=(0,a.cp)(l.w)`
  vertical-align: middle;
  text-align: left;
  color: ${({theme:R})=>R.colors.neutral600};
  outline-offset: -4px;

  /**
  * Hack to make sure the checkbox looks aligned
  */
  input {
    vertical-align: sub;
  }
`,_=a.cp.span`
  svg {
    height: ${4/16}rem;
  }
`,T=({children:R,action:P,...M})=>(0,i.jsx)(v,{as:l.d,...M,children:(0,i.jsxs)(c.C,{children:[R,(0,i.jsx)(_,{children:P})]})}),A=({children:R,...P})=>(0,i.jsx)(v,{...P,children:R})},42848:(U,C,e)=>{"use strict";e.d(C,{o:()=>P});var i=e(19968),a=e(62552),l=e(3704),c=e(532),v=e(5e3);const _=(0,l.cp)(v.k)`
  overflow: hidden;
  border: 1px solid ${({theme:M})=>M.colors.neutral150};
`,T=(0,l.cp)(c.w)`
  width: 100%;
  white-space: nowrap;
`,A=(0,l.cp)(v.k)`
  &:before {
    // TODO: make sure to add a token for this weird stuff
    background: linear-gradient(90deg, #c0c0cf 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.2;
    position: absolute;
    height: 100%;
    content: ${({overflowing:M})=>M==="both"||M==="left"?"''":void 0};
    box-shadow: ${({theme:M})=>M.shadows.tableShadow};
    width: ${({theme:M})=>M.spaces[2]};
    left: 0;
  }

  &:after {
    // TODO: make sure to add a token for this weird stuff
    background: linear-gradient(270deg, #c0c0cf 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.2;
    position: absolute;
    height: 100%;
    content: ${({overflowing:M})=>M==="both"||M==="right"?"''":void 0};
    box-shadow: ${({theme:M})=>M.shadows.tableShadow};
    width: ${({theme:M})=>M.spaces[2]};
    right: 0;
    top: 0;
  }
`,R=(0,l.cp)(v.k)`
  overflow-x: auto;
`,P=({footer:M,...O})=>{const N=(0,a.useRef)(null),[B,j]=(0,a.useState)(),z=W=>{const X=W.target.scrollWidth-W.target.clientWidth;if(W.target.scrollLeft===0){j("right");return}if(W.target.scrollLeft===X){j("left");return}W.target.scrollLeft>0&&j("both")};return(0,a.useEffect)(()=>{N.current.scrollWidth>N.current.clientWidth&&j("right")},[]),(0,i.jsxs)(_,{shadow:"tableShadow",hasRadius:!0,background:"neutral0",children:[(0,i.jsx)(A,{overflowing:B,position:"relative",children:(0,i.jsx)(R,{ref:N,onScroll:z,paddingLeft:6,paddingRight:6,children:(0,i.jsx)(T,{...O})})}),M]})}},48744:(U,C,e)=>{"use strict";e.d(C,{K:()=>v});var i=e(19968),a=e(3704),l=e(38296);const c=(0,a.cp)(l.A)`
  & tr:last-of-type {
    border-bottom: none;
  }
`,v=({children:_,...T})=>(0,i.jsx)(c,{...T,children:_})},20464:(U,C,e)=>{"use strict";e.d(C,{o:()=>v});var i=e(19968),a=e(3704),l=e(93432);const c=(0,a.cp)(l.Y)`
  border-bottom: 1px solid ${({theme:_})=>_.colors.neutral150};
`,v=({children:_,...T})=>(0,i.jsx)(c,{...T,children:_})},76512:(U,C,e)=>{"use strict";e.d(C,{Tr:()=>v});var i=e(19968),a=e(3704),l=e(75872);const c=(0,a.cp)(l._)`
  border-bottom: 1px solid ${({theme:_})=>_.colors.neutral150};

  & td,
  & th {
    padding: ${({theme:_})=>_.spaces[4]};
  }

  & td:first-of-type,
  & th:first-of-type {
    padding: 0 ${({theme:_})=>_.spaces[1]};
  }

  // Resetting padding values and fixing a height
  th {
    padding-top: 0;
    padding-bottom: 0;
    height: ${56/16}rem;
  }
`,v=_=>(0,i.jsx)(c,{..._})},6496:(U,C,e)=>{"use strict";e.d(C,{M:()=>v});var i=e(19968),a=e(62552),l=e(83348),c=e(37856);const v=a.forwardRef(({id:_,initialSelectedTabIndex:T=0,label:A,onTabChange:R,variant:P,...M},O)=>{const N=(0,c.I)(_),[B,j]=a.useState(T);a.useImperativeHandle(O,()=>({_handlers:{setSelectedTabIndex:j}}));const z=a.useMemo(()=>({id:N,selectedTabIndex:B,selectTabIndex:j,label:A,variant:P,onTabChange:R}),[A,R,B,N,P]);return(0,i.jsx)(l.s.Provider,{value:z,children:(0,i.jsx)("div",{...M})})});v.displayName="TabGroup"},80700:(U,C,e)=>{"use strict";e.d(C,{G:()=>v,o:()=>c});var i=e(19968),a=e(62552),l=e(83348);const c=({children:_,...T})=>{const{id:A,selectedTabIndex:R}=(0,l.a)(),P=a.Children.toArray(_).map((M,O)=>(0,a.cloneElement)(M,{id:`${A}-${O}`})).filter((M,O)=>O===R);return(0,i.jsx)("div",{...T,children:P})},v=({id:_,...T})=>{const A=`${_}-tab`,R=`${_}-tabpanel`;return(0,i.jsx)("div",{id:R,role:"tabpanel",tabIndex:0,"aria-labelledby":A,...T})}},53804:(U,C,e)=>{"use strict";e.d(C,{s:()=>W,k:()=>z});var i=e(19968),a=e(62552),l=e(72312),c=e(3704),v=e(5e3),_=e(48936);const T=(0,c.cp)(v.k)`
  border-bottom: 2px solid
    ${({theme:X,selected:Q,hasError:K})=>Q?K?X.colors.danger600:X.colors.primary600:"transparent"};
`,A=(0,c.cp)(v.k)`
  border-bottom: 1px solid ${({theme:X,selected:Q})=>Q?X.colors.neutral0:X.colors.neutral150};
`,R=c.cp.button`
  border: none;
  background: transparent;
  padding: 0;

  & + & > ${A} {
    border-left: 1px solid ${({theme:X})=>X.colors.neutral150};
  }

  ${A} {
    border-right: ${({theme:X,showRightBorder:Q})=>Q?`1px solid ${X.colors.neutral150}`:"none"};
  }

  // Hack preventing the outline from being overflow by the following tab
  outline-offset: -2px;

  &[aria-disabled='true'] {
    cursor: not-allowed;
  }
`,P=(0,c.cp)(_.C)`
  & > * {
    flex: 1;
  }

  & ${R}:first-of-type ${A} {
    border-radius: ${({theme:X})=>`${X.borderRadius} 0 0 0`};
  }

  & ${R}:last-of-type ${A} {
    border-radius: ${({theme:X})=>`0 ${X.borderRadius} 0 0`};
  }

  & ${R}[aria-selected="true"] ${A} {
    border-radius: ${({theme:X})=>`${X.borderRadius} ${X.borderRadius} 0 0`};
    border-left: none;
    border-right: none;
  }
`;var M=e(83348),O=e(89192),N=e(63358);const B=(X,Q)=>{const K=(0,a.useRef)(null),Y=(0,a.useRef)(!1),Z=(0,l.Y)(Q);return(0,a.useEffect)(()=>{if(K.current){if(Y.current){const J=K.current.querySelector('[tabindex="0"]');J&&(J.focus(),Z(X))}Y.current||(Y.current=!0)}},[X,Z]),K},j=c.cp.button`
  &[aria-disabled='true'] {
    cursor: not-allowed;
  }
`,z=({children:X,...Q})=>{const{id:K,selectedTabIndex:Y,selectTabIndex:Z,label:J,variant:ee,onTabChange:re}=(0,M.a)(),me=B(Y,re),fe=a.Children.toArray(X).map((Ve,Ze)=>(0,a.cloneElement)(Ve,{id:`${K}-${Ze}`,index:Ze,selectedTabIndex:Y,onTabClick:()=>Z(Ze),variant:ee})),le=Ve=>{if(!fe.every(Ce=>Ce.props.disabled))switch(Ve.key){case O._.RIGHT:{const Ce=Y+1,ye=Fe=>fe[Fe].props.disabled?Fe===fe.length-1?ye(0):ye(Fe+1):Fe,Ae=ye(Ce>=fe.length?0:Ce);Z(Ae);break}case O._.LEFT:{const Ce=Y-1,ye=Fe=>fe[Fe].props.disabled?ye(Fe===0?fe.length-1:Fe-1):Fe,Ae=ye(Ce<0?fe.length-1:Ce);Z(Ae);break}case O._.HOME:{const Ce=fe.findIndex(ye=>!ye.props.disabled);Z(Ce);break}case O._.END:{const ye=fe.map((Ae,Fe)=>({isDisabled:Ae.props.disabled,index:Fe})).reverse().find(({isDisabled:Ae})=>!Ae);ye&&Z(ye.index);break}}};return ee==="simple"?(0,i.jsx)("div",{ref:me,role:"tablist","aria-label":J,onKeyDown:le,...Q,children:fe}):(0,i.jsx)(P,{ref:me,role:"tablist",alignItems:"flex-end","aria-label":J,onKeyDown:le,...Q,children:fe})},W=({disabled:X=!1,id:Q,children:K,variant:Y,hasError:Z=!1,index:J,selectedTabIndex:ee,onTabClick:re,...me})=>{const fe=`${Q}-tab`,le=`${Q}-tabpanel`,Ve=J===ee,Ze=()=>{X||re&&re()};if(Y==="simple"){let ye;return Z?ye="danger600":Ve?ye="primary600":ye="neutral600",(0,i.jsx)(j,{id:fe,role:"tab","aria-controls":Ve?le:void 0,tabIndex:Ve?0:-1,"aria-selected":Ve,type:"button",onClick:Ze,"aria-disabled":X,...me,children:(0,i.jsx)(T,{padding:4,selected:Ve,hasError:Z,children:(0,i.jsx)(N.O,{variant:"sigma",textColor:ye,children:K})})})}Z&&console.warn('The "hasError" prop is only available for the "simple" variant.');const Ce=ee&&ee-1===J;return(0,i.jsx)(R,{id:fe,role:"tab",type:"button","aria-controls":Ve?le:void 0,tabIndex:Ve?0:-1,"aria-selected":Ve,onClick:Ze,"aria-disabled":X,showRightBorder:Boolean(Ce),...me,children:(0,i.jsx)(A,{padding:Ve?4:3,background:Ve?"neutral0":"neutral100",selected:Ve,children:(0,i.jsx)(N.O,{fontWeight:"bold",textColor:Ve?"primary700":"neutral600",children:K})})})}},83348:(U,C,e)=>{"use strict";e.d(C,{a:()=>l,s:()=>a});var i=e(62552);const a=(0,i.createContext)({id:"",label:"",selectedTabIndex:0,selectTabIndex(){throw new Error("TabsContext.selectTabIndex is not implemented.")}}),l=()=>(0,i.useContext)(a)},15860:(U,C,e)=>{"use strict";e.d(C,{E:()=>v});var i=e(19968),a=e(3704),l=e(48936),c=e(63358);const v=({children:A,icon:R,disabled:P=!1,onClick:M,...O})=>{const N=B=>{P||!M||M(B)};return(0,i.jsxs)(_,{as:"button",background:P?"neutral200":"primary100",color:P?"neutral700":"primary600",paddingLeft:3,paddingRight:3,onClick:N,"aria-disabled":P,disabled:P,borderWidth:"1px",borderStyle:"solid",borderColor:P?"neutral300":"primary200",hasRadius:!0,height:`${32/16}rem`,gap:2,...O,children:[(0,i.jsx)(T,{$disabled:P,variant:"pi",fontWeight:"bold",as:"span",children:A}),R]})},_=(0,a.cp)(l.C)`
  & > svg {
    height: ${8/16}rem;
    width: ${8/16}rem;
  }

  & > svg path {
    fill: ${({theme:A,...R})=>R["aria-disabled"]?A.colors.neutral600:A.colors.primary600};
  }
`,T=(0,a.cp)(c.O)`
  color: inherit;
  border-right: 1px solid ${({theme:A,$disabled:R})=>R?A.colors.neutral300:A.colors.primary200};
  padding-right: ${({theme:A})=>A.spaces[2]};
`},82800:(U,C,e)=>{"use strict";e.d(C,{c:()=>M});var i=e(19968),a=e(62552),l=e(24144),c=e(3704),v=e(53744),_=e(48936),T=e(63358);const A=(0,c.xZ)`
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
`,R=c.cp.div`
  animation: ${A} 2s infinite linear;
  will-change: transform;
`,P=(0,c.cp)(_.C)`
  border: none;

  &[aria-disabled='true'] {
    pointer-events: none;
    svg path {
      fill: ${({theme:O})=>O.colors.neutral600};
    }
  }

  svg path {
    fill: ${({theme:O})=>O.colors.primary600};
  }

  ${v.Md}
`,M=a.forwardRef(({children:O,startIcon:N,endIcon:B,onClick:j,disabled:z=!1,loading:W=!1,...X},Q)=>{const K=j&&!z?j:void 0,Y=z||W;return(0,i.jsxs)(P,{ref:Q,"aria-disabled":Y,onClick:K,as:"button",type:"button",background:"transparent",gap:2,...X,children:[W?(0,i.jsx)(R,{"aria-hidden":!0,children:(0,i.jsx)(l.c,{})}):N,(0,i.jsx)(T.O,{variant:"pi",textColor:Y?"neutral600":"primary600",children:O}),B]})});M.displayName="TextButton"},62492:(U,C,e)=>{"use strict";e.d(C,{g:()=>P});var i=e(19968),a=e(62552),l=e(37856),c=e(95080),v=e(48936),_=e(33128),T=e(79672),A=e(79080),R=e(74264);const P=(0,a.forwardRef)(({name:M,hint:O,error:N,label:B,labelAction:j,id:z,required:W,...X},Q)=>{const K=(0,l.I)(z),Y=(0,a.useRef)(null),Z=(0,a.useRef)(null);if(!B&&!X["aria-label"])throw new Error('The TextInput component needs a "label" or an "aria-label" props');return(0,a.useImperativeHandle)(Q,()=>({input:Z,inputWrapperRef:Y}),[]),(0,i.jsx)("div",{ref:Y,children:(0,i.jsx)(c.I,{name:M,hint:O,error:N,id:K,required:W,children:(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:1,children:[B&&(0,i.jsx)(_.u,{action:j,children:B}),(0,i.jsx)(T.e,{ref:Z,...X}),(0,i.jsx)(A.o,{}),(0,i.jsx)(R.Q,{})]})})})});P.displayName="TextInput"},25352:(U,C,e)=>{"use strict";e.d(C,{A:()=>z});var i=e(19968),a=e(62552),l=e(3704),c=e(37856),v=e(53744),_=e(5e3),T=e(4392),A=e(95080),R=e(48936),P=e(33128),M=e(79080),O=e(74264);const N=(0,l.cp)(_.k)`
  ${(0,v.Ih)()}
`,B=(0,l.cp)(_.k)`
  border: none;
  resize: none;

  ::placeholder {
    color: ${({theme:W})=>W.colors.neutral500};
    font-size: ${({theme:W})=>W.fontSizes[2]};
    color: ${({theme:W})=>W.colors.neutral500};
    opacity: 1;
  }

  &:focus-within {
    outline: none;
  }
`,j=a.forwardRef(({disabled:W,...X},Q)=>{const{id:K,error:Y,hint:Z,required:J}=(0,T.m)(),ee=Boolean(Y);let re=Z?`${K}-hint`:void 0;return Y&&(re=`${K}-error`),(0,i.jsx)(N,{borderColor:ee?"danger600":"neutral200",hasError:ee,hasRadius:!0,children:(0,i.jsx)(B,{"aria-describedby":re,"aria-invalid":ee,"aria-required":J,as:"textarea",background:W?"neutral150":"neutral0",color:W?"neutral600":"neutral800",disabled:W,fontSize:2,hasRadius:!0,height:`${105/16}rem`,id:K,ref:Q,lineHeight:4,padding:4,width:"100%",...X})})}),z=a.forwardRef(({name:W,hint:X,error:Q,label:K,labelAction:Y,id:Z,required:J=!1,children:ee,value:re,...me},fe)=>{const le=(0,c.I)(Z);return(0,i.jsx)(A.I,{name:W,hint:X,error:Q,id:le,required:J,children:(0,i.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:1,children:[K&&(0,i.jsx)(P.u,{action:Y,children:K}),(0,i.jsx)(j,{ref:fe,value:ee??re,...me}),(0,i.jsx)(M.o,{}),(0,i.jsx)(O.Q,{})]})})})},44736:(U,C,e)=>{"use strict";e.d(C,{A:()=>X,M:()=>z});var i=e(19968),a=e(62552),l=e(77080),c=e(3704),v=e(65092),_=e(59264),T=e(52496),A=e(44803),R=e(37856),P=e(95080),M=e(48936),O=e(33128),N=e(79080),B=e(74264);const j=Q=>Boolean(Q.match(/^[^a-zA-Z]*$/)),z=a.forwardRef(({id:Q,step:K=15,ariaLabel:Y,selectButtonTitle:Z,value:J,defaultValue:ee,onChange:re,...me},fe)=>{const le=(0,_.A)("TimePicker"),Ve=(0,R.I)(Q),[Ze,Ce]=a.useState(""),[ye,Ae]=(0,T.W)({prop:J,defaultProp:ee,onChange:re}),Fe=(0,A.I)(le.locale,{hour:"2-digit",minute:"2-digit",hour12:!1}),Qe=a.useMemo(()=>{const _e=Fe.formatToParts(new Date),{value:Ne}=_e.find(Le=>Le.type==="literal");return Ne},[Fe]),ce=a.useMemo(()=>{const _e=60/K;return[...Array(24).keys()].flatMap(Ne=>[...Array(_e).keys()].map(Le=>Fe.format(new Date(0,0,0,Ne,Le*K))))},[K,Fe]),Ge=_e=>{(!_e||j(_e))&&Ce(_e)},Pe=_e=>{const[Ne,Le]=_e.split(Qe);if(!Ne&&!Le)return;const Ke=Number(Ne??"0"),bt=Number(Le??"0");if(!(Ke>23||bt>59))return Fe.format(new Date(0,0,0,Ke,bt))},pe=_e=>{const Ne=Pe(_e.target.value);Ne?(Ce(Ne),Ae(Ne)):Ce(ye)},Se=_e=>{if(typeof _e<"u"){const Ne=Pe(_e);Ae(Ne)}else Ae(_e)};return a.useEffect(()=>{const _e=typeof J>"u"?"":J;j(_e)&&Ce(_e)},[J,Ce]),(0,i.jsx)(v.Cy,{...me,ref:fe,value:ye,onChange:Se,isPrintableCharacter:j,allowCustomValue:!0,placeholder:`--${Qe}--`,autocomplete:"none",startIcon:(0,i.jsx)(W,{}),id:Ve,inputMode:"numeric",pattern:`\\d{2}\\${Qe}\\d{2}`,textValue:Ze,onTextValueChange:Ge,onBlur:pe,children:ce.map(_e=>(0,i.jsx)(v.cb,{value:_e,children:_e},_e))})}),W=(0,c.cp)(l.c)`
  height: 1rem;
  width: 1rem;

  & > path {
    fill: ${({theme:Q})=>Q.colors.neutral500};
  }
`,X=a.forwardRef(({label:Q,error:K,hint:Y,id:Z,required:J,labelAction:ee,...re},me)=>{const fe=(0,R.I)(Z);return(0,i.jsx)(P.I,{hint:Y,error:K,id:fe,required:J,children:(0,i.jsxs)(M.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,i.jsx)(O.u,{action:ee,children:Q}),(0,i.jsx)(z,{ref:me,id:fe,error:K,required:J,...re}),(0,i.jsx)(N.o,{}),(0,i.jsx)(B.Q,{})]})})})},28216:(U,C,e)=>{"use strict";e.d(C,{a:()=>Q});var i=e(19968),a=e(62552),l=e(3704),c=e(52496),v=e(37856),_=e(4392),T=e(63358),A=e(48936),R=e(53744),P=e(95080),M=e(33128),O=e(79080),N=e(74264),B=e(82800);const j=a.forwardRef(({offLabel:Y,onLabel:Z,disabled:J,checked:ee,onChange:re,size:me="M",...fe},le)=>{const[Ve=!1,Ze]=(0,c.W)({prop:ee}),{error:Ce,id:ye,name:Ae,required:Fe}=(0,_.m)(),Qe=Ve!==null&&!Ve,ce=`${ye}-hint`,Ge=`${ye}-error`;return(0,i.jsxs)(z,{position:"relative",hasRadius:!0,padding:1,background:J?"neutral150":"neutral100",borderStyle:"solid",borderWidth:"1px",borderColor:"neutral200",wrap:"wrap",cursor:J?"not-allowed":"pointer",hasError:Boolean(Ce),children:[(0,i.jsx)(W,{hasRadius:!0,flex:"1 1 50%",paddingTop:2,paddingBottom:2,paddingLeft:3,paddingRight:3,justifyContent:"center",background:J&&Qe?"neutral200":Qe?"neutral0":"transparent",borderColor:J&&Qe?"neutral300":Qe?"neutral200":J?"neutral150":"neutral100",size:me,children:(0,i.jsx)(T.O,{variant:"pi",fontWeight:"bold",textTransform:"uppercase",textColor:J?"neutral700":Qe?"danger700":"neutral600",children:Y})}),(0,i.jsx)(W,{hasRadius:!0,flex:"1 1 50%",paddingLeft:3,paddingRight:3,justifyContent:"center",background:J&&Ve?"neutral200":Ve?"neutral0":"transparent",borderColor:J&&Ve?"neutral300":Ve?"neutral200":J?"neutral150":"neutral100",size:me,children:(0,i.jsx)(T.O,{variant:"pi",fontWeight:"bold",textTransform:"uppercase",textColor:J?"neutral700":Ve?"primary600":"neutral600",children:Z})}),(0,i.jsx)(X,{...fe,ref:le,onChange:Pe=>{Ze(Pe.currentTarget.checked),re?.(Pe)},type:"checkbox",id:ye,name:Ae,"aria-required":Fe,disabled:J,"aria-disabled":J,"aria-describedby":ye?`${ce} ${Ge}`:void 0,checked:Boolean(Ve)})]})}),z=(0,l.cp)(A.C)`
  ${(0,R.Ih)()}
`,W=(0,l.cp)(A.C)`
  /**
    We declare the defined value because we want the height of the input when 
    the values are in a row to be 40px. But defining a height on the label
    would break the input when it wraps.
  */
  padding-top: ${({size:Y})=>`${Y==="S"?"2px":"6px"}`};
  padding-bottom: ${({size:Y})=>`${Y==="S"?"2px":"6px"}`};
`,X=l.cp.input`
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  z-index: 0;
  width: 100%;
`,Q=a.forwardRef(({disabled:Y=!1,error:Z,hint:J,label:ee,name:re,labelAction:me,required:fe=!1,id:le,onClear:Ve,clearLabel:Ze,checked:Ce,...ye},Ae)=>{const Fe=(0,v.I)(le);return(0,i.jsx)(P.I,{name:re,hint:J,error:Z,id:Fe,required:fe,maxWidth:"320px",children:(0,i.jsxs)(A.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,i.jsxs)(A.C,{children:[ee?(0,i.jsx)(M.u,{action:me,children:ee}):null,Ze&&Ve&&Ce!==null&&!Y&&(0,i.jsx)(K,{onClick:Ve,children:Ze})]}),(0,i.jsx)(j,{ref:Ae,checked:Ce,disabled:Y,...ye}),(0,i.jsx)(O.o,{}),(0,i.jsx)(N.Q,{})]})})}),K=(0,l.cp)(B.c)`
  align-self: flex-end;
  margin-left: auto;
`},70544:(U,C,e)=>{"use strict";e.d(C,{o:()=>X});var i=e(19968),a=e(62552),l=e(3704);const c=Q=>{const[K,Y]=(0,a.useState)(!1),Z=(0,a.useRef)(null),J=()=>{typeof Z.current=="number"&&(clearTimeout(Z.current),Z.current=null)};return(0,a.useEffect)(()=>()=>{J()},[]),{visible:K,onFocus:()=>{Y(!0)},onBlur:()=>{Y(!1)},onMouseEnter:()=>{Z.current=setTimeout(()=>{Y(!0)},Q)},onMouseLeave:()=>{J(),Y(!1)}}},v=8,_=(Q,K)=>{const Y=(Q.width-K.width)/2,Z=K.left-Y,J=K.top+K.height+v+window.pageYOffset;return{left:Z,top:J}},T=(Q,K)=>{const Y=(Q.height-K.height)/2,Z=K.left+K.width+v,J=K.top-Y+window.pageYOffset;return{left:Z,top:J}},A=(Q,K)=>{const Y=(Q.height-K.height)/2,Z=K.left-Q.width-v,J=K.top-Y+window.pageYOffset;return{left:Z,top:J}},R=(Q,K)=>{const Y=(Q.width-K.width)/2;let Z=K.left-Y,J=K.top-Q.height-v+window.pageYOffset;const ee=window.innerWidth-K.right;return K.left+Q.width-ee>window.innerWidth?(Z=K.left-Q.width-v,J=K.top+window.scrollY-K.height/2):Z<0?(Z=K.width+K.left+v,J=K.top+window.scrollY-Q.height/2+v):J<0&&Z>0&&(J=K.top+K.height+v),{left:Z,top:J}},P=(Q,K,Y)=>{const Z=Q.getBoundingClientRect(),J=K.getBoundingClientRect();return Y==="bottom"?_(Z,J):Y==="right"?T(Z,J):Y==="left"?A(Z,J):R(Z,J)},M=(Q,K)=>{const Y=(0,a.useRef)(null),Z=(0,a.useRef)(null);return(0,a.useLayoutEffect)(()=>{if(Q){const J=Y.current,ee=Z.current;if(J&&ee){const re=P(J,ee,K);J.style.left=`${re.left}px`,J.style.top=`${re.top}px`}}},[K,Q]),{tooltipWrapperRef:Y,toggleSourceRef:Z}};var O=e(37856),N=e(37340),B=e(5e3),j=e(35480),z=e(63358);const W=(0,l.cp)(B.k)`
  /* z-index exist because of its position inside Modals */
  z-index: 4;
  display: ${({visible:Q})=>Q?"revert":"none"};
`,X=({children:Q,label:K,description:Y,delay:Z=500,position:J="top",id:ee,...re})=>{const me=(0,O.I)(ee),fe=(0,O.I)(),{visible:le,...Ve}=c(Z),{tooltipWrapperRef:Ze,toggleSourceRef:Ce}=M(le,J),ye=a.cloneElement(Q,{tabIndex:0,"aria-labelledby":K?me:void 0,"aria-describedby":Y?me:void 0,...Ve});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N.a,{children:(0,i.jsxs)(W,{id:me,background:"neutral900",hasRadius:!0,padding:2,role:"tooltip",ref:Ze,visible:le,position:"absolute",...re,children:[le&&(0,i.jsx)(j.K,{id:fe,children:Y}),(0,i.jsx)(z.O,{as:"p",variant:"pi",fontWeight:"bold",textColor:"neutral0",children:K||Y})]})}),(0,i.jsx)("span",{ref:Ce,children:ye})]})}},63358:(U,C,e)=>{"use strict";e.d(C,{O:()=>B});var i=e(3704);const a="alpha",l="beta",c="delta",v="epsilon",_="omega",T="pi",A="sigma",R=[a,l,c,v,_,T,A],P=({ellipsis:j=!1})=>j&&`
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  `,M=({variant:j=_,theme:z})=>{switch(j){case a:return`
        font-weight: ${z.fontWeights.bold};
        font-size: ${z.fontSizes[5]};
        line-height: ${z.lineHeights[2]};
      `;case l:return`
        font-weight: ${z.fontWeights.bold};
        font-size: ${z.fontSizes[4]};
        line-height: ${z.lineHeights[1]};
      `;case c:return`
        font-weight: ${z.fontWeights.semiBold};
        font-size: ${z.fontSizes[3]};
        line-height: ${z.lineHeights[2]};
      `;case v:return`
        font-size: ${z.fontSizes[3]};
        line-height: ${z.lineHeights[6]};
      `;case _:return`
        font-size: ${z.fontSizes[2]};
        line-height: ${z.lineHeights[4]};
      `;case T:return`
        font-size: ${z.fontSizes[1]};
        line-height: ${z.lineHeights[3]};
      `;case A:return`
        font-weight: ${z.fontWeights.bold};
        font-size: ${z.fontSizes[0]};
        line-height: ${z.lineHeights[5]};
        text-transform: uppercase;
      `;default:return`
        font-size: ${z.fontSizes[2]};
      `}};var O=e(53220);const N={fontSize:!0,fontWeight:!0},B=i.cp.span.withConfig({shouldForwardProp:(j,z)=>!N[j]&&z(j)})`
  ${M}
  ${P}

  // These properties need to come after {variantStyle}, because they might
  // overwrite a variant attribute
  font-weight: ${({theme:j,fontWeight:z})=>(0,O.M)(j.fontWeights,z,void 0)};
  font-size: ${({theme:j,fontSize:z})=>(0,O.M)(j.fontSizes,z,void 0)};
  line-height: ${({theme:j,lineHeight:z})=>(0,O.M)(j.lineHeights,z,z)};
  color: ${({theme:j,textColor:z})=>j.colors[z||"neutral800"]};
  text-align: ${({textAlign:j})=>j};
  text-decoration: ${({textDecoration:j})=>j};
  text-transform: ${({textTransform:j})=>j};
`},35480:(U,C,e)=>{"use strict";e.d(C,{K:()=>a});var i=e(3704);const a=i.cp.div`
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
`},6824:(U,C,e)=>{"use strict";e.d(C,{G:()=>l});var i=e(19968),a=e(62552);const l=(c,v)=>{const _=a.createContext(v);function T(R){const{children:P,...M}=R,O=a.useMemo(()=>M,Object.values(M));return(0,i.jsx)(_.Provider,{value:O,children:P})}function A(R){const P=a.useContext(_);if(P)return P;if(v!==void 0)return v;throw new Error(`\`${R}\` must be used within \`${c}\``)}return T.displayName=`${c}Provider`,[T,A]}},12512:(U,C,e)=>{"use strict";e.d(C,{q:()=>a});const i="[@strapi/design-system]:",a=l=>{const c=l;let v=!1;if(typeof c!="function")throw new TypeError(`${i} once requires a function parameter`);return(..._)=>{v||(c(..._),v=!0)}}},1e4:(U,C,e)=>{"use strict";e.d(C,{I:()=>a,M:()=>i});const i=(l,c)=>[...l.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])')].filter(T=>T.hasAttribute("disabled")?!1:c?!0:T.getAttribute("tabindex")!=="-1"),a=l=>l.filter(c=>c.tagName==="INPUT"?c.type!=="checkbox"&&c.type!=="radio":!1)},35896:(U,C,e)=>{"use strict";e.d(C,{c:()=>i});const i=(a,l,c)=>{if(!l)return;if(typeof l=="object")return(Array.isArray(l)?l:[l?.desktop,l?.tablet,l?.mobile]).reduce((A,R,P)=>{if(R)switch(P){case 0:return`${A}${a}: ${c.spaces[R]};`;case 1:return`${A}${c.mediaQueries.tablet}{${a}: ${c.spaces[R]};}`;case 2:return`${A}${c.mediaQueries.mobile}{${a}: ${c.spaces[R]};}`;default:return A}return A},"");const v=c.spaces[l]??l;return`${a}: ${v};`}},89192:(U,C,e)=>{"use strict";e.d(C,{_:()=>i});const i={DOWN:"ArrowDown",UP:"ArrowUp",RIGHT:"ArrowRight",LEFT:"ArrowLeft",ESCAPE:"Escape",ENTER:"Enter",SPACE:" ",TAB:"Tab",END:"End",HOME:"Home",DELETE:"Delete",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",BACKSPACE:"Backspace",CLEAR:"Clear"}},31104:(U,C,e)=>{"use strict";e.d(C,{q:()=>i});const i=a=>a.replaceAll(":","")},53220:(U,C,e)=>{"use strict";e.d(C,{M:()=>l});function i(c,v){return typeof c=="string"?!1:v in c}function a(c){return c&&typeof c=="object"&&!Array.isArray(c)}function l(c,v,_){return v&&i(c,v)?c[v]:_}},94072:(U,C,e)=>{"use strict";e.d(C,{c:()=>l,q:()=>c});var i=e(62552);function a(v,_){typeof v=="function"?v(_):v!=null&&(v.current=_)}function l(...v){return _=>v.forEach(T=>a(T,_))}function c(...v){return i.useCallback(l(...v),v)}},52496:(U,C,e)=>{"use strict";e.d(C,{W:()=>l});var i=e(62552),a=e(72312);function l({prop:v,defaultProp:_,onChange:T=()=>{}}){const[A,R]=c({defaultProp:_,onChange:T}),P=v!==void 0,M=v instanceof Function?v(A):v,O=P?M:A,N=(0,a.Y)(T),B=i.useCallback(j=>{if(P){const W=typeof j=="function"?j(M):j;W!==M&&(N(W),R(j))}else R(j)},[P,M,R,N]);return[O,B]}function c({defaultProp:v,onChange:_}){const T=i.useState(v),[A]=T,R=i.useRef(A),P=(0,a.Y)(_);return i.useEffect(()=>{R.current!==A&&(P(A),R.current=A)},[A,R,P]),T}},44803:(U,C,e)=>{"use strict";e.d(C,{I:()=>l});var i=e(62552),a=e(13375);function l(v,_){let T=i.useRef(null);return _&&T.current&&c(_,T.current)&&(_=T.current),T.current=_??null,i.useMemo(()=>new a.GM(v,_),[v,_])}function c(v,_){if(v===_)return!0;let T=Object.keys(v),A=Object.keys(_);if(T.length!==A.length)return!1;for(let R of T)if(_[R]!==v[R])return!1;return!0}},37856:(U,C,e)=>{"use strict";e.d(C,{I:()=>c});var i=e(62552);const a=i["useId".toString()]||(()=>{});let l=0;const c=v=>{const[_,T]=(0,i.useState)(a());return(0,i.useLayoutEffect)(()=>{v||T(A=>A??String(l++))},[v]),v?.toString()??(_||"")}},97008:(U,C,e)=>{"use strict";e.d(C,{q:()=>l});var i=e(62552),a=e(72312);const l=(c,v,{selectorToWatch:_,skipWhen:T=!1})=>{const A=(0,a.Y)(v);(0,i.useEffect)(()=>{if(T||!c.current)return;const R={root:c.current,rootMargin:"0px"},P=N=>{N.forEach(B=>{B.isIntersecting&&c.current&&c.current.scrollHeight>c.current.clientHeight&&A(B)})},M=new IntersectionObserver(P,R),O=c.current.querySelector(_);return O&&M.observe(O),()=>{M.disconnect()}},[T,A,_,c])}},54248:(U,C,e)=>{"use strict";e.d(C,{c:()=>a});var i=e(62552);const a=l=>{(0,i.useEffect)(()=>(l&&document.body.classList.add("lock-body-scroll"),()=>{document.body.classList.remove("lock-body-scroll")}),[l])}},79141:(U,C,e)=>{"use strict";e.d(C,{i:()=>a});var i=e(62552);const a=l=>{const c=(0,i.useRef)();return(0,i.useEffect)(()=>{c.current=l}),c.current}},35984:(U,C,e)=>{"use strict";e.d(C,{M:()=>a});const a={sizes:{input:{S:`${32/16}rem`,M:`${40/16}rem`},accordions:{S:`${48/16}rem`,M:`${88/16}rem`},badge:{S:`${16/16}rem`,M:`${24/16}rem`},button:{S:`${32/16}rem`,M:`${36/16}rem`,L:`${40/16}rem`}},zIndices:[5,10,15,20],spaces:["0px","4px","8px","12px","16px","20px","24px","32px","40px","48px","56px","64px"],borderRadius:"4px",mediaQueries:{tablet:`@media (max-width: ${1100/16}rem)`,mobile:`@media (max-width: ${550/16}rem)`},fontSizes:[`${11/16}rem`,`${12/16}rem`,`${14/16}rem`,"1rem",`${18/16}rem`,`${32/16}rem`],lineHeights:[1.14,1.22,1.25,1.33,1.43,1.45,1.5],fontWeights:{regular:400,semiBold:500,bold:600}}},15520:(U,C,e)=>{"use strict";e.d(C,{g:()=>c});const i={color:{alternative100:"#f6ecfc",alternative200:"#e0c1f4",alternative500:"#ac73e6",alternative600:"#9736e8",alternative700:"#8312d1",buttonNeutral0:"#ffffff",buttonPrimary500:"#7b79ff",buttonPrimary600:"#4945ff",danger100:"#fcecea",danger200:"#f5c0b8",danger500:"#ee5e52",danger600:"#d02b20",danger700:"#b72b1a",neutral0:"#ffffff",neutral100:"#f6f6f9",neutral1000:"#181826",neutral150:"#eaeaef",neutral200:"#dcdce4",neutral300:"#c0c0cf",neutral400:"#a5a5ba",neutral500:"#8e8ea9",neutral600:"#666687",neutral700:"#4a4a6a",neutral800:"#32324d",neutral900:"#212134",primary100:"#f0f0ff",primary200:"#d9d8ff",primary500:"#7b79ff",primary600:"#4945ff",primary700:"#271fe0",secondary100:"#eaf5ff",secondary200:"#b8e1ff",secondary500:"#66b7f1",secondary600:"#0c75af",secondary700:"#006096",success100:"#eafbe7",success200:"#c6f0c2",success500:"#5cb176",success600:"#328048",success700:"#2f6846",warning100:"#fdf4dc",warning200:"#fae7b9",warning500:"#f29d41",warning600:"#d9822f",warning700:"#be5d01"}},a={shadow:{filterShadow:"0px 1px 4px rgba(33, 33, 52, 0.1)",focus:"inset 2px 0px 0px rgb(39, 31, 224), inset 0px 2px 0px rgb(39, 31, 224), inset -2px 0px 0px rgb(39, 31, 224), inset 0px -2px 0px rgb(39, 31, 224)",focusShadow:"0px 0px 6px rgba(76, 191, 255, 0.75)",popupShadow:"0px 2px 15px rgba(33, 33, 52, 0.1)",tableShadow:"0px 1px 4px rgba(33, 33, 52, 0.1)"}};var l=e(35984);const c={colors:i.color,shadows:a.shadow,...l.M}},53744:(U,C,e)=>{"use strict";e.d(C,{Ih:()=>l,Md:()=>c,WI:()=>a});var i=e(3704);const a=v=>({theme:_,size:T})=>_.sizes[v][T],l=(v="&")=>({theme:_,hasError:T=!1})=>(0,i.gV)`
    outline: none;
    box-shadow: 0;
    transition-property: border-color, box-shadow, fill;
    transition-duration: 0.2s;

    ${v}:focus-within {
      border: 1px solid ${T?_.colors.danger600:_.colors.primary600};
      box-shadow: ${T?_.colors.danger600:_.colors.primary600} 0px 0px 0px 2px;
    }
  `,c=({theme:v})=>(0,i.gV)`
  position: relative;
  outline: none;

  &:after {
    transition-property: all;
    transition-duration: 0.2s;
    border-radius: 8px;
    content: '';
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: -4px;
    right: -4px;
    border: 2px solid transparent;
  }

  &:focus-visible {
    outline: none;
    &:after {
      border-radius: 8px;
      content: '';
      position: absolute;
      top: -5px;
      bottom: -5px;
      left: -5px;
      right: -5px;
      border: 2px solid ${v.colors.primary600};
    }
  }
`},5848:(U,C,e)=>{"use strict";e.d(C,{M:()=>R});var i=e(19968),a=e(62552),l=e(3704),c=e(5e3),v=e(63358);const _=()=>(0,i.jsx)(c.k,{"aria-hidden":!0,paddingLeft:1,paddingRight:1,children:(0,i.jsx)(v.O,{variant:"pi",textColor:"neutral500",children:"/"})});_.displayName="Divider";var T=e(48936);const A=(0,l.cp)(T.C)`
  // CrumbLinks do have padding-x, because they need to have a
  // interaction effect, which mis-aligns the breadcrumbs on the left.
  // This normalizes the behavior by moving the first item to left by
  // the same amount it has inner padding
  :first-child {
    margin-left: ${({theme:P})=>`calc(-1*${P.spaces[2]})`};
  }
`,R=({label:P,children:M,...O})=>{const N=a.Children.toArray(M);return(0,i.jsx)(c.k,{"aria-label":P,...O,children:(0,i.jsx)(A,{as:"ol",children:a.Children.map(N,(B,j)=>{const z=N.length>1&&j+1<N.length;return(0,i.jsxs)(T.C,{inline:!0,as:"li",children:[B,z&&(0,i.jsx)(_,{})]})})})})};R.displayName="Breadcrumbs"},39820:(U,C,e)=>{"use strict";e.d(C,{i:()=>c});var i=e(19968),a=e(5e3),l=e(63358);const c=({children:v,isCurrent:_=!1,...T})=>(0,i.jsx)(a.k,{paddingLeft:2,paddingRight:2,paddingTop:1,paddingBottom:1,children:(0,i.jsx)(l.O,{variant:"pi",textColor:"neutral800",fontWeight:_?"bold":"normal","aria-current":_,...T,children:v})});c.displayName="Crumb"},5540:(U,C,e)=>{"use strict";e.d(C,{c:()=>R});var i=e(19968),a=e(62552),l=e(73648),c=e(3704),v=e(53744),_=e(29176),T=e(63358);const A=(0,c.cp)(_.k)`
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: ${({theme:P})=>P.spaces[2]};
  pointer-events: ${({disabled:P})=>P?"none":void 0};

  svg {
    font-size: ${10/16}rem;

    path {
      fill: ${({disabled:P,theme:M})=>P?M.colors.neutral600:M.colors.primary600};
    }
  }

  &:hover {
    color: ${({theme:P})=>P.colors.primary500};
  }

  &:active {
    color: ${({theme:P})=>P.colors.primary700};
  }

  ${v.Md};
`,R=a.forwardRef(({children:P,href:M,disabled:O=!1,startIcon:N,endIcon:B,isExternal:j=!0,...z},W)=>(0,i.jsxs)(A,{ref:W,href:M,disabled:O,isExternal:j,...z,children:[N,(0,i.jsx)(T.O,{textColor:O?"neutral600":"primary600",children:P}),B,M&&!B&&j&&(0,i.jsx)(l.c,{})]}));R.displayName="Link"},26272:(U,C,e)=>{"use strict";e.d(C,{E:()=>P});var i=e(19968),a=e(62552),l=e(3704),c=e(49776),v=e(67056),_=e(29176),T=e(48936),A=e(63358);const R=(0,l.cp)(v.y)`
  text-decoration: none;

  &[aria-disabled='true'] {
    ${c.kd}
    &:active {
      ${c.kd}
    }
  }

  &:hover {
    ${c.c5}
  }

  &:active {
    ${c.U3}
  }

  ${c.M1}
`,P=a.forwardRef(({variant:M="default",startIcon:O,endIcon:N,disabled:B=!1,children:j,size:z="S",as:W=_.k,...X},Q)=>{const K=z==="S"?2:"10px",Y=4;return(0,i.jsxs)(R,{ref:Q,"aria-disabled":B,size:z,variant:M,background:"buttonPrimary600",borderColor:"buttonPrimary600",hasRadius:!0,gap:2,inline:!0,paddingBottom:K,paddingLeft:Y,paddingRight:Y,paddingTop:K,pointerEvents:B?"none":void 0,...X,as:W||_.k,children:[O&&(0,i.jsx)(T.C,{"aria-hidden":!0,children:O}),(0,i.jsx)(A.O,{variant:z==="S"?"pi":void 0,fontWeight:"bold",textColor:"buttonNeutral0",children:j}),N&&(0,i.jsx)(T.C,{"aria-hidden":!0,children:N})]})});P.displayName="LinkButton"},58756:(U,C,e)=>{"use strict";e.d(C,{kP:()=>bc,iY:()=>T0,iM:()=>N0,Ss:()=>Yc,ok:()=>Qc,gN:()=>P0,Ab:()=>Ql,mf:()=>S0});var i=e(19968),a=e(62552),l=e(59056),c=e(4731),v=e(76368),_=e(43164),T=e(75336),A=e(91224),R=e(12640),P=e(84088),M=e(31096),O=e(59280),N=e(85480),B=e(42052),j=e(59308),z=e(49944),W=e(19632),X=e(62308);function Q(zn,Kr){return(0,a.useReducer)((gn,tr)=>{const st=Kr[gn][tr];return st??gn},zn)}const K=zn=>{const{present:Kr,children:gn}=zn,tr=Y(Kr),st=typeof gn=="function"?gn({present:tr.isPresent}):a.Children.only(gn),si=(0,v.q)(tr.ref,st.ref);return typeof gn=="function"||tr.isPresent?(0,a.cloneElement)(st,{ref:si}):null};K.displayName="Presence";function Y(zn){const[Kr,gn]=(0,a.useState)(),tr=(0,a.useRef)({}),st=(0,a.useRef)(zn),si=(0,a.useRef)("none"),Yi=zn?"mounted":"unmounted",[Ri,ta]=Q(Yi,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,a.useEffect)(()=>{const fa=Z(tr.current);si.current=Ri==="mounted"?fa:"none"},[Ri]),(0,X.w)(()=>{const fa=tr.current,Aa=st.current;if(Aa!==zn){const ha=si.current,qa=Z(fa);zn?ta("MOUNT"):qa==="none"||fa?.display==="none"?ta("UNMOUNT"):ta(Aa&&ha!==qa?"ANIMATION_OUT":"UNMOUNT"),st.current=zn}},[zn,ta]),(0,X.w)(()=>{if(Kr){const fa=Es=>{const qa=Z(tr.current).includes(Es.animationName);Es.target===Kr&&qa&&(0,W.flushSync)(()=>ta("ANIMATION_END"))},Aa=Es=>{Es.target===Kr&&(si.current=Z(tr.current))};return Kr.addEventListener("animationstart",Aa),Kr.addEventListener("animationcancel",fa),Kr.addEventListener("animationend",fa),()=>{Kr.removeEventListener("animationstart",Aa),Kr.removeEventListener("animationcancel",fa),Kr.removeEventListener("animationend",fa)}}else ta("ANIMATION_END")},[Kr,ta]),{isPresent:["mounted","unmountSuspended"].includes(Ri),ref:(0,a.useCallback)(fa=>{fa&&(tr.current=getComputedStyle(fa)),gn(fa)},[])}}function Z(zn){return zn?.animationName||"none"}var J=e(38416),ee=e(46784),re=e(72312),me=e(91272),fe=e(7353),le=e(89184),Ve=e(91088),Ze=e(22160),Ce=(0,Ze.Y)(),ye=function(){},Ae=a.forwardRef(function(zn,Kr){var gn=a.useRef(null),tr=a.useState({onScrollCapture:ye,onWheelCapture:ye,onTouchMoveCapture:ye}),st=tr[0],si=tr[1],Yi=zn.forwardProps,Ri=zn.children,ta=zn.className,fa=zn.removeScrollBar,Aa=zn.enabled,Es=zn.shards,ha=zn.sideCar,qa=zn.noIsolation,fo=zn.inert,Wa=zn.allowPinchZoom,Wo=zn.as,ou=Wo===void 0?"div":Wo,Io=(0,fe.sX)(zn,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),uu=ha,Ta=(0,Ve.m)([gn,Kr]),fu=(0,fe.C3)((0,fe.C3)({},Io),st);return a.createElement(a.Fragment,null,Aa&&a.createElement(uu,{sideCar:Ce,removeScrollBar:fa,shards:Es,noIsolation:qa,inert:fo,setCallbacks:si,allowPinchZoom:!!Wa,lockRef:gn}),Yi?a.cloneElement(a.Children.only(Ri),(0,fe.C3)((0,fe.C3)({},fu),{ref:Ta})):a.createElement(ou,(0,fe.C3)({},fu,{className:ta,ref:Ta}),Ri))});Ae.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ae.classNames={fullWidth:le.Gy,zeroRight:le.aI};var Fe=e(11184),Qe=e(40216),ce=e(10888),Ge=!1;if(typeof window<"u")try{var Pe=Object.defineProperty({},"passive",{get:function(){return Ge=!0,!0}});window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch{Ge=!1}var pe=Ge?{passive:!1}:!1,Se=function(zn){return zn.tagName==="TEXTAREA"},_e=function(zn,Kr){var gn=window.getComputedStyle(zn);return gn[Kr]!=="hidden"&&!(gn.overflowY===gn.overflowX&&!Se(zn)&&gn[Kr]==="visible")},Ne=function(zn){return _e(zn,"overflowY")},Le=function(zn){return _e(zn,"overflowX")},Ke=function(zn,Kr){var gn=Kr;do{typeof ShadowRoot<"u"&&gn instanceof ShadowRoot&&(gn=gn.host);var tr=It(zn,gn);if(tr){var st=_t(zn,gn),si=st[1],Yi=st[2];if(si>Yi)return!0}gn=gn.parentNode}while(gn&&gn!==document.body);return!1},bt=function(zn){var Kr=zn.scrollTop,gn=zn.scrollHeight,tr=zn.clientHeight;return[Kr,gn,tr]},yt=function(zn){var Kr=zn.scrollLeft,gn=zn.scrollWidth,tr=zn.clientWidth;return[Kr,gn,tr]},It=function(zn,Kr){return zn==="v"?Ne(Kr):Le(Kr)},_t=function(zn,Kr){return zn==="v"?bt(Kr):yt(Kr)},zt=function(zn,Kr){return zn==="h"&&Kr==="rtl"?-1:1},Vt=function(zn,Kr,gn,tr,st){var si=zt(zn,window.getComputedStyle(Kr).direction),Yi=si*tr,Ri=gn.target,ta=Kr.contains(Ri),fa=!1,Aa=Yi>0,Es=0,ha=0;do{var qa=_t(zn,Ri),fo=qa[0],Wa=qa[1],Wo=qa[2],ou=Wa-Wo-si*fo;(fo||ou)&&It(zn,Ri)&&(Es+=ou,ha+=fo),Ri=Ri.parentNode}while(!ta&&Ri!==document.body||ta&&(Kr.contains(Ri)||Kr===Ri));return(Aa&&(st&&Es===0||!st&&Yi>Es)||!Aa&&(st&&ha===0||!st&&-Yi>ha))&&(fa=!0),fa},St=function(zn){return"changedTouches"in zn?[zn.changedTouches[0].clientX,zn.changedTouches[0].clientY]:[0,0]},Xt=function(zn){return[zn.deltaX,zn.deltaY]},jt=function(zn){return zn&&"current"in zn?zn.current:zn},sn=function(zn,Kr){return zn[0]===Kr[0]&&zn[1]===Kr[1]},dt=function(zn){return`
  .block-interactivity-`.concat(zn,` {pointer-events: none;}
  .allow-interactivity-`).concat(zn,` {pointer-events: all;}
`)},Ln=0,fn=[];function cr(zn){var Kr=a.useRef([]),gn=a.useRef([0,0]),tr=a.useRef(),st=a.useState(Ln++)[0],si=a.useState(function(){return(0,ce.In)()})[0],Yi=a.useRef(zn);a.useEffect(function(){Yi.current=zn},[zn]),a.useEffect(function(){if(zn.inert){document.body.classList.add("block-interactivity-".concat(st));var Wa=(0,fe.Mt)([zn.lockRef.current],(zn.shards||[]).map(jt),!0).filter(Boolean);return Wa.forEach(function(Wo){return Wo.classList.add("allow-interactivity-".concat(st))}),function(){document.body.classList.remove("block-interactivity-".concat(st)),Wa.forEach(function(Wo){return Wo.classList.remove("allow-interactivity-".concat(st))})}}},[zn.inert,zn.lockRef.current,zn.shards]);var Ri=a.useCallback(function(Wa,Wo){if("touches"in Wa&&Wa.touches.length===2)return!Yi.current.allowPinchZoom;var ou=St(Wa),Io=gn.current,uu="deltaX"in Wa?Wa.deltaX:Io[0]-ou[0],Ta="deltaY"in Wa?Wa.deltaY:Io[1]-ou[1],fu,Zl=Wa.target,Pu=Math.abs(uu)>Math.abs(Ta)?"h":"v";if("touches"in Wa&&Pu==="h"&&Zl.type==="range")return!1;var Zc=Ke(Pu,Zl);if(!Zc)return!0;if(Zc?fu=Pu:(fu=Pu==="v"?"h":"v",Zc=Ke(Pu,Zl)),!Zc)return!1;if(!tr.current&&"changedTouches"in Wa&&(uu||Ta)&&(tr.current=fu),!fu)return!0;var Yu=tr.current||fu;return Vt(Yu,Wo,Wa,Yu==="h"?uu:Ta,!0)},[]),ta=a.useCallback(function(Wa){var Wo=Wa;if(!(!fn.length||fn[fn.length-1]!==si)){var ou="deltaY"in Wo?Xt(Wo):St(Wo),Io=Kr.current.filter(function(fu){return fu.name===Wo.type&&fu.target===Wo.target&&sn(fu.delta,ou)})[0];if(Io&&Io.should){Wo.cancelable&&Wo.preventDefault();return}if(!Io){var uu=(Yi.current.shards||[]).map(jt).filter(Boolean).filter(function(fu){return fu.contains(Wo.target)}),Ta=uu.length>0?Ri(Wo,uu[0]):!Yi.current.noIsolation;Ta&&Wo.cancelable&&Wo.preventDefault()}}},[]),fa=a.useCallback(function(Wa,Wo,ou,Io){var uu={name:Wa,delta:Wo,target:ou,should:Io};Kr.current.push(uu),setTimeout(function(){Kr.current=Kr.current.filter(function(Ta){return Ta!==uu})},1)},[]),Aa=a.useCallback(function(Wa){gn.current=St(Wa),tr.current=void 0},[]),Es=a.useCallback(function(Wa){fa(Wa.type,Xt(Wa),Wa.target,Ri(Wa,zn.lockRef.current))},[]),ha=a.useCallback(function(Wa){fa(Wa.type,St(Wa),Wa.target,Ri(Wa,zn.lockRef.current))},[]);a.useEffect(function(){return fn.push(si),zn.setCallbacks({onScrollCapture:Es,onWheelCapture:Es,onTouchMoveCapture:ha}),document.addEventListener("wheel",ta,pe),document.addEventListener("touchmove",ta,pe),document.addEventListener("touchstart",Aa,pe),function(){fn=fn.filter(function(Wa){return Wa!==si}),document.removeEventListener("wheel",ta,pe),document.removeEventListener("touchmove",ta,pe),document.removeEventListener("touchstart",Aa,pe)}},[]);var qa=zn.removeScrollBar,fo=zn.inert;return a.createElement(a.Fragment,null,fo?a.createElement(si,{styles:dt(st)}):null,qa?a.createElement(Qe.UV,{gapMode:"margin"}):null)}const wr=(0,Fe.y)(Ce,cr);var Jn=a.forwardRef(function(zn,Kr){return a.createElement(Ae,(0,fe.C3)({},zn,{ref:Kr,sideCar:wr}))});Jn.classNames=Ae.classNames;const nn=Jn,or=["Enter"," "],bn=["ArrowDown","PageUp","Home"],Sn=["ArrowUp","PageDown","End"],Hn=[...bn,...Sn],er={ltr:[...or,"ArrowRight"],rtl:[...or,"ArrowLeft"]},an={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Cn="Menu",[de,oe,Ye]=(0,R.o)(Cn),[Et,xe]=(0,_._)(Cn,[Ye,j.ao,J.qo]),Re=(0,j.ao)(),We=(0,J.qo)(),[gt,Nt]=Et(Cn),[Ct,tn]=Et(Cn),ge=zn=>{const{__scopeMenu:Kr,open:gn=!1,children:tr,dir:st,onOpenChange:si,modal:Yi=!0}=zn,Ri=Re(Kr),[ta,fa]=(0,a.useState)(null),Aa=(0,a.useRef)(!1),Es=(0,re.Y)(si),ha=(0,P.cz)(st);return(0,a.useEffect)(()=>{const qa=()=>{Aa.current=!0,document.addEventListener("pointerdown",fo,{capture:!0,once:!0}),document.addEventListener("pointermove",fo,{capture:!0,once:!0})},fo=()=>Aa.current=!1;return document.addEventListener("keydown",qa,{capture:!0}),()=>{document.removeEventListener("keydown",qa,{capture:!0}),document.removeEventListener("pointerdown",fo,{capture:!0}),document.removeEventListener("pointermove",fo,{capture:!0})}},[]),(0,a.createElement)(j.Ss,Ri,(0,a.createElement)(gt,{scope:Kr,open:gn,onOpenChange:Es,content:ta,onContentChange:fa},(0,a.createElement)(Ct,{scope:Kr,onClose:(0,a.useCallback)(()=>Es(!1),[Es]),isUsingKeyboardRef:Aa,dir:ha,modal:Yi},tr)))},At="MenuAnchor",mn=(0,a.forwardRef)((zn,Kr)=>{const{__scopeMenu:gn,...tr}=zn,st=Re(gn);return(0,a.createElement)(j.iq,(0,l.c)({},st,tr,{ref:Kr}))}),xn="MenuPortal",[Un,gr]=Et(xn,{forceMount:void 0}),Ur=zn=>{const{__scopeMenu:Kr,forceMount:gn,children:tr,container:st}=zn,si=Nt(xn,Kr);return(0,a.createElement)(Un,{scope:Kr,forceMount:gn},(0,a.createElement)(K,{present:gn||si.open},(0,a.createElement)(z.a,{asChild:!0,container:st},tr)))},Or="MenuContent",[ii,Ui]=Et(Or),rn=(0,a.forwardRef)((zn,Kr)=>{const gn=gr(Or,zn.__scopeMenu),{forceMount:tr=gn.forceMount,...st}=zn,si=Nt(Or,zn.__scopeMenu),Yi=tn(Or,zn.__scopeMenu);return(0,a.createElement)(de.Provider,{scope:zn.__scopeMenu},(0,a.createElement)(K,{present:tr||si.open},(0,a.createElement)(de.Slot,{scope:zn.__scopeMenu},Yi.modal?(0,a.createElement)($n,(0,l.c)({},st,{ref:Kr})):(0,a.createElement)(yi,(0,l.c)({},st,{ref:Kr})))))}),$n=(0,a.forwardRef)((zn,Kr)=>{const gn=Nt(Or,zn.__scopeMenu),tr=(0,a.useRef)(null),st=(0,v.q)(Kr,tr);return(0,a.useEffect)(()=>{const si=tr.current;if(si)return(0,me.gP)(si)},[]),(0,a.createElement)(Jr,(0,l.c)({},zn,{ref:st,trapFocus:gn.open,disableOutsidePointerEvents:gn.open,disableOutsideScroll:!0,onFocusOutside:(0,c.K)(zn.onFocusOutside,si=>si.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>gn.onOpenChange(!1)}))}),yi=(0,a.forwardRef)((zn,Kr)=>{const gn=Nt(Or,zn.__scopeMenu);return(0,a.createElement)(Jr,(0,l.c)({},zn,{ref:Kr,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>gn.onOpenChange(!1)}))}),Jr=(0,a.forwardRef)((zn,Kr)=>{const{__scopeMenu:gn,loop:tr=!1,trapFocus:st,onOpenAutoFocus:si,onCloseAutoFocus:Yi,disableOutsidePointerEvents:Ri,onEntryFocus:ta,onEscapeKeyDown:fa,onPointerDownOutside:Aa,onFocusOutside:Es,onInteractOutside:ha,onDismiss:qa,disableOutsideScroll:fo,...Wa}=zn,Wo=Nt(Or,gn),ou=tn(Or,gn),Io=Re(gn),uu=We(gn),Ta=oe(gn),[fu,Zl]=(0,a.useState)(null),Pu=(0,a.useRef)(null),Zc=(0,v.q)(Kr,Pu,Wo.onContentChange),Yu=(0,a.useRef)(0),Cc=(0,a.useRef)(""),L0=(0,a.useRef)(0),Xc=(0,a.useRef)(null),rc=(0,a.useRef)("right"),Sl=(0,a.useRef)(0),B0=fo?nn:a.Fragment,Tl=fo?{as:ee.k$,allowPinchZoom:!0}:void 0,z0=Ra=>{var xs,hu;const cl=Cc.current+Ra,Do=Ta().filter(Qu=>!Qu.disabled),D0=document.activeElement,jl=(xs=Do.find(Qu=>Qu.ref.current===D0))===null||xs===void 0?void 0:xs.textValue,nl=Do.map(Qu=>Qu.textValue),Ml=ur(nl,cl,jl),ic=(hu=Do.find(Qu=>Qu.textValue===Ml))===null||hu===void 0?void 0:hu.ref.current;(function Qu(l0){Cc.current=l0,window.clearTimeout(Yu.current),l0!==""&&(Yu.current=window.setTimeout(()=>Qu(""),1e3))})(cl),ic&&setTimeout(()=>ic.focus())};(0,a.useEffect)(()=>()=>window.clearTimeout(Yu.current),[]),(0,O.SS)();const Jc=(0,a.useCallback)(Ra=>{var xs,hu;return rc.current===((xs=Xc.current)===null||xs===void 0?void 0:xs.side)&&ot(Ra,(hu=Xc.current)===null||hu===void 0?void 0:hu.area)},[]);return(0,a.createElement)(ii,{scope:gn,searchRef:Cc,onItemEnter:(0,a.useCallback)(Ra=>{Jc(Ra)&&Ra.preventDefault()},[Jc]),onItemLeave:(0,a.useCallback)(Ra=>{var xs;Jc(Ra)||((xs=Pu.current)===null||xs===void 0||xs.focus(),Zl(null))},[Jc]),onTriggerLeave:(0,a.useCallback)(Ra=>{Jc(Ra)&&Ra.preventDefault()},[Jc]),pointerGraceTimerRef:L0,onPointerGraceIntentChange:(0,a.useCallback)(Ra=>{Xc.current=Ra},[])},(0,a.createElement)(B0,Tl,(0,a.createElement)(N.w,{asChild:!0,trapped:st,onMountAutoFocus:(0,c.K)(si,Ra=>{var xs;Ra.preventDefault(),(xs=Pu.current)===null||xs===void 0||xs.focus()}),onUnmountAutoFocus:Yi},(0,a.createElement)(M.cb,{asChild:!0,disableOutsidePointerEvents:Ri,onEscapeKeyDown:fa,onPointerDownOutside:Aa,onFocusOutside:Es,onInteractOutside:ha,onDismiss:qa},(0,a.createElement)(J.Ss,(0,l.c)({asChild:!0},uu,{dir:ou.dir,orientation:"vertical",loop:tr,currentTabStopId:fu,onCurrentTabStopIdChange:Zl,onEntryFocus:(0,c.K)(ta,Ra=>{ou.isUsingKeyboardRef.current||Ra.preventDefault()})}),(0,a.createElement)(j.kP,(0,l.c)({role:"menu","aria-orientation":"vertical","data-state":Ut(Wo.open),"data-radix-menu-content":"",dir:ou.dir},Io,Wa,{ref:Zc,style:{outline:"none",...Wa.style},onKeyDown:(0,c.K)(Wa.onKeyDown,Ra=>{const hu=Ra.target.closest("[data-radix-menu-content]")===Ra.currentTarget,cl=Ra.ctrlKey||Ra.altKey||Ra.metaKey,Do=Ra.key.length===1;hu&&(Ra.key==="Tab"&&Ra.preventDefault(),!cl&&Do&&z0(Ra.key));const D0=Pu.current;if(Ra.target!==D0||!Hn.includes(Ra.key))return;Ra.preventDefault();const nl=Ta().filter(Ml=>!Ml.disabled).map(Ml=>Ml.ref.current);Sn.includes(Ra.key)&&nl.reverse(),wn(nl)}),onBlur:(0,c.K)(zn.onBlur,Ra=>{Ra.currentTarget.contains(Ra.target)||(window.clearTimeout(Yu.current),Cc.current="")}),onPointerMove:(0,c.K)(zn.onPointerMove,ft(Ra=>{const xs=Ra.target,hu=Sl.current!==Ra.clientX;if(Ra.currentTarget.contains(xs)&&hu){const cl=Ra.clientX>Sl.current?"right":"left";rc.current=cl,Sl.current=Ra.clientX}}))})))))))}),cn="MenuGroup",mt=(0,a.forwardRef)((zn,Kr)=>{const{__scopeMenu:gn,...tr}=zn;return(0,a.createElement)(A.K0.div,(0,l.c)({role:"group"},tr,{ref:Kr}))}),we="MenuLabel",je=(0,a.forwardRef)((zn,Kr)=>{const{__scopeMenu:gn,...tr}=zn;return(0,a.createElement)(A.K0.div,(0,l.c)({},tr,{ref:Kr}))}),pt="MenuItem",at="menu.itemSelect",kt=(0,a.forwardRef)((zn,Kr)=>{const{disabled:gn=!1,onSelect:tr,...st}=zn,si=(0,a.useRef)(null),Yi=tn(pt,zn.__scopeMenu),Ri=Ui(pt,zn.__scopeMenu),ta=(0,v.q)(Kr,si),fa=(0,a.useRef)(!1),Aa=()=>{const Es=si.current;if(!gn&&Es){const ha=new CustomEvent(at,{bubbles:!0,cancelable:!0});Es.addEventListener(at,qa=>tr?.(qa),{once:!0}),(0,A.G2)(Es,ha),ha.defaultPrevented?fa.current=!1:Yi.onClose()}};return(0,a.createElement)(vn,(0,l.c)({},st,{ref:ta,disabled:gn,onClick:(0,c.K)(zn.onClick,Aa),onPointerDown:Es=>{var ha;(ha=zn.onPointerDown)===null||ha===void 0||ha.call(zn,Es),fa.current=!0},onPointerUp:(0,c.K)(zn.onPointerUp,Es=>{var ha;fa.current||(ha=Es.currentTarget)===null||ha===void 0||ha.click()}),onKeyDown:(0,c.K)(zn.onKeyDown,Es=>{const ha=Ri.searchRef.current!=="";gn||ha&&Es.key===" "||or.includes(Es.key)&&(Es.currentTarget.click(),Es.preventDefault())})}))}),vn=(0,a.forwardRef)((zn,Kr)=>{const{__scopeMenu:gn,disabled:tr=!1,textValue:st,...si}=zn,Yi=Ui(pt,gn),Ri=We(gn),ta=(0,a.useRef)(null),fa=(0,v.q)(Kr,ta),[Aa,Es]=(0,a.useState)(!1),[ha,qa]=(0,a.useState)("");return(0,a.useEffect)(()=>{const fo=ta.current;if(fo){var Wa;qa(((Wa=fo.textContent)!==null&&Wa!==void 0?Wa:"").trim())}},[si.children]),(0,a.createElement)(de.ItemSlot,{scope:gn,disabled:tr,textValue:st??ha},(0,a.createElement)(J.iY,(0,l.c)({asChild:!0},Ri,{focusable:!tr}),(0,a.createElement)(A.K0.div,(0,l.c)({role:"menuitem","data-highlighted":Aa?"":void 0,"aria-disabled":tr||void 0,"data-disabled":tr?"":void 0},si,{ref:fa,onPointerMove:(0,c.K)(zn.onPointerMove,ft(fo=>{tr?Yi.onItemLeave(fo):(Yi.onItemEnter(fo),fo.defaultPrevented||fo.currentTarget.focus())})),onPointerLeave:(0,c.K)(zn.onPointerLeave,ft(fo=>Yi.onItemLeave(fo))),onFocus:(0,c.K)(zn.onFocus,()=>Es(!0)),onBlur:(0,c.K)(zn.onBlur,()=>Es(!1))}))))}),Wn="MenuCheckboxItem",nr=(0,a.forwardRef)((zn,Kr)=>{const{checked:gn=!1,onCheckedChange:tr,...st}=zn;return(0,a.createElement)(dn,{scope:zn.__scopeMenu,checked:gn},(0,a.createElement)(kt,(0,l.c)({role:"menuitemcheckbox","aria-checked":wt(gn)?"mixed":gn},st,{ref:Kr,"data-state":kn(gn),onSelect:(0,c.K)(st.onSelect,()=>tr?.(wt(gn)?!0:!gn),{checkForDefaultPrevented:!1})})))}),rr="MenuRadioGroup",[Ot,Gt]=Et(rr,{value:void 0,onValueChange:()=>{}}),Pt=(0,a.forwardRef)((zn,Kr)=>{const{value:gn,onValueChange:tr,...st}=zn,si=(0,re.Y)(tr);return(0,a.createElement)(Ot,{scope:zn.__scopeMenu,value:gn,onValueChange:si},(0,a.createElement)(mt,(0,l.c)({},st,{ref:Kr})))}),Tt="MenuRadioItem",An=(0,a.forwardRef)((zn,Kr)=>{const{value:gn,...tr}=zn,st=Gt(Tt,zn.__scopeMenu),si=gn===st.value;return(0,a.createElement)(dn,{scope:zn.__scopeMenu,checked:si},(0,a.createElement)(kt,(0,l.c)({role:"menuitemradio","aria-checked":si},tr,{ref:Kr,"data-state":kn(si),onSelect:(0,c.K)(tr.onSelect,()=>{var Yi;return(Yi=st.onValueChange)===null||Yi===void 0?void 0:Yi.call(st,gn)},{checkForDefaultPrevented:!1})})))}),on="MenuItemIndicator",[dn,$e]=Et(on,{checked:!1}),Yt=(0,a.forwardRef)((zn,Kr)=>{const{__scopeMenu:gn,forceMount:tr,...st}=zn,si=$e(on,gn);return(0,a.createElement)(K,{present:tr||wt(si.checked)||si.checked===!0},(0,a.createElement)(A.K0.span,(0,l.c)({},st,{ref:Kr,"data-state":kn(si.checked)})))}),$t="MenuSeparator",Jt=(0,a.forwardRef)((zn,Kr)=>{const{__scopeMenu:gn,...tr}=zn;return(0,a.createElement)(A.K0.div,(0,l.c)({role:"separator","aria-orientation":"horizontal"},tr,{ref:Kr}))}),Lt="MenuArrow",yn=(0,a.forwardRef)((zn,Kr)=>{const{__scopeMenu:gn,...tr}=zn,st=Re(gn);return(0,a.createElement)(j.uM,(0,l.c)({},st,tr,{ref:Kr}))}),In="MenuSub",[yr,Rr]=Et(In),Xr=zn=>{const{__scopeMenu:Kr,children:gn,open:tr=!1,onOpenChange:st}=zn,si=Nt(In,Kr),Yi=Re(Kr),[Ri,ta]=(0,a.useState)(null),[fa,Aa]=(0,a.useState)(null),Es=(0,re.Y)(st);return(0,a.useEffect)(()=>(si.open===!1&&Es(!1),()=>Es(!1)),[si.open,Es]),(0,a.createElement)(j.Ss,Yi,(0,a.createElement)(gt,{scope:Kr,open:tr,onOpenChange:Es,content:fa,onContentChange:Aa},(0,a.createElement)(yr,{scope:Kr,contentId:(0,B.I)(),triggerId:(0,B.I)(),trigger:Ri,onTriggerChange:ta},gn)))},ci="MenuSubTrigger",Hr=(0,a.forwardRef)((zn,Kr)=>{const gn=Nt(ci,zn.__scopeMenu),tr=tn(ci,zn.__scopeMenu),st=Rr(ci,zn.__scopeMenu),si=Ui(ci,zn.__scopeMenu),Yi=(0,a.useRef)(null),{pointerGraceTimerRef:Ri,onPointerGraceIntentChange:ta}=si,fa={__scopeMenu:zn.__scopeMenu},Aa=(0,a.useCallback)(()=>{Yi.current&&window.clearTimeout(Yi.current),Yi.current=null},[]);return(0,a.useEffect)(()=>Aa,[Aa]),(0,a.useEffect)(()=>{const Es=Ri.current;return()=>{window.clearTimeout(Es),ta(null)}},[Ri,ta]),(0,a.createElement)(mn,(0,l.c)({asChild:!0},fa),(0,a.createElement)(vn,(0,l.c)({id:st.triggerId,"aria-haspopup":"menu","aria-expanded":gn.open,"aria-controls":st.contentId,"data-state":Ut(gn.open)},zn,{ref:(0,v.c)(Kr,st.onTriggerChange),onClick:Es=>{var ha;(ha=zn.onClick)===null||ha===void 0||ha.call(zn,Es),!(zn.disabled||Es.defaultPrevented)&&(Es.currentTarget.focus(),gn.open||gn.onOpenChange(!0))},onPointerMove:(0,c.K)(zn.onPointerMove,ft(Es=>{si.onItemEnter(Es),!Es.defaultPrevented&&!zn.disabled&&!gn.open&&!Yi.current&&(si.onPointerGraceIntentChange(null),Yi.current=window.setTimeout(()=>{gn.onOpenChange(!0),Aa()},100))})),onPointerLeave:(0,c.K)(zn.onPointerLeave,ft(Es=>{var ha;Aa();const qa=(ha=gn.content)===null||ha===void 0?void 0:ha.getBoundingClientRect();if(qa){var fo;const Wa=(fo=gn.content)===null||fo===void 0?void 0:fo.dataset.side,Wo=Wa==="right",ou=Wo?-5:5,Io=qa[Wo?"left":"right"],uu=qa[Wo?"right":"left"];si.onPointerGraceIntentChange({area:[{x:Es.clientX+ou,y:Es.clientY},{x:Io,y:qa.top},{x:uu,y:qa.top},{x:uu,y:qa.bottom},{x:Io,y:qa.bottom}],side:Wa}),window.clearTimeout(Ri.current),Ri.current=window.setTimeout(()=>si.onPointerGraceIntentChange(null),300)}else{if(si.onTriggerLeave(Es),Es.defaultPrevented)return;si.onPointerGraceIntentChange(null)}})),onKeyDown:(0,c.K)(zn.onKeyDown,Es=>{const ha=si.searchRef.current!=="";if(!(zn.disabled||ha&&Es.key===" ")&&er[tr.dir].includes(Es.key)){var qa;gn.onOpenChange(!0),(qa=gn.content)===null||qa===void 0||qa.focus(),Es.preventDefault()}})})))}),un="MenuSubContent",ct=(0,a.forwardRef)((zn,Kr)=>{const gn=gr(Or,zn.__scopeMenu),{forceMount:tr=gn.forceMount,...st}=zn,si=Nt(Or,zn.__scopeMenu),Yi=tn(Or,zn.__scopeMenu),Ri=Rr(un,zn.__scopeMenu),ta=(0,a.useRef)(null),fa=(0,v.q)(Kr,ta);return(0,a.createElement)(de.Provider,{scope:zn.__scopeMenu},(0,a.createElement)(K,{present:tr||si.open},(0,a.createElement)(de.Slot,{scope:zn.__scopeMenu},(0,a.createElement)(Jr,(0,l.c)({id:Ri.contentId,"aria-labelledby":Ri.triggerId},st,{ref:fa,align:"start",side:Yi.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:Aa=>{var Es;Yi.isUsingKeyboardRef.current&&((Es=ta.current)===null||Es===void 0||Es.focus()),Aa.preventDefault()},onCloseAutoFocus:Aa=>Aa.preventDefault(),onFocusOutside:(0,c.K)(zn.onFocusOutside,Aa=>{Aa.target!==Ri.trigger&&si.onOpenChange(!1)}),onEscapeKeyDown:(0,c.K)(zn.onEscapeKeyDown,Aa=>{Yi.onClose(),Aa.preventDefault()}),onKeyDown:(0,c.K)(zn.onKeyDown,Aa=>{const Es=Aa.currentTarget.contains(Aa.target),ha=an[Yi.dir].includes(Aa.key);if(Es&&ha){var qa;si.onOpenChange(!1),(qa=Ri.trigger)===null||qa===void 0||qa.focus(),Aa.preventDefault()}})})))))});function Ut(zn){return zn?"open":"closed"}function wt(zn){return zn==="indeterminate"}function kn(zn){return wt(zn)?"indeterminate":zn?"checked":"unchecked"}function wn(zn){const Kr=document.activeElement;for(const gn of zn)if(gn===Kr||(gn.focus(),document.activeElement!==Kr))return}function Qn(zn,Kr){return zn.map((gn,tr)=>zn[(Kr+tr)%zn.length])}function ur(zn,Kr,gn){const st=Kr.length>1&&Array.from(Kr).every(fa=>fa===Kr[0])?Kr[0]:Kr,si=gn?zn.indexOf(gn):-1;let Yi=Qn(zn,Math.max(si,0));st.length===1&&(Yi=Yi.filter(fa=>fa!==gn));const ta=Yi.find(fa=>fa.toLowerCase().startsWith(st.toLowerCase()));return ta!==gn?ta:void 0}function fi(zn,Kr){const{x:gn,y:tr}=zn;let st=!1;for(let si=0,Yi=Kr.length-1;si<Kr.length;Yi=si++){const Ri=Kr[si].x,ta=Kr[si].y,fa=Kr[Yi].x,Aa=Kr[Yi].y;ta>tr!=Aa>tr&&gn<(fa-Ri)*(tr-ta)/(Aa-ta)+Ri&&(st=!st)}return st}function ot(zn,Kr){if(!Kr)return!1;const gn={x:zn.clientX,y:zn.clientY};return fi(gn,Kr)}function ft(zn){return Kr=>Kr.pointerType==="mouse"?zn(Kr):void 0}const Mt=ge,qt=mn,sr=Ur,lr=rn,Cr=mt,xr=je,qr=kt,jr=nr,vr=Pt,$r=An,Wr=Yt,be=Jt,Ue=yn,ut=Xr,Ht=Hr,Fn=ct,ln="DropdownMenu",[jn,Nr]=(0,_._)(ln,[xe]),Mi=xe(),[Oi,ni]=jn(ln),rs=zn=>{const{__scopeDropdownMenu:Kr,children:gn,dir:tr,open:st,defaultOpen:si,onOpenChange:Yi,modal:Ri=!0}=zn,ta=Mi(Kr),fa=(0,a.useRef)(null),[Aa=!1,Es]=(0,T.W)({prop:st,defaultProp:si,onChange:Yi});return(0,a.createElement)(Oi,{scope:Kr,triggerId:(0,B.I)(),triggerRef:fa,contentId:(0,B.I)(),open:Aa,onOpenChange:Es,onOpenToggle:(0,a.useCallback)(()=>Es(ha=>!ha),[Es]),modal:Ri},(0,a.createElement)(Mt,(0,l.c)({},ta,{open:Aa,onOpenChange:Es,dir:tr,modal:Ri}),gn))},Qi="DropdownMenuTrigger",la=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,disabled:tr=!1,...st}=zn,si=ni(Qi,gn),Yi=Mi(gn);return(0,a.createElement)(qt,(0,l.c)({asChild:!0},Yi),(0,a.createElement)(A.K0.button,(0,l.c)({type:"button",id:si.triggerId,"aria-haspopup":"menu","aria-expanded":si.open,"aria-controls":si.open?si.contentId:void 0,"data-state":si.open?"open":"closed","data-disabled":tr?"":void 0,disabled:tr},st,{ref:(0,v.c)(Kr,si.triggerRef),onPointerDown:(0,c.K)(zn.onPointerDown,Ri=>{!tr&&Ri.button===0&&Ri.ctrlKey===!1&&(si.onOpenToggle(),si.open||Ri.preventDefault())}),onKeyDown:(0,c.K)(zn.onKeyDown,Ri=>{tr||(["Enter"," "].includes(Ri.key)&&si.onOpenToggle(),Ri.key==="ArrowDown"&&si.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(Ri.key)&&Ri.preventDefault())})})))}),as="DropdownMenuPortal",bs=zn=>{const{__scopeDropdownMenu:Kr,...gn}=zn,tr=Mi(Kr);return(0,a.createElement)(sr,(0,l.c)({},tr,gn))},Za="DropdownMenuContent",za=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=ni(Za,gn),si=Mi(gn),Yi=(0,a.useRef)(!1);return(0,a.createElement)(lr,(0,l.c)({id:st.contentId,"aria-labelledby":st.triggerId},si,tr,{ref:Kr,onCloseAutoFocus:(0,c.K)(zn.onCloseAutoFocus,Ri=>{var ta;Yi.current||(ta=st.triggerRef.current)===null||ta===void 0||ta.focus(),Yi.current=!1,Ri.preventDefault()}),onInteractOutside:(0,c.K)(zn.onInteractOutside,Ri=>{const ta=Ri.detail.originalEvent,fa=ta.button===0&&ta.ctrlKey===!0,Aa=ta.button===2||fa;(!st.modal||Aa)&&(Yi.current=!0)}),style:{...zn.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),wo="DropdownMenuGroup",ca=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(Cr,(0,l.c)({},st,tr,{ref:Kr}))}),Uo="DropdownMenuLabel",ru=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(xr,(0,l.c)({},st,tr,{ref:Kr}))}),di="DropdownMenuItem",wi=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(qr,(0,l.c)({},st,tr,{ref:Kr}))}),dr="DropdownMenuCheckboxItem",hi=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(jr,(0,l.c)({},st,tr,{ref:Kr}))}),Si="DropdownMenuRadioGroup",Di=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(vr,(0,l.c)({},st,tr,{ref:Kr}))}),Xi="DropdownMenuRadioItem",zi=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)($r,(0,l.c)({},st,tr,{ref:Kr}))}),os="DropdownMenuItemIndicator",js=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(Wr,(0,l.c)({},st,tr,{ref:Kr}))}),hs="DropdownMenuSeparator",Vi=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(be,(0,l.c)({},st,tr,{ref:Kr}))}),ns="DropdownMenuArrow",fs=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(Ue,(0,l.c)({},st,tr,{ref:Kr}))}),Ks=zn=>{const{__scopeDropdownMenu:Kr,children:gn,open:tr,onOpenChange:st,defaultOpen:si}=zn,Yi=Mi(Kr),[Ri=!1,ta]=(0,T.W)({prop:tr,defaultProp:si,onChange:st});return(0,a.createElement)(ut,(0,l.c)({},Yi,{open:Ri,onOpenChange:ta}),gn)},ma="DropdownMenuSubTrigger",da=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(Ht,(0,l.c)({},st,tr,{ref:Kr}))}),Da="DropdownMenuSubContent",Ys=(0,a.forwardRef)((zn,Kr)=>{const{__scopeDropdownMenu:gn,...tr}=zn,st=Mi(gn);return(0,a.createElement)(Fn,(0,l.c)({},st,tr,{ref:Kr,style:{...zn.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),Xa=rs,Po=la,co=bs,el=za,Yo=null,Ou=ru,Qo=wi,Ha=null,Jo=null,qo=null,tl=null,Nu=null,Kl=null,ke=Ks,Ie=da,Wt=Ys;var Nn=e(14520),ei=e(73200),bi=e(3704),Cs=e(53220),Bs=e(5540),Xs=e(35676),_a=e(5e3),ga=e(48936),Vs=e(63358);const Va=Xa,io=(0,a.forwardRef)(({size:zn,endIcon:Kr=(0,i.jsx)(Nn.c,{width:`${6/16}rem`,height:`${4/16}rem`,"aria-hidden":!0}),...gn},tr)=>(0,i.jsx)(Po,{asChild:!0,children:(0,i.jsx)(Xs.Z,{ref:tr,type:"button",variant:"ghost",endIcon:Kr,paddingTop:zn==="S"?1:2,paddingBottom:zn==="S"?1:2,paddingLeft:zn==="S"?3:4,paddingRight:zn==="S"?3:4,...gn})})),ya=(0,a.forwardRef)(({children:zn,intersectionId:Kr,popoverPlacement:gn="bottom-start",...tr},st)=>{const[si,Yi]=gn.split("-");return(0,i.jsx)(co,{children:(0,i.jsx)(el,{align:Yi,side:si,loop:!0,asChild:!0,children:(0,i.jsxs)(oo,{ref:st,direction:"column",borderStyle:"solid",borderWidth:"1px",borderColor:"neutral150",hasRadius:!0,background:"neutral0",shadow:"filterShadow",maxHeight:"15rem",padding:1,alignItems:"flex-start",position:"relative",overflow:"auto",...tr,children:[zn,(0,i.jsx)(_a.k,{id:Kr,width:"100%",height:"1px"})]})})})}),oo=(0,bi.cp)(ga.C)`
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;

  &::-webkit-scrollbar {
    display: none;
  }
`,ka=({onSelect:zn,disabled:Kr=!1,...gn})=>(0,i.jsx)(Qo,{asChild:!0,onSelect:zn,disabled:Kr,children:gn.isLink||gn.isExternal?(0,i.jsx)(Ko,{color:"neutral800",...gn,isExternal:gn.isExternal??!1,children:(0,i.jsx)(Vs.O,{children:gn.children})}):(0,i.jsx)(Ru,{cursor:"pointer",color:"neutral800",background:"transparent",borderStyle:"none",...gn,children:(0,i.jsx)(Vs.O,{children:gn.children})})}),Su=({theme:zn})=>(0,bi.gV)`
  text-align: left;
  width: 100%;
  border-radius: ${zn.borderRadius};
  padding: ${zn.spaces[2]} ${zn.spaces[4]};

  ${Vs.O} {
    color: inherit;
  }

  &[aria-disabled] {
    cursor: not-allowed;

    ${Vs.O} {
      color: ${zn.colors.neutral500};
    }
  }

  &[data-highlighted] {
    background-color: ${zn.colors.primary100};
  }

  &:focus-visible {
    outline: none;

    &:after {
      content: none;
    }
  }
`,Ru=(0,bi.cp)(ga.C)`
  ${Su}
`,Ko=(0,bi.cp)(Bs.c)`
  /* We include this here again because typically when people use OptionLink they provide an as prop which cancels the Box props */
  color: ${({theme:zn,color:Kr})=>(0,Cs.M)(zn.colors,Kr,void 0)};
  text-decoration: none;

  &:hover {
    color: unset;
  }

  svg > path,
  &:focus-visible svg > path {
    fill: currentColor;
  }

  ${Su}
`,Yl=(0,a.forwardRef)((zn,Kr)=>(0,i.jsx)(Ou,{asChild:!0,children:(0,i.jsx)(gu,{ref:Kr,variant:"sigma",textColor:"neutral600",...zn})})),gu=(0,bi.cp)(Vs.O)`
  padding: ${({theme:zn})=>zn.spaces[2]} ${({theme:zn})=>zn.spaces[4]};
`,Ul=ke,Vc=(0,a.forwardRef)(({disabled:zn=!1,...Kr},gn)=>(0,i.jsx)(Ie,{asChild:!0,disabled:zn,children:(0,i.jsxs)(ll,{ref:gn,color:"neutral800",as:"button",type:"button",background:"transparent",borderStyle:"none",gap:5,...Kr,children:[(0,i.jsx)(Vs.O,{children:Kr.children}),(0,i.jsx)(Kc,{height:12,width:12})]})})),ll=(0,bi.cp)(Ru)`
  &[data-state='open'] {
    background-color: ${({theme:zn})=>zn.colors.primary100};
  }
`,Kc=(0,bi.cp)(ei.c)`
  path {
    fill: ${({theme:zn})=>zn.colors.neutral500};
  }
`,wu=(0,a.forwardRef)((zn,Kr)=>(0,i.jsx)(co,{children:(0,i.jsx)(Wt,{sideOffset:8,asChild:!0,children:(0,i.jsx)(oo,{ref:Kr,direction:"column",borderStyle:"solid",borderWidth:"1px",borderColor:"neutral150",hasRadius:!0,background:"neutral0",shadow:"filterShadow",maxHeight:"15rem",padding:1,alignItems:"flex-start",overflow:"auto",...zn})})})),Yc=Va,S0=io,bc=ya,T0=ka,N0=Yl,P0=Ul,Ql=Vc,Qc=wu},2165:(U,C,e)=>{"use strict";e.d(C,{IP:()=>A,uU:()=>T});var i=e(19968),a=e(62552),l=e(58756),c=e(31104),v=e(37856),_=e(97008);const T=({children:R,onOpen:P,onClose:M,popoverPlacement:O,onReachEnd:N,...B})=>{const j=(0,a.useRef)(null),[z,W]=(0,a.useState)(!1),X=Z=>{N&&N(Z)},Q=Z=>{Z&&typeof P=="function"?P():!Z&&typeof M=="function"&&M(),W(Z)},K=(0,v.I)(),Y=`intersection-${(0,c.q)(K)}`;return(0,_.q)(j,X,{selectorToWatch:`#${Y}`,skipWhen:!z}),(0,i.jsxs)(l.Ss,{onOpenChange:Q,children:[(0,i.jsx)(l.mf,{...B,children:B.label}),(0,i.jsx)(l.kP,{intersectionId:Y,popoverPlacement:O,children:R})]})},A=l.iY},53504:(U,C,e)=>{"use strict";e.d(C,{y:()=>_});var i=e(19968),a=e(3704),l=e(28724);const c=`${232/16}rem`,v=(0,a.cp)(l.y)`
  width: ${c};
  background: ${({theme:T})=>T.colors.neutral100};
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid ${({theme:T})=>T.colors.neutral200};
  z-index: 1;
`,_=({ariaLabel:T,...A})=>(0,i.jsx)(v,{"aria-label":T,as:"nav",...A})},57512:(U,C,e)=>{"use strict";e.d(C,{C:()=>z});var i=e(19968),a=e(62552),l=e(85088),c=e(3704),v=e(89192),_=e(37856),T=e(79141),A=e(6912),R=e(5e3),P=e(57064),M=e(86400),O=e(48936),N=e(63358),B=e(23264);const j=(0,c.cp)(A.c)`
  width: ${24/16}rem;
  background-color: ${({theme:W})=>W.colors.neutral200};
`,z=({as:W="h2",label:X,searchLabel:Q="",searchable:K=!1,onChange:Y=()=>{},value:Z="",onClear:J=()=>{},onSubmit:ee=()=>{},id:re})=>{const[me,fe]=(0,a.useState)(!1),le=(0,T.i)(me),Ve=(0,_.I)(re),Ze=(0,a.useRef)(void 0),Ce=(0,a.useRef)(void 0);(0,a.useEffect)(()=>{me&&Ze.current&&Ze.current.focus(),le&&!me&&Ce.current&&Ce.current.focus()},[me,le]);const ye=()=>{fe(ce=>!ce)},Ae=ce=>{J(ce),Ze.current.focus()},Fe=ce=>{ce.relatedTarget?.id!==Ve&&fe(!1)},Qe=ce=>{ce.key===v._.ESCAPE&&fe(!1)};return me?(0,i.jsxs)(R.k,{paddingLeft:4,paddingTop:5,paddingBottom:2,paddingRight:4,children:[(0,i.jsx)(P.y,{children:(0,i.jsx)(M.E,{name:"searchbar",value:Z,onChange:Y,placeholder:"e.g: strapi-plugin-abcd",onKeyDown:Qe,ref:Ze,onBlur:Fe,onClear:Ae,onSubmit:ee,clearLabel:"Clear",size:"S",children:Q})}),(0,i.jsx)(R.k,{paddingLeft:2,paddingTop:4,children:(0,i.jsx)(j,{})})]}):(0,i.jsxs)(R.k,{paddingLeft:6,paddingTop:6,paddingBottom:2,paddingRight:4,children:[(0,i.jsxs)(O.C,{justifyContent:"space-between",alignItems:"flex-start",children:[(0,i.jsx)(N.O,{variant:"beta",as:W,children:X}),K&&(0,i.jsx)(B.w,{ref:Ce,onClick:ye,label:Q,icon:(0,i.jsx)(l.c,{})})]}),(0,i.jsx)(R.k,{paddingTop:4,children:(0,i.jsx)(j,{})})]})}},89976:(U,C,e)=>{"use strict";e.d(C,{w:()=>O});var i=e(19968),a=e(62552),l=e(65816),c=e(3704),v=e(5e3),_=e(63358),T=e(48936),A=e(29176);const R=(0,c.cp)(v.k)`
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: ${({theme:N})=>N.colors.neutral800};
  svg > * {
    fill: ${({theme:N})=>N.colors.neutral600};
  }

  &.active {
    ${({theme:N})=>`
      background-color: ${N.colors.primary100};
      border-right: 2px solid ${N.colors.primary600};
      svg > * {
        fill: ${N.colors.primary700};
      }
      ${_.O} {
        color: ${N.colors.primary700};
        font-weight: 500;
      }
      `}
  }

  &:focus-visible {
    outline-offset: -2px;
  }
`,P=(0,c.cp)(l.c)`
  width: ${12/16}rem;
  height: ${4/16}rem;
  * {
    fill: ${({theme:N,$active:B})=>B?N.colors.primary600:N.colors.neutral600};
  }
`,M=c.cp.div`
  svg {
    height: ${12/16}rem;
    width: ${12/16}rem;
  }
`,O=a.forwardRef(({children:N,icon:B=null,withBullet:j=!1,as:z=A.k,isSubSectionChild:W=!1,...X},Q)=>(0,i.jsxs)(R,{as:z,icon:B,background:"neutral100",paddingLeft:W?9:7,paddingBottom:2,paddingTop:2,ref:Q,...X,children:[(0,i.jsxs)(T.C,{children:[B?(0,i.jsx)(M,{children:B}):(0,i.jsx)(P,{}),(0,i.jsx)(v.k,{paddingLeft:2,children:(0,i.jsx)(_.O,{as:"span",children:N})})]}),j&&(0,i.jsx)(v.k,{as:T.C,paddingRight:4,children:(0,i.jsx)(P,{$active:!0})})]}))},3240:(U,C,e)=>{"use strict";e.d(C,{A:()=>B});var i=e(19968),a=e(62552),l=e(3704),c=e(14520),v=e(48936),_=e(5e3),T=e(63358);const A=(0,l.cp)(v.C)`
  border: none;
  padding: 0;
  background: transparent;
`,R=l.cp.div`
  display: flex;
  align-items: center;
  transform: rotateX(${({rotated:j})=>j?"0deg":"180deg"});
`,P=({collapsable:j=!1,label:z,onClick:W=()=>{},ariaExpanded:X,ariaControls:Q})=>j?(0,i.jsxs)(A,{as:"button",onClick:W,"aria-expanded":X,"aria-controls":Q,textAlign:"left",children:[(0,i.jsx)(_.k,{paddingRight:1,children:(0,i.jsx)(T.O,{variant:"sigma",textColor:"neutral600",children:z})}),j&&(0,i.jsx)(R,{rotated:X,children:(0,i.jsx)(c.c,{"aria-hidden":!0})})]}):(0,i.jsx)(A,{children:(0,i.jsx)(_.k,{paddingRight:1,children:(0,i.jsx)(T.O,{variant:"sigma",textColor:"neutral600",children:z})})});var M=e(37856),O=e(37976);const N=(0,l.cp)(_.k)`
  svg {
    height: ${4/16}rem;
    path {
      fill: ${({theme:j})=>j.colors.neutral500};
    }
  }
`,B=({collapsable:j=!1,label:z,badgeLabel:W,children:X,id:Q})=>{const[K,Y]=(0,a.useState)(!0),Z=(0,M.I)(Q),J=()=>{Y(ee=>!ee)};return(0,i.jsxs)(v.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,i.jsx)(N,{paddingLeft:6,paddingTop:2,paddingBottom:2,paddingRight:4,children:(0,i.jsxs)(_.k,{position:"relative",paddingRight:W?6:0,children:[(0,i.jsx)(P,{onClick:J,ariaExpanded:K,ariaControls:Z,collapsable:j,label:z}),W&&(0,i.jsx)(O.k,{backgroundColor:"neutral150",textColor:"neutral600",position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:W})]})}),(!j||K)&&(0,i.jsx)("ol",{id:Z,children:a.Children.map(X,(ee,re)=>(0,i.jsx)("li",{children:ee},re))})]})}},87320:(U,C,e)=>{"use strict";e.d(C,{I:()=>v});var i=e(19968),a=e(62552),l=e(5e3),c=e(48936);const v=({children:_,spacing:T=2,horizontal:A=!1,...R})=>(0,i.jsx)(l.k,{paddingTop:2,paddingBottom:4,children:(0,i.jsx)(c.C,{as:"ol",gap:T,direction:A?"row":"column",alignItems:A?"center":"stretch",...R,children:a.Children.map(_,(P,M)=>(0,i.jsx)("li",{children:P},M))})})},29600:(U,C,e)=>{"use strict";e.d(C,{CA:()=>W,E3:()=>z,EB:()=>A,Ml:()=>l});var i=e(76680);function a(K,Y,Z){let{reference:J,floating:ee}=K;const re=(0,i.oR)(Y),me=(0,i.Al)(Y),fe=(0,i.ig)(me),le=(0,i.QL)(Y),Ve=re==="y",Ze=J.x+J.width/2-ee.width/2,Ce=J.y+J.height/2-ee.height/2,ye=J[fe]/2-ee[fe]/2;let Ae;switch(le){case"top":Ae={x:Ze,y:J.y-ee.height};break;case"bottom":Ae={x:Ze,y:J.y+J.height};break;case"right":Ae={x:J.x+J.width,y:Ce};break;case"left":Ae={x:J.x-ee.width,y:Ce};break;default:Ae={x:J.x,y:J.y}}switch((0,i.W6)(Y)){case"start":Ae[me]-=ye*(Z&&Ve?-1:1);break;case"end":Ae[me]+=ye*(Z&&Ve?-1:1);break}return Ae}const l=async(K,Y,Z)=>{const{placement:J="bottom",strategy:ee="absolute",middleware:re=[],platform:me}=Z,fe=re.filter(Boolean),le=await(me.isRTL==null?void 0:me.isRTL(Y));let Ve=await me.getElementRects({reference:K,floating:Y,strategy:ee}),{x:Ze,y:Ce}=a(Ve,J,le),ye=J,Ae={},Fe=0;for(let Qe=0;Qe<fe.length;Qe++){const{name:ce,fn:Ge}=fe[Qe],{x:Pe,y:pe,data:Se,reset:_e}=await Ge({x:Ze,y:Ce,initialPlacement:J,placement:ye,strategy:ee,middlewareData:Ae,rects:Ve,platform:me,elements:{reference:K,floating:Y}});Ze=Pe??Ze,Ce=pe??Ce,Ae={...Ae,[ce]:{...Ae[ce],...Se}},_e&&Fe<=50&&(Fe++,typeof _e=="object"&&(_e.placement&&(ye=_e.placement),_e.rects&&(Ve=_e.rects===!0?await me.getElementRects({reference:K,floating:Y,strategy:ee}):_e.rects),{x:Ze,y:Ce}=a(Ve,ye,le)),Qe=-1)}return{x:Ze,y:Ce,placement:ye,strategy:ee,middlewareData:Ae}};async function c(K,Y){var Z;Y===void 0&&(Y={});const{x:J,y:ee,platform:re,rects:me,elements:fe,strategy:le}=K,{boundary:Ve="clippingAncestors",rootBoundary:Ze="viewport",elementContext:Ce="floating",altBoundary:ye=!1,padding:Ae=0}=(0,i.NV)(Y,K),Fe=(0,i.cZ)(Ae),ce=fe[ye?Ce==="floating"?"reference":"floating":Ce],Ge=(0,i.Ab)(await re.getClippingRect({element:(Z=await(re.isElement==null?void 0:re.isElement(ce)))==null||Z?ce:ce.contextElement||await(re.getDocumentElement==null?void 0:re.getDocumentElement(fe.floating)),boundary:Ve,rootBoundary:Ze,strategy:le})),Pe=Ce==="floating"?{...me.floating,x:J,y:ee}:me.reference,pe=await(re.getOffsetParent==null?void 0:re.getOffsetParent(fe.floating)),Se=await(re.isElement==null?void 0:re.isElement(pe))?await(re.getScale==null?void 0:re.getScale(pe))||{x:1,y:1}:{x:1,y:1},_e=(0,i.Ab)(re.convertOffsetParentRelativeRectToViewportRelativeRect?await re.convertOffsetParentRelativeRectToViewportRelativeRect({elements:fe,rect:Pe,offsetParent:pe,strategy:le}):Pe);return{top:(Ge.top-_e.top+Fe.top)/Se.y,bottom:(_e.bottom-Ge.bottom+Fe.bottom)/Se.y,left:(Ge.left-_e.left+Fe.left)/Se.x,right:(_e.right-Ge.right+Fe.right)/Se.x}}const v=K=>({name:"arrow",options:K,async fn(Y){const{x:Z,y:J,placement:ee,rects:re,platform:me,elements:fe,middlewareData:le}=Y,{element:Ve,padding:Ze=0}=evaluate(K,Y)||{};if(Ve==null)return{};const Ce=getPaddingObject(Ze),ye={x:Z,y:J},Ae=getAlignmentAxis(ee),Fe=getAxisLength(Ae),Qe=await me.getDimensions(Ve),ce=Ae==="y",Ge=ce?"top":"left",Pe=ce?"bottom":"right",pe=ce?"clientHeight":"clientWidth",Se=re.reference[Fe]+re.reference[Ae]-ye[Ae]-re.floating[Fe],_e=ye[Ae]-re.reference[Ae],Ne=await(me.getOffsetParent==null?void 0:me.getOffsetParent(Ve));let Le=Ne?Ne[pe]:0;(!Le||!await(me.isElement==null?void 0:me.isElement(Ne)))&&(Le=fe.floating[pe]||re.floating[Fe]);const Ke=Se/2-_e/2,bt=Le/2-Qe[Fe]/2-1,yt=min(Ce[Ge],bt),It=min(Ce[Pe],bt),_t=yt,zt=Le-Qe[Fe]-It,Vt=Le/2-Qe[Fe]/2+Ke,St=clamp(_t,Vt,zt),Xt=!le.arrow&&getAlignment(ee)!=null&&Vt!==St&&re.reference[Fe]/2-(Vt<_t?yt:It)-Qe[Fe]/2<0,jt=Xt?Vt<_t?Vt-_t:Vt-zt:0;return{[Ae]:ye[Ae]+jt,data:{[Ae]:St,centerOffset:Vt-St-jt,...Xt&&{alignmentOffset:jt}},reset:Xt}}});function _(K,Y,Z){return(K?[...Z.filter(ee=>getAlignment(ee)===K),...Z.filter(ee=>getAlignment(ee)!==K)]:Z.filter(ee=>getSide(ee)===ee)).filter(ee=>K?getAlignment(ee)===K||(Y?getOppositeAlignmentPlacement(ee)!==ee:!1):!0)}const T=function(K){return K===void 0&&(K={}),{name:"autoPlacement",options:K,async fn(Y){var Z,J,ee;const{rects:re,middlewareData:me,placement:fe,platform:le,elements:Ve}=Y,{crossAxis:Ze=!1,alignment:Ce,allowedPlacements:ye=placements,autoAlignment:Ae=!0,...Fe}=evaluate(K,Y),Qe=Ce!==void 0||ye===placements?_(Ce||null,Ae,ye):ye,ce=await c(Y,Fe),Ge=((Z=me.autoPlacement)==null?void 0:Z.index)||0,Pe=Qe[Ge];if(Pe==null)return{};const pe=getAlignmentSides(Pe,re,await(le.isRTL==null?void 0:le.isRTL(Ve.floating)));if(fe!==Pe)return{reset:{placement:Qe[0]}};const Se=[ce[getSide(Pe)],ce[pe[0]],ce[pe[1]]],_e=[...((J=me.autoPlacement)==null?void 0:J.overflows)||[],{placement:Pe,overflows:Se}],Ne=Qe[Ge+1];if(Ne)return{data:{index:Ge+1,overflows:_e},reset:{placement:Ne}};const Le=_e.map(yt=>{const It=getAlignment(yt.placement);return[yt.placement,It&&Ze?yt.overflows.slice(0,2).reduce((_t,zt)=>_t+zt,0):yt.overflows[0],yt.overflows]}).sort((yt,It)=>yt[1]-It[1]),bt=((ee=Le.filter(yt=>yt[2].slice(0,getAlignment(yt[0])?2:3).every(It=>It<=0))[0])==null?void 0:ee[0])||Le[0][0];return bt!==fe?{data:{index:Ge+1,overflows:_e},reset:{placement:bt}}:{}}}},A=function(K){return K===void 0&&(K={}),{name:"flip",options:K,async fn(Y){var Z,J;const{placement:ee,middlewareData:re,rects:me,initialPlacement:fe,platform:le,elements:Ve}=Y,{mainAxis:Ze=!0,crossAxis:Ce=!0,fallbackPlacements:ye,fallbackStrategy:Ae="bestFit",fallbackAxisSideDirection:Fe="none",flipAlignment:Qe=!0,...ce}=(0,i.NV)(K,Y);if((Z=re.arrow)!=null&&Z.alignmentOffset)return{};const Ge=(0,i.QL)(ee),Pe=(0,i.QL)(fe)===fe,pe=await(le.isRTL==null?void 0:le.isRTL(Ve.floating)),Se=ye||(Pe||!Qe?[(0,i.uC)(fe)]:(0,i.W_)(fe));!ye&&Fe!=="none"&&Se.push(...(0,i.c7)(fe,Qe,Fe,pe));const _e=[fe,...Se],Ne=await c(Y,ce),Le=[];let Ke=((J=re.flip)==null?void 0:J.overflows)||[];if(Ze&&Le.push(Ne[Ge]),Ce){const _t=(0,i.YN)(ee,me,pe);Le.push(Ne[_t[0]],Ne[_t[1]])}if(Ke=[...Ke,{placement:ee,overflows:Le}],!Le.every(_t=>_t<=0)){var bt,yt;const _t=(((bt=re.flip)==null?void 0:bt.index)||0)+1,zt=_e[_t];if(zt)return{data:{index:_t,overflows:Ke},reset:{placement:zt}};let Vt=(yt=Ke.filter(St=>St.overflows[0]<=0).sort((St,Xt)=>St.overflows[1]-Xt.overflows[1])[0])==null?void 0:yt.placement;if(!Vt)switch(Ae){case"bestFit":{var It;const St=(It=Ke.map(Xt=>[Xt.placement,Xt.overflows.filter(jt=>jt>0).reduce((jt,sn)=>jt+sn,0)]).sort((Xt,jt)=>Xt[1]-jt[1])[0])==null?void 0:It[0];St&&(Vt=St);break}case"initialPlacement":Vt=fe;break}if(ee!==Vt)return{reset:{placement:Vt}}}return{}}}};function R(K,Y){return{top:K.top-Y.height,right:K.right-Y.width,bottom:K.bottom-Y.height,left:K.left-Y.width}}function P(K){return sides.some(Y=>K[Y]>=0)}const M=function(K){return K===void 0&&(K={}),{name:"hide",options:K,async fn(Y){const{rects:Z}=Y,{strategy:J="referenceHidden",...ee}=evaluate(K,Y);switch(J){case"referenceHidden":{const re=await c(Y,{...ee,elementContext:"reference"}),me=R(re,Z.reference);return{data:{referenceHiddenOffsets:me,referenceHidden:P(me)}}}case"escaped":{const re=await c(Y,{...ee,altBoundary:!0}),me=R(re,Z.floating);return{data:{escapedOffsets:me,escaped:P(me)}}}default:return{}}}}};function O(K){const Y=min(...K.map(re=>re.left)),Z=min(...K.map(re=>re.top)),J=max(...K.map(re=>re.right)),ee=max(...K.map(re=>re.bottom));return{x:Y,y:Z,width:J-Y,height:ee-Z}}function N(K){const Y=K.slice().sort((ee,re)=>ee.y-re.y),Z=[];let J=null;for(let ee=0;ee<Y.length;ee++){const re=Y[ee];!J||re.y-J.y>J.height/2?Z.push([re]):Z[Z.length-1].push(re),J=re}return Z.map(ee=>rectToClientRect(O(ee)))}const B=function(K){return K===void 0&&(K={}),{name:"inline",options:K,async fn(Y){const{placement:Z,elements:J,rects:ee,platform:re,strategy:me}=Y,{padding:fe=2,x:le,y:Ve}=evaluate(K,Y),Ze=Array.from(await(re.getClientRects==null?void 0:re.getClientRects(J.reference))||[]),Ce=N(Ze),ye=rectToClientRect(O(Ze)),Ae=getPaddingObject(fe);function Fe(){if(Ce.length===2&&Ce[0].left>Ce[1].right&&le!=null&&Ve!=null)return Ce.find(ce=>le>ce.left-Ae.left&&le<ce.right+Ae.right&&Ve>ce.top-Ae.top&&Ve<ce.bottom+Ae.bottom)||ye;if(Ce.length>=2){if(getSideAxis(Z)==="y"){const yt=Ce[0],It=Ce[Ce.length-1],_t=getSide(Z)==="top",zt=yt.top,Vt=It.bottom,St=_t?yt.left:It.left,Xt=_t?yt.right:It.right,jt=Xt-St,sn=Vt-zt;return{top:zt,bottom:Vt,left:St,right:Xt,width:jt,height:sn,x:St,y:zt}}const ce=getSide(Z)==="left",Ge=max(...Ce.map(yt=>yt.right)),Pe=min(...Ce.map(yt=>yt.left)),pe=Ce.filter(yt=>ce?yt.left===Pe:yt.right===Ge),Se=pe[0].top,_e=pe[pe.length-1].bottom,Ne=Pe,Le=Ge,Ke=Le-Ne,bt=_e-Se;return{top:Se,bottom:_e,left:Ne,right:Le,width:Ke,height:bt,x:Ne,y:Se}}return ye}const Qe=await re.getElementRects({reference:{getBoundingClientRect:Fe},floating:J.floating,strategy:me});return ee.reference.x!==Qe.reference.x||ee.reference.y!==Qe.reference.y||ee.reference.width!==Qe.reference.width||ee.reference.height!==Qe.reference.height?{reset:{rects:Qe}}:{}}}};async function j(K,Y){const{placement:Z,platform:J,elements:ee}=K,re=await(J.isRTL==null?void 0:J.isRTL(ee.floating)),me=(0,i.QL)(Z),fe=(0,i.W6)(Z),le=(0,i.oR)(Z)==="y",Ve=["left","top"].includes(me)?-1:1,Ze=re&&le?-1:1,Ce=(0,i.NV)(Y,K);let{mainAxis:ye,crossAxis:Ae,alignmentAxis:Fe}=typeof Ce=="number"?{mainAxis:Ce,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...Ce};return fe&&typeof Fe=="number"&&(Ae=fe==="end"?Fe*-1:Fe),le?{x:Ae*Ze,y:ye*Ve}:{x:ye*Ve,y:Ae*Ze}}const z=function(K){return K===void 0&&(K=0),{name:"offset",options:K,async fn(Y){var Z,J;const{x:ee,y:re,placement:me,middlewareData:fe}=Y,le=await j(Y,K);return me===((Z=fe.offset)==null?void 0:Z.placement)&&(J=fe.arrow)!=null&&J.alignmentOffset?{}:{x:ee+le.x,y:re+le.y,data:{...le,placement:me}}}}},W=function(K){return K===void 0&&(K={}),{name:"shift",options:K,async fn(Y){const{x:Z,y:J,placement:ee}=Y,{mainAxis:re=!0,crossAxis:me=!1,limiter:fe={fn:ce=>{let{x:Ge,y:Pe}=ce;return{x:Ge,y:Pe}}},...le}=(0,i.NV)(K,Y),Ve={x:Z,y:J},Ze=await c(Y,le),Ce=(0,i.oR)((0,i.QL)(ee)),ye=(0,i.I7)(Ce);let Ae=Ve[ye],Fe=Ve[Ce];if(re){const ce=ye==="y"?"top":"left",Ge=ye==="y"?"bottom":"right",Pe=Ae+Ze[ce],pe=Ae-Ze[Ge];Ae=(0,i.qk)(Pe,Ae,pe)}if(me){const ce=Ce==="y"?"top":"left",Ge=Ce==="y"?"bottom":"right",Pe=Fe+Ze[ce],pe=Fe-Ze[Ge];Fe=(0,i.qk)(Pe,Fe,pe)}const Qe=fe.fn({...Y,[ye]:Ae,[Ce]:Fe});return{...Qe,data:{x:Qe.x-Z,y:Qe.y-J}}}}},X=function(K){return K===void 0&&(K={}),{options:K,fn(Y){const{x:Z,y:J,placement:ee,rects:re,middlewareData:me}=Y,{offset:fe=0,mainAxis:le=!0,crossAxis:Ve=!0}=evaluate(K,Y),Ze={x:Z,y:J},Ce=getSideAxis(ee),ye=getOppositeAxis(Ce);let Ae=Ze[ye],Fe=Ze[Ce];const Qe=evaluate(fe,Y),ce=typeof Qe=="number"?{mainAxis:Qe,crossAxis:0}:{mainAxis:0,crossAxis:0,...Qe};if(le){const pe=ye==="y"?"height":"width",Se=re.reference[ye]-re.floating[pe]+ce.mainAxis,_e=re.reference[ye]+re.reference[pe]-ce.mainAxis;Ae<Se?Ae=Se:Ae>_e&&(Ae=_e)}if(Ve){var Ge,Pe;const pe=ye==="y"?"width":"height",Se=["top","left"].includes(getSide(ee)),_e=re.reference[Ce]-re.floating[pe]+(Se&&((Ge=me.offset)==null?void 0:Ge[Ce])||0)+(Se?0:ce.crossAxis),Ne=re.reference[Ce]+re.reference[pe]+(Se?0:((Pe=me.offset)==null?void 0:Pe[Ce])||0)-(Se?ce.crossAxis:0);Fe<_e?Fe=_e:Fe>Ne&&(Fe=Ne)}return{[ye]:Ae,[Ce]:Fe}}}},Q=function(K){return K===void 0&&(K={}),{name:"size",options:K,async fn(Y){const{placement:Z,rects:J,platform:ee,elements:re}=Y,{apply:me=()=>{},...fe}=evaluate(K,Y),le=await c(Y,fe),Ve=getSide(Z),Ze=getAlignment(Z),Ce=getSideAxis(Z)==="y",{width:ye,height:Ae}=J.floating;let Fe,Qe;Ve==="top"||Ve==="bottom"?(Fe=Ve,Qe=Ze===(await(ee.isRTL==null?void 0:ee.isRTL(re.floating))?"start":"end")?"left":"right"):(Qe=Ve,Fe=Ze==="end"?"top":"bottom");const ce=Ae-le[Fe],Ge=ye-le[Qe],Pe=!Y.middlewareData.shift;let pe=ce,Se=Ge;if(Ce){const Ne=ye-le.left-le.right;Se=Ze||Pe?min(Ge,Ne):Ne}else{const Ne=Ae-le.top-le.bottom;pe=Ze||Pe?min(ce,Ne):Ne}if(Pe&&!Ze){const Ne=max(le.left,0),Le=max(le.right,0),Ke=max(le.top,0),bt=max(le.bottom,0);Ce?Se=ye-2*(Ne!==0||Le!==0?Ne+Le:max(le.left,le.right)):pe=Ae-2*(Ke!==0||bt!==0?Ke+bt:max(le.top,le.bottom))}await me({...Y,availableWidth:Se,availableHeight:pe});const _e=await ee.getDimensions(re.floating);return ye!==_e.width||Ae!==_e.height?{reset:{rects:!0}}:{}}}}},3072:(U,C,e)=>{"use strict";e.d(C,{CA:()=>Ae,EB:()=>Fe,Ml:()=>Se,kN:()=>Ce});var i=e(76680),a=e(29600),l=e(23837);function c(_e){const Ne=(0,l.EL)(_e);let Le=parseFloat(Ne.width)||0,Ke=parseFloat(Ne.height)||0;const bt=(0,l._e)(_e),yt=bt?_e.offsetWidth:Le,It=bt?_e.offsetHeight:Ke,_t=(0,i.kL)(Le)!==yt||(0,i.kL)(Ke)!==It;return _t&&(Le=yt,Ke=It),{width:Le,height:Ke,$:_t}}function v(_e){return(0,l.KI)(_e)?_e:_e.contextElement}function _(_e){const Ne=v(_e);if(!(0,l._e)(Ne))return(0,i.Cg)(1);const Le=Ne.getBoundingClientRect(),{width:Ke,height:bt,$:yt}=c(Ne);let It=(yt?(0,i.kL)(Le.width):Le.width)/Ke,_t=(yt?(0,i.kL)(Le.height):Le.height)/bt;return(!It||!Number.isFinite(It))&&(It=1),(!_t||!Number.isFinite(_t))&&(_t=1),{x:It,y:_t}}const T=(0,i.Cg)(0);function A(_e){const Ne=(0,l.IT)(_e);return!(0,l.Gm)()||!Ne.visualViewport?T:{x:Ne.visualViewport.offsetLeft,y:Ne.visualViewport.offsetTop}}function R(_e,Ne,Le){return Ne===void 0&&(Ne=!1),!Le||Ne&&Le!==(0,l.IT)(_e)?!1:Ne}function P(_e,Ne,Le,Ke){Ne===void 0&&(Ne=!1),Le===void 0&&(Le=!1);const bt=_e.getBoundingClientRect(),yt=v(_e);let It=(0,i.Cg)(1);Ne&&(Ke?(0,l.KI)(Ke)&&(It=_(Ke)):It=_(_e));const _t=R(yt,Le,Ke)?A(yt):(0,i.Cg)(0);let zt=(bt.left+_t.x)/It.x,Vt=(bt.top+_t.y)/It.y,St=bt.width/It.x,Xt=bt.height/It.y;if(yt){const jt=(0,l.IT)(yt),sn=Ke&&(0,l.KI)(Ke)?(0,l.IT)(Ke):Ke;let dt=jt,Ln=dt.frameElement;for(;Ln&&Ke&&sn!==dt;){const fn=_(Ln),cr=Ln.getBoundingClientRect(),wr=(0,l.EL)(Ln),Jn=cr.left+(Ln.clientLeft+parseFloat(wr.paddingLeft))*fn.x,nn=cr.top+(Ln.clientTop+parseFloat(wr.paddingTop))*fn.y;zt*=fn.x,Vt*=fn.y,St*=fn.x,Xt*=fn.y,zt+=Jn,Vt+=nn,dt=(0,l.IT)(Ln),Ln=dt.frameElement}}return(0,i.Ab)({width:St,height:Xt,x:zt,y:Vt})}const M=[":popover-open",":modal"];function O(_e){return M.some(Ne=>{try{return _e.matches(Ne)}catch{return!1}})}function N(_e){let{elements:Ne,rect:Le,offsetParent:Ke,strategy:bt}=_e;const yt=bt==="fixed",It=(0,l._m)(Ke),_t=Ne?O(Ne.floating):!1;if(Ke===It||_t&&yt)return Le;let zt={scrollLeft:0,scrollTop:0},Vt=(0,i.Cg)(1);const St=(0,i.Cg)(0),Xt=(0,l._e)(Ke);if((Xt||!Xt&&!yt)&&(((0,l.GC)(Ke)!=="body"||(0,l.wl)(It))&&(zt=(0,l.cp)(Ke)),(0,l._e)(Ke))){const jt=P(Ke);Vt=_(Ke),St.x=jt.x+Ke.clientLeft,St.y=jt.y+Ke.clientTop}return{width:Le.width*Vt.x,height:Le.height*Vt.y,x:Le.x*Vt.x-zt.scrollLeft*Vt.x+St.x,y:Le.y*Vt.y-zt.scrollTop*Vt.y+St.y}}function B(_e){return Array.from(_e.getClientRects())}function j(_e){return P((0,l._m)(_e)).left+(0,l.cp)(_e).scrollLeft}function z(_e){const Ne=(0,l._m)(_e),Le=(0,l.cp)(_e),Ke=_e.ownerDocument.body,bt=(0,i.kv)(Ne.scrollWidth,Ne.clientWidth,Ke.scrollWidth,Ke.clientWidth),yt=(0,i.kv)(Ne.scrollHeight,Ne.clientHeight,Ke.scrollHeight,Ke.clientHeight);let It=-Le.scrollLeft+j(_e);const _t=-Le.scrollTop;return(0,l.EL)(Ke).direction==="rtl"&&(It+=(0,i.kv)(Ne.clientWidth,Ke.clientWidth)-bt),{width:bt,height:yt,x:It,y:_t}}function W(_e,Ne){const Le=(0,l.IT)(_e),Ke=(0,l._m)(_e),bt=Le.visualViewport;let yt=Ke.clientWidth,It=Ke.clientHeight,_t=0,zt=0;if(bt){yt=bt.width,It=bt.height;const Vt=(0,l.Gm)();(!Vt||Vt&&Ne==="fixed")&&(_t=bt.offsetLeft,zt=bt.offsetTop)}return{width:yt,height:It,x:_t,y:zt}}function X(_e,Ne){const Le=P(_e,!0,Ne==="fixed"),Ke=Le.top+_e.clientTop,bt=Le.left+_e.clientLeft,yt=(0,l._e)(_e)?_(_e):(0,i.Cg)(1),It=_e.clientWidth*yt.x,_t=_e.clientHeight*yt.y,zt=bt*yt.x,Vt=Ke*yt.y;return{width:It,height:_t,x:zt,y:Vt}}function Q(_e,Ne,Le){let Ke;if(Ne==="viewport")Ke=W(_e,Le);else if(Ne==="document")Ke=z((0,l._m)(_e));else if((0,l.KI)(Ne))Ke=X(Ne,Le);else{const bt=A(_e);Ke={...Ne,x:Ne.x-bt.x,y:Ne.y-bt.y}}return(0,i.Ab)(Ke)}function K(_e,Ne){const Le=(0,l.Kk)(_e);return Le===Ne||!(0,l.KI)(Le)||(0,l.I3)(Le)?!1:(0,l.EL)(Le).position==="fixed"||K(Le,Ne)}function Y(_e,Ne){const Le=Ne.get(_e);if(Le)return Le;let Ke=(0,l.MV)(_e,[],!1).filter(_t=>(0,l.KI)(_t)&&(0,l.GC)(_t)!=="body"),bt=null;const yt=(0,l.EL)(_e).position==="fixed";let It=yt?(0,l.Kk)(_e):_e;for(;(0,l.KI)(It)&&!(0,l.I3)(It);){const _t=(0,l.EL)(It),zt=(0,l.s1)(It);!zt&&_t.position==="fixed"&&(bt=null),(yt?!zt&&!bt:!zt&&_t.position==="static"&&!!bt&&["absolute","fixed"].includes(bt.position)||(0,l.wl)(It)&&!zt&&K(_e,It))?Ke=Ke.filter(St=>St!==It):bt=_t,It=(0,l.Kk)(It)}return Ne.set(_e,Ke),Ke}function Z(_e){let{element:Ne,boundary:Le,rootBoundary:Ke,strategy:bt}=_e;const It=[...Le==="clippingAncestors"?Y(Ne,this._c):[].concat(Le),Ke],_t=It[0],zt=It.reduce((Vt,St)=>{const Xt=Q(Ne,St,bt);return Vt.top=(0,i.kv)(Xt.top,Vt.top),Vt.right=(0,i.SY)(Xt.right,Vt.right),Vt.bottom=(0,i.SY)(Xt.bottom,Vt.bottom),Vt.left=(0,i.kv)(Xt.left,Vt.left),Vt},Q(Ne,_t,bt));return{width:zt.right-zt.left,height:zt.bottom-zt.top,x:zt.left,y:zt.top}}function J(_e){const{width:Ne,height:Le}=c(_e);return{width:Ne,height:Le}}function ee(_e,Ne,Le){const Ke=(0,l._e)(Ne),bt=(0,l._m)(Ne),yt=Le==="fixed",It=P(_e,!0,yt,Ne);let _t={scrollLeft:0,scrollTop:0};const zt=(0,i.Cg)(0);if(Ke||!Ke&&!yt)if(((0,l.GC)(Ne)!=="body"||(0,l.wl)(bt))&&(_t=(0,l.cp)(Ne)),Ke){const Xt=P(Ne,!0,yt,Ne);zt.x=Xt.x+Ne.clientLeft,zt.y=Xt.y+Ne.clientTop}else bt&&(zt.x=j(bt));const Vt=It.left+_t.scrollLeft-zt.x,St=It.top+_t.scrollTop-zt.y;return{x:Vt,y:St,width:It.width,height:It.height}}function re(_e,Ne){return!(0,l._e)(_e)||(0,l.EL)(_e).position==="fixed"?null:Ne?Ne(_e):_e.offsetParent}function me(_e,Ne){const Le=(0,l.IT)(_e);if(!(0,l._e)(_e)||O(_e))return Le;let Ke=re(_e,Ne);for(;Ke&&(0,l.ae)(Ke)&&(0,l.EL)(Ke).position==="static";)Ke=re(Ke,Ne);return Ke&&((0,l.GC)(Ke)==="html"||(0,l.GC)(Ke)==="body"&&(0,l.EL)(Ke).position==="static"&&!(0,l.s1)(Ke))?Le:Ke||(0,l.ie)(_e)||Le}const fe=async function(_e){const Ne=this.getOffsetParent||me,Le=this.getDimensions;return{reference:ee(_e.reference,await Ne(_e.floating),_e.strategy),floating:{x:0,y:0,...await Le(_e.floating)}}};function le(_e){return(0,l.EL)(_e).direction==="rtl"}const Ve={convertOffsetParentRelativeRectToViewportRelativeRect:N,getDocumentElement:l._m,getClippingRect:Z,getOffsetParent:me,getElementRects:fe,getClientRects:B,getDimensions:J,getScale:_,isElement:l.KI,isRTL:le};function Ze(_e,Ne){let Le=null,Ke;const bt=(0,l._m)(_e);function yt(){var _t;clearTimeout(Ke),(_t=Le)==null||_t.disconnect(),Le=null}function It(_t,zt){_t===void 0&&(_t=!1),zt===void 0&&(zt=1),yt();const{left:Vt,top:St,width:Xt,height:jt}=_e.getBoundingClientRect();if(_t||Ne(),!Xt||!jt)return;const sn=(0,i.wx)(St),dt=(0,i.wx)(bt.clientWidth-(Vt+Xt)),Ln=(0,i.wx)(bt.clientHeight-(St+jt)),fn=(0,i.wx)(Vt),wr={rootMargin:-sn+"px "+-dt+"px "+-Ln+"px "+-fn+"px",threshold:(0,i.kv)(0,(0,i.SY)(1,zt))||1};let Jn=!0;function nn(or){const bn=or[0].intersectionRatio;if(bn!==zt){if(!Jn)return It();bn?It(!1,bn):Ke=setTimeout(()=>{It(!1,1e-7)},100)}Jn=!1}try{Le=new IntersectionObserver(nn,{...wr,root:bt.ownerDocument})}catch{Le=new IntersectionObserver(nn,wr)}Le.observe(_e)}return It(!0),yt}function Ce(_e,Ne,Le,Ke){Ke===void 0&&(Ke={});const{ancestorScroll:bt=!0,ancestorResize:yt=!0,elementResize:It=typeof ResizeObserver=="function",layoutShift:_t=typeof IntersectionObserver=="function",animationFrame:zt=!1}=Ke,Vt=v(_e),St=bt||yt?[...Vt?(0,l.MV)(Vt):[],...(0,l.MV)(Ne)]:[];St.forEach(cr=>{bt&&cr.addEventListener("scroll",Le,{passive:!0}),yt&&cr.addEventListener("resize",Le)});const Xt=Vt&&_t?Ze(Vt,Le):null;let jt=-1,sn=null;It&&(sn=new ResizeObserver(cr=>{let[wr]=cr;wr&&wr.target===Vt&&sn&&(sn.unobserve(Ne),cancelAnimationFrame(jt),jt=requestAnimationFrame(()=>{var Jn;(Jn=sn)==null||Jn.observe(Ne)})),Le()}),Vt&&!zt&&sn.observe(Vt),sn.observe(Ne));let dt,Ln=zt?P(_e):null;zt&&fn();function fn(){const cr=P(_e);Ln&&(cr.x!==Ln.x||cr.y!==Ln.y||cr.width!==Ln.width||cr.height!==Ln.height)&&Le(),Ln=cr,dt=requestAnimationFrame(fn)}return Le(),()=>{var cr;St.forEach(wr=>{bt&&wr.removeEventListener("scroll",Le),yt&&wr.removeEventListener("resize",Le)}),Xt?.(),(cr=sn)==null||cr.disconnect(),sn=null,zt&&cancelAnimationFrame(dt)}}const ye=null,Ae=a.CA,Fe=a.EB,Qe=null,ce=null,Ge=null,Pe=null,pe=null,Se=(_e,Ne,Le)=>{const Ke=new Map,bt={platform:Ve,...Le},yt={...bt.platform,_c:Ke};return(0,a.Ml)(_e,Ne,{...bt,platform:yt})}},19672:(U,C,e)=>{"use strict";e.d(C,{gR:()=>P});var i=e(3072),a=e(62552),l=e(19632);const c=M=>{function O(N){return{}.hasOwnProperty.call(N,"current")}return{name:"arrow",options:M,fn(N){const{element:B,padding:j}=typeof M=="function"?M(N):M;return B&&O(B)?B.current!=null?arrow$1({element:B.current,padding:j}).fn(N):{}:B?arrow$1({element:B,padding:j}).fn(N):{}}}};var v=typeof document<"u"?a.useLayoutEffect:a.useEffect;function _(M,O){if(M===O)return!0;if(typeof M!=typeof O)return!1;if(typeof M=="function"&&M.toString()===O.toString())return!0;let N,B,j;if(M&&O&&typeof M=="object"){if(Array.isArray(M)){if(N=M.length,N!==O.length)return!1;for(B=N;B--!==0;)if(!_(M[B],O[B]))return!1;return!0}if(j=Object.keys(M),N=j.length,N!==Object.keys(O).length)return!1;for(B=N;B--!==0;)if(!{}.hasOwnProperty.call(O,j[B]))return!1;for(B=N;B--!==0;){const z=j[B];if(!(z==="_owner"&&M.$$typeof)&&!_(M[z],O[z]))return!1}return!0}return M!==M&&O!==O}function T(M){return typeof window>"u"?1:(M.ownerDocument.defaultView||window).devicePixelRatio||1}function A(M,O){const N=T(M);return Math.round(O*N)/N}function R(M){const O=a.useRef(M);return v(()=>{O.current=M}),O}function P(M){M===void 0&&(M={});const{placement:O="bottom",strategy:N="absolute",middleware:B=[],platform:j,elements:{reference:z,floating:W}={},transform:X=!0,whileElementsMounted:Q,open:K}=M,[Y,Z]=a.useState({x:0,y:0,strategy:N,placement:O,middlewareData:{},isPositioned:!1}),[J,ee]=a.useState(B);_(J,B)||ee(B);const[re,me]=a.useState(null),[fe,le]=a.useState(null),Ve=a.useCallback(Ke=>{Ke!==Ae.current&&(Ae.current=Ke,me(Ke))},[]),Ze=a.useCallback(Ke=>{Ke!==Fe.current&&(Fe.current=Ke,le(Ke))},[]),Ce=z||re,ye=W||fe,Ae=a.useRef(null),Fe=a.useRef(null),Qe=a.useRef(Y),ce=Q!=null,Ge=R(Q),Pe=R(j),pe=a.useCallback(()=>{if(!Ae.current||!Fe.current)return;const Ke={placement:O,strategy:N,middleware:J};Pe.current&&(Ke.platform=Pe.current),(0,i.Ml)(Ae.current,Fe.current,Ke).then(bt=>{const yt={...bt,isPositioned:!0};Se.current&&!_(Qe.current,yt)&&(Qe.current=yt,l.flushSync(()=>{Z(yt)}))})},[J,O,N,Pe]);v(()=>{K===!1&&Qe.current.isPositioned&&(Qe.current.isPositioned=!1,Z(Ke=>({...Ke,isPositioned:!1})))},[K]);const Se=a.useRef(!1);v(()=>(Se.current=!0,()=>{Se.current=!1}),[]),v(()=>{if(Ce&&(Ae.current=Ce),ye&&(Fe.current=ye),Ce&&ye){if(Ge.current)return Ge.current(Ce,ye,pe);pe()}},[Ce,ye,pe,Ge,ce]);const _e=a.useMemo(()=>({reference:Ae,floating:Fe,setReference:Ve,setFloating:Ze}),[Ve,Ze]),Ne=a.useMemo(()=>({reference:Ce,floating:ye}),[Ce,ye]),Le=a.useMemo(()=>{const Ke={position:N,left:0,top:0};if(!Ne.floating)return Ke;const bt=A(Ne.floating,Y.x),yt=A(Ne.floating,Y.y);return X?{...Ke,transform:"translate("+bt+"px, "+yt+"px)",...T(Ne.floating)>=1.5&&{willChange:"transform"}}:{position:N,left:bt,top:yt}},[N,X,Ne.floating,Y.x,Y.y]);return a.useMemo(()=>({...Y,update:pe,refs:_e,elements:Ne,floatingStyles:Le}),[Y,pe,_e,Ne,Le])}},95840:(U,C,e)=>{"use strict";e.d(C,{wF:()=>Da,WC:()=>T0,aS:()=>rl,rF:()=>ka,Yj:()=>Su,cz:()=>gu,_y:()=>ll,Wc:()=>Uc,M3:()=>Bu,AL:()=>fa,YZ:()=>ta,Su:()=>Ri,aW:()=>Yu,SI:()=>L0,QF:()=>B0,u:()=>Do,Ep:()=>_l,Y7:()=>hc,cH:()=>ic,EZ:()=>Qu,Wm:()=>oo,kP:()=>l0,o5:()=>dc,Q$:()=>c0,AS:()=>Po,cj:()=>Wc,A7:()=>Zu,cZ:()=>vu,ew:()=>Yo,sf:()=>Tu,od:()=>eu,CA:()=>Kn,w9:()=>Dl,K8:()=>d0,_G:()=>si,sD:()=>Sc,a7:()=>jl,oJ:()=>Zc,mY:()=>Kr,cJ:()=>Nn,SE:()=>Sr,o1:()=>pi,zV:()=>ga,dT:()=>br,st:()=>Bi,YF:()=>_a,S7:()=>Fi,CK:()=>Ni,Q3:()=>io,OK:()=>$l,on:()=>su,AZ:()=>Ds,Ux:()=>ds,W8:()=>hu,Ii:()=>Lo,aO:()=>yo,An:()=>Ts,s7:()=>N0,iK:()=>Nc,O_:()=>eo,GY:()=>Ys,UC:()=>Go,In:()=>Is,QV:()=>iu,Qn:()=>xa,WO:()=>Fu,E5:()=>xs,G0:()=>na,sg:()=>Nl,um:()=>il,Ki:()=>pc,eo:()=>el,H6:()=>t0,Mb:()=>n0,UL:()=>Ra,WK:()=>tr,aU:()=>Wl,c_:()=>Ha,Ws:()=>pn,U7:()=>nl,wh:()=>ha,m4:()=>gn});var i=e(19968),a=e(36132),l=e(48936),c=e(6464),v=e(89296),_=e(85820),T=e(5e3),A=e(70883),R=e(84328),P=e(35676),M=e(63358),O=e(48744),N=e(76512),B=e(9752),j=e(42848),z=e(20464),W=e(19576),X=e(23264),Q=e(70544),K=e(35480),Y=e(15860),Z=e(14448),J=e(56104),ee=e(22244),re=e(96224),me=e(65104),fe=e(44736),le=e(95080),Ve=e(79672),Ze=e(26852),Ce=e(28216),ye=e(32568),Ae=e(62492),Fe=e(55716),Qe=e(25352),ce=e(62552);const Ge=(0,ce.createContext)({activePage:1,pageCount:1}),Pe=()=>(0,ce.useContext)(Ge),pe=({children:Be,label:vt="Pagination",activePage:xt,pageCount:Zt})=>{const He=ce.useMemo(()=>({activePage:xt,pageCount:Zt}),[xt,Zt]);return(0,i.jsx)(Ge.Provider,{value:He,children:(0,i.jsx)(T.k,{"aria-label":vt,as:"nav",children:(0,i.jsx)(l.C,{as:"ol",gap:1,children:ce.Children.map(Be,(Pn,Xn)=>(0,i.jsx)("li",{children:Pn},Xn))})})})};var Se=e(6400),_e=e(73200),Ne=e(39380),Le=e(3704),Ke=e(53744);const bt={active:!0},yt=(0,Le.cp)(Ne.Af).withConfig({shouldForwardProp:(Be,vt)=>!bt[Be]&&vt(Be)})`
  padding: ${({theme:Be})=>Be.spaces[3]};
  border-radius: ${({theme:Be})=>Be.borderRadius};
  box-shadow: ${({active:Be,theme:vt})=>Be?vt.shadows.filterShadow:void 0};
  text-decoration: none;
  display: flex;

  ${Ke.Md}
`,It=(0,Le.cp)(yt)`
  color: ${({theme:Be,active:vt})=>vt?Be.colors.primary700:Be.colors.neutral800};
  background: ${({theme:Be,active:vt})=>vt?Be.colors.neutral0:void 0};

  &:hover {
    box-shadow: ${({theme:Be})=>Be.shadows.filterShadow};
  }
`,_t=(0,Le.cp)(yt)`
  font-size: ${11/16}rem;

  svg path {
    fill: ${Be=>Be["aria-disabled"]?Be.theme.colors.neutral300:Be.theme.colors.neutral600};
  }

  &:focus,
  &:hover {
    svg path {
      fill: ${Be=>Be["aria-disabled"]?Be.theme.colors.neutral300:Be.theme.colors.neutral700};
    }
  }

  ${Be=>Be["aria-disabled"]?`
  pointer-events: none;
    `:void 0}
`,zt=({children:Be,to:vt,...xt})=>{const{activePage:Zt}=Pe(),He=Zt===1;return(0,i.jsxs)(_t,{to:He?"#":vt,"aria-disabled":He,tabIndex:He?-1:void 0,...xt,children:[(0,i.jsx)(K.K,{children:Be}),(0,i.jsx)(Se.c,{"aria-hidden":!0})]})};zt.displayName="PreviousLink";const Vt=({children:Be,to:vt,...xt})=>{const{activePage:Zt,pageCount:He}=Pe(),Pn=Zt===He;return(0,i.jsxs)(_t,{to:Pn?"#":vt,"aria-disabled":Pn,tabIndex:Pn?-1:void 0,...xt,children:[(0,i.jsx)(K.K,{children:Be}),(0,i.jsx)(_e.c,{"aria-hidden":!0})]})};Vt.displayName="NextLink";const St=({number:Be,children:vt,...xt})=>{const{activePage:Zt}=Pe(),He=Zt===Be;return(0,i.jsxs)(It,{...xt,active:He,children:[(0,i.jsx)(K.K,{children:vt}),(0,i.jsx)(M.O,{"aria-hidden":!0,fontWeight:He?"bold":void 0,lineHeight:"revert",variant:"pi",children:Be})]})};St.displayName="PageLink";const Xt=({children:Be,...vt})=>(0,i.jsxs)(T.k,{...vt,children:[(0,i.jsx)(K.K,{children:Be}),(0,i.jsx)(M.O,{"aria-hidden":!0,lineHeight:"revert",textColor:"neutral800",variant:"pi",children:"\u2026"})]});var jt=e(57064),sn=e(86400),dt=e(30048),Ln=e(71324),fn=e(14520),cr=e(79848),wr=e(42515),Jn=e(9704),nn=e(39716),or=e(48636),bn=e(14032),Sn=e(63648),Hn=e(85088),er=e(77080),an=e(51384);const Cn=Be=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...Be,children:(0,i.jsx)("rect",{width:24,height:5,y:9.5,fill:"#212134",rx:.2})}),de=Cn;var oe=e(14632),Ye=e(48632),Et=e(49008),xe=e(5540),Re=e(26272),We=e(17848),gt=e(12132),Nt=e(79804),Ct=e(81136),tn=e(55300),ge=e(31812),At=e(13192),mn=e(56688),xn=e(80280),Un=e(18232),gr=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ur(Be){var vt=Be.defaultInputValue,xt=vt===void 0?"":vt,Zt=Be.defaultMenuIsOpen,He=Zt===void 0?!1:Zt,Pn=Be.defaultValue,Xn=Pn===void 0?null:Pn,Qt=Be.inputValue,Bn=Be.menuIsOpen,ir=Be.onChange,Pr=Be.onInputChange,Er=Be.onMenuClose,Ti=Be.onMenuOpen,ji=Be.value,Wi=(0,Un.c)(Be,gr),ls=(0,ce.useState)(Qt!==void 0?Qt:xt),Zi=(0,xn.c)(ls,2),Qs=Zi[0],Js=Zi[1],ks=(0,ce.useState)(Bn!==void 0?Bn:He),Hs=(0,xn.c)(ks,2),Ka=Hs[0],Ma=Hs[1],no=(0,ce.useState)(ji!==void 0?ji:Xn),ho=(0,xn.c)(no,2),Bo=ho[0],Hu=ho[1],Fo=(0,ce.useCallback)(function(Ol,Ba){typeof ir=="function"&&ir(Ol,Ba),Hu(Ol)},[ir]),Ya=(0,ce.useCallback)(function(Ol,Ba){var mc;typeof Pr=="function"&&(mc=Pr(Ol,Ba)),Js(mc!==void 0?mc:Ol)},[Pr]),Na=(0,ce.useCallback)(function(){typeof Ti=="function"&&Ti(),Ma(!0)},[Ti]),ti=(0,ce.useCallback)(function(){typeof Er=="function"&&Er(),Ma(!1)},[Er]),ra=Qt!==void 0?Qt:Qs,Ua=Bn!==void 0?Bn:Ka,fl=ji!==void 0?ji:Bo;return(0,mn.c)((0,mn.c)({},Wi),{},{inputValue:ra,menuIsOpen:Ua,onChange:Fo,onInputChange:Ya,onMenuClose:ti,onMenuOpen:Na,value:fl})}var Or=e(59056),ii=e(85132),Ui=e(38980),rn=e(65376),$n=e(504),yi=e(7507);function Jr(Be){if(Array.isArray(Be))return(0,yi.c)(Be)}function cn(Be){if(typeof Symbol<"u"&&Be[Symbol.iterator]!=null||Be["@@iterator"]!=null)return Array.from(Be)}var mt=e(80200);function we(){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 je(Be){return Jr(Be)||cn(Be)||(0,mt.c)(Be)||we()}var pt=e(4320),at=e(40496),kt=Number.isNaN||function(vt){return typeof vt=="number"&&vt!==vt};function vn(Be,vt){return!!(Be===vt||kt(Be)&&kt(vt))}function Wn(Be,vt){if(Be.length!==vt.length)return!1;for(var xt=0;xt<Be.length;xt++)if(!vn(Be[xt],vt[xt]))return!1;return!0}function nr(Be,vt){vt===void 0&&(vt=Wn);var xt=null;function Zt(){for(var He=[],Pn=0;Pn<arguments.length;Pn++)He[Pn]=arguments[Pn];if(xt&&xt.lastThis===this&&vt(He,xt.lastArgs))return xt.lastResult;var Xn=Be.apply(this,He);return xt={lastResult:Xn,lastArgs:He,lastThis:this},Xn}return Zt.clear=function(){xt=null},Zt}function rr(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Ot={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Gt=function(vt){return(0,at.im)("span",(0,Or.c)({css:Ot},vt))},Pt={guidance:function(vt){var xt=vt.isSearchable,Zt=vt.isMulti,He=vt.isDisabled,Pn=vt.tabSelectsValue,Xn=vt.context;switch(Xn){case"menu":return"Use Up and Down to choose options".concat(He?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(Pn?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(vt["aria-label"]||"Select"," is focused ").concat(xt?",type to refine list":"",", press Down to open the menu, ").concat(Zt?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(vt){var xt=vt.action,Zt=vt.label,He=Zt===void 0?"":Zt,Pn=vt.labels,Xn=vt.isDisabled;switch(xt){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(He,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(Pn.length>1?"s":""," ").concat(Pn.join(","),", selected.");case"select-option":return Xn?"option ".concat(He," is disabled. Select another option."):"option ".concat(He,", selected.");default:return""}},onFocus:function(vt){var xt=vt.context,Zt=vt.focused,He=vt.options,Pn=vt.label,Xn=Pn===void 0?"":Pn,Qt=vt.selectValue,Bn=vt.isDisabled,ir=vt.isSelected,Pr=function(Wi,ls){return Wi&&Wi.length?"".concat(Wi.indexOf(ls)+1," of ").concat(Wi.length):""};if(xt==="value"&&Qt)return"value ".concat(Xn," focused, ").concat(Pr(Qt,Zt),".");if(xt==="menu"){var Er=Bn?" disabled":"",Ti="".concat(ir?"selected":"focused").concat(Er);return"option ".concat(Xn," ").concat(Ti,", ").concat(Pr(He,Zt),".")}return""},onFilter:function(vt){var xt=vt.inputValue,Zt=vt.resultsMessage;return"".concat(Zt).concat(xt?" for search term "+xt:"",".")}},Tt=function(vt){var xt=vt.ariaSelection,Zt=vt.focusedOption,He=vt.focusedValue,Pn=vt.focusableOptions,Xn=vt.isFocused,Qt=vt.selectValue,Bn=vt.selectProps,ir=vt.id,Pr=Bn.ariaLiveMessages,Er=Bn.getOptionLabel,Ti=Bn.inputValue,ji=Bn.isMulti,Wi=Bn.isOptionDisabled,ls=Bn.isSearchable,Zi=Bn.menuIsOpen,Qs=Bn.options,Js=Bn.screenReaderStatus,ks=Bn.tabSelectsValue,Hs=Bn["aria-label"],Ka=Bn["aria-live"],Ma=(0,ce.useMemo)(function(){return(0,mn.c)((0,mn.c)({},Pt),Pr||{})},[Pr]),no=(0,ce.useMemo)(function(){var ti="";if(xt&&Ma.onChange){var ra=xt.option,Ua=xt.options,fl=xt.removedValue,Ol=xt.removedValues,Ba=xt.value,mc=function(Ao){return Array.isArray(Ao)?null:Ao},Hc=fl||ra||mc(Ba),sl=Hc?Er(Hc):"",_u=Ua||Ol||void 0,zs=_u?_u.map(Er):[],Ju=(0,mn.c)({isDisabled:Hc&&Wi(Hc,Qt),label:sl,labels:zs},xt);ti=Ma.onChange(Ju)}return ti},[xt,Ma,Wi,Qt,Er]),ho=(0,ce.useMemo)(function(){var ti="",ra=Zt||He,Ua=!!(Zt&&Qt&&Qt.includes(Zt));if(ra&&Ma.onFocus){var fl={focused:ra,label:Er(ra),isDisabled:Wi(ra,Qt),isSelected:Ua,options:Pn,context:ra===Zt?"menu":"value",selectValue:Qt};ti=Ma.onFocus(fl)}return ti},[Zt,He,Er,Wi,Ma,Pn,Qt]),Bo=(0,ce.useMemo)(function(){var ti="";if(Zi&&Qs.length&&Ma.onFilter){var ra=Js({count:Pn.length});ti=Ma.onFilter({inputValue:Ti,resultsMessage:ra})}return ti},[Pn,Ti,Zi,Ma,Qs,Js]),Hu=(0,ce.useMemo)(function(){var ti="";if(Ma.guidance){var ra=He?"value":Zi?"menu":"input";ti=Ma.guidance({"aria-label":Hs,context:ra,isDisabled:Zt&&Wi(Zt,Qt),isMulti:ji,isSearchable:ls,tabSelectsValue:ks})}return ti},[Hs,Zt,He,ji,Wi,ls,Zi,Ma,Qt,ks]),Fo="".concat(ho," ").concat(Bo," ").concat(Hu),Ya=(0,at.im)(ce.Fragment,null,(0,at.im)("span",{id:"aria-selection"},no),(0,at.im)("span",{id:"aria-context"},Fo)),Na=xt?.action==="initial-input-focus";return(0,at.im)(ce.Fragment,null,(0,at.im)(Gt,{id:ir},Na&&Ya),(0,at.im)(Gt,{"aria-live":Ka,"aria-atomic":"false","aria-relevant":"additions text"},Xn&&!Na&&Ya))},An=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"},{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],on=new RegExp("["+An.map(function(Be){return Be.letters}).join("")+"]","g"),dn={},$e=0;$e<An.length;$e++)for(var Yt=An[$e],$t=0;$t<Yt.letters.length;$t++)dn[Yt.letters[$t]]=Yt.base;var Jt=function(vt){return vt.replace(on,function(xt){return dn[xt]})},Lt=nr(Jt),yn=function(vt){return vt.replace(/^\s+|\s+$/g,"")},In=function(vt){return"".concat(vt.label," ").concat(vt.value)},yr=function(vt){return function(xt,Zt){if(xt.data.__isNew__)return!0;var He=(0,mn.c)({ignoreCase:!0,ignoreAccents:!0,stringify:In,trim:!0,matchFrom:"any"},vt),Pn=He.ignoreCase,Xn=He.ignoreAccents,Qt=He.stringify,Bn=He.trim,ir=He.matchFrom,Pr=Bn?yn(Zt):Zt,Er=Bn?yn(Qt(xt)):Qt(xt);return Pn&&(Pr=Pr.toLowerCase(),Er=Er.toLowerCase()),Xn&&(Pr=Lt(Pr),Er=Jt(Er)),ir==="start"?Er.substr(0,Pr.length)===Pr:Er.indexOf(Pr)>-1}},Rr=["innerRef"];function Xr(Be){var vt=Be.innerRef,xt=(0,Un.c)(Be,Rr),Zt=(0,pt.r)(xt,"onExited","in","enter","exit","appear");return(0,at.im)("input",(0,Or.c)({ref:vt},Zt,{css:(0,at.gV)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var ci=function(vt){vt.preventDefault(),vt.stopPropagation()};function Hr(Be){var vt=Be.isEnabled,xt=Be.onBottomArrive,Zt=Be.onBottomLeave,He=Be.onTopArrive,Pn=Be.onTopLeave,Xn=(0,ce.useRef)(!1),Qt=(0,ce.useRef)(!1),Bn=(0,ce.useRef)(0),ir=(0,ce.useRef)(null),Pr=(0,ce.useCallback)(function(Zi,Qs){if(ir.current!==null){var Js=ir.current,ks=Js.scrollTop,Hs=Js.scrollHeight,Ka=Js.clientHeight,Ma=ir.current,no=Qs>0,ho=Hs-Ka-ks,Bo=!1;ho>Qs&&Xn.current&&(Zt&&Zt(Zi),Xn.current=!1),no&&Qt.current&&(Pn&&Pn(Zi),Qt.current=!1),no&&Qs>ho?(xt&&!Xn.current&&xt(Zi),Ma.scrollTop=Hs,Bo=!0,Xn.current=!0):!no&&-Qs>ks&&(He&&!Qt.current&&He(Zi),Ma.scrollTop=0,Bo=!0,Qt.current=!0),Bo&&ci(Zi)}},[xt,Zt,He,Pn]),Er=(0,ce.useCallback)(function(Zi){Pr(Zi,Zi.deltaY)},[Pr]),Ti=(0,ce.useCallback)(function(Zi){Bn.current=Zi.changedTouches[0].clientY},[]),ji=(0,ce.useCallback)(function(Zi){var Qs=Bn.current-Zi.changedTouches[0].clientY;Pr(Zi,Qs)},[Pr]),Wi=(0,ce.useCallback)(function(Zi){if(Zi){var Qs=pt.s?{passive:!1}:!1;Zi.addEventListener("wheel",Er,Qs),Zi.addEventListener("touchstart",Ti,Qs),Zi.addEventListener("touchmove",ji,Qs)}},[ji,Ti,Er]),ls=(0,ce.useCallback)(function(Zi){Zi&&(Zi.removeEventListener("wheel",Er,!1),Zi.removeEventListener("touchstart",Ti,!1),Zi.removeEventListener("touchmove",ji,!1))},[ji,Ti,Er]);return(0,ce.useEffect)(function(){if(vt){var Zi=ir.current;return Wi(Zi),function(){ls(Zi)}}},[vt,Wi,ls]),function(Zi){ir.current=Zi}}var un=["boxSizing","height","overflow","paddingRight","position"],ct={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Ut(Be){Be.preventDefault()}function wt(Be){Be.stopPropagation()}function kn(){var Be=this.scrollTop,vt=this.scrollHeight,xt=Be+this.offsetHeight;Be===0?this.scrollTop=1:xt===vt&&(this.scrollTop=Be-1)}function wn(){return"ontouchstart"in window||navigator.maxTouchPoints}var Qn=!!(typeof window<"u"&&window.document&&window.document.createElement),ur=0,fi={capture:!1,passive:!1};function ot(Be){var vt=Be.isEnabled,xt=Be.accountForScrollbars,Zt=xt===void 0?!0:xt,He=(0,ce.useRef)({}),Pn=(0,ce.useRef)(null),Xn=(0,ce.useCallback)(function(Bn){if(Qn){var ir=document.body,Pr=ir&&ir.style;if(Zt&&un.forEach(function(Wi){var ls=Pr&&Pr[Wi];He.current[Wi]=ls}),Zt&&ur<1){var Er=parseInt(He.current.paddingRight,10)||0,Ti=document.body?document.body.clientWidth:0,ji=window.innerWidth-Ti+Er||0;Object.keys(ct).forEach(function(Wi){var ls=ct[Wi];Pr&&(Pr[Wi]=ls)}),Pr&&(Pr.paddingRight="".concat(ji,"px"))}ir&&wn()&&(ir.addEventListener("touchmove",Ut,fi),Bn&&(Bn.addEventListener("touchstart",kn,fi),Bn.addEventListener("touchmove",wt,fi))),ur+=1}},[Zt]),Qt=(0,ce.useCallback)(function(Bn){if(Qn){var ir=document.body,Pr=ir&&ir.style;ur=Math.max(ur-1,0),Zt&&ur<1&&un.forEach(function(Er){var Ti=He.current[Er];Pr&&(Pr[Er]=Ti)}),ir&&wn()&&(ir.removeEventListener("touchmove",Ut,fi),Bn&&(Bn.removeEventListener("touchstart",kn,fi),Bn.removeEventListener("touchmove",wt,fi)))}},[Zt]);return(0,ce.useEffect)(function(){if(vt){var Bn=Pn.current;return Xn(Bn),function(){Qt(Bn)}}},[vt,Xn,Qt]),function(Bn){Pn.current=Bn}}function ft(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Mt=function(){return document.activeElement&&document.activeElement.blur()},qt={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function sr(Be){var vt=Be.children,xt=Be.lockEnabled,Zt=Be.captureEnabled,He=Zt===void 0?!0:Zt,Pn=Be.onBottomArrive,Xn=Be.onBottomLeave,Qt=Be.onTopArrive,Bn=Be.onTopLeave,ir=Hr({isEnabled:He,onBottomArrive:Pn,onBottomLeave:Xn,onTopArrive:Qt,onTopLeave:Bn}),Pr=ot({isEnabled:xt}),Er=function(ji){ir(ji),Pr(ji)};return(0,at.im)(ce.Fragment,null,xt&&(0,at.im)("div",{onClick:Mt,css:qt}),vt(Er))}function lr(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Cr={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},xr=function(vt){var xt=vt.name,Zt=vt.onFocus;return(0,at.im)("input",{required:!0,name:xt,tabIndex:-1,onFocus:Zt,css:Cr,value:"",onChange:function(){}})},qr=function(vt){return vt.label},jr=function(vt){return vt.label},vr=function(vt){return vt.value},$r=function(vt){return!!vt.isDisabled},Wr={clearIndicator:pt.a,container:pt.b,control:pt.d,dropdownIndicator:pt.e,group:pt.g,groupHeading:pt.f,indicatorsContainer:pt.i,indicatorSeparator:pt.h,input:pt.j,loadingIndicator:pt.l,loadingMessage:pt.k,menu:pt.m,menuList:pt.n,menuPortal:pt.o,multiValue:pt.p,multiValueLabel:pt.q,multiValueRemove:pt.t,noOptionsMessage:pt.u,option:pt.v,placeholder:pt.w,singleValue:pt.x,valueContainer:pt.y};function be(Be){var vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},xt=_objectSpread({},Be);return Object.keys(vt).forEach(function(Zt){var He=Zt;Be[He]?xt[He]=function(Pn,Xn){return vt[He](Be[He](Pn,Xn),Xn)}:xt[He]=vt[He]}),xt}var Ue={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},ut=4,Ht=4,Fn=38,ln=Ht*2,jn={baseUnit:Ht,controlHeight:Fn,menuGutter:ln},Nr={borderRadius:ut,colors:Ue,spacing:jn},Mi={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,pt.z)(),captureMenuScroll:!(0,pt.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:yr(),formatGroupLabel:qr,getOptionLabel:jr,getOptionValue:vr,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:$r,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,pt.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(vt){var xt=vt.count;return"".concat(xt," result").concat(xt!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Oi(Be,vt,xt,Zt){var He=wo(Be,vt,xt),Pn=ca(Be,vt,xt),Xn=Za(Be,vt),Qt=za(Be,vt);return{type:"option",data:vt,isDisabled:He,isSelected:Pn,label:Xn,value:Qt,index:Zt}}function ni(Be,vt){return Be.options.map(function(xt,Zt){if("options"in xt){var He=xt.options.map(function(Xn,Qt){return Oi(Be,Xn,vt,Qt)}).filter(function(Xn){return la(Be,Xn)});return He.length>0?{type:"group",data:xt,options:He,index:Zt}:void 0}var Pn=Oi(Be,xt,vt,Zt);return la(Be,Pn)?Pn:void 0}).filter(pt.G)}function rs(Be){return Be.reduce(function(vt,xt){return xt.type==="group"?vt.push.apply(vt,je(xt.options.map(function(Zt){return Zt.data}))):vt.push(xt.data),vt},[])}function Qi(Be,vt){return rs(ni(Be,vt))}function la(Be,vt){var xt=Be.inputValue,Zt=xt===void 0?"":xt,He=vt.data,Pn=vt.isSelected,Xn=vt.label,Qt=vt.value;return(!ru(Be)||!Pn)&&Uo(Be,{label:Xn,value:Qt,data:He},Zt)}function as(Be,vt){var xt=Be.focusedValue,Zt=Be.selectValue,He=Zt.indexOf(xt);if(He>-1){var Pn=vt.indexOf(xt);if(Pn>-1)return xt;if(He<vt.length)return vt[He]}return null}function bs(Be,vt){var xt=Be.focusedOption;return xt&&vt.indexOf(xt)>-1?xt:vt[0]}var Za=function(vt,xt){return vt.getOptionLabel(xt)},za=function(vt,xt){return vt.getOptionValue(xt)};function wo(Be,vt,xt){return typeof Be.isOptionDisabled=="function"?Be.isOptionDisabled(vt,xt):!1}function ca(Be,vt,xt){if(xt.indexOf(vt)>-1)return!0;if(typeof Be.isOptionSelected=="function")return Be.isOptionSelected(vt,xt);var Zt=za(Be,vt);return xt.some(function(He){return za(Be,He)===Zt})}function Uo(Be,vt,xt){return Be.filterOption?Be.filterOption(vt,xt):!0}var ru=function(vt){var xt=vt.hideSelectedOptions,Zt=vt.isMulti;return xt===void 0?Zt:xt},di=1,wi=function(Be){(0,rn.c)(xt,Be);var vt=(0,$n.c)(xt);function xt(Zt){var He;if((0,ii.c)(this,xt),He=vt.call(this,Zt),He.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},He.blockOptionHover=!1,He.isComposing=!1,He.commonProps=void 0,He.initialTouchX=0,He.initialTouchY=0,He.instancePrefix="",He.openAfterFocus=!1,He.scrollToFocusedOptionOnUpdate=!1,He.userIsDragging=void 0,He.controlRef=null,He.getControlRef=function(Qt){He.controlRef=Qt},He.focusedOptionRef=null,He.getFocusedOptionRef=function(Qt){He.focusedOptionRef=Qt},He.menuListRef=null,He.getMenuListRef=function(Qt){He.menuListRef=Qt},He.inputRef=null,He.getInputRef=function(Qt){He.inputRef=Qt},He.focus=He.focusInput,He.blur=He.blurInput,He.onChange=function(Qt,Bn){var ir=He.props,Pr=ir.onChange,Er=ir.name;Bn.name=Er,He.ariaOnChange(Qt,Bn),Pr(Qt,Bn)},He.setValue=function(Qt,Bn,ir){var Pr=He.props,Er=Pr.closeMenuOnSelect,Ti=Pr.isMulti,ji=Pr.inputValue;He.onInputChange("",{action:"set-value",prevInputValue:ji}),Er&&(He.setState({inputIsHiddenAfterUpdate:!Ti}),He.onMenuClose()),He.setState({clearFocusValueOnUpdate:!0}),He.onChange(Qt,{action:Bn,option:ir})},He.selectOption=function(Qt){var Bn=He.props,ir=Bn.blurInputOnSelect,Pr=Bn.isMulti,Er=Bn.name,Ti=He.state.selectValue,ji=Pr&&He.isOptionSelected(Qt,Ti),Wi=He.isOptionDisabled(Qt,Ti);if(ji){var ls=He.getOptionValue(Qt);He.setValue((0,pt.B)(Ti.filter(function(Zi){return He.getOptionValue(Zi)!==ls})),"deselect-option",Qt)}else if(!Wi)Pr?He.setValue((0,pt.B)([].concat(je(Ti),[Qt])),"select-option",Qt):He.setValue((0,pt.C)(Qt),"select-option");else{He.ariaOnChange((0,pt.C)(Qt),{action:"select-option",option:Qt,name:Er});return}ir&&He.blurInput()},He.removeValue=function(Qt){var Bn=He.props.isMulti,ir=He.state.selectValue,Pr=He.getOptionValue(Qt),Er=ir.filter(function(ji){return He.getOptionValue(ji)!==Pr}),Ti=(0,pt.D)(Bn,Er,Er[0]||null);He.onChange(Ti,{action:"remove-value",removedValue:Qt}),He.focusInput()},He.clearValue=function(){var Qt=He.state.selectValue;He.onChange((0,pt.D)(He.props.isMulti,[],null),{action:"clear",removedValues:Qt})},He.popValue=function(){var Qt=He.props.isMulti,Bn=He.state.selectValue,ir=Bn[Bn.length-1],Pr=Bn.slice(0,Bn.length-1),Er=(0,pt.D)(Qt,Pr,Pr[0]||null);He.onChange(Er,{action:"pop-value",removedValue:ir})},He.getValue=function(){return He.state.selectValue},He.cx=function(){for(var Qt=arguments.length,Bn=new Array(Qt),ir=0;ir<Qt;ir++)Bn[ir]=arguments[ir];return pt.E.apply(void 0,[He.props.classNamePrefix].concat(Bn))},He.getOptionLabel=function(Qt){return Za(He.props,Qt)},He.getOptionValue=function(Qt){return za(He.props,Qt)},He.getStyles=function(Qt,Bn){var ir=He.props.unstyled,Pr=Wr[Qt](Bn,ir);Pr.boxSizing="border-box";var Er=He.props.styles[Qt];return Er?Er(Pr,Bn):Pr},He.getClassNames=function(Qt,Bn){var ir,Pr;return(ir=(Pr=He.props.classNames)[Qt])===null||ir===void 0?void 0:ir.call(Pr,Bn)},He.getElementId=function(Qt){return"".concat(He.instancePrefix,"-").concat(Qt)},He.getComponents=function(){return(0,pt.F)(He.props)},He.buildCategorizedOptions=function(){return ni(He.props,He.state.selectValue)},He.getCategorizedOptions=function(){return He.props.menuIsOpen?He.buildCategorizedOptions():[]},He.buildFocusableOptions=function(){return rs(He.buildCategorizedOptions())},He.getFocusableOptions=function(){return He.props.menuIsOpen?He.buildFocusableOptions():[]},He.ariaOnChange=function(Qt,Bn){He.setState({ariaSelection:(0,mn.c)({value:Qt},Bn)})},He.onMenuMouseDown=function(Qt){Qt.button===0&&(Qt.stopPropagation(),Qt.preventDefault(),He.focusInput())},He.onMenuMouseMove=function(Qt){He.blockOptionHover=!1},He.onControlMouseDown=function(Qt){if(!Qt.defaultPrevented){var Bn=He.props.openMenuOnClick;He.state.isFocused?He.props.menuIsOpen?Qt.target.tagName!=="INPUT"&&Qt.target.tagName!=="TEXTAREA"&&He.onMenuClose():Bn&&He.openMenu("first"):(Bn&&(He.openAfterFocus=!0),He.focusInput()),Qt.target.tagName!=="INPUT"&&Qt.target.tagName!=="TEXTAREA"&&Qt.preventDefault()}},He.onDropdownIndicatorMouseDown=function(Qt){if(!(Qt&&Qt.type==="mousedown"&&Qt.button!==0)&&!He.props.isDisabled){var Bn=He.props,ir=Bn.isMulti,Pr=Bn.menuIsOpen;He.focusInput(),Pr?(He.setState({inputIsHiddenAfterUpdate:!ir}),He.onMenuClose()):He.openMenu("first"),Qt.preventDefault()}},He.onClearIndicatorMouseDown=function(Qt){Qt&&Qt.type==="mousedown"&&Qt.button!==0||(He.clearValue(),Qt.preventDefault(),He.openAfterFocus=!1,Qt.type==="touchend"?He.focusInput():setTimeout(function(){return He.focusInput()}))},He.onScroll=function(Qt){typeof He.props.closeMenuOnScroll=="boolean"?Qt.target instanceof HTMLElement&&(0,pt.H)(Qt.target)&&He.props.onMenuClose():typeof He.props.closeMenuOnScroll=="function"&&He.props.closeMenuOnScroll(Qt)&&He.props.onMenuClose()},He.onCompositionStart=function(){He.isComposing=!0},He.onCompositionEnd=function(){He.isComposing=!1},He.onTouchStart=function(Qt){var Bn=Qt.touches,ir=Bn&&Bn.item(0);ir&&(He.initialTouchX=ir.clientX,He.initialTouchY=ir.clientY,He.userIsDragging=!1)},He.onTouchMove=function(Qt){var Bn=Qt.touches,ir=Bn&&Bn.item(0);if(ir){var Pr=Math.abs(ir.clientX-He.initialTouchX),Er=Math.abs(ir.clientY-He.initialTouchY),Ti=5;He.userIsDragging=Pr>Ti||Er>Ti}},He.onTouchEnd=function(Qt){He.userIsDragging||(He.controlRef&&!He.controlRef.contains(Qt.target)&&He.menuListRef&&!He.menuListRef.contains(Qt.target)&&He.blurInput(),He.initialTouchX=0,He.initialTouchY=0)},He.onControlTouchEnd=function(Qt){He.userIsDragging||He.onControlMouseDown(Qt)},He.onClearIndicatorTouchEnd=function(Qt){He.userIsDragging||He.onClearIndicatorMouseDown(Qt)},He.onDropdownIndicatorTouchEnd=function(Qt){He.userIsDragging||He.onDropdownIndicatorMouseDown(Qt)},He.handleInputChange=function(Qt){var Bn=He.props.inputValue,ir=Qt.currentTarget.value;He.setState({inputIsHiddenAfterUpdate:!1}),He.onInputChange(ir,{action:"input-change",prevInputValue:Bn}),He.props.menuIsOpen||He.onMenuOpen()},He.onInputFocus=function(Qt){He.props.onFocus&&He.props.onFocus(Qt),He.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(He.openAfterFocus||He.props.openMenuOnFocus)&&He.openMenu("first"),He.openAfterFocus=!1},He.onInputBlur=function(Qt){var Bn=He.props.inputValue;if(He.menuListRef&&He.menuListRef.contains(document.activeElement)){He.inputRef.focus();return}He.props.onBlur&&He.props.onBlur(Qt),He.onInputChange("",{action:"input-blur",prevInputValue:Bn}),He.onMenuClose(),He.setState({focusedValue:null,isFocused:!1})},He.onOptionHover=function(Qt){He.blockOptionHover||He.state.focusedOption===Qt||He.setState({focusedOption:Qt})},He.shouldHideSelectedOptions=function(){return ru(He.props)},He.onValueInputFocus=function(Qt){Qt.preventDefault(),Qt.stopPropagation(),He.focus()},He.onKeyDown=function(Qt){var Bn=He.props,ir=Bn.isMulti,Pr=Bn.backspaceRemovesValue,Er=Bn.escapeClearsValue,Ti=Bn.inputValue,ji=Bn.isClearable,Wi=Bn.isDisabled,ls=Bn.menuIsOpen,Zi=Bn.onKeyDown,Qs=Bn.tabSelectsValue,Js=Bn.openMenuOnFocus,ks=He.state,Hs=ks.focusedOption,Ka=ks.focusedValue,Ma=ks.selectValue;if(!Wi&&!(typeof Zi=="function"&&(Zi(Qt),Qt.defaultPrevented))){switch(He.blockOptionHover=!0,Qt.key){case"ArrowLeft":if(!ir||Ti)return;He.focusValue("previous");break;case"ArrowRight":if(!ir||Ti)return;He.focusValue("next");break;case"Delete":case"Backspace":if(Ti)return;if(Ka)He.removeValue(Ka);else{if(!Pr)return;ir?He.popValue():ji&&He.clearValue()}break;case"Tab":if(He.isComposing||Qt.shiftKey||!ls||!Qs||!Hs||Js&&He.isOptionSelected(Hs,Ma))return;He.selectOption(Hs);break;case"Enter":if(Qt.keyCode===229)break;if(ls){if(!Hs||He.isComposing)return;He.selectOption(Hs);break}return;case"Escape":ls?(He.setState({inputIsHiddenAfterUpdate:!1}),He.onInputChange("",{action:"menu-close",prevInputValue:Ti}),He.onMenuClose()):ji&&Er&&He.clearValue();break;case" ":if(Ti)return;if(!ls){He.openMenu("first");break}if(!Hs)return;He.selectOption(Hs);break;case"ArrowUp":ls?He.focusOption("up"):He.openMenu("last");break;case"ArrowDown":ls?He.focusOption("down"):He.openMenu("first");break;case"PageUp":if(!ls)return;He.focusOption("pageup");break;case"PageDown":if(!ls)return;He.focusOption("pagedown");break;case"Home":if(!ls)return;He.focusOption("first");break;case"End":if(!ls)return;He.focusOption("last");break;default:return}Qt.preventDefault()}},He.instancePrefix="react-select-"+(He.props.instanceId||++di),He.state.selectValue=(0,pt.I)(Zt.value),Zt.menuIsOpen&&He.state.selectValue.length){var Pn=He.buildFocusableOptions(),Xn=Pn.indexOf(He.state.selectValue[0]);He.state.focusedOption=Pn[Xn]}return He}return(0,Ui.c)(xt,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,pt.J)(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(He){var Pn=this.props,Xn=Pn.isDisabled,Qt=Pn.menuIsOpen,Bn=this.state.isFocused;(Bn&&!Xn&&He.isDisabled||Bn&&Qt&&!He.menuIsOpen)&&this.focusInput(),Bn&&Xn&&!He.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!Bn&&!Xn&&He.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,pt.J)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(He,Pn){this.props.onInputChange(He,Pn)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(He){var Pn=this,Xn=this.state,Qt=Xn.selectValue,Bn=Xn.isFocused,ir=this.buildFocusableOptions(),Pr=He==="first"?0:ir.length-1;if(!this.props.isMulti){var Er=ir.indexOf(Qt[0]);Er>-1&&(Pr=Er)}this.scrollToFocusedOptionOnUpdate=!(Bn&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:ir[Pr]},function(){return Pn.onMenuOpen()})}},{key:"focusValue",value:function(He){var Pn=this.state,Xn=Pn.selectValue,Qt=Pn.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var Bn=Xn.indexOf(Qt);Qt||(Bn=-1);var ir=Xn.length-1,Pr=-1;if(Xn.length){switch(He){case"previous":Bn===0?Pr=0:Bn===-1?Pr=ir:Pr=Bn-1;break;case"next":Bn>-1&&Bn<ir&&(Pr=Bn+1);break}this.setState({inputIsHidden:Pr!==-1,focusedValue:Xn[Pr]})}}}},{key:"focusOption",value:function(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",Pn=this.props.pageSize,Xn=this.state.focusedOption,Qt=this.getFocusableOptions();if(Qt.length){var Bn=0,ir=Qt.indexOf(Xn);Xn||(ir=-1),He==="up"?Bn=ir>0?ir-1:Qt.length-1:He==="down"?Bn=(ir+1)%Qt.length:He==="pageup"?(Bn=ir-Pn,Bn<0&&(Bn=0)):He==="pagedown"?(Bn=ir+Pn,Bn>Qt.length-1&&(Bn=Qt.length-1)):He==="last"&&(Bn=Qt.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:Qt[Bn],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Nr):(0,mn.c)((0,mn.c)({},Nr),this.props.theme):Nr}},{key:"getCommonProps",value:function(){var He=this.clearValue,Pn=this.cx,Xn=this.getStyles,Qt=this.getClassNames,Bn=this.getValue,ir=this.selectOption,Pr=this.setValue,Er=this.props,Ti=Er.isMulti,ji=Er.isRtl,Wi=Er.options,ls=this.hasValue();return{clearValue:He,cx:Pn,getStyles:Xn,getClassNames:Qt,getValue:Bn,hasValue:ls,isMulti:Ti,isRtl:ji,options:Wi,selectOption:ir,selectProps:Er,setValue:Pr,theme:this.getTheme()}}},{key:"hasValue",value:function(){var He=this.state.selectValue;return He.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var He=this.props,Pn=He.isClearable,Xn=He.isMulti;return Pn===void 0?Xn:Pn}},{key:"isOptionDisabled",value:function(He,Pn){return wo(this.props,He,Pn)}},{key:"isOptionSelected",value:function(He,Pn){return ca(this.props,He,Pn)}},{key:"filterOption",value:function(He,Pn){return Uo(this.props,He,Pn)}},{key:"formatOptionLabel",value:function(He,Pn){if(typeof this.props.formatOptionLabel=="function"){var Xn=this.props.inputValue,Qt=this.state.selectValue;return this.props.formatOptionLabel(He,{context:Pn,inputValue:Xn,selectValue:Qt})}else return this.getOptionLabel(He)}},{key:"formatGroupLabel",value:function(He){return this.props.formatGroupLabel(He)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var He=this.props,Pn=He.isDisabled,Xn=He.isSearchable,Qt=He.inputId,Bn=He.inputValue,ir=He.tabIndex,Pr=He.form,Er=He.menuIsOpen,Ti=He.required,ji=this.getComponents(),Wi=ji.Input,ls=this.state,Zi=ls.inputIsHidden,Qs=ls.ariaSelection,Js=this.commonProps,ks=Qt||this.getElementId("input"),Hs=(0,mn.c)((0,mn.c)((0,mn.c)({"aria-autocomplete":"list","aria-expanded":Er,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":Ti,role:"combobox"},Er&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!Xn&&{"aria-readonly":!0}),this.hasValue()?Qs?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return Xn?ce.createElement(Wi,(0,Or.c)({},Js,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:ks,innerRef:this.getInputRef,isDisabled:Pn,isHidden:Zi,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:ir,form:Pr,type:"text",value:Bn},Hs)):ce.createElement(Xr,(0,Or.c)({id:ks,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:pt.K,onFocus:this.onInputFocus,disabled:Pn,tabIndex:ir,inputMode:"none",form:Pr,value:""},Hs))}},{key:"renderPlaceholderOrValue",value:function(){var He=this,Pn=this.getComponents(),Xn=Pn.MultiValue,Qt=Pn.MultiValueContainer,Bn=Pn.MultiValueLabel,ir=Pn.MultiValueRemove,Pr=Pn.SingleValue,Er=Pn.Placeholder,Ti=this.commonProps,ji=this.props,Wi=ji.controlShouldRenderValue,ls=ji.isDisabled,Zi=ji.isMulti,Qs=ji.inputValue,Js=ji.placeholder,ks=this.state,Hs=ks.selectValue,Ka=ks.focusedValue,Ma=ks.isFocused;if(!this.hasValue()||!Wi)return Qs?null:ce.createElement(Er,(0,Or.c)({},Ti,{key:"placeholder",isDisabled:ls,isFocused:Ma,innerProps:{id:this.getElementId("placeholder")}}),Js);if(Zi)return Hs.map(function(ho,Bo){var Hu=ho===Ka,Fo="".concat(He.getOptionLabel(ho),"-").concat(He.getOptionValue(ho));return ce.createElement(Xn,(0,Or.c)({},Ti,{components:{Container:Qt,Label:Bn,Remove:ir},isFocused:Hu,isDisabled:ls,key:Fo,index:Bo,removeProps:{onClick:function(){return He.removeValue(ho)},onTouchEnd:function(){return He.removeValue(ho)},onMouseDown:function(Na){Na.preventDefault()}},data:ho}),He.formatOptionLabel(ho,"value"))});if(Qs)return null;var no=Hs[0];return ce.createElement(Pr,(0,Or.c)({},Ti,{data:no,isDisabled:ls}),this.formatOptionLabel(no,"value"))}},{key:"renderClearIndicator",value:function(){var He=this.getComponents(),Pn=He.ClearIndicator,Xn=this.commonProps,Qt=this.props,Bn=Qt.isDisabled,ir=Qt.isLoading,Pr=this.state.isFocused;if(!this.isClearable()||!Pn||Bn||!this.hasValue()||ir)return null;var Er={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ce.createElement(Pn,(0,Or.c)({},Xn,{innerProps:Er,isFocused:Pr}))}},{key:"renderLoadingIndicator",value:function(){var He=this.getComponents(),Pn=He.LoadingIndicator,Xn=this.commonProps,Qt=this.props,Bn=Qt.isDisabled,ir=Qt.isLoading,Pr=this.state.isFocused;if(!Pn||!ir)return null;var Er={"aria-hidden":"true"};return ce.createElement(Pn,(0,Or.c)({},Xn,{innerProps:Er,isDisabled:Bn,isFocused:Pr}))}},{key:"renderIndicatorSeparator",value:function(){var He=this.getComponents(),Pn=He.DropdownIndicator,Xn=He.IndicatorSeparator;if(!Pn||!Xn)return null;var Qt=this.commonProps,Bn=this.props.isDisabled,ir=this.state.isFocused;return ce.createElement(Xn,(0,Or.c)({},Qt,{isDisabled:Bn,isFocused:ir}))}},{key:"renderDropdownIndicator",value:function(){var He=this.getComponents(),Pn=He.DropdownIndicator;if(!Pn)return null;var Xn=this.commonProps,Qt=this.props.isDisabled,Bn=this.state.isFocused,ir={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ce.createElement(Pn,(0,Or.c)({},Xn,{innerProps:ir,isDisabled:Qt,isFocused:Bn}))}},{key:"renderMenu",value:function(){var He=this,Pn=this.getComponents(),Xn=Pn.Group,Qt=Pn.GroupHeading,Bn=Pn.Menu,ir=Pn.MenuList,Pr=Pn.MenuPortal,Er=Pn.LoadingMessage,Ti=Pn.NoOptionsMessage,ji=Pn.Option,Wi=this.commonProps,ls=this.state.focusedOption,Zi=this.props,Qs=Zi.captureMenuScroll,Js=Zi.inputValue,ks=Zi.isLoading,Hs=Zi.loadingMessage,Ka=Zi.minMenuHeight,Ma=Zi.maxMenuHeight,no=Zi.menuIsOpen,ho=Zi.menuPlacement,Bo=Zi.menuPosition,Hu=Zi.menuPortalTarget,Fo=Zi.menuShouldBlockScroll,Ya=Zi.menuShouldScrollIntoView,Na=Zi.noOptionsMessage,ti=Zi.onMenuScrollToTop,ra=Zi.onMenuScrollToBottom;if(!no)return null;var Ua=function(_u,zs){var Ju=_u.type,Vo=_u.data,Ao=_u.isDisabled,ku=_u.isSelected,x0=_u.label,Ar=_u.value,yu=ls===Vo,Zd=Ao?void 0:function(){return He.onOptionHover(Vo)},Rl=Ao?void 0:function(){return He.selectOption(Vo)},F0="".concat(He.getElementId("option"),"-").concat(zs),Md={id:F0,onClick:Rl,onMouseMove:Zd,onMouseOver:Zd,tabIndex:-1};return ce.createElement(ji,(0,Or.c)({},Wi,{innerProps:Md,data:Vo,isDisabled:Ao,isSelected:ku,key:F0,label:x0,type:Ju,value:Ar,isFocused:yu,innerRef:yu?He.getFocusedOptionRef:void 0}),He.formatOptionLabel(_u.data,"menu"))},fl;if(this.hasOptions())fl=this.getCategorizedOptions().map(function(sl){if(sl.type==="group"){var _u=sl.data,zs=sl.options,Ju=sl.index,Vo="".concat(He.getElementId("group"),"-").concat(Ju),Ao="".concat(Vo,"-heading");return ce.createElement(Xn,(0,Or.c)({},Wi,{key:Vo,data:_u,options:zs,Heading:Qt,headingProps:{id:Ao,data:sl.data},label:He.formatGroupLabel(sl.data)}),sl.options.map(function(ku){return Ua(ku,"".concat(Ju,"-").concat(ku.index))}))}else if(sl.type==="option")return Ua(sl,"".concat(sl.index))});else if(ks){var Ol=Hs({inputValue:Js});if(Ol===null)return null;fl=ce.createElement(Er,Wi,Ol)}else{var Ba=Na({inputValue:Js});if(Ba===null)return null;fl=ce.createElement(Ti,Wi,Ba)}var mc={minMenuHeight:Ka,maxMenuHeight:Ma,menuPlacement:ho,menuPosition:Bo,menuShouldScrollIntoView:Ya},Hc=ce.createElement(pt.M,(0,Or.c)({},Wi,mc),function(sl){var _u=sl.ref,zs=sl.placerProps,Ju=zs.placement,Vo=zs.maxHeight;return ce.createElement(Bn,(0,Or.c)({},Wi,mc,{innerRef:_u,innerProps:{onMouseDown:He.onMenuMouseDown,onMouseMove:He.onMenuMouseMove,id:He.getElementId("listbox")},isLoading:ks,placement:Ju}),ce.createElement(sr,{captureEnabled:Qs,onTopArrive:ti,onBottomArrive:ra,lockEnabled:Fo},function(Ao){return ce.createElement(ir,(0,Or.c)({},Wi,{innerRef:function(x0){He.getMenuListRef(x0),Ao(x0)},isLoading:ks,maxHeight:Vo,focusedOption:ls}),fl)}))});return Hu||Bo==="fixed"?ce.createElement(Pr,(0,Or.c)({},Wi,{appendTo:Hu,controlElement:this.controlRef,menuPlacement:ho,menuPosition:Bo}),Hc):Hc}},{key:"renderFormField",value:function(){var He=this,Pn=this.props,Xn=Pn.delimiter,Qt=Pn.isDisabled,Bn=Pn.isMulti,ir=Pn.name,Pr=Pn.required,Er=this.state.selectValue;if(!(!ir||Qt)){if(Pr&&!this.hasValue())return ce.createElement(xr,{name:ir,onFocus:this.onValueInputFocus});if(Bn)if(Xn){var Ti=Er.map(function(ls){return He.getOptionValue(ls)}).join(Xn);return ce.createElement("input",{name:ir,type:"hidden",value:Ti})}else{var ji=Er.length>0?Er.map(function(ls,Zi){return ce.createElement("input",{key:"i-".concat(Zi),name:ir,type:"hidden",value:He.getOptionValue(ls)})}):ce.createElement("input",{name:ir,type:"hidden",value:""});return ce.createElement("div",null,ji)}else{var Wi=Er[0]?this.getOptionValue(Er[0]):"";return ce.createElement("input",{name:ir,type:"hidden",value:Wi})}}}},{key:"renderLiveRegion",value:function(){var He=this.commonProps,Pn=this.state,Xn=Pn.ariaSelection,Qt=Pn.focusedOption,Bn=Pn.focusedValue,ir=Pn.isFocused,Pr=Pn.selectValue,Er=this.getFocusableOptions();return ce.createElement(Tt,(0,Or.c)({},He,{id:this.getElementId("live-region"),ariaSelection:Xn,focusedOption:Qt,focusedValue:Bn,isFocused:ir,selectValue:Pr,focusableOptions:Er}))}},{key:"render",value:function(){var He=this.getComponents(),Pn=He.Control,Xn=He.IndicatorsContainer,Qt=He.SelectContainer,Bn=He.ValueContainer,ir=this.props,Pr=ir.className,Er=ir.id,Ti=ir.isDisabled,ji=ir.menuIsOpen,Wi=this.state.isFocused,ls=this.commonProps=this.getCommonProps();return ce.createElement(Qt,(0,Or.c)({},ls,{className:Pr,innerProps:{id:Er,onKeyDown:this.onKeyDown},isDisabled:Ti,isFocused:Wi}),this.renderLiveRegion(),ce.createElement(Pn,(0,Or.c)({},ls,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:Ti,isFocused:Wi,menuIsOpen:ji}),ce.createElement(Bn,(0,Or.c)({},ls,{isDisabled:Ti}),this.renderPlaceholderOrValue(),this.renderInput()),ce.createElement(Xn,(0,Or.c)({},ls,{isDisabled:Ti}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(He,Pn){var Xn=Pn.prevProps,Qt=Pn.clearFocusValueOnUpdate,Bn=Pn.inputIsHiddenAfterUpdate,ir=Pn.ariaSelection,Pr=Pn.isFocused,Er=Pn.prevWasFocused,Ti=He.options,ji=He.value,Wi=He.menuIsOpen,ls=He.inputValue,Zi=He.isMulti,Qs=(0,pt.I)(ji),Js={};if(Xn&&(ji!==Xn.value||Ti!==Xn.options||Wi!==Xn.menuIsOpen||ls!==Xn.inputValue)){var ks=Wi?Qi(He,Qs):[],Hs=Qt?as(Pn,Qs):null,Ka=bs(Pn,ks);Js={selectValue:Qs,focusedOption:Ka,focusedValue:Hs,clearFocusValueOnUpdate:!1}}var Ma=Bn!=null&&He!==Xn?{inputIsHidden:Bn,inputIsHiddenAfterUpdate:void 0}:{},no=ir,ho=Pr&&Er;return Pr&&!ho&&(no={value:(0,pt.D)(Zi,Qs,Qs[0]||null),options:Qs,action:"initial-input-focus"},ho=!Er),ir?.action==="initial-input-focus"&&(no=null),(0,mn.c)((0,mn.c)((0,mn.c)({},Js),Ma),{},{prevProps:He,ariaSelection:no,prevWasFocused:ho})}}]),xt}(ce.Component);wi.defaultProps=Mi;var dr=e(27952),hi=e(19632),Si=e(83056),Di=(0,ce.forwardRef)(function(Be,vt){var xt=Ur(Be);return ce.createElement(wi,(0,Or.c)({ref:vt},xt))}),Xi=function(Be){var vt=Be.nonce,xt=Be.children,Zt=Be.cacheKey,He=useMemo(function(){return createCache({key:Zt,nonce:vt})},[Zt,vt]);return React.createElement(CacheProvider,{value:He},xt)};const zi=Di;var os=e(15744),js=e(57584),hs=e(88420);function Vi(Be){return(0,hs.c)(1,arguments),(0,js.c)(Be).getTime()<Date.now()}var ns=e(21424),fs=e(85676),Ks=e(38955),ma=e(68619),da=e(936);const Da=({content:Be={id:"anErrorOccurred",defaultMessage:"Woops! Something went wrong. Please, try again.",values:{}},...vt})=>{const{formatMessage:xt}=(0,oe.c)();return(0,i.jsx)(a.S,{...vt,icon:(0,i.jsx)(dt.c,{width:"10rem"}),content:xt({id:Be.id,defaultMessage:Be.defaultMessage},Be.values)})},Ys=Be=>{const vt=ce.useRef(Be);return ce.useEffect(()=>{vt.current=Be}),ce.useMemo(()=>(...xt)=>vt.current?.(...xt),[])},Xa=ce.createContext({toggleNotification:()=>{}}),Po=({children:Be})=>{const vt=ce.useRef(0),[xt,Zt]=ce.useState([]),He=ce.useCallback(({type:Qt,message:Bn,link:ir,timeout:Pr,blockTransition:Er,onClose:Ti,title:ji})=>{Zt(Wi=>[...Wi,{id:vt.current++,type:Qt,message:Bn,link:ir,timeout:Pr,blockTransition:Er,onClose:Ti,title:ji}])},[]),Pn=ce.useCallback(Qt=>{Zt(Bn=>Bn.filter(ir=>ir.id!==Qt))},[]),Xn=ce.useMemo(()=>({toggleNotification:He}),[He]);return(0,i.jsxs)(Xa.Provider,{value:Xn,children:[(0,i.jsx)(l.C,{left:"50%",marginLeft:"-250px",position:"fixed",direction:"column",alignItems:"stretch",gap:2,top:`${46/16}rem`,width:`${500/16}rem`,zIndex:10,children:xt.map(Qt=>(0,i.jsx)(co,{...Qt,clearNotification:Pn},Qt.id))}),Be]})},co=({clearNotification:Be,blockTransition:vt=!1,id:xt,link:Zt,message:He={id:"notification.success.saved",defaultMessage:"Saved"},onClose:Pn,timeout:Xn=2500,title:Qt,type:Bn})=>{const{formatMessage:ir}=(0,oe.c)(),Pr=Ys(Pn),Er=ce.useCallback(()=>{Pr(),Be(xt)},[Be,xt,Pr]);ce.useEffect(()=>{if(!vt){const Wi=setTimeout(()=>{Er()},Xn);return()=>{clearTimeout(Wi)}}},[vt,Er,Xn]);let Ti,ji;return Bn==="info"?(Ti="default",ji=ir({id:"notification.default.title",defaultMessage:"Information:"})):Bn==="warning"?(Ti="danger",ji=ir({id:"notification.warning.title",defaultMessage:"Warning:"})):Bn==="softWarning"?(Ti="warning",ji=ir({id:"notification.warning.title",defaultMessage:"Warning:"})):(Ti="success",ji=ir({id:"notification.success.title",defaultMessage:"Success:"})),Qt&&(ji=typeof Qt=="string"?Qt:ir({id:Qt.id,defaultMessage:Qt.defaultMessage??Qt.id},Qt.values)),(0,i.jsx)(c._,{action:Zt?(0,i.jsx)(xe.c,{href:Zt.url,isExternal:!0,children:ir({id:typeof Zt.label=="object"?Zt.label.id:Zt.label,defaultMessage:typeof Zt.label=="object"?Zt.label.defaultMessage??Zt.label.id:Zt.label})}):void 0,onClose:Er,closeLabel:ir({id:"global.close",defaultMessage:"Close"}),title:ji,variant:Ti,children:ir({id:typeof He=="object"?He.id:He,defaultMessage:typeof He=="object"?He.defaultMessage??He.id:He},typeof He=="object"?He.values:void 0)})};/**
 * @preserve
 * @description Returns an object to interact with the notification
 * system. The callbacks are wrapped in `useCallback` for a stable
 * identity.
 *
 * @example
 * ```tsx
 * import { useNotification } from '@strapi/helper-plugin';
 *
 * const MyComponent = () => {
 *  const toggleNotification = useNotification();
 *
 *  return <button onClick={() => toggleNotification({ message: 'Hello world!' })}>Click me</button>;
 */const el=()=>ce.useContext(Xa).toggleNotification,Yo=ce.createContext({allPermissions:[],refetchPermissions:async()=>{throw new Error("RBACContext: refetchPermissions() not implemented")}}),Ou=null,Ha=()=>ce.useContext(Yo),Jo="jwtToken",qo="userInfo",tl="GUIDED_TOUR_CURRENT_STEP",Nu="GUIDED_TOUR_COMPLETED_STEPS",Kl="GUIDED_TOUR_SKIPPED",ke="STRAPI_THEME",Ie="STRAPI_UPLOAD_MODAL_VIEW",Wt="STRAPI_UPLOAD_LIBRARY_VIEW",Nn={clear(Be){return localStorage.getItem(Be)?localStorage.removeItem(Be):sessionStorage.getItem(Be)?sessionStorage.removeItem(Be):null},clearAppStorage(){if(localStorage){const Be=Nn.get("videos"),vt=Nn.get("onboarding"),xt=Nn.get("STRAPI_UPDATE_NOTIF"),Zt=localStorage.getItem("strapi-admin-language"),He=Nn.get(tl),Pn=Nn.get(Nu),Xn=Nn.get(Kl),Qt=Nn.get(ke),Bn=Nn.get(Wt),ir=Nn.get(Ie);localStorage.clear(),localStorage.setItem("videos",JSON.stringify(Be)),localStorage.setItem(tl,JSON.stringify(He)),localStorage.setItem(Nu,JSON.stringify(Pn)),localStorage.setItem(Kl,JSON.stringify(Xn)),localStorage.setItem("STRAPI_UPDATE_NOTIF",JSON.stringify(xt)),vt&&localStorage.setItem("onboarding",JSON.stringify(vt)),Zt&&localStorage.setItem("strapi-admin-language",Zt),Qt&&localStorage.setItem(ke,Qt),Ct(Bn)||localStorage.setItem(Wt,JSON.stringify(Bn)),Ct(ir)||localStorage.setItem(Ie,JSON.stringify(ir))}sessionStorage.clear()},get(Be){const vt=localStorage.getItem(Be)??sessionStorage.getItem(Be);if(vt)try{return JSON.parse(vt)}catch{return vt}return null},set(Be,vt,xt){return Nt(Be)?null:xt?localStorage.setItem(vt,JSON.stringify(Be)):sessionStorage.setItem(vt,JSON.stringify(Be))},clearToken(Be=Jo){Nn.clear(Be)},clearUserInfo(Be=qo){return Nn.clear(Be)},getToken(Be=Jo){return Nn.get(Be)},getUserInfo(Be=qo){return Nn.get(Be)},setToken(Be="",vt=!1,xt=Jo){Nn.set(Be,xt,vt)},setUserInfo(Be,vt=!1,xt=qo){Nn.set(Be,xt,vt)},updateToken(Be=""){const vt=Boolean(localStorage.getItem(Jo));Nn.setToken(Be,vt)}},bi=(()=>{const Be=We.default.create({headers:{Accept:"application/json","Content-Type":"application/json"},paramsSerializer:vt=>gt.stringify(vt,{encode:!1})});return Be.interceptors.request.use(async vt=>(vt.headers.Authorization=`Bearer ${Nn.getToken()}`,vt),vt=>Promise.reject(vt)),Be.interceptors.response.use(vt=>vt,vt=>{throw vt?.response?.status===401&&(Nn.clearAppStorage(),window.location.reload()),vt}),Be})(),Cs=Be=>Be.charAt(0)!=="/"?`/${Be}`:Be,Bs=Be=>new RegExp("^(?:[a-z+]+:)?//","i").test(Be),Xs=Be=>Bs(Be)?Be:Cs(Be),_a=(Be={})=>(bi.defaults.baseURL=window.strapi.backendURL,{get:(vt,xt)=>bi.get(Xs(vt),{...Be,...xt}),put:(vt,xt,Zt)=>bi.put(Xs(vt),xt,{...Be,...Zt}),post:(vt,xt,Zt)=>bi.post(Xs(vt),xt,{...Be,...Zt}),del:(vt,xt)=>bi.delete(Xs(vt),{...Be,...xt})}),ga=(Be,vt)=>Be.reduce((xt,Zt)=>(vt.find(Pn=>Pn.action===Zt.action&&Pn.subject===Zt.subject)&&xt.push(Zt),xt),[]),Vs=Be=>Be.map(vt=>{if(!vt.action)return{};const xt={action:vt.action};return vt.subject&&(xt.subject=vt.subject),xt}),Va=Be=>Be.length>0&&Be.every(vt=>Array.isArray(vt.conditions)&&vt.conditions.length>0),io=async(Be,vt,xt)=>{if(!vt||!vt.length)return!0;const Zt=ga(Be,vt);if(Va(Zt)){let He=!1;try{const{data:{data:Pn}}=await _a().post("/admin/permissions/check",{permissions:Vs(Zt)},{signal:xt});He=Pn.every(Xn=>Xn===!0)}catch(Pn){console.error("Error while checking permissions",Pn)}return He}return Zt.length>0},ya=(0,Le.cp)(l.C)`
  height: 100vh;
`,oo=({children:Be="Loading content.","data-testid":vt="loader"})=>(0,i.jsx)(ya,{justifyContent:"space-around","data-testid":vt,children:(0,i.jsx)(v.c,{children:Be})}),ka=({permissions:Be=[],children:vt})=>{const{allPermissions:xt}=Ha(),Zt=el(),{data:He,isLoading:Pn}=(0,Ye.useQuery)(["checkPagePermissions",Be,xt],()=>io(xt,Be),{onError:()=>{Zt({type:"warning",message:{id:"notification.error"}})}});return Pn?(0,i.jsx)(oo,{}):He===!1?(0,i.jsx)(Et.YJ,{to:"/"}):(0,i.jsx)(i.Fragment,{children:vt})},Su=({permissions:Be=[],children:vt})=>{const{allPermissions:xt}=Ha(),Zt=el(),[He,Pn]=ce.useState({isLoading:!0,canAccess:!1}),Xn=ce.useRef(!0),Qt=new AbortController,{signal:Bn}=Qt;return ce.useEffect(()=>((async()=>{try{Pn({isLoading:!0,canAccess:!1});const Pr=await io(xt||[],Be,Bn);Xn.current&&Pn({isLoading:!1,canAccess:Pr})}catch(Pr){Xn.current&&(console.error(Pr),Zt?.({type:"warning",message:{id:"notification.error"}}),Pn({isLoading:!1,canAccess:!1}))}})(),()=>{Qt.abort()}),[Be]),ce.useEffect(()=>()=>{Xn.current=!1},[]),He.isLoading||!He.canAccess?null:(0,i.jsx)(i.Fragment,{children:vt})},Ru=({children:Be,iconRightButton:vt,isConfirmButtonLoading:xt=!1,isOpen:Zt,onConfirm:He,onToggleDialog:Pn,leftButtonText:Xn={id:"app.components.Button.cancel",defaultMessage:"Cancel"},rightButtonText:Qt={id:"app.components.Button.confirm",defaultMessage:"Confirm"},title:Bn={id:"app.components.ConfirmDialog.title",defaultMessage:"Confirmation"},variantRightButton:ir="danger-light",...Pr})=>{const{formatMessage:Er}=(0,oe.c)();return(0,i.jsxs)(_.C,{onClose:Pn,title:Er({id:Bn.id,defaultMessage:Bn.defaultMessage}),isOpen:Zt,id:"confirmation",...Pr,children:[(0,i.jsx)(T.k,{id:"confirm-description",children:Be}),(0,i.jsx)(Yl,{iconRightButton:vt,isConfirmButtonLoading:xt,leftButtonText:Xn,onConfirm:He,onToggleDialog:Pn,rightButtonText:Qt,variantRightButton:ir})]})},Ko=({iconBody:Be=(0,i.jsx)(dt.c,{}),children:vt})=>(0,i.jsx)(A.a,{icon:Be,children:(0,i.jsx)(l.C,{direction:"column",alignItems:"stretch",gap:2,children:(0,i.jsx)(l.C,{justifyContent:"center",children:vt})})}),Yl=({iconRightButton:Be=(0,i.jsx)(Ln.c,{}),isConfirmButtonLoading:vt,leftButtonText:xt,onConfirm:Zt,onToggleDialog:He,rightButtonText:Pn,variantRightButton:Xn})=>{const{formatMessage:Qt}=(0,oe.c)();return(0,i.jsx)(R.K,{startAction:(0,i.jsx)(P.Z,{onClick:He,variant:"tertiary",children:Qt({id:xt.id,defaultMessage:xt.defaultMessage})}),endAction:(0,i.jsx)(P.Z,{onClick:Zt,variant:Xn,startIcon:Be,id:"confirm-delete",loading:vt,children:Qt({id:Pn.id,defaultMessage:Pn.defaultMessage})})})},gu=({bodyText:Be={id:"components.popUpWarning.message",defaultMessage:"Are you sure you want to delete this?"},...vt})=>{const{formatMessage:xt}=(0,oe.c)();return(0,i.jsx)(Ru,{...vt,children:(0,i.jsx)(Ko,{children:(0,i.jsx)(M.O,{variant:"omega",children:xt({id:Be.id,defaultMessage:Be.defaultMessage})})})})};gu.Root=Ru,gu.Body=Ko;const Ul=(0,Le.cp)(l.C)`
  margin-right: ${({theme:Be})=>Be.spaces[6]};

  svg {
    width: ${32/16}rem;
    height: ${32/16}rem;
  }
`,Vc=(0,Le.cp)(M.O)`
  word-break: break-all;
`,ll=({title:Be,subtitle:vt,icon:xt,iconBackground:Zt,endAction:He,titleEllipsis:Pn=!1})=>(Be&&Be.length>70&&Pn&&(Be=`${Be.substring(0,70)}...`),(0,i.jsxs)(l.C,{shadow:"tableShadow",hasRadius:!0,padding:6,background:"neutral0",children:[(0,i.jsx)(Ul,{background:Zt,hasRadius:!0,padding:3,children:xt}),(0,i.jsxs)(l.C,{direction:"column",alignItems:"stretch",gap:He?0:1,children:[(0,i.jsxs)(l.C,{children:[(0,i.jsx)(Vc,{fontWeight:"semiBold",variant:"pi",children:Be}),He]}),(0,i.jsx)(M.O,{textColor:"neutral600",children:vt})]})]})),Kc="[@strapi/helper-plugin]:",wu=Be=>{const vt=Be;let xt=!1;if(typeof vt!="function")throw new TypeError(`${Kc} once requires a function parameter`);return(...Zt)=>{xt||(vt(...Zt),xt=!0)}},Yc=wu(console.warn),S0=Be=>(Yc(`
      Deprecation warning: Usage of "DateTimePicker" component from the helper-plugin is deprecated and will be removed in the next major release. Instead, use the DateTimePicker from the Design System: import { DateTimePicker } from '@strapi/design-system';"
    `),jsx(DateTimePicker,{...Be})),bc=ce.createContext({}),T0=({children:Be,autoReload:vt,communityEdition:xt,currentEnvironment:Zt,dependencies:He,latestStrapiReleaseTag:Pn,nodeVersion:Xn,projectId:Qt,setUserDisplayName:Bn,shouldUpdateStrapi:ir,strapiVersion:Pr,useYarn:Er,userDisplayName:Ti,userId:ji})=>{const Wi=ce.useMemo(()=>({autoReload:vt,communityEdition:xt,currentEnvironment:Zt,dependencies:He,latestStrapiReleaseTag:Pn,nodeVersion:Xn,projectId:Qt,setUserDisplayName:Bn,shouldUpdateStrapi:ir,strapiVersion:Pr,useYarn:Er,userDisplayName:Ti,userId:ji}),[vt,xt,Zt,He,Pn,Xn,Qt,Bn,ir,Pr,Er,Ti,ji]);return(0,i.jsx)(bc.Provider,{value:Wi,children:Be})},N0=()=>ce.useContext(bc);/**
 * @preserve
 * @deprecated use useAppInfo instead
 */const P0=null;/**
 * @preserve
 * @deprecated use AppInfoProvider instead
 */const Ql=null;/**
 * @preserve
 * @deprecated use AppInfoContext instead
 */const Qc=null,zn=ce.createContext({uuid:!1}),Kr=({value:Be={uuid:!1},children:vt})=>{const xt=ce.useMemo(()=>Be,[Be]);return(0,i.jsx)(zn.Provider,{value:xt,children:vt})},gn=()=>{const{uuid:Be,telemetryProperties:vt,deviceId:xt}=ce.useContext(zn),He=N0()?.userId;return{trackUsage:ce.useCallback(async(Xn,Qt)=>{try{if(Be&&!window.strapi.telemetryDisabled)return await We.default.post("https://analytics.strapi.io/api/v2/track",{event:Xn,userId:He,deviceId:xt,eventProperties:{...Qt},userProperties:{},groupProperties:{...vt,projectId:Be,projectType:window.strapi.projectType}},{headers:{"Content-Type":"application/json","X-Strapi-Event":Xn}})}catch{}return null},[xt,vt,He,Be])}},tr=Be=>{const{search:vt}=(0,Et.IT)(),{push:xt}=(0,Et.Uz)(),Zt=(0,ce.useMemo)(()=>{const Pn=vt.substring(1);return!vt&&Be?Be:(0,gt.parse)(Pn)},[vt,Be]),He=(0,ce.useCallback)((Pn,Xn="push")=>{let Qt={...Zt};Xn==="remove"?Object.keys(Pn).forEach(Bn=>{Object.prototype.hasOwnProperty.call(Qt,Bn)&&delete Qt[Bn]}):Qt={...Zt,...Pn},xt({search:(0,gt.stringify)(Qt,{encode:!1})})},[xt,Zt]);return[{query:Zt,rawQuery:vt},He]},st={isUp:!0},si=(0,Le.cp)(fn.c).withConfig({shouldForwardProp:(Be,vt)=>!st[Be]&&vt(Be)})`
  transform: ${({isUp:Be=!1})=>`rotate(${Be?"180":"0"}deg)`};
`,Yi={document:cr.c,media:wr.c,permissions:Jn.c},Ri=({action:Be,content:vt={id:"app.components.EmptyStateLayout.content-document",defaultMessage:"No content found"},hasRadius:xt=!0,icon:Zt="document",shadow:He="tableShadow"})=>{const Pn=Yi[Zt],{formatMessage:Xn}=(0,oe.c)();return(0,i.jsx)(a.S,{action:Be,content:Xn({id:vt.id,defaultMessage:vt.defaultMessage},vt.values),hasRadius:xt,icon:(0,i.jsx)(Pn,{width:"10rem"}),shadow:He})},ta=({colSpan:Be,isLoading:vt=!1,...xt})=>vt?(0,i.jsx)(O.K,{children:(0,i.jsx)(N.Tr,{children:(0,i.jsx)(B.Td,{colSpan:Be,children:(0,i.jsx)(l.C,{justifyContent:"center",children:(0,i.jsx)(T.k,{padding:11,background:"neutral0",children:(0,i.jsx)(v.c,{children:"Loading content..."})})})})})}):(0,i.jsx)(O.K,{children:(0,i.jsx)(N.Tr,{children:(0,i.jsx)(B.Td,{colSpan:Be,children:(0,i.jsx)(Ri,{...xt,hasRadius:!1})})})}),fa=({action:Be,children:vt,contentType:xt,components:Zt,footer:He,headers:Pn=[],isLoading:Xn=!1,onConfirmDeleteAll:Qt,onConfirmDelete:Bn,rows:ir=[],withBulkActions:Pr=!1,withMainAction:Er=!1,renderBulkActionsBar:Ti,...ji})=>{const[Wi,ls]=ce.useState([]),[Zi,Qs]=ce.useState(!1),[Js,ks]=ce.useState(!1),[Hs,Ka]=ce.useState(!1),[{query:Ma}]=tr(),{formatMessage:no}=(0,oe.c)(),{trackUsage:ho}=gn(),Bo=ir.length+1,Hu=Pn.length+(Pr?1:0)+(Er?1:0),Fo=Ma?.filters!==void 0,Ya=Wi.length===ir.length&&ir.length>0,Na=Fo?{id:"content-manager.components.TableEmpty.withFilters",defaultMessage:"There are no {contentType} with the applied filters...",values:{contentType:xt}}:void 0,ti=async()=>{try{Ka(!0),await Qt?.(Wi),fl(),ls([]),Ka(!1)}catch{Ka(!1),fl()}},ra=async()=>{try{Ka(!0),await Bn?.(Wi[0]),Ol(),Ka(!1)}catch{Ka(!1),Ol()}},Ua=()=>{ls(Ya?[]:ir.map(zs=>zs.id))},fl=()=>{Zi||ho("willBulkDeleteEntries"),Qs(zs=>!zs)},Ol=()=>{Js&&ls([]),ks(zs=>!zs)},Ba=zs=>{ls([zs]),Ol()},mc=({name:zs,value:Ju})=>{ls(Vo=>Ju?Vo.concat(zs):Vo.filter(Ao=>Ao!==zs))},Hc=()=>{ls([])},sl=Zt?.ConfirmDialogDeleteAll?Zt.ConfirmDialogDeleteAll:gu,_u=Zt?.ConfirmDialogDelete?Zt.ConfirmDialogDelete:gu;return(0,i.jsxs)(i.Fragment,{children:[Wi.length>0&&(0,i.jsxs)(l.C,{gap:3,children:[(0,i.jsx)(M.O,{variant:"omega",textColor:"neutral500",children:no({id:"content-manager.components.TableDelete.label",defaultMessage:"{number, plural, one {# entry} other {# entries}} selected"},{number:Wi.length})}),Ti?Ti({selectedEntries:Wi,clearSelectedEntries:Hc}):(0,i.jsx)(P.Z,{onClick:fl,startIcon:(0,i.jsx)(Ln.c,{}),size:"L",variant:"danger-light",children:no({id:"global.delete",defaultMessage:"Delete"})})]}),(0,i.jsxs)(j.o,{colCount:Hu,rowCount:Bo,footer:He,children:[(0,i.jsx)(Aa,{areAllEntriesSelected:Ya,entriesToDelete:Wi,headers:Pn,onSelectAll:Ua,withMainAction:Er,withBulkActions:Pr}),!ir.length||Xn?(0,i.jsx)(ta,{colSpan:Hu,content:Na,isLoading:Xn,action:Be}):ce.Children.toArray(vt).map(zs=>ce.cloneElement(zs,{entriesToDelete:Wi,onClickDelete:Ba,onSelectRow:mc,headers:Pn,rows:ir,withBulkActions:Pr,withMainAction:Er,...ji}))]}),(0,i.jsx)(sl,{isConfirmButtonLoading:Hs,onConfirm:ti,onToggleDialog:fl,isOpen:Zi}),(0,i.jsx)(_u,{isConfirmButtonLoading:Hs,onConfirm:ra,onToggleDialog:Ol,isOpen:Js})]})},Aa=({areAllEntriesSelected:Be=!1,entriesToDelete:vt=[],headers:xt=[],onSelectAll:Zt,withMainAction:He,withBulkActions:Pn})=>{const{formatMessage:Xn}=(0,oe.c)(),[{query:Qt},Bn]=tr(),ir=Qt?.sort??"",[Pr,Er]=ir.split(":"),Ti=!Be&&vt.length>0;return(0,i.jsx)(z.o,{children:(0,i.jsxs)(N.Tr,{children:[He&&(0,i.jsx)(B.Th,{children:(0,i.jsx)(W.c,{"aria-label":Xn({id:"global.select-all-entries",defaultMessage:"Select all entries"}),checked:Be,indeterminate:Ti,onChange:Zt})}),xt.map(({fieldSchema:ji,name:Wi,metadatas:{sortable:ls,label:Zi,mainField:Qs}})=>{let Js=Pr===Wi;const ks=Er==="ASC";ji?.type==="relation"&&Qs&&(Js=Pr===`${Wi.split(".")[0]}[${Qs.name}]`);const Hs=Xn({id:"components.TableHeader.sort",defaultMessage:"Sort on {label}"},{label:Zi}),Ka=(Ma=!0)=>{if(ls&&Ma){let no=Wi;ji?.type==="relation"&&Qs&&(no=`${Wi.split(".")[0]}[${Qs.name}]`),Bn({sort:`${no}:${Js&&Er==="ASC"?"DESC":"ASC"}`})}};return(0,i.jsx)(B.Th,{action:Js&&(0,i.jsx)(X.w,{label:Hs,onClick:()=>Ka(),icon:Js&&(0,i.jsx)(si,{isUp:ks}),noBorder:!0}),children:(0,i.jsx)(Q.o,{label:ls?Hs:Zi,children:(0,i.jsx)(M.O,{as:!Js&&ls?"button":"span",textColor:"neutral600",onClick:()=>Ka(!Js),variant:"sigma",children:Zi})})},Wi)}),Pn&&(0,i.jsx)(B.Th,{children:(0,i.jsx)(K.K,{children:Xn({id:"global.actions",defaultMessage:"Actions"})})})]})})},Es=ce.createContext(null),ha=()=>{const Be=ce.useContext(Es);if(!Be)throw new Error("useTableContext must be used within a TableProvider");return Be},Zc={Content:({children:Be,footer:vt})=>{const{rowCount:xt,colCount:Zt}=ha();return(0,i.jsx)(j.o,{rowCount:xt,colCount:Zt,footer:vt,children:Be})},Root:({children:Be,defaultSelectedEntries:vt=[],rows:xt=[],colCount:Zt=0,isLoading:He=!1,isFetching:Pn=!1})=>{const[Xn,Qt]=ce.useState(vt),Bn=xt.length+1,ir=ce.useCallback(({name:Er,value:Ti})=>{Qt(ji=>Ti?ji.concat(Er):ji.filter(Wi=>Wi!==Er))},[]),Pr=ce.useMemo(()=>({selectedEntries:Xn,setSelectedEntries:Qt,onSelectRow:ir,rows:xt,isLoading:He,isFetching:Pn,colCount:Zt,rowCount:Bn}),[ir,Xn,Qt,xt,He,Pn,Zt,Bn]);return(0,i.jsx)(Es.Provider,{value:Pr,children:Be})},Body:({children:Be})=>{const{rows:vt,isLoading:xt}=ha();return xt||vt.length===0?null:(0,i.jsx)(O.K,{children:Be})},ActionBar:({children:Be})=>{const{formatMessage:vt}=(0,oe.c)(),{selectedEntries:xt}=ha();return xt.length===0?null:(0,i.jsxs)(l.C,{gap:2,children:[(0,i.jsx)(M.O,{variant:"omega",textColor:"neutral500",children:vt({id:"content-manager.components.TableDelete.label",defaultMessage:"{number, plural, one {# entry} other {# entries}} selected"},{number:xt.length})}),Be]})},Head:({children:Be})=>(0,i.jsx)(z.o,{children:(0,i.jsx)(N.Tr,{children:Be})}),HeaderCell:({fieldSchemaType:Be,name:vt,relationFieldName:xt,isSortable:Zt,label:He})=>{const[{query:Pn},Xn]=tr(),Qt=typeof Pn?.sort=="string"?Pn.sort:"",[Bn,ir]=Qt.split(":"),{formatMessage:Pr}=(0,oe.c)();let Er=Bn===vt;const Ti=ir==="ASC";Be==="relation"&&xt&&(Er=Bn===`${vt.split(".")[0]}[${xt}]`);const ji=Pr({id:"components.TableHeader.sort",defaultMessage:"Sort on {label}"},{label:He}),Wi=(ls=!0)=>{if(Zt&&ls){let Zi=vt;Be==="relation"&&xt&&(Zi=`${vt.split(".")[0]}[${xt}]`),Xn({sort:`${Zi}:${Er&&ir==="ASC"?"DESC":"ASC"}`})}};return(0,i.jsx)(B.Th,{action:Er&&Zt&&(0,i.jsx)(X.w,{label:ji,onClick:()=>Wi(!0),icon:(0,i.jsx)(si,{isUp:Ti}),noBorder:!0}),children:(0,i.jsx)(Q.o,{label:Zt?ji:He,children:(0,i.jsx)(M.O,{textColor:"neutral600",as:!Er&&Zt?"button":"span",onClick:()=>Wi(),variant:"sigma",children:He})})},vt)},HeaderHiddenActionsCell:()=>{const{formatMessage:Be}=(0,oe.c)();return(0,i.jsx)(B.Th,{children:(0,i.jsx)(K.K,{children:Be({id:"global.actions",defaultMessage:"Actions"})})})},HeaderCheckboxCell:()=>{const{selectedEntries:Be,setSelectedEntries:vt,rows:xt}=ha(),{formatMessage:Zt}=(0,oe.c)(),He=Be.length===xt.length&&xt.length>0,Pn=!He&&Be.length>0,Xn=()=>{vt(He?[]:xt.map(Qt=>Qt.id))};return xt.length===0?null:(0,i.jsx)(B.Th,{children:(0,i.jsx)(W.c,{"aria-label":Zt({id:"global.select-all-entries",defaultMessage:"Select all entries"}),checked:He,indeterminate:Pn,onChange:Xn})})},LoadingBody:()=>{const{isLoading:Be,colCount:vt}=ha();return Be?(0,i.jsx)(O.K,{children:(0,i.jsx)(N.Tr,{children:(0,i.jsx)(B.Td,{colSpan:vt,children:(0,i.jsx)(l.C,{justifyContent:"center",children:(0,i.jsx)(T.k,{padding:11,background:"neutral0",children:(0,i.jsx)(v.c,{children:"Loading content"})})})})})}):null},EmptyBody:({contentType:Be,...vt})=>{const{rows:xt,colCount:Zt,isLoading:He}=ha(),[{query:Pn}]=tr(),Qt=Pn?.filters!==void 0?{id:"content-manager.components.TableEmpty.withFilters",defaultMessage:"There are no {contentType} with the applied filters...",values:{contentType:Be}}:void 0;return xt?.length>0||He?null:(0,i.jsx)(O.K,{children:(0,i.jsx)(N.Tr,{children:(0,i.jsx)(B.Td,{colSpan:Zt,children:(0,i.jsx)(Ri,{...vt,content:Qt,hasRadius:!1,shadow:void 0})})})})},BulkDeleteButton:({onConfirmDeleteAll:Be})=>{const{selectedEntries:vt,setSelectedEntries:xt}=ha(),{formatMessage:Zt}=(0,oe.c)(),[He,Pn]=ce.useState(!1),[Xn,Qt]=ce.useState(!1),Bn=async()=>{try{Qt(!0),await Be(vt),Qt(!1),ir(),xt([])}catch{Qt(!1),ir()}},ir=()=>{Pn(Pr=>!Pr)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(P.Z,{onClick:ir,startIcon:(0,i.jsx)(Ln.c,{}),size:"L",variant:"danger-light",children:Zt({id:"global.delete",defaultMessage:"Delete"})}),(0,i.jsx)(gu,{isConfirmButtonLoading:Xn,onConfirm:Bn,onToggleDialog:ir,isOpen:He})]})}},Yu=({filtersSchema:Be=[]})=>{const[{query:vt},xt]=tr(),Zt=He=>{const Pn=(vt?.filters?.$and||[]).filter(Xn=>{const Qt=Object.keys(He)[0],Bn=Object.keys(He[Qt])[0],ir=He[Qt][Bn];return Xn[Qt]?.[Bn]!==ir});xt({filters:{$and:Pn},page:1})};return vt?.filters?.$and?.length?(0,i.jsx)(i.Fragment,{children:vt?.filters?.$and?.map((He,Pn)=>{const Xn=Object.keys(He)[0],Qt=Be.find(({name:Bn})=>Bn===Xn);if(!Qt)return null;if(Qt.fieldSchema.type==="relation"){const Bn=Qt?.fieldSchema?.mainField?.name,ir=He[Xn][Bn];if(typeof ir=="object"&&ir!==null){const Pr=Object.keys(ir)[0],Er=ir[Pr]??"";return(0,i.jsx)(Cc,{attribute:Qt,filter:He,onClick:Zt,operator:Pr,value:Er},`${Xn}-${Pn}`)}return null}else{const Bn=He[Xn],ir=Object.keys(Bn)[0],Pr=Bn[ir];return typeof Pr=="string"||Pr===null?(0,i.jsx)(Cc,{attribute:Qt,filter:He,onClick:Zt,operator:ir,value:Pr??""},`${Xn}-${Pn}`):null}})}):null},Cc=({attribute:Be,filter:vt,onClick:xt,operator:Zt,value:He})=>{const{formatMessage:Pn,formatDate:Xn,formatTime:Qt,formatNumber:Bn}=(0,oe.c)(),ir=()=>{xt(vt)},{fieldSchema:Pr}=Be,Er=Pr.type==="relation"?Pr?.mainField?.schema?.type:Pr.type;let Ti=He;switch(Er){case"date":Ti=Xn(He,{dateStyle:"full"});break;case"datetime":Ti=Xn(He,{dateStyle:"full",timeStyle:"short"});break;case"time":const[Wi,ls]=He.split(":"),Zi=new Date;Zi.setHours(Number(Wi)),Zi.setMinutes(Number(ls)),Ti=Qt(Zi,{hour:"numeric",minute:"numeric"});break;case"float":case"integer":case"biginteger":case"decimal":Ti=Bn(Number(He));break}Be.metadatas.customInput&&Be.metadatas.options&&(Ti=Be.metadatas.options.find(ls=>ls.customValue===He)?.label||He);const ji=`${Be.metadatas.label||Be.name} ${Pn({id:`components.FilterOptions.FILTER_TYPES.${Zt}`,defaultMessage:Zt})} ${Zt!=="$null"&&Zt!=="$notNull"?Ti:""}`;return(0,i.jsx)(T.k,{padding:1,children:(0,i.jsx)(Y.E,{onClick:ir,icon:(0,i.jsx)(nn.c,{}),children:ji})})},L0=({displayedFilters:Be,isVisible:vt,onBlur:xt,onToggle:Zt,source:He})=>{const[{query:Pn},Xn]=tr(),{formatMessage:Qt}=(0,oe.c)(),{trackUsage:Bn}=gn(),ir={fieldSchema:{type:"string"}},[Pr,Er]=ce.useState({name:Be[0]?.name||"",filter:Sl((Be[0]||ir).fieldSchema)[0].value,value:""});if(!vt||Be.length===0)return null;const Ti=ks=>{const Hs=Be.find(Bo=>Bo.name===ks);if(!Hs)return;const{fieldSchema:{type:Ka,options:Ma}}=Hs;let no="";Ka==="boolean"&&(no="true"),Ka==="enumeration"&&Array.isArray(Ma)&&(no=Ma[0]);const ho=Sl(Hs.fieldSchema)[0].value;Er({name:ks,filter:ho,value:no})},ji=ks=>{ks.preventDefault();const Hs=Pn?.filters?.$and.find(Ka=>Ka[Pr.name]&&Ka[Pr.name]?.[Pr.filter]===Pr.value)!==void 0;if(Pr.value&&!Hs){const Ka=Be.find(({name:Ma})=>Ma===Pr.name);if(Ka){Ka.trackedEvent&&Bn(Ka.trackedEvent.name,Ka.trackedEvent.properties);let Ma;Ka.fieldSchema.type==="relation"&&Ka.fieldSchema.mainField?Ma={[Pr.name]:{[Ka.fieldSchema.mainField.name]:{[Pr.filter]:Pr.value}}}:Ma={[Pr.name]:{[Pr.filter]:Pr.value}};const no=[...Pn?.filters?.$and||[],Ma];Xn({filters:{$and:no},page:1})}}Zt()},Wi=ks=>{if(ks==="$null"||ks==="$notNull"){Er(Hs=>({...Hs,value:"true",filter:ks}));return}Er(Hs=>({...Hs,filter:ks,value:""}))},ls=Be.find(ks=>ks.name===Pr.name),Zi=Pr.filter,Qs=ls.metadatas.customOperators||Sl(ls.fieldSchema),Js=ls.metadatas.customInput||rc;return(0,i.jsx)(Z._k,{source:He,onDismiss:Zt,padding:3,spacing:4,onBlur:xt,children:(0,i.jsx)("form",{onSubmit:ji,children:(0,i.jsxs)(l.C,{direction:"column",alignItems:"stretch",gap:1,style:{minWidth:184},children:[(0,i.jsxs)(Xc,{direction:"column",alignItems:"stretch",gap:1,children:[(0,i.jsx)(J.K_,{label:Qt({id:"app.utils.select-field",defaultMessage:"Select field"}),name:"name",size:"M",onChange:Ti,value:Pr.name,children:Be.map(ks=>(0,i.jsx)(J.kH,{value:ks.name,children:ks.metadatas.label},ks.name))}),(0,i.jsx)(J.K_,{label:Qt({id:"app.utils.select-filter",defaultMessage:"Select filter"}),name:"filter",size:"M",value:Pr.filter,onChange:ks=>Wi(ks),children:Qs.map(ks=>(0,i.jsx)(J.kH,{value:ks.value,children:Qt(ks.intlLabel)},ks.value))})]}),Zi!=="$null"&&Zi!=="$notNull"&&(0,i.jsx)(T.k,{children:(0,i.jsx)(Js,{label:ls.metadatas.label,type:ls.fieldSchema.type,options:ls.fieldSchema.options??ls.metadatas.options,value:Pr.value,onChange:ks=>Er(Hs=>({...Hs,value:ks}))})}),(0,i.jsx)(T.k,{children:(0,i.jsx)(P.Z,{size:"L",variant:"secondary",startIcon:(0,i.jsx)(or.c,{}),type:"submit",fullWidth:!0,children:Qt({id:"app.utils.add-filter",defaultMessage:"Add filter"})})})]})})})},Xc=(0,Le.cp)(l.C)`
  /* Hide the label, every input needs a label. */
  label {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
`,rc=({label:Be="",onChange:vt,type:xt,value:Zt="",...He})=>{const{formatMessage:Pn}=(0,oe.c)();if(xt==="boolean")return(0,i.jsxs)(J.K_,{"aria-label":Be,onChange:Xn=>vt(String(Xn)),value:Zt,children:[(0,i.jsx)(J.kH,{value:"true",children:"true"}),(0,i.jsx)(J.kH,{value:"false",children:"false"})]});if(xt==="date")return(0,i.jsx)(ee.I,{clearLabel:Pn({id:"clearLabel",defaultMessage:"Clear"}),ariaLabel:Be,name:"datepicker",onChange:Xn=>vt(Xn?(0,tn.c)(Xn,{representation:"date"}):null),onClear:()=>vt(null),selectedDate:Zt?new Date(Zt):void 0});if(xt==="datetime")return(0,i.jsx)(re.q,{clearLabel:Pn({id:"clearLabel",defaultMessage:"Clear"}),ariaLabel:Be,name:"datetimepicker",onChange:Xn=>vt(Xn?Xn.toISOString():null),onClear:()=>vt(null),value:Zt?new Date(Zt):void 0});if(xt==="enumeration"){const Xn=He.options??[];return(0,i.jsx)(J.K_,{"aria-label":Be,onChange:vt,value:Zt,children:Xn.map(Qt=>(0,i.jsx)(J.kH,{value:Qt,children:Qt},Qt))})}return["float","integer","biginteger","decimal"].includes(xt)?(0,i.jsx)(me.W,{"aria-label":Be,name:"filter-value",onValueChange:Xn=>vt(Xn?String(Xn):null),value:Zt||0}):xt==="time"?(0,i.jsx)(fe.A,{"aria-label":Be,onClear:()=>vt(""),onChange:Xn=>vt(Xn||null),value:Zt??void 0,clearLabel:"Clear the selected time picker value"}):(0,i.jsx)(le.I,{children:(0,i.jsx)(Ve.e,{"aria-label":Pn({id:"app.utils.filter-value",defaultMessage:"Filter value"}),onChange:({target:{value:Xn}})=>vt(Xn),value:Zt??void 0,size:"M"})})},Sl=Be=>{let vt=Be.type;switch(Be.type==="relation"&&Be?.mainField?.schema?.type&&(vt=Be.mainField.schema.type),vt){case"email":case"text":case"enumeration":case"string":return[{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eq",defaultMessage:"is"},value:"$eq"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eqi",defaultMessage:"is (case insensitive)"},value:"$eqi"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$ne",defaultMessage:"is not"},value:"$ne"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$nei",defaultMessage:"is not (case insensitive)"},value:"$nei"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$null",defaultMessage:"is null"},value:"$null"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$notNull",defaultMessage:"is not null"},value:"$notNull"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$contains",defaultMessage:"contains"},value:"$contains"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$containsi",defaultMessage:"contains (case insensitive)"},value:"$containsi"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$notContains",defaultMessage:"not contains"},value:"$notContains"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$notContainsi",defaultMessage:"not contains (case insensitive)"},value:"$notContainsi"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$startsWith",defaultMessage:"starts with"},value:"$startsWith"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$startsWithi",defaultMessage:"starts with (case insensitive)"},value:"$startsWithi"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$endsWith",defaultMessage:"ends with"},value:"$endsWith"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$endsWithi",defaultMessage:"ends with (case insensitive)"},value:"$endsWithi"}];case"float":case"integer":case"biginteger":case"decimal":return[{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eq",defaultMessage:"is"},value:"$eq"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$ne",defaultMessage:"is not"},value:"$ne"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$null",defaultMessage:"is null"},value:"$null"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$notNull",defaultMessage:"is not null"},value:"$notNull"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$gt",defaultMessage:"is greater than"},value:"$gt"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$gte",defaultMessage:"is greater than or equal to"},value:"$gte"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$lt",defaultMessage:"is less than"},value:"$lt"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$lte",defaultMessage:"is less than or equal to"},value:"$lte"}];case"time":case"date":return[{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eq",defaultMessage:"is"},value:"$eq"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$ne",defaultMessage:"is not"},value:"$ne"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$null",defaultMessage:"is null"},value:"$null"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$notNull",defaultMessage:"is not null"},value:"$notNull"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$contains",defaultMessage:"contains (sensitive)"},value:"$contains"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$notContains",defaultMessage:"not contains (sensitive)"},value:"$notContains"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$gt",defaultMessage:"is greater than"},value:"$gt"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$gte",defaultMessage:"is greater than or equal to"},value:"$gte"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$lt",defaultMessage:"is less than"},value:"$lt"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$lte",defaultMessage:"is less than or equal to"},value:"$lte"}];case"datetime":return[{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eq",defaultMessage:"is"},value:"$eq"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$ne",defaultMessage:"is not"},value:"$ne"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$null",defaultMessage:"is null"},value:"$null"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$notNull",defaultMessage:"is not null"},value:"$notNull"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$gt",defaultMessage:"is greater than"},value:"$gt"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$gte",defaultMessage:"is greater than or equal to"},value:"$gte"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$lt",defaultMessage:"is less than"},value:"$lt"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$lte",defaultMessage:"is less than or equal to"},value:"$lte"}];default:return[{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eq",defaultMessage:"is"},value:"$eq"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eqi",defaultMessage:"is (case insensitive)"},value:"$eqi"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$ne",defaultMessage:"is not"},value:"$ne"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$null",defaultMessage:"is null"},value:"$null"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$notNull",defaultMessage:"is not null"},value:"$notNull"}]}},B0=({...Be})=>{const vt=ce.useRef(null),{isSubmitting:xt,isValidating:Zt,errors:He,touched:Pn}=(0,ge.Sq)();return ce.useEffect(()=>{if(xt&&!Zt){const Xn=vt.current.querySelectorAll("[data-strapi-field-error]");if(Xn&&Xn.length>0){const Bn=Xn[0].getAttribute("id"),ir=vt.current.querySelector(`[aria-describedby="${Bn}"]`);ir&&ir instanceof HTMLElement&&ir.focus()}}if(!xt&&!Zt&&Object.keys(He).length){const Xn=document.getElementById("global-form-error");Xn&&Xn.focus()}},[He,xt,Zt,Pn]),(0,i.jsx)(ge.QF,{ref:vt,...Be,noValidate:!0})},Tl=({description:Be,fieldSchema:vt,type:xt})=>{const{formatMessage:Zt}=(0,oe.c)(),He=()=>Be?.id?Zt({id:Be.id,defaultMessage:Be.defaultMessage},{...Be.values}):"";return{hint:(()=>{const{maximum:Xn,minimum:Qt}=Jc(vt),Bn=z0({type:xt,minimum:Qt,maximum:Xn}),ir=typeof Qt=="number",Pr=typeof Xn=="number",Er=Pr&&ir,Ti=Pr||ir;return!Be?.id&&!Ti?"":Zt({id:"content-manager.form.Input.hint.text",defaultMessage:"{min, select, undefined {} other {min. {min}}}{divider}{max, select, undefined {} other {max. {max}}}{unit}{br}{description}"},{min:Qt,max:Xn,description:He(),unit:Bn?.message&&Ti?Zt(Bn.message,Bn.values):null,divider:Er?Zt({id:"content-manager.form.Input.hint.minMaxDivider",defaultMessage:" / "}):null,br:Ti?(0,i.jsx)("br",{}):null})})()}},z0=({type:Be,minimum:vt,maximum:xt})=>{if(Be&&["biginteger","integer","number"].includes(Be))return{};const Zt=Math.max(vt||0,xt||0);return{message:{id:"content-manager.form.Input.hint.character.unit",defaultMessage:"{maxValue, plural, one { character} other { characters}}"},values:{maxValue:Zt}}},Jc=Be=>{if(!Be)return{maximum:void 0,minimum:void 0};const{minLength:vt,maxLength:xt,max:Zt,min:He}=Be;let Pn,Xn;const Qt=Number(He),Bn=Number(vt);Number.isNaN(Qt)?Number.isNaN(Bn)||(Pn=Bn):Pn=Qt;const ir=Number(Zt),Pr=Number(xt);return Number.isNaN(ir)?Number.isNaN(Pr)||(Xn=Pr):Xn=ir,{maximum:Xn,minimum:Pn}},Ra=()=>{const{search:Be}=(0,Et.IT)();return(0,ce.useMemo)(()=>new URLSearchParams(Be),[Be])},xs=Be=>{const vt=Ra(),[xt,Zt]=(0,ce.useState)(null);return(0,ce.useEffect)(()=>{vt.has("field")&&vt.get("field")===Be&&xt&&("input"in xt?(xt.input.current.focus(),xt.input.current.scrollIntoView({block:"center"})):(xt.focus(),xt.scrollIntoView({block:"center"})))},[vt,Be,xt]),Zt},hu=Be=>`${Be/16}rem`,cl=({autoComplete:Be,customInputs:vt,description:xt,disabled:Zt,intlLabel:He,labelAction:Pn,error:Xn,name:Qt,onChange:Bn,options:ir=[],placeholder:Pr,required:Er,step:Ti,type:ji,value:Wi,isNullable:ls,attribute:Zi,...Qs})=>{const{formatMessage:Js}=(0,oe.c)(),ks=(ra,Ua)=>{if(ra&&(Ua==="minLength"&&Ua in ra||Ua==="maxLength"&&Ua in ra||Ua==="max"&&Ua in ra||Ua==="min"&&Ua in ra))return ra[Ua]},{hint:Hs}=Tl({description:xt,fieldSchema:{minLength:ks(Zi,"minLength"),maxLength:ks(Zi,"maxLength"),max:ks(Zi,"max"),min:ks(Zi,"min")},type:Zi?.type||ji}),[Ka,Ma]=ce.useState(!1),no=xs(Qt),ho=vt?vt[ji]:null,Bo=Wi??void 0,Hu=Bo??"";function Fo(ra){if(!ra)return null;if(typeof ra=="string")return Js({id:ra,defaultMessage:ra});const Ua={...ra.values};return Js({id:ra.id,defaultMessage:ra?.defaultMessage??ra.id},Ua)}const Ya=Fo(Xn)??void 0;if(ho)return(0,i.jsx)(ho,{...Qs,ref:no,attribute:Zi,description:xt,hint:Hs,disabled:Zt,intlLabel:He,labelAction:Pn,error:Ya||"",name:Qt,onChange:Bn,options:ir,required:Er,placeholder:Pr,type:ji,value:Bo});const Na=He.id?Js({id:He.id,defaultMessage:He.defaultMessage},{...He.values}):Qt,ti=Pr?Js({id:Pr.id,defaultMessage:Pr.defaultMessage},{...Pr.values}):"";switch(ji){case"json":return(0,i.jsx)(Ze.O,{ref:no,label:Na,labelAction:Pn,value:Bo,error:Ya,disabled:Zt,hint:Hs,required:Er,onChange:ra=>{const Ua=Zi&&"required"in Zi&&!Zi?.required&&!ra.length?null:ra;Bn({target:{name:Qt,value:Ua}},!1)},minHeight:hu(252),maxHeight:hu(504)});case"bool":return(0,i.jsx)(Ce.a,{ref:no,checked:Wi===null?null:Wi||!1,disabled:Zt,hint:Hs,label:Na,error:Ya,labelAction:Pn,name:Qt,offLabel:Js({id:"app.components.ToggleCheckbox.off-label",defaultMessage:"False"}),onLabel:Js({id:"app.components.ToggleCheckbox.on-label",defaultMessage:"True"}),onChange:ra=>{Bn({target:{name:Qt,value:ra.target.checked}})},required:Er,onClear:()=>{Bn({target:{name:Qt,value:null}})},clearLabel:ls?Js({id:"app.components.ToggleCheckbox.clear-label",defaultMessage:"Clear"}):void 0});case"checkbox":return(0,i.jsx)(ye.y,{ref:no,disabled:Zt,error:Ya,hint:Hs,id:Qt,name:Qt,onValueChange:ra=>{Bn({target:{name:Qt,value:ra}})},required:Er,value:Boolean(Bo),children:Na});case"datetime":return(0,i.jsx)(re.q,{ref:no,clearLabel:Js({id:"clearLabel",defaultMessage:"Clear"}),disabled:Zt,error:Ya,label:Na,labelAction:Pn,id:Qt,hint:Hs,name:Qt,onChange:ra=>{const Ua=ra?ra.toISOString():null;Bn({target:{name:Qt,value:Ua,type:ji}})},onClear:()=>Bn({target:{name:Qt,value:null,type:ji}}),placeholder:ti,required:Er,value:Bo});case"date":return(0,i.jsx)(ee.I,{ref:no,clearLabel:Js({id:"clearLabel",defaultMessage:"Clear"}),disabled:Zt,error:Ya,label:Na,id:Qt,hint:Hs,name:Qt,onChange:ra=>{Bn({target:{name:Qt,value:ra?(0,tn.c)(ra,{representation:"date"}):null,type:ji}})},onClear:()=>Bn({target:{name:Qt,value:null,type:ji}}),placeholder:ti,required:Er,selectedDate:Bo});case"number":return(0,i.jsx)(me.W,{ref:no,disabled:Zt,error:Ya,label:Na,labelAction:Pn,id:Qt,hint:Hs,name:Qt,onValueChange:ra=>{Bn({target:{name:Qt,value:ra,type:ji}})},placeholder:ti,required:Er,step:Ti,value:Bo});case"email":return(0,i.jsx)(Ae.g,{ref:no,autoComplete:Be,disabled:Zt,error:Ya,label:Na,labelAction:Pn,id:Qt,hint:Hs,name:Qt,onChange:ra=>{Bn({target:{name:Qt,value:ra.target.value,type:ji}})},placeholder:ti,required:Er,type:"email",value:Hu});case"timestamp":case"text":case"string":return(0,i.jsx)(Ae.g,{ref:no,autoComplete:Be,disabled:Zt,error:Ya,label:Na,labelAction:Pn,id:Qt,hint:Hs,name:Qt,onChange:ra=>{Bn({target:{name:Qt,value:ra.target.value,type:ji}})},placeholder:ti,required:Er,type:"text",value:Hu});case"password":return(0,i.jsx)(Ae.g,{ref:no,autoComplete:Be,disabled:Zt,error:Ya,endAction:(0,i.jsx)("button",{"aria-label":Js({id:"Auth.form.password.show-password",defaultMessage:"Show password"}),onClick:()=>{Ma(ra=>!ra)},style:{border:"none",padding:0,background:"transparent"},type:"button",children:Ka?(0,i.jsx)(Fe.G,{as:bn.c,color:"neutral500"}):(0,i.jsx)(Fe.G,{as:Sn.c,color:"neutral500"})}),label:Na,labelAction:Pn,id:Qt,hint:Hs,name:Qt,onChange:ra=>{Bn({target:{name:Qt,value:ra.target.value,type:ji}})},placeholder:ti,required:Er,type:Ka?"text":"password",value:Hu});case"select":return(0,i.jsx)(J.K_,{ref:no,disabled:Zt,error:Ya,label:Na,labelAction:Pn,id:Qt,hint:Hs,name:Qt,onChange:ra=>{Bn({target:{name:Qt,value:ra,type:"select"}})},placeholder:ti,required:Er,value:Bo,children:ir.map(({metadatas:{intlLabel:ra,disabled:Ua,hidden:fl},key:Ol,value:Ba})=>(0,i.jsx)(J.kH,{value:Ba,disabled:Ua,hidden:fl,children:Js(ra)},Ol))});case"textarea":return(0,i.jsx)(Qe.A,{ref:no,disabled:Zt,error:Ya,label:Na,labelAction:Pn,id:Qt,hint:Hs,name:Qt,onChange:ra=>Bn({target:{name:Qt,value:ra.target.value,type:ji}}),required:Er,placeholder:ti,value:Hu});case"time":{let ra=Bo;if(typeof Bo=="string"&&Bo.split(":").length>2){const[Ua,fl]=Bo.split(":");ra=`${Ua}:${fl}`}return(0,i.jsx)(fe.A,{ref:no,clearLabel:Js({id:"clearLabel",defaultMessage:"Clear"}),disabled:Zt,error:Ya,label:Na,labelAction:Pn,id:Qt,hint:Hs,name:Qt,onChange:Ua=>{Bn({target:{name:Qt,value:`${Ua}`,type:ji}})},onClear:()=>{Bn({target:{name:Qt,value:null,type:ji}})},required:Er,value:ra})}default:return(0,i.jsx)(Ae.g,{disabled:!0,error:Ya,label:Na,labelAction:Pn,id:Qt,hint:Hs,name:Qt,placeholder:"Not supported",required:Er,type:"text",value:""})}},Do=ce.memo(cl,At),D0=ce.createContext({getPlugin:()=>{},getAdminInjectedComponents:()=>[],menu:[],plugins:{},settings:{},runHookParallel:()=>Promise.resolve(),runHookWaterfall:()=>Promise.resolve(),runHookSeries:()=>Promise.resolve()}),jl=({children:Be,getPlugin:vt,getAdminInjectedComponents:xt,menu:Zt,plugins:He,runHookParallel:Pn,runHookSeries:Xn,runHookWaterfall:Qt,settings:Bn})=>{const ir=ce.useMemo(()=>({getPlugin:vt,getAdminInjectedComponents:xt,menu:Zt,plugins:He,runHookParallel:Pn,runHookSeries:Xn,runHookWaterfall:Qt,settings:Bn}),[vt,xt,Zt,He,Pn,Xn,Qt,Bn]);return(0,i.jsx)(D0.Provider,{value:ir,children:Be})},nl=()=>ce.useContext(D0),Ml=({area:Be,...vt})=>{const{getPlugin:xt}=nl(),[Zt,He,Pn]=Be.split("."),Xn=xt(Zt);if(!Xn)return null;const Qt=Xn.getInjectedComponents(He,Pn);return Qt?Qt.map(({name:Bn,Component:ir})=>jsx(ir,{...vt},Bn)):null};/**
 * @preserve
 *
 * @deprecated Use @strapi/design-system LinkButton instead.
 */const ic=Be=>(0,i.jsx)(xe.c,{...Be,as:Ne.Af});/**
 * @preserve
 *
 * @deprecated Use @strapi/design-system LinkButton instead.
 */const Qu=Be=>(0,i.jsx)(Re.E,{...Be,as:Ne.Af}),l0=({content:Be={id:"app.components.EmptyStateLayout.content-document",defaultMessage:"No content found",values:{}},...vt})=>{const{formatMessage:xt}=(0,oe.c)();return(0,i.jsx)(a.S,{...vt,icon:(0,i.jsx)(cr.c,{width:"10rem"}),content:xt({id:Be.id,defaultMessage:Be.defaultMessage},Be.values)})},qc=Be=>jsx(EmptyStateLayout$1,{...Be,icon:jsx(EmptyPictures,{width:"10rem"})}),dc=({action:Be})=>{const{formatMessage:vt}=(0,oe.c)();return(0,i.jsx)(a.S,{icon:(0,i.jsx)(Jn.c,{width:"10rem"}),content:vt({id:"app.components.EmptyStateLayout.content-permissions",defaultMessage:"You don't have the permissions to access that content"}),action:Be})},c0=({description:Be,error:vt,intlLabel:xt,labelAction:Zt,name:He=""})=>{const{formatMessage:Pn}=(0,oe.c)(),Xn=xt?.id?Pn({id:xt.id,defaultMessage:xt.defaultMessage},{...xt.values}):He,Qt=Be?.id?Pn({id:Be.id,defaultMessage:Be.defaultMessage},{...Be.values}):"",Bn=Pn({id:"components.NotAllowedInput.text",defaultMessage:"No permissions to see this field"}),ir=vt?Pn({id:vt,defaultMessage:vt}):"";return(0,i.jsx)(Ae.g,{disabled:!0,error:ir,label:Xn,labelAction:Zt,id:He,hint:Qt,name:He,placeholder:Bn,startAction:(0,i.jsx)(fc,{}),type:"text",value:""})},fc=(0,Le.cp)(Sn.c)`
  & > path {
    fill: ${({theme:Be})=>Be.colors.neutral600};
  }
`,Zu=({trackedEvent:Be,options:vt=["10","20","50","100"],defaultValue:xt="10"})=>{const{formatMessage:Zt}=(0,oe.c)(),[{query:He},Pn]=tr(),{trackUsage:Xn}=gn(),Qt=ir=>{Be&&Xn(Be),Pn({pageSize:ir,page:1})},Bn=typeof He?.pageSize=="string"&&He?.pageSize!==""?He.pageSize:xt;return(0,i.jsxs)(l.C,{gap:2,children:[(0,i.jsx)(J.K_,{size:"S","aria-label":Zt({id:"components.PageFooter.select",defaultMessage:"Entries per page"}),onChange:Qt,value:Bn,children:vt.map(ir=>(0,i.jsx)(J.kH,{value:ir,children:ir},ir))}),(0,i.jsx)(M.O,{textColor:"neutral600",as:"span",children:Zt({id:"components.PageFooter.select",defaultMessage:"Entries per page"})})]})},vu=({pagination:{pageCount:Be},boundaryCount:vt=1,siblingCount:xt=1})=>{const[{query:Zt}]=tr(),He=parseInt(Zt?.page||"1",10),{pathname:Pn}=(0,Et.IT)(),{formatMessage:Xn}=(0,oe.c)(),Qt=Zi=>(0,gt.stringify)({...Zt,page:Zi},{encode:!1}),Bn=Qt(He+(Be>1?1:0)),ir=Qt(He-1),Pr=(Zi,Qs)=>{const Js=Qs-Zi+1;return Array.from({length:Js},(ks,Hs)=>Zi+Hs)},Er=Pr(1,Math.min(vt,Be)),Ti=Pr(Math.max(Be-vt+1,vt+1),Be),ji=Math.max(Math.min(He-xt,Be-vt-xt*2-1),vt+2),Wi=Math.min(Math.max(He+xt,vt+xt*2+2),Ti.length>0?Ti[0]-2:Be-1),ls=[...Er,...ji>vt+2?["start-ellipsis"]:vt+1<Be-vt?[vt+1]:[],...Pr(ji,Wi),...Wi<Be-vt-1?["end-ellipsis"]:Be-vt>vt?[Be-vt]:[],...Ti];return(0,i.jsxs)(pe,{activePage:He,pageCount:Be,children:[(0,i.jsx)(zt,{active:!1,to:{pathname:Pn,search:ir},children:Xn({id:"components.pagination.go-to-previous",defaultMessage:"Go to previous page"})}),ls.map(Zi=>typeof Zi=="number"?(0,i.jsx)(St,{active:Zi===He,number:Zi,to:{pathname:Pn,search:Qt(Zi)},children:Xn({id:"components.pagination.go-to",defaultMessage:"Go to page {page}"},{page:Zi})},Zi):(0,i.jsx)(Xt,{},Zi)),(0,i.jsx)(Vt,{active:!1,to:{pathname:Pn,search:Bn},children:Xn({id:"components.pagination.go-to-next",defaultMessage:"Go to next page"})})]})},Tu=({components:Be,styles:vt,error:xt,ariaErrorMessage:Zt,...He})=>{const Pn=(0,Le.qG)(),Xn=Ic(Pn,xt);return(0,i.jsx)(zi,{menuPosition:"fixed",components:{ClearIndicator:Zo,DropdownIndicator:e0,IndicatorSeparator:()=>null,LoadingIndicator:()=>null,...Be},"aria-errormessage":xt&&Zt,"aria-invalid":!!xt,styles:{...Xn,...vt},...He})},vl=(0,Le.cp)(T.k)`
  background: transparent;
  border: none;
  position: relative;
  z-index: 1;

  svg {
    height: ${11/16}rem;
    width: ${11/16}rem;
  }

  svg path {
    fill: ${({theme:Be})=>Be.colors.neutral600};
  }
`,Zo=Be=>{const vt=pt.c.ClearIndicator;return(0,i.jsx)(vt,{...Be,children:(0,i.jsx)(vl,{as:"button",type:"button",children:(0,i.jsx)(nn.c,{})})})},aa=(0,Le.cp)(vl)`
  display: flex;
  background: none;
  border: none;

  svg {
    width: ${9/16}rem;
  }
`,e0=({innerProps:Be})=>(0,i.jsx)(aa,{paddingRight:3,...Be,children:(0,i.jsx)(fn.c,{})}),Ic=(Be,vt)=>({clearIndicator:xt=>({...xt,padding:0,paddingRight:Be.spaces[3]}),container:xt=>({...xt,background:Be.colors.neutral0,lineHeight:"normal"}),control(xt,Zt){let He=Be.colors.neutral200,Pn,Xn;return Zt.isFocused?(He=Be.colors.primary600,Pn=Be.colors.primary600):vt&&(He=Be.colors.danger600),Zt.isDisabled&&(Xn=`${Be.colors.neutral150} !important`),{...xt,fontSize:Be.fontSizes[2],height:40,border:`1px solid ${He} !important`,outline:0,backgroundColor:Xn,borderRadius:Be.borderRadius,boxShadow:Pn?`${Pn} 0px 0px 0px 2px`:""}},indicatorsContainer:xt=>({...xt,padding:0,paddingRight:Be.spaces[3]}),input:xt=>({...xt,margin:0,padding:0,color:Be.colors.neutral800,gridTemplateColumns:"0 100%"}),menu(xt){return{...xt,width:"100%",marginTop:Be.spaces[1],backgroundColor:Be.colors.neutral0,color:Be.colors.neutral800,borderRadius:Be.borderRadius,border:`1px solid ${Be.colors.neutral200}`,boxShadow:Be.shadows.tableShadow,fontSize:Be.fontSizes[2],zIndex:2}},menuList:xt=>({...xt,paddingLeft:Be.spaces[1],paddingTop:Be.spaces[1],paddingRight:Be.spaces[1],paddingBottom:Be.spaces[1]}),menuPortal:xt=>({...xt,zIndex:100}),option(xt,Zt){let He=xt.backgroundColor;return(Zt.isFocused||Zt.isSelected)&&(He=Be.colors.primary100),{...xt,color:Be.colors.neutral800,lineHeight:Be.spaces[5],backgroundColor:He,borderRadius:Be.borderRadius,"&:active":{backgroundColor:Be.colors.primary100}}},placeholder:xt=>({...xt,color:Be.colors.neutral600,marginLeft:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",maxWidth:"80%"}),singleValue(xt,Zt){let He=Be.colors.neutral800;return Zt.isDisabled&&(He=Be.colors.neutral600),{...xt,marginLeft:0,color:He}},valueContainer:xt=>({...xt,cursor:"pointer",padding:0,paddingLeft:Be.spaces[4],marginLeft:0,marginRight:0})}),kc=["years","months","days","hours","minutes","seconds"],eu=({timestamp:Be,customIntervals:vt=[],className:xt})=>{const{formatRelativeTime:Zt,formatDate:He,formatTime:Pn}=(0,oe.c)(),Xn=(0,os.c)({start:Be,end:Date.now()}),Qt=kc.find(Er=>Xn[Er]>0&&Object.keys(Xn).includes(Er)),Bn=Vi(Be)?-Xn[Qt]:Xn[Qt],ir=vt.find(Er=>Xn[Er.unit]<Er.threshold),Pr=ir?ir.text:Zt(Bn,Qt,{numeric:"auto"});return(0,i.jsx)("time",{dateTime:Be.toISOString(),title:`${He(Be)} ${Pn(Be)}`,className:xt,children:Pr})},Dl=({label:Be,placeholder:vt,trackedEvent:xt,trackedEventDetails:Zt})=>{const He=ce.useRef(null),Pn=ce.useRef(null),[{query:Xn},Qt]=tr(),[Bn,ir]=ce.useState(Xn?._q||""),[Pr,Er]=ce.useState(!!Bn),{formatMessage:Ti}=(0,oe.c)(),{trackUsage:ji}=gn(),Wi=()=>Er(Qs=>!Qs);ce.useLayoutEffect(()=>{Pr&&He.current&&He.current.focus()},[Pr]);const ls=()=>{ir(""),Qt({_q:""},"remove")},Zi=Qs=>{Qs.preventDefault(),Bn?(xt&&ji(xt,Zt),Qt({_q:encodeURIComponent(Bn),page:1})):(Wi(),Qt({_q:""},"remove"))};return Pr?(0,i.jsx)(jt.y,{onSubmit:Zi,children:(0,i.jsx)(sn.E,{ref:He,name:"search",onChange:Qs=>ir(Qs.target.value),value:Bn,clearLabel:Ti({id:"clearLabel",defaultMessage:"Clear"}),onClear:ls,size:"S",placeholder:vt,children:Be})}):(0,i.jsx)(X.w,{ref:Pn,icon:(0,i.jsx)(Fe.G,{as:Hn.c,color:"neutral800"}),label:Ti({id:"global.search",defaultMessage:"Search"}),onClick:Wi})},d0=({name:Be})=>{const{formatMessage:vt}=(0,oe.c)(),xt=vt({id:"Settings.PageTitle",defaultMessage:"Settings - {name}"},{name:Be});return(0,i.jsx)(ns.S,{title:xt})},Al=Le.cp.div`
  margin-right: ${({theme:Be})=>Be.spaces[3]};
  width: ${6/16}rem;
  height: ${6/16}rem;
  border-radius: 50%;
  background: ${({theme:Be,backgroundColor:vt})=>Be.colors[vt]};
`,Sc=({variant:Be="primary"})=>{const vt=`${Be}600`;return(0,i.jsx)(Al,{backgroundColor:vt})},Uc=ce.createContext({allLayoutData:{components:{}},createActionAllowedFields:[],formErrors:{},hasDraftAndPublish:!1,initialData:{},isCreatingEntry:!1,isSingleType:!1,modifiedData:{},readActionAllowedFields:[],slug:void 0,updateActionAllowedFields:[]}),eo=()=>ce.useContext(Uc),sc=(Be,vt)=>fs(Be,["attributes",vt,"type"],""),Eu=(Be,vt)=>fs(Be,["attributes",...vt],""),Lu=ce.createContext({}),dl=30*1e3,rl=({children:Be})=>{const[vt,xt]=ce.useState(!1),[Zt,He]=ce.useState({}),[Pn,Xn]=ce.useState(!1),Qt=ce.useCallback((ji={})=>{xt(!0),He(ji)},[]),Bn=ce.useCallback(()=>{xt(!1),He({})},[]);ce.useEffect(()=>{if(vt){const ji=setTimeout(()=>{Xn(!0)},dl);return()=>{clearTimeout(ji)}}},[vt]);let ir=Zt?.icon||"reload",Pr={id:Zt?.description||"components.OverlayBlocker.description",defaultMessage:"You're using a feature that needs the server to restart. Please wait until the server is up."},Er={id:Zt?.title||"components.OverlayBlocker.title",defaultMessage:"Waiting for restart"};Pn&&(ir="time",Pr={id:"components.OverlayBlocker.description.serverError",defaultMessage:"The server should have restarted, please check your logs in the terminal."},Er={id:"components.OverlayBlocker.title.serverError",defaultMessage:"The restart is taking longer than expected"});const Ti=ce.useMemo(()=>({lockAppWithAutoreload:Qt,unlockAppWithAutoreload:Bn}),[Qt,Bn]);return(0,i.jsxs)(Lu.Provider,{value:Ti,children:[(0,i.jsx)(Mc,{displayedIcon:ir,isOpen:vt,description:Pr,title:Er}),Be]})},Mc=({displayedIcon:Be,description:vt,title:xt,isOpen:Zt})=>{const{formatMessage:He}=(0,oe.c)();return Zt&&globalThis?.document?.body?(0,hi.createPortal)((0,i.jsxs)(td,{id:"autoReloadOverlayBlocker",direction:"column",alignItems:"center",gap:6,children:[(0,i.jsxs)(l.C,{direction:"column",alignItems:"center",gap:2,children:[(0,i.jsx)(M.O,{as:"h1",variant:"alpha",children:He(xt)}),(0,i.jsx)(M.O,{as:"h2",textColor:"neutral600",fontSize:4,fontWeight:"regular",children:He(vt)})]}),Be==="reload"&&(0,i.jsx)(Xl,{padding:6,background:"primary100",borderColor:"primary200",children:(0,i.jsx)(jc,{width:hu(36),height:hu(36)})}),Be==="time"&&(0,i.jsx)(Xl,{padding:6,background:"primary100",borderColor:"primary200",children:(0,i.jsx)(er.c,{width:hu(40),height:hu(40)})}),(0,i.jsx)(T.k,{marginTop:2,children:(0,i.jsx)(xe.c,{href:"https://docs.strapi.io",isExternal:!0,children:He({id:"global.documentation",defaultMessage:"Read the documentation"})})})]}),globalThis.document.body):null},El=(0,Le.xZ)`
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  `,jc=(0,Le.cp)(an.c)`
  animation: ${El} 1s infinite linear;
`,td=(0,Le.cp)(l.C)`
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* TODO: set this up in the theme for consistence z-index values */
  z-index: 1140;
  padding-top: ${hu(160)};

  & > * {
    position: relative;
    z-index: 1;
  }

  &:before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: ${({theme:Be})=>Be.colors.neutral0};
    opacity: 0.9;
  }
`,Xl=(0,Le.cp)(T.k)`
  border-radius: 50%;
  svg {
    > path {
      fill: ${({theme:Be})=>Be.colors.primary600} !important;
    }
  }
`,Nc=()=>ce.useContext(Lu),Ho=ce.createContext({get(){},getAll(){return{}}}),Bu=({children:Be,customFields:vt})=>{const xt=vt.get.bind(vt),Zt=vt.getAll.bind(vt),He=ce.useMemo(()=>({get:xt,getAll:Zt}),[xt,Zt]);return(0,i.jsx)(Ho.Provider,{value:He,children:Be})},iu=()=>ce.useContext(Ho),f0=ce.createContext({currentStep:null,guidedTourState:{contentTypeBuilder:{create:!1,success:!1},contentManager:{create:!1,success:!1},apiTokens:{create:!1,success:!1},transferTokens:{create:!1,success:!1}},isGuidedTourVisible:!1,isSkipped:!0,setCurrentStep:()=>null,setGuidedTourVisibility:()=>null,setSkipped:()=>null,setStepState:()=>null,startSection:()=>null}),_l=({children:Be,currentStep:vt=null,guidedTourState:xt,isGuidedTourVisible:Zt=!1,isSkipped:He,setCurrentStep:Pn,setGuidedTourVisibility:Xn,setSkipped:Qt,setStepState:Bn,startSection:ir})=>{const Pr=ce.useMemo(()=>({currentStep:vt,guidedTourState:xt,isGuidedTourVisible:Zt,isSkipped:He,setCurrentStep:Pn,setGuidedTourVisibility:Xn,setSkipped:Qt,setStepState:Bn,startSection:ir}),[vt,xt,Zt,He,Pn,Xn,Qt,Bn,ir]);return(0,i.jsx)(f0.Provider,{value:Pr,children:Be})},Nl=()=>ce.useContext(f0),$c=ce.createContext({}),hc=({children:Be,fields:vt,components:xt})=>{const Zt=ce.useMemo(()=>({fields:vt,components:xt}),[vt,xt]);return(0,i.jsx)($c.Provider,{value:Zt,children:Be})},il=()=>ce.useContext($c),V0=ce.createContext({}),Wc=({children:Be})=>{const[vt,xt]=ce.useState(!1),Zt=ce.useCallback(()=>{xt(!0)},[]),He=ce.useCallback(()=>{xt(!1)},[]),Pn=ce.useMemo(()=>({lockApp:Zt,unlockApp:He}),[Zt,He]);return(0,i.jsxs)(V0.Provider,{value:Pn,children:[Be,vt&&globalThis?.document?.body?(0,hi.createPortal)((0,i.jsx)(A0,{id:"overlayBlocker"}),globalThis.document.body):null]})},A0=(0,Le.cp)(T.k)`
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* TODO: set this up in the theme for consistence z-index values */
  z-index: 1140;
`,t0=()=>ce.useContext(V0),Pl="apiError.";function xl(Be,vt){const xt=`${Pl}${Be}`;return typeof vt=="function"?vt(xt):xt}function Pc(Be,{name:vt,intlMessagePrefixCallback:xt}){const{message:Zt}=Be,He={id:xl(Zt,xt),defaultMessage:Zt,name:Be.name??vt,values:{}};return"path"in Be&&(He.values={path:Be.path.join(".")}),He}const Lc=Be=>typeof Be.details=="object"&&Be.details!==null&&"errors"in Be.details;function $l(Be,vt){const xt=Be.response?.data.error;return xt?Lc(xt)?{name:xt.name,message:xt?.message||null,errors:xt.details.errors.map(Zt=>Pc(Zt,{name:xt.name,intlMessagePrefixCallback:vt}))}:Pc(xt,{intlMessagePrefixCallback:vt}):null}function Ts(Be){const{formatMessage:vt}=(0,oe.c)(),xt=Zt=>{try{const He=Iu(Zt,{intlMessagePrefixCallback:Be,formatMessage:vt});return He||Xu(Zt,{intlMessagePrefixCallback:Be,formatMessage:vt})}catch{throw new Error("formatAPIError: Unknown error:",Zt)}};return{_unstableFormatValidationErrors:Zt=>{if(typeof Zt.details=="object"&&Zt.details!==null){if("errors"in Zt.details&&Array.isArray(Zt.details.errors))return Zt.details.errors.reduce((Pn,Xn)=>{const{path:Qt,message:Bn}=Xn;return{...Pn,[Qt.join(".")]:Bn}},{});{const He=Zt.details;return Object.keys(He).reduce((Pn,Xn)=>{const Qt=He[Xn];return{...Pn,[Xn]:Qt.join(", ")}},{})}}else return{}},_unstableFormatAPIError:Zt=>{const He={response:{data:{error:Zt}}};return Zt.message?xt(He):"Unknown error occured."},formatAPIError:xt}}function Xu(Be,{intlMessagePrefixCallback:vt,formatMessage:xt}){const{code:Zt,message:He}=Be;return xt({id:xl(He,vt),defaultMessage:He},{code:Zt})}function Iu(Be,{formatMessage:vt,intlMessagePrefixCallback:xt}){if(!vt)throw new Error("The formatMessage callback is a mandatory argument.");const Zt=$l(Be,xt);return Zt?"message"in Zt&&Zt.message!==null?Zt.message:"errors"in Zt?Zt.errors.map(({id:He,defaultMessage:Pn,values:Xn})=>vt({id:He,defaultMessage:Pn},Xn)).join(`
`):vt(Zt):null}const Go=()=>({copy:(0,ce.useCallback)(async vt=>{try{if(typeof vt!="string"&&typeof vt!="number")throw new Error(`Cannot copy typeof ${typeof vt} to clipboard, must be a string`);if(vt==="")throw new Error("Cannot copy empty string to clipboard.");const xt=vt.toString();return await navigator.clipboard.writeText(xt),!0}catch{return!1}},[])}),zo=new Map;function Is(Be,vt){const xt=Be+(vt?Object.entries(vt).sort((He,Pn)=>He[0]<Pn[0]?-1:1).join():"");if(zo.has(xt))return zo.get(xt);const Zt=new Intl.Collator(Be,vt);return zo.set(xt,Zt),Zt}const xa=()=>{const Be=(0,ce.useRef)(null);return Be.current===null&&(Be.current=new AbortController),(0,ce.useEffect)(()=>()=>{Be.current.abort()},[]),(0,ce.useMemo)(()=>_a({signal:Be.current.signal}),[])};function Fu(Be,vt){const xt=Is(Be,{usage:"search",...vt});return{startsWith(Zt,He){return He.length===0?!0:(Zt=Zt.normalize("NFC"),He=He.normalize("NFC"),xt.compare(Zt.slice(0,He.length),He)===0)},endsWith(Zt,He){return He.length===0?!0:(Zt=Zt.normalize("NFC"),He=He.normalize("NFC"),xt.compare(Zt.slice(-He.length),He)===0)},includes(Zt,He){if(He.length===0)return!0;Zt=Zt.normalize("NFC"),He=He.normalize("NFC");let Pn=0;const Xn=He.length;for(;Pn+Xn<=Zt.length;Pn++){const Qt=Zt.slice(Pn,Pn+Xn);if(xt.compare(He,Qt)===0)return!0}return!1}}}const na=({selector:Be="main",dependencies:vt=[]}={})=>{ce.useEffect(()=>{const xt=document.querySelector(Be);xt?(xt.focus(),window.scrollTo({top:0})):console.warn(`[useFocusWhenNavigate] The page does not contain the selector "${Be}" and can't be focused.`)},vt)},pc=({lockScroll:Be})=>{ce.useEffect(()=>(Be&&document.body.classList.add("lock-body-scroll"),()=>{document.body.classList.remove("lock-body-scroll")}),[Be])},n0=(Be,vt)=>{const[xt,Zt]=(0,ce.useState)(()=>{const He=window.localStorage.getItem(Be);if(He!==null)try{return JSON.parse(He)}catch{return He}return vt});return(0,ce.useEffect)(()=>{window.localStorage.setItem(Be,JSON.stringify(xt))},[Be,xt]),[xt,Zt]},Wl=(Be={},vt)=>{const[xt,Zt]=(0,ce.useState)(!1),He=(0,ce.useMemo)(()=>Object.keys(Be).map(Wi=>({name:Wi,hasPermission:!1})),[Be]),{allPermissions:Pn}=Ha(),{post:Xn}=xa(),Qt=vt||Pn,Bn=Object.entries(Be),ir=(0,Ye.useQueries)(Bn.map(([Wi,ls])=>({queryKey:["useRBAC",Wi,...ls,Qt],async queryFn(){if(!ls||!ls.length)return{name:Wi,hasPermission:!0};if(!Qt)return;const Zi=Qt.filter(Qs=>ls.find(ks=>ks.action===Qs.action&&ks.subject===Qs.subject)!==void 0);if(Zi.length>0&&Zi.every(Qs=>Array.isArray(Qs.conditions)&&Qs.conditions.length>0))try{const{data:{data:Qs}}=await Xn("/admin/permissions/check",{permissions:Zi.map(({action:Js,subject:ks})=>({action:Js,subject:ks}))});return{name:Wi,hasPermission:Array.isArray(Qs)&&Qs.every(Js=>Js===!0)}}catch{return{name:Wi,hasPermission:!1}}return{name:Wi,hasPermission:Zi.length>0}}}))),Pr=(0,ce.useCallback)(()=>{Zt(!0)},[]),Er=xt||ir.some(Wi=>Wi.isLoading),Ti=ir.map(Wi=>Wi.data);return{allowedActions:(Ti.some(Wi=>Wi===void 0)?He:Ti).reduce((Wi,ls)=>{if(!ls)return Wi;const{name:Zi,hasPermission:Qs}=ls;return Wi[`can${et(Zi)}`]=Qs,Wi},{}),isLoading:Er,setIsLoading:Pr}},et=Be=>Be.charAt(0).toUpperCase()+Be.slice(1),pn=(Be,vt)=>{const[xt,Zt]=(0,ce.useState)(vt);return[xt,{selectOne:ir=>{const Pr=xt.findIndex(Er=>Be.every(Ti=>Er[Ti]===ir[Ti]));Pr>-1?Zt(Er=>[...Er.slice(0,Pr),...Er.slice(Pr+1)]):Zt(Er=>[...Er,ir])},selectAll:ir=>{xt.length>0?Zt([]):Zt(ir)},selectOnly:ir=>{xt.indexOf(ir)>-1?Zt([]):Zt([ir])},selectMultiple:ir=>{Zt(Pr=>[...Pr,...ir.filter(Er=>Pr.findIndex(Ti=>Be.every(ji=>Ti[ji]===Er[ji]))===-1)])},deselectMultiple:ir=>{Zt(Pr=>[...Pr.filter(Er=>ir.findIndex(Ti=>Be.every(ji=>Er[ji]===Ti[ji]))===-1)])},setSelections:Zt}]},Tn=(0,Le.cp)(X.w)(({theme:Be})=>`
  border-radius: ${hu(30)};
  width: ${hu(20)};
  height: ${hu(20)};
  padding: ${hu(3)};
  align-items: center;
  justify-content: center;
  svg {
    width: ${hu(8)};
    rect {
      fill: ${Be.colors.primary600}
    }
  }
`),Kn=Be=>(0,i.jsx)(Tn,{icon:(0,i.jsx)(de,{}),...Be}),fr=["createdBy","updatedBy","publishedAt","id","_id"],Sr=(Be,vt,xt,Zt=fr)=>{const He=(Pn,Xn)=>Object.keys(Pn).reduce((Qt,Bn)=>{const ir=sc(Xn,Bn),Pr=fs(Pn,Bn),Er=Eu(Xn,[Bn,"component"]),Ti=Eu(Xn,[Bn,"repeatable"]);let ji=fs(Xn,["options","timestamps"]);return Array.isArray(ji)||(ji=[]),[...Zt,...ji].indexOf(Bn)!==-1?(delete Qt[Bn],Qt):Pr?ir==="dynamiczone"&&Array.isArray(Pr)?(Qt[Bn]=Pr.map(Wi=>He(Wi,xt[Wi.__component])),Qt):(ir==="component"&&(Ti&&Array.isArray(Pr)?Qt[Bn]=Pr.map(Wi=>He(Wi,xt[Er])):Qt[Bn]=He(Pr,xt[Er])),Qt):Qt},Object.assign({},Pn));return He(Be,vt)},br=(Be,vt,xt)=>{const Zt=(He,Pn)=>Object.keys(He).reduce((Xn,Qt)=>{const Bn=sc(Pn,Qt),ir=fs(He,Qt),Pr=Eu(Pn,[Qt,"component"]),Er=Eu(Pn,[Qt,"repeatable"]);if(Bn==="json"&&ir!==void 0)return Xn[Qt]=JSON.stringify(ir,null,2),Xn;if(!ir)return Xn[Qt]=ir,Xn;if(Bn==="dynamiczone"&&Array.isArray(ir))return Xn[Qt]=ir.map(Ti=>Zt(Ti,xt[Ti.__component])),Xn;if(Bn==="component"){let Ti;return Er&&Array.isArray(ir)?Ti=ir.map((ji,Wi)=>{const ls={...ji,__temp_key__:Wi};return Zt(ls,xt[Pr])}):Ti=Zt(ir,xt[Pr]),Xn[Qt]=Ti,Xn}return Xn[Qt]=ir,Xn},{});return Zt(Be,vt)},li=(Be,vt)=>Be.then(function(xt){return[null,xt]}).catch(function(xt){return vt&&Object.assign(xt,vt),[xt,void 0]});function pi(Be,vt){function xt(Zt,He){return ma(Zt,(Pn,Xn,Qt)=>(At(Xn,He[Qt])||(Pn[Qt]=Ks(Xn)&&Ks(He[Qt])?xt(Xn,He[Qt]):Xn),Pn))}return xt(Be,vt)}/**
 *
 * Returns a normalized error message
 *
 * @deprecated
 * @preserve
 */function Bi(Be,{getTrad:vt}){const xt=$l(Be,vt);return xt&&"errors"in xt?xt.errors.reduce((Zt,He)=>("path"in He.values&&(Zt[He.values.path]={id:He.id,defaultMessage:He.defaultMessage}),Zt),{}):xt?.defaultMessage}const Fi=Be=>Be&&Be[0]==="."?Be.substr(1):Be,Ii=(Be,vt)=>!Be||!vt?{}:{[Be]:vt[Be]},Ni=Be=>(Be?.inner||[]).reduce((vt,xt)=>(xt.path&&(vt[xt.path.split("[").join(".").split("]").join("")]={id:xt.message,defaultMessage:xt.message,values:Ii(xt?.type,xt?.params)}),vt),{}),Ds=Be=>Be&&Be.startsWith("/")?`${window.strapi.backendURL}${Be}`:Be,ds=(Be,vt)=>{if(!vt)throw new TypeError("pluginId can't be empty");return Object.keys(Be).reduce((xt,Zt)=>(xt[`${vt}.${Zt}`]=Be[Zt],xt),{})};async function Gs(Be){return Be instanceof Response?Be.json():Be}async function Fs(Be,vt=!0){return Be.status>=200&&Be.status<300||Be.status===0?Be:(Be.status===401&&Nn.getToken()&&vt&&(Nn.clearAppStorage(),window.location.reload()),Gs(Be).then(xt=>{const Zt=new Error(Be.statusText);throw Zt.response=Be,Zt.response.payload=xt,Zt}).catch(()=>{const xt=new Error(Be.statusText);throw xt.response=Be,xt}))}function $s(Be){return Object.keys(Be).map(vt=>`${encodeURIComponent(vt)}=${encodeURIComponent(Be[vt])}`).join("&")}async function oa(Be){return new Promise(vt=>{fetch(`${window.strapi.backendURL}/_health`,{method:"HEAD",mode:"no-cors",keepalive:!1,headers:{"Content-Type":"application/json"}}).then(xt=>{if(xt.status>=400)throw new Error("not available");vt(Be)}).catch(()=>{setTimeout(()=>oa(Be).then(vt),100)})})}const to=wu(console.warn);async function ba(Be,vt={},xt,Zt=!0,{noAuth:He}={noAuth:!1}){to("The `request` function is deprecated and will be removed in the next major version. Please use `useFetchClient` instead."),vt.headers||(vt.headers=Object.assign({"Content-Type":"application/json"},vt.headers));const Pn=Nn.getToken();if(Pn&&!He&&(vt.headers=Object.assign({Authorization:`Bearer ${Pn}`},vt.headers)),Be=startsWith(Be,"/")?`${window.strapi.backendURL}${Be}`:Be,vt&&vt.params){const Xn=$s(vt.params);Be=`${Be}?${Xn}`}return vt&&vt.body&&Zt&&(vt.body=JSON.stringify(vt.body)),fetch(Be,vt).then(Fs).then(Gs).then(Xn=>xt?oa(Xn):Xn)}const pa=(Be,vt)=>`${Be}${Math.floor(vt*255).toString(16).padStart(2,"0")}`,Lo={onClick:Be=>Be.stopPropagation(),role:"button","aria-hidden":!0},su=({fn:Be,condition:vt=!0})=>{if(vt)return{style:{cursor:"pointer"},onClick:Be}},uo=()=>React.createElement("div",Lo),yo={email:"components.Input.error.validation.email",json:"components.Input.error.validation.json",lowercase:"components.Input.error.validation.lowercase",max:"components.Input.error.validation.max",maxLength:"components.Input.error.validation.maxLength",min:"components.Input.error.validation.min",minLength:"components.Input.error.validation.minLength",regex:"components.Input.error.validation.regex",required:"components.Input.error.validation.required",unique:"components.Input.error.validation.unique",integer:"component.Input.error.validation.integer"};function lu(Be){const xt=()=>{};return{request:(...He)=>(xt(),Be.request(...He)),get:(...He)=>(xt(),Be.get(...He)),head:(...He)=>(xt(),Be.head(...He)),delete:(...He)=>(xt(),Be.delete(...He)),options:(...He)=>(xt(),Be.options(...He)),post:(...He)=>(xt(),Be.post(...He)),put:(...He)=>(xt(),Be.put(...He)),patch:(...He)=>(xt(),Be.patch(...He)),getUri:(...He)=>(xt(),Be.getUri(...He))}}},58692:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M12 2a8.5 8.5 0 0 1 8.5 8.5c0 6.5-5.5 12-8.5 12s-8.5-5.5-8.5-12A8.5 8.5 0 0 1 12 2Zm5.5 10a4.5 4.5 0 0 0-4.475 4.975 4.5 4.5 0 0 0 4.95-4.95A4.54 4.54 0 0 0 17.5 12Zm-11 0c-.16 0-.319.008-.475.025a4.5 4.5 0 0 0 4.95 4.95A4.5 4.5 0 0 0 6.5 12Z"})}),l=a},37100:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"M14 10v4h-4v-4h4Zm2 0h5v4h-5v-4Zm-2 11h-4v-5h4v5Zm2 0v-5h5v4a1 1 0 0 1-1 1h-4ZM14 3v5h-4V3h4Zm2 0h4a1 1 0 0 1 1 1v4h-5V3Zm-8 7v4H3v-4h5Zm0 11H4a1 1 0 0 1-1-1v-4h5v5ZM8 3v5H3V4a1 1 0 0 1 1-1h4Z"})}),l=a},27592:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M3 10h18v10.004c0 .55-.445.996-.993.996H3.993A.994.994 0 0 1 3 20.004V10Zm6 2v2h6v-2H9ZM2 4c0-.552.455-1 .992-1h18.016c.548 0 .992.444.992 1v4H2V4Z"})}),l=a},73376:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M13.3 0c.11 0 .2.09.2.2v18.06l8.238-8.239a.2.2 0 0 1 .283 0l1.837 1.838a.2.2 0 0 1 0 .282L12.141 23.86a.2.2 0 0 1-.283 0L.141 12.14a.2.2 0 0 1 0-.282l1.837-1.838a.2.2 0 0 1 .283 0L10.5 18.26V.2c0-.11.09-.2.2-.2h2.6Z"})}),l=a},15396:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M24 13.3a.2.2 0 0 1-.2.2H5.74l8.239 8.239a.2.2 0 0 1 0 .282L12.14 23.86a.2.2 0 0 1-.282 0L.14 12.14a.2.2 0 0 1 0-.282L11.86.14a.2.2 0 0 1 .282 0L13.98 1.98a.2.2 0 0 1 0 .282L5.74 10.5H23.8c.11 0 .2.09.2.2v2.6Z"})}),l=a},67576:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M0 10.7c0-.11.09-.2.2-.2h18.06l-8.239-8.239a.2.2 0 0 1 0-.282L11.86.14a.2.2 0 0 1 .282 0L23.86 11.86a.2.2 0 0 1 0 .282L12.14 23.86a.2.2 0 0 1-.282 0L10.02 22.02a.2.2 0 0 1 0-.282L18.26 13.5H.2a.2.2 0 0 1-.2-.2v-2.6Z"})}),l=a},42760:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M10.7 24a.2.2 0 0 1-.2-.2V5.74L2.26 13.979a.2.2 0 0 1-.283 0L.141 12.14a.2.2 0 0 1 0-.282L11.858.14a.2.2 0 0 1 .283 0L23.858 11.86a.2.2 0 0 1 0 .282l-1.837 1.838a.2.2 0 0 1-.283 0L13.5 5.74V23.8a.2.2 0 0 1-.2.2h-2.6Z"})}),l=a},1984:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M14 13.5V8a4 4 0 1 0-8 0v5.5a6.5 6.5 0 0 0 13 0V4h2v9.5a8.5 8.5 0 1 1-17 0V8a6 6 0 1 1 12 0v5.5a3.5 3.5 0 1 1-7 0V8h2v5.5a1.5 1.5 0 1 0 3 0Z"})}),l=a},11464:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M22 20H2v-2h1v-6.969C3 6.043 7.03 2 12 2s9 4.043 9 9.031V18h1v2ZM9.5 21h5a2.5 2.5 0 0 1-5 0Z"})}),l=a},47564:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",fillRule:"evenodd",d:"M7.4 1.2H4.2v21.6h3.2V1.2Zm11.6 6a6 6 0 0 1-1.5 4 6.4 6.4 0 0 1-3.8 11.6H7.4v-3.2h6.3c1.8 0 3.3-1.4 3.3-3.2 0-1.8-1.5-3.2-3.3-3.2H7.4V10H13a2.8 2.8 0 0 0 0-5.6H7.4V1.2H13a6 6 0 0 1 6 6Z",clipRule:"evenodd"})}),l=a},19960:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M13 21v2.5l-3-2-3 2V21h-.5A3.5 3.5 0 0 1 3 17.5V5a3 3 0 0 1 3-3h14a1 1 0 0 1 1 1v17a1 1 0 0 1-1 1h-7Zm-6-2v-2h6v2h6v-3H6.5a1.5 1.5 0 1 0 0 3H7ZM7 5v2h2V5H7Zm0 3v2h2V8H7Zm0 3v2h2v-2H7Z"})}),l=a},57252:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#EAFBE7",stroke:"#C6F0C2",rx:2.5}),(0,i.jsx)("path",{fill:"#328048",d:"M19.5 7h-7A4.505 4.505 0 0 0 8 11.5c0 2.481 2.019 4.5 4.5 4.5h7c2.481 0 4.5-2.019 4.5-4.5S21.981 7 19.5 7Zm0 8a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7Z"})]}),l=a},75384:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M7 5V2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v3h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4Zm10 8v-3h-2v3H9v-3H7v3H4v6h16v-6h-3ZM9 3v2h6V3H9Z"})}),l=a},61924:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m13.289 6.216 4.939-3.841a1 1 0 0 1 1.32.082l2.995 2.994a1 1 0 0 1 .082 1.321l-3.84 4.938a7.504 7.504 0 0 1-7.283 9.292C8 21.002 3.5 19.5 1 18c3.98-3 3.047-4.81 3.5-6.5 1.058-3.95 4.842-6.257 8.789-5.284Zm3.413 1.879c.065.063.13.128.193.194l1.135 1.134 2.475-3.182-1.746-1.746-3.182 2.475 1.125 1.125Z"})}),l=a},84084:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",fillRule:"evenodd",d:"M3.64 7.23a2.14 2.14 0 1 1 0-4.27 2.14 2.14 0 0 1 0 4.27Zm4.98-3.25H22.5v2.37H8.62V3.98Zm-7.12 8.1a2.14 2.14 0 1 0 4.27 0 2.14 2.14 0 0 0-4.27 0Zm2.14 9.04a2.14 2.14 0 1 1 0-4.27 2.14 2.14 0 0 1 0 4.27ZM22.5 10.87H8.62v2.37H22.5v-2.37Zm-13.88 6.9H22.5v2.37H8.62v-2.37Z",clipRule:"evenodd"})}),l=a},17032:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.869 2.99V0h2.9v2.99h10.463V0h2.9v2.99h.629c2.768 0 3.203.498 3.239 2.926V21c0 2.124-.191 3-2.802 3H2.818C.208 24 0 23.363 0 20.785V6.21c.035-2.049.233-3.22 3.001-3.22h.868ZM2.32 20.369c0 .811.245.865.776.865h17.905c.53 0 .68-.012.68-.825V8.233c-.015-.627-.219-.737-.631-.737H2.907c-.413 0-.592.09-.587.573v12.3Z",clipRule:"evenodd"})}),l=a},60780:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M19 20H5v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-9l2.513-6.702A2 2 0 0 1 6.386 4h11.228a2 2 0 0 1 1.873 1.298L22 12v9a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1ZM4.136 12h15.728l-2.25-6H6.386l-2.25 6ZM6.5 17a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm11 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})}),l=a},14520:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 14 8",...c,children:(0,i.jsx)("path",{fill:"#32324D",fillRule:"evenodd",d:"M14 .889a.86.86 0 0 1-.26.625L7.615 7.736A.834.834 0 0 1 7 8a.834.834 0 0 1-.615-.264L.26 1.514A.861.861 0 0 1 0 .889c0-.24.087-.45.26-.625A.834.834 0 0 1 .875 0h12.25c.237 0 .442.088.615.264a.86.86 0 0 1 .26.625Z",clipRule:"evenodd"})}),l=a},69648:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1h-6c0-.67-.051-1.338-.153-2H20V5H4v3.153A13.1 13.1 0 0 0 2 8V4a1 1 0 0 1 1-1Zm10 18h-2a9 9 0 0 0-9-9v-2c6.075 0 11 4.925 11 11Zm-4 0H7a5 5 0 0 0-5-5v-2a7 7 0 0 1 7 7Zm-4 0H2v-3a3 3 0 0 1 3 3Zm9.373-4A13.033 13.033 0 0 0 6 8.627V7h12v10h-3.627Z"})}),l=a},44792:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M16 16a3 3 0 1 1 0 6 3 3 0 0 1 0-6ZM6 12c2.21 0 4 1.79 4 4s-1.79 4-4 4-4-1.79-4-4 1.79-4 4-4Zm8.5-10a5.5 5.5 0 1 1 0 11 5.5 5.5 0 0 1 0-11Z"})}),l=a},86304:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M11 2.05v3.02a7 7 0 1 0 5.192 12.536l2.137 2.137A9.966 9.966 0 0 1 12 22C6.477 22 2 17.523 2 12c0-5.185 3.947-9.449 9-9.95ZM21.95 13a9.947 9.947 0 0 1-2.207 5.328l-2.137-2.136A6.958 6.958 0 0 0 18.929 13h3.022-.001ZM13.002 2.05a10.004 10.004 0 0 1 8.95 8.95H18.93a7.005 7.005 0 0 0-5.928-5.929V2.049v.001Z"})}),l=a},43272:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M11 2.05V13h10.95c-.501 5.053-4.765 9-9.95 9-5.523 0-10-4.477-10-10 0-5.185 3.947-9.449 9-9.95Zm2-1.507C18.553 1.02 22.979 5.447 23.457 11H13V.543Z"})}),l=a},53305:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M20.727 2.97a.2.2 0 0 1 .286 0l2.85 2.89a.2.2 0 0 1 0 .28L9.554 20.854a.2.2 0 0 1-.285 0l-9.13-9.243a.2.2 0 0 1 0-.281l2.85-2.892a.2.2 0 0 1 .284 0l6.14 6.209L20.726 2.97Z"})}),l=a},36133:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm-1.438-11.066L16.158 7.5 18 9.245l-7.438 7.18-4.462-4.1 1.84-1.745 2.622 2.354Z",clipRule:"evenodd"})}),l=a},79484:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 17 10",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M15.06.06 8.94 6.167 2.82.06.94 1.94l8 8 8-8L15.06.06Z"})}),l=a},6400:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 10 16",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M9.88 14.12 3.773 8 9.88 1.88 8 0 0 8l8 8 1.88-1.88Z"})}),l=a},73200:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 10 16",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M0 1.88 6.107 8 0 14.12 1.88 16l8-8-8-8L0 1.88Z"})}),l=a},64472:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 17 10",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"m1.94 9.94 6.12-6.107 6.12 6.107 1.88-1.88-8-8-8 8 1.88 1.88Z"})}),l=a},77080:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M0 12C0 5.37 5.364 0 11.994 0S24 5.37 24 12s-5.376 12-12.006 12S0 18.63 0 12Zm2.4 0c0 5.304 4.296 9.6 9.6 9.6 5.304 0 9.6-4.296 9.6-9.6 0-5.304-4.296-9.6-9.6-9.6A9.597 9.597 0 0 0 2.4 12Zm8.4-6h1.8v6.3l5.4 3.204-.906 1.476L10.8 13.2V6Z",clipRule:"evenodd"})}),l=a},62584:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M17 7a8.003 8.003 0 0 0-7.493 5.19l1.874.703A6.002 6.002 0 0 1 23.001 15a6 6 0 0 1-6 6H7A6 6 0 0 1 5.007 9.339a7 7 0 0 1 13.757-2.143A8.027 8.027 0 0 0 17 7Z"})}),l=a},14456:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"m9.8 15.5-6.3-3.7 6.3-3.6V5.3l-8.8 5v3l8.8 5v-2.8Zm4.4-7 6.3 3.6-6.3 3.7v2.9l8.8-5.1v-2.9l-8.8-5v2.8Z"})}),l=a},46596:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M2.68 9.192c-.6.276-2.114 1.18-2.306 1.303a.792.792 0 0 0-.374.68v1.65a.797.797 0 0 0 .384.687c.254.16 1.73 1.042 2.306 1.303l.744 1.8c-.24.634-.67 2.333-.72 2.554a.797.797 0 0 0 .216.744l1.167 1.166a.801.801 0 0 0 .744.216l.03-.008c.36-.092 1.946-.498 2.523-.712l1.8.744c.276.6 1.181 2.115 1.304 2.307a.805.805 0 0 0 .679.374h1.649a.797.797 0 0 0 .686-.384c.16-.254 1.042-1.73 1.303-2.306l1.8-.744c.634.24 2.333.67 2.554.72a.797.797 0 0 0 .744-.216l1.166-1.167a.803.803 0 0 0 .216-.744l-.008-.03c-.092-.36-.498-1.946-.712-2.523l.744-1.8c.6-.276 2.115-1.181 2.307-1.304a.804.804 0 0 0 .374-.679v-1.649a.796.796 0 0 0-.382-.679c-.254-.16-1.73-1.041-2.306-1.303l-.744-1.8c.24-.634.67-2.333.72-2.554a.796.796 0 0 0-.216-.744l-1.166-1.173a.802.802 0 0 0-.744-.216l-.03.008c-.361.092-1.947.498-2.524.712l-1.8-.744c-.276-.6-1.18-2.115-1.303-2.307a.803.803 0 0 0-.68-.374h-1.65a.797.797 0 0 0-.68.382c-.16.254-1.041 1.73-1.303 2.306l-1.8.744c-.634-.24-2.333-.67-2.554-.72a.797.797 0 0 0-.744.216L2.921 4.094a.802.802 0 0 0-.216.744l.008.03c.092.361.498 1.947.712 2.524l-.744 1.8ZM12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z",clipRule:"evenodd"})}),l=a},95960:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 22 22",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M5 5H0v2.5h7.5V0H5v5Zm17 0h-5.1V0h-2.5v7.5h7.5V5ZM7.5 14.4H0v2.5h5v5h2.5v-7.5Zm9.4 2.5h5v-2.5h-7.5v7.5h2.5v-5Z"})}),l=a},21508:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M3.98.027a4.485 4.485 0 0 0-1.64.507C.885 1.308 0 2.802 0 4.485 0 6.759 1.577 8.628 3.828 9.02c.267.047.715.06 2.037.06H7.56v5.84H5.95c-.928 0-1.762.019-1.97.044a4.474 4.474 0 0 0-1.445.435C.974 16.165 0 17.747 0 19.515c0 1.229.451 2.328 1.304 3.181a4.387 4.387 0 0 0 6.234.002c.573-.572.945-1.225 1.174-2.058l.105-.38.014-2.01.014-2.01h6.31l.014 2.01.014 2.01.105.38c.39 1.419 1.329 2.5 2.624 3.022.536.217.902.296 1.491.326a4.345 4.345 0 0 0 3.294-1.293c.85-.85 1.303-1.955 1.303-3.18 0-2.327-1.7-4.271-3.98-4.551-.208-.025-1.042-.044-1.97-.044h-1.61V9.08h1.695c1.832 0 2.058-.019 2.712-.224C22.719 8.269 24 6.492 24 4.485c0-1.185-.44-2.297-1.231-3.109C21.429-.001 19.426-.381 17.73.42c-1.244.588-2.069 1.58-2.442 2.94l-.105.38-.014 2.03-.014 2.03h-6.31l-.014-2.03-.014-2.03-.105-.38C8.427 2.323 7.877 1.498 7.06.883 6.712.621 5.998.269 5.6.163 5.094.028 4.427-.028 3.98.027m1.132 1.317c.932.192 1.765.871 2.185 1.782.249.539.263.691.263 2.816v1.906l-1.73-.019c-1.853-.02-1.992-.034-2.509-.242-.422-.171-.689-.355-1.081-.747-.526-.527-.779-.982-.902-1.625-.077-.399-.074-1.102.006-1.487.234-1.136 1.227-2.14 2.357-2.382a4.203 4.203 0 0 1 1.411-.002m15.16 0c1.15.237 2.147 1.234 2.384 2.384.08.385.083 1.088.006 1.487-.123.643-.376 1.098-.902 1.625-.392.392-.659.576-1.081.747-.517.208-.656.222-2.509.242l-1.73.019V5.942c0-2.125.014-2.277.263-2.816.414-.898 1.247-1.584 2.158-1.78a4.203 4.203 0 0 1 1.411-.002M15.16 12v2.96H8.84V9.04h6.32V12m-7.6 6.082c0 2.099-.015 2.254-.263 2.792a3.182 3.182 0 0 1-2.19 1.788c-.36.081-1.019.079-1.392-.005-1.16-.26-2.136-1.241-2.371-2.385-.129-.622-.063-1.504.15-2.032.347-.859 1.148-1.614 2.017-1.898.371-.121.558-.133 2.319-.137l1.73-.005v1.882m12.86-1.766c.943.314 1.728 1.037 2.086 1.924.208.516.279 1.426.156 2.007a3.185 3.185 0 0 1-2.377 2.41c-.373.084-1.032.086-1.392.005a3.182 3.182 0 0 1-2.19-1.788c-.248-.538-.263-.693-.263-2.795v-1.884l1.85.014c1.811.014 1.856.016 2.13.107"})}),l=a},50064:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#F6F6F9",stroke:"#DCDCE4",rx:2.5}),(0,i.jsx)("path",{fill:"#666687",fillRule:"evenodd",d:"M13.535 8.768c0 .116-.011.229-.032.339l3.013 1.776 2.985-1.76a1.768 1.768 0 1 1 .519.93l-2.982 1.757v2.477a1.768 1.768 0 1 1-1.048-.044v-2.435l-2.997-1.767a1.768 1.768 0 1 1 .542-1.274Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#666687",d:"m13.503 9.107-.05-.01-.006.035.03.018.026-.043Zm3.013 1.776-.025.043.025.014.025-.014-.025-.043Zm2.985-1.76.025.044.031-.018-.007-.035-.05.01Zm.518.93.035-.036-.027-.026-.033.02.026.042Zm-2.98 1.757-.026-.043-.025.014v.029h.05Zm0 2.477h-.05v.035l.032.012.017-.047Zm-1.049-.044.013.048.037-.01v-.038h-.05Zm0-2.435h.05v-.029l-.024-.014-.026.043Zm-2.997-1.767.025-.043-.033-.019-.027.027.035.035Zm.559-.925c.022-.113.033-.23.033-.348h-.1c0 .112-.01.223-.031.33l.098.018Zm2.99 1.723-3.014-1.775-.05.086 3.013 1.775.05-.086Zm2.933-1.758-2.984 1.758.05.086 2.985-1.758-.05-.086Zm-.06-.313c0 .125.013.247.037.366l.098-.02a1.723 1.723 0 0 1-.035-.346h-.1Zm1.818-1.818a1.818 1.818 0 0 0-1.818 1.818h.1c0-.949.769-1.718 1.718-1.718v-.1Zm1.817 1.818a1.818 1.818 0 0 0-1.817-1.818v.1c.948 0 1.717.769 1.717 1.718h.1Zm-1.817 1.817a1.818 1.818 0 0 0 1.817-1.817h-.1c0 .948-.769 1.717-1.717 1.717v.1Zm-1.248-.495c.326.307.765.495 1.248.495v-.1c-.457 0-.872-.178-1.18-.468l-.068.073Zm-2.921 1.763 2.98-1.757-.05-.086-2.981 1.757.05.086Zm.024 2.434V11.81h-.1v2.477h.1Zm-.067.047a1.718 1.718 0 0 1 1.14 1.618h.1c0-.79-.503-1.46-1.206-1.712l-.034.094Zm1.14 1.618c0 .948-.77 1.717-1.718 1.717v.1a1.817 1.817 0 0 0 1.817-1.817h-.1Zm-1.718 1.717a1.718 1.718 0 0 1-1.718-1.717h-.1c0 1.004.814 1.817 1.818 1.817v-.1Zm-1.718-1.717c0-.797.543-1.467 1.278-1.66l-.026-.098a1.818 1.818 0 0 0-1.352 1.758h.1Zm1.215-4.144v2.435h.1v-2.435h-.1Zm-2.973-1.723 2.998 1.766.05-.086-2.997-1.767-.05.087Zm-1.2.5c.49 0 .934-.193 1.26-.507l-.069-.072c-.309.296-.728.48-1.19.48v.1ZM9.95 8.768c0 1.003.814 1.817 1.818 1.817v-.1a1.718 1.718 0 0 1-1.718-1.717h-.1Zm1.818-1.818A1.818 1.818 0 0 0 9.95 8.768h.1c0-.949.769-1.718 1.717-1.718v-.1Zm1.817 1.818a1.818 1.818 0 0 0-1.818-1.818v.1c.95 0 1.718.769 1.718 1.718h.1Z"})]}),l=a},25024:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"M8 5h3v9H8v3H6v-3H3V5h3V2h2v3Zm10 5h3v9h-3v3h-2v-3h-3v-9h3V7h2v3Z"})}),l=a},92116:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M20.571 21.429h-3.428V24h3.428v-2.571ZM20.571 17.143V3.429H7.714v3.428h9.429v10.286H6.857V0H3.43v3.429H0v3.428h3.429v13.714H24v-3.428h-3.429Z"})}),l=a},39716:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M24 2.417 21.583 0 12 9.583 2.417 0 0 2.417 9.583 12 0 21.583 2.417 24 12 14.417 21.583 24 24 21.583 14.417 12 24 2.417Z"})}),l=a},24328:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M24 12c0 6.627-5.373 12-12 12S0 18.627 0 12 5.373 0 12 0s12 5.373 12 12Zm-8.806-4 .806.806L12.806 12 16 15.194l-.806.806L12 12.806 8.806 16 8 15.194 11.194 12 8 8.806 8.806 8 12 11.194 15.194 8Z",clipRule:"evenodd"})}),l=a},39560:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M2.8 5.2 7 8l4.186-5.86a1 1 0 0 1 1.628 0L17 8l4.2-2.8a1 1 0 0 1 1.547.95l-1.643 13.967a1 1 0 0 1-.993.883H3.889a1 1 0 0 1-.993-.883L1.253 6.149A1 1 0 0 1 2.8 5.2ZM12 15a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})}),l=a},71640:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",viewBox:"0 0 448 512",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M216.3 2c4.8-2.6 10.5-2.6 15.3 0l190.7 104c5.1 2.8 8.3 8.2 8.3 14s-3.2 11.2-8.3 14L231.7 238c-4.8 2.6-10.5 2.6-15.3 0L25.7 134c-5.1-2.8-8.3-8.2-8.3-14s3.2-11.2 8.3-14L216.3 2zM23.7 170l176 96c5.1 2.8 8.3 8.2 8.3 14v216c0 5.6-3 10.9-7.8 13.8s-10.9 3-15.8.3L8.3 414c-5.1-2.8-8.3-8.1-8.3-14V184c0-5.6 3-10.9 7.8-13.8s10.9-3 15.8-.3zm400.7 0c5-2.7 11-2.6 15.8.3s7.8 8.1 7.8 13.8V400c0 5.9-3.2 11.2-8.3 14l-176 96c-5 2.7-11 2.6-15.8-.3s-7.8-8.1-7.8-13.8V280c0-5.9 3.2-11.2 8.3-14l176-96z"})}),l=a},54008:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M5 3h15a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-2v3a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4V4a1 1 0 0 1 1-1Zm13 2v3h2V5h-2ZM2 19h18v2H2v-2Z"})}),l=a},27548:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M13.91 12.36 17 20.854l-2.818 1.026-3.092-8.494-4.172 3.156 1.49-14.909 10.726 10.463-5.224.264Z"})}),l=a},57948:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M3 13h8V3H3v10Zm0 8h8v-6H3v6Zm10 0h8V11h-8v10Zm0-18v6h8V3h-8Z"})}),l=a},33016:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M21 9.5v3c0 2.485-4.03 4.5-9 4.5s-9-2.015-9-4.5v-3c0 2.485 4.03 4.5 9 4.5s9-2.015 9-4.5Zm-18 5c0 2.485 4.03 4.5 9 4.5s9-2.015 9-4.5v3c0 2.485-4.03 4.5-9 4.5s-9-2.015-9-4.5v-3Zm9-2.5c-4.97 0-9-2.015-9-4.5S7.03 3 12 3s9 2.015 9 4.5-4.03 4.5-9 4.5Z"})}),l=a},47912:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("path",{fill:"#FDF4DC",stroke:"#FAE7B9",d:"M.5 3A2.5 2.5 0 0 1 3 .5h26A2.5 2.5 0 0 1 31.5 3v18a2.5 2.5 0 0 1-2.5 2.5H3A2.5 2.5 0 0 1 .5 21V3Z"}),(0,i.jsx)("path",{fill:"#D9822F",fillRule:"evenodd",d:"M11.934 7.495V6h1.45v1.495h5.232V6h1.45v1.495h.314c1.385 0 1.602.249 1.62 1.463V16.5c0 1.062-.096 1.5-1.4 1.5h-9.19c-1.306 0-1.41-.318-1.41-1.607V9.105c.018-1.025.117-1.61 1.5-1.61h.434Zm-.774 8.687c0 .406.123.433.388.433h8.953c.265 0 .34-.007.34-.413v-6.087c-.008-.314-.11-.369-.316-.369h-9.072c-.206 0-.296.045-.293.287v6.15Z",clipRule:"evenodd"})]}),l=a},41272:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M16.8 19 14 22.5 11.2 19H6a1 1 0 0 1-1-1V7.103a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1V18a1 1 0 0 1-1 1h-5.2ZM2 2h17v2H3v11H1V3a1 1 0 0 1 1-1Z"})}),l=a},45236:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M8 3v2H6v4c0 2.21 1.79 4 4 4s4-1.79 4-4V5h-2V3h3a1 1 0 0 1 1 1v5a6.002 6.002 0 0 1-5 5.917V16.5a3.5 3.5 0 0 0 6.775 1.237 3 3 0 1 1 2.049.148A5.5 5.5 0 0 1 9 16.5v-1.583A6 6 0 0 1 4 9V4a1 1 0 0 1 1-1h3Z"})}),l=a},65816:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 4 4",...c,children:(0,i.jsx)("rect",{width:4,height:4,fill:"#A5A5BA",rx:2})}),l=a},41892:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 25",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M13.571 5.85H10.43v8.47H2.487a.2.2 0 0 0-.14.343l9.512 9.401a.2.2 0 0 0 .282 0l9.513-9.401a.2.2 0 0 0-.14-.342H13.57V5.85ZM2.2 3.027a.2.2 0 0 1-.2-.2V.402c0-.11.09-.2.2-.2h19.6c.11 0 .2.09.2.2v2.423a.2.2 0 0 1-.2.2H2.2Z",clipRule:"evenodd"})}),l=a},67516:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#212134",d:"M16.563 5.587a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M18.487 3.083c-.012.788-.487 1.513-1.229 1.797a1.954 1.954 0 0 1-2.184-.574A1.943 1.943 0 0 1 14.9 2.11c.4-.684 1.2-1.066 1.981-.927a1.954 1.954 0 0 1 1.606 1.9c.011.748 1.17.748 1.158 0A3.138 3.138 0 0 0 17.565.17c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.284 3.575.678 1.124 1.993 1.674 3.273 1.431 1.432-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.158-.006ZM16.563 14.372a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M18.487 11.867c-.012.789-.487 1.513-1.229 1.797a1.954 1.954 0 0 1-2.184-.574 1.943 1.943 0 0 1-.174-2.196c.4-.684 1.2-1.066 1.981-.927.928.156 1.588.968 1.606 1.9.011.748 1.17.748 1.158 0a3.138 3.138 0 0 0-2.08-2.914c-1.176-.423-2.567-.029-3.36.933-.83 1.002-.968 2.45-.284 3.575.678 1.124 1.993 1.675 3.273 1.431 1.432-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.158-.005ZM16.563 23.392a2.503 2.503 0 1 0 0-5.006 2.503 2.503 0 0 0 0 5.006Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M18.487 20.89c-.012.787-.487 1.512-1.229 1.796a1.954 1.954 0 0 1-2.184-.574 1.943 1.943 0 0 1-.174-2.196c.4-.684 1.2-1.066 1.981-.927.928.156 1.588.967 1.606 1.9.011.748 1.17.748 1.158 0a3.138 3.138 0 0 0-2.08-2.914c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.284 3.575.678 1.124 1.993 1.674 3.273 1.431 1.432-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.158-.006ZM7.378 5.622a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M9.302 3.119c-.011.788-.486 1.512-1.228 1.796a1.954 1.954 0 0 1-2.185-.574 1.943 1.943 0 0 1-.173-2.196c.4-.684 1.199-1.066 1.981-.927a1.943 1.943 0 0 1 1.605 1.9c.012.748 1.17.748 1.16 0A3.138 3.138 0 0 0 8.38.205c-1.176-.423-2.567-.029-3.36.933-.83 1.002-.968 2.45-.285 3.575.678 1.124 1.994 1.675 3.274 1.431 1.431-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.159-.005ZM7.378 14.406a2.503 2.503 0 1 0 0-5.006 2.503 2.503 0 0 0 0 5.006Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M9.302 11.902c-.011.788-.486 1.513-1.228 1.797a1.954 1.954 0 0 1-2.185-.574 1.943 1.943 0 0 1-.173-2.196c.4-.684 1.199-1.066 1.981-.927a1.943 1.943 0 0 1 1.605 1.9c.012.748 1.17.748 1.16 0A3.138 3.138 0 0 0 8.38 8.988c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.285 3.575.678 1.124 1.994 1.674 3.274 1.431 1.431-.272 2.428-1.593 2.451-3.019.012-.753-1.147-.753-1.159-.006ZM7.378 23.427a2.503 2.503 0 1 0 0-5.007 2.503 2.503 0 0 0 0 5.007Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M9.302 20.924c-.011.788-.486 1.513-1.228 1.797a1.954 1.954 0 0 1-2.185-.574 1.943 1.943 0 0 1-.173-2.196c.4-.684 1.199-1.066 1.981-.927.933.156 1.594.967 1.605 1.9.012.748 1.17.748 1.16 0A3.139 3.139 0 0 0 8.38 18.01c-1.176-.423-2.567-.03-3.36.933-.83 1.002-.968 2.45-.285 3.569.678 1.124 1.994 1.675 3.274 1.431 1.431-.272 2.428-1.593 2.451-3.019.012-.747-1.147-.747-1.159 0Z"})]}),l=a},32680:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#212134",d:"M1.056 24h15.906c.583 0 1.056-.473 1.056-1.056V7.028c0-.583-.473-1.056-1.056-1.056H1.056C.473 5.972 0 6.445 0 7.028v15.916C0 23.527.473 24 1.056 24Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M8.094 2.111h13.795v13.795h-1.127v2.112h2.182A1.056 1.056 0 0 0 24 16.962V1.056A1.056 1.056 0 0 0 22.944 0H7.038a1.056 1.056 0 0 0-1.056 1.056v2.252h2.112V2.11Z"})]}),l=a},13520:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#F6F6F9",stroke:"#DCDCE4",rx:2.5}),(0,i.jsx)("path",{fill:"#666687",d:"M20.573 8c-1.484 0-2.666.745-3.397 1.37l-.026.023-.416.452.919 1.51.68-.682c.711-.6 1.506-.93 2.24-.93 1.48 0 2.685 1.171 2.685 2.612 0 1.44-1.205 2.613-2.685 2.613-2.25 0-3.78-2.974-3.795-3.004C16.69 11.784 14.75 8 11.428 8 8.985 8 7 9.954 7 12.355c0 2.401 1.986 4.355 4.427 4.355 1.196 0 2.373-.476 3.404-1.376l.022-.02.413-.45-.919-1.51-.683.686c-.712.616-1.465.928-2.237.928-1.48 0-2.685-1.172-2.685-2.613 0-1.44 1.205-2.613 2.685-2.613 2.25 0 3.78 2.974 3.795 3.004.088.18 2.028 3.964 5.35 3.964 2.442 0 4.428-1.954 4.428-4.355C25 9.954 23.014 8 20.573 8Z"})]}),l=a},36944:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#32324D",d:"m12.59 23.679-.044-.007a.045.045 0 0 0 .043.007ZM22.334 8.345a.295.295 0 0 0-.572-.033.296.296 0 0 1-.28.206h-.828a.294.294 0 0 1-.153-.042l-1.199-.72a.293.293 0 0 0-.152-.042h-1.918a.294.294 0 0 0-.163.05l-2.366 1.577a.295.295 0 0 0-.131.248v2.236a.295.295 0 0 0 .156.261l3.101 1.656a.298.298 0 0 1 .157.257L18 15.257a.296.296 0 0 0 .153.255l1.246.69a.297.297 0 0 1 .152.258v2.604a.297.297 0 0 0 .34.292.296.296 0 0 0 .152-.07c.502-.443 1.223-1.09 1.319-1.237a11.186 11.186 0 0 0 1.175-2.415c.679-1.966.142-5.501-.203-7.289ZM13.629 14.507l-3.286-2.464a.214.214 0 0 0-.129-.043H8.655a.203.203 0 0 1-.143-.06l-.735-.734a.216.216 0 0 0-.152-.063h-2.85a.202.202 0 0 1-.198-.243.203.203 0 0 1 .055-.104l.451-.45a.202.202 0 0 1 .144-.06H6.96a.428.428 0 0 0 .413-.313l.369-1.312a.214.214 0 0 1 .107-.132L9.32 7.77a.203.203 0 0 0 .11-.18v-.67c0-.042.013-.082.037-.116l.782-1.126a.2.2 0 0 1 .095-.074l1.095-.411a.203.203 0 0 0 .131-.19v-.611a.203.203 0 0 0-.09-.17l-1.097-.729a.205.205 0 0 0-.206-.012l-1.493.747a.202.202 0 0 1-.214-.022l-.709-.56a.204.204 0 0 1 .006-.321l.575-.424a.202.202 0 0 0-.005-.33l-.896-.625a.203.203 0 0 0-.214-.012c-.324.177-1.275.702-1.613.939a11.222 11.222 0 0 0-3.651 4.285c-.098.202-.218.407-.23.628-.012.221-.185.715-.258.915a.202.202 0 0 0 .013.166l1.912 3.514a.2.2 0 0 0 .074.077l2.012 1.207a.201.201 0 0 1 .097.146l.403 2.922a.205.205 0 0 0 .086.14l1.57 1.079a.214.214 0 0 1 .088.133l.832 3.953a.193.193 0 0 0 .027.066c.078.126.39.589.766.658-.035.01-.066.031-.101.041.09.016.18.037.268.063.107.028.214.053.321.076.168.033.184.06.265-.09.107-.2.23-.268.321-.292a.207.207 0 0 0 .155-.156l.54-2.5a.215.215 0 0 1 .085-.13l2.411-1.709a.214.214 0 0 0 .09-.175v-3.212a.215.215 0 0 0-.082-.172Z"}),(0,i.jsx)("path",{fill:"#32324D",d:"M12.321.857s-.195.011-.235.012a11.113 11.113 0 0 0-3.932.845c.13.09-.094.173-.094.173l.35.684h1.876l1.285.643 1.125-.643-.375-1.714ZM17.262 4.718l.863-.75a.214.214 0 0 0-.05-.357l-1.008-.467a.214.214 0 0 0-.284.101l-.415.869a.214.214 0 0 0 .08.274l.56.35a.214.214 0 0 0 .254-.02ZM21.302 5.822l-.312-.483a.337.337 0 0 1-.014-.023c-.056-.115-.521-1.055-.91-1.42-.292-.276-.375-.196-.398-.135a.202.202 0 0 1-.064.085l-1.545 1.25a.214.214 0 0 1-.135.047h-.8a.214.214 0 0 0-.151.062l-.643.643a.215.215 0 0 0 0 .304l.643.642a.214.214 0 0 0 .152.063h4.027a.215.215 0 0 0 .214-.223l-.03-.705a.214.214 0 0 0-.034-.107Z"}),(0,i.jsx)("path",{fill:"#32324D",d:"M12 2.143A9.857 9.857 0 1 1 5.03 5.03 9.791 9.791 0 0 1 12 2.143ZM12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0Z"})]}),l=a},86108:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#FCECEA",stroke:"#F5C0B8",rx:2.5}),(0,i.jsx)("path",{fill:"#D02B20",d:"M16.767 17.49c.724 0 1.428-.089 1.962-.253v-1.093c-.383.143-1.128.239-1.86.239-2.905 0-4.744-1.764-4.744-4.546v-.014c0-2.734 1.839-4.641 4.484-4.641 2.598 0 4.307 1.62 4.307 4.088v.013c0 1.402-.444 2.304-1.135 2.304-.417 0-.656-.287-.656-.772V9.157h-1.38v.82h-.124c-.273-.608-.868-.97-1.6-.97-1.367 0-2.296 1.135-2.296 2.789v.014c0 1.73.943 2.884 2.365 2.884.793 0 1.353-.362 1.64-1.052h.123l.007.04c.158.636.78 1.033 1.62 1.033 1.655 0 2.687-1.367 2.687-3.534v-.014c0-3.008-2.242-5.072-5.517-5.072-3.418 0-5.776 2.324-5.776 5.694v.014c0 3.431 2.331 5.687 5.893 5.687Zm-.342-4.053c-.718 0-1.149-.602-1.149-1.586v-.014c0-.991.431-1.586 1.156-1.586.724 0 1.182.608 1.182 1.586v.014c0 .977-.458 1.585-1.19 1.585Z"})]}),l=a},99995:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10Zm-4-9a4 4 0 1 0 8 0H8Zm0-2a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm8 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})}),l=a},81011:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10Zm-5-5h2a3 3 0 0 1 6 0h2a5 5 0 1 0-10 0Zm1-6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm8 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})}),l=a},79848:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 216 120",...c,children:[(0,i.jsxs)("g",{clipPath:"url(#EmptyDocuments_svg__a)",opacity:.84,children:[(0,i.jsx)("path",{fill:"#D9D8FF",fillOpacity:.8,fillRule:"evenodd",d:"M189.25 19.646a7.583 7.583 0 0 1 0 15.166h-43.333a7.583 7.583 0 0 1 0 15.167h23.833a7.583 7.583 0 0 1 0 15.167h-11.022c-5.28 0-9.561 3.395-9.561 7.583 0 1.956 1.063 3.782 3.19 5.48 2.017 1.608 4.824 1.817 7.064 3.096a7.583 7.583 0 0 1-3.754 14.174H65.75a7.583 7.583 0 0 1 0-15.166H23.5a7.583 7.583 0 1 1 0-15.167h43.333a7.583 7.583 0 1 0 0-15.167H39.75a7.583 7.583 0 1 1 0-15.166h43.333a7.583 7.583 0 0 1 0-15.167H189.25Zm0 30.333a7.583 7.583 0 1 1 0 15.166 7.583 7.583 0 0 1 0-15.166Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"m132.561 19.646 10.077 73.496.906 7.374a4.334 4.334 0 0 1-3.773 4.829l-63.44 7.789a4.333 4.333 0 0 1-4.83-3.772l-9.767-79.547a2.166 2.166 0 0 1 1.91-2.417l5.262-.59 63.655-7.162ZM73.162 26.33l4.97-.557-4.97.557Z",clipRule:"evenodd"}),(0,i.jsx)("path",{stroke:"#7B79FF",strokeWidth:2.5,d:"m73.162 26.33 4.97-.557m54.429-6.127 10.077 73.496.906 7.374a4.334 4.334 0 0 1-3.773 4.829l-63.44 7.789a4.333 4.333 0 0 1-4.83-3.772l-9.767-79.547a2.166 2.166 0 0 1 1.91-2.417l5.262-.59 63.655-7.162Z"}),(0,i.jsx)("path",{fill:"#F0F0FF",fillRule:"evenodd",d:"m129.818 24.27 9.122 66.608.82 6.682c.264 2.153-1.246 4.11-3.373 4.371l-56.812 6.976c-2.127.261-4.066-1.272-4.33-3.425l-8.83-71.908a2.167 2.167 0 0 1 1.887-2.415l7.028-.863",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#fff",fillRule:"evenodd",stroke:"#7B79FF",strokeWidth:2.5,d:"M135.331 5.833H85.978a2.97 2.97 0 0 0-2.107.873A2.97 2.97 0 0 0 83 8.813v82.333c0 .823.333 1.567.872 2.106a2.97 2.97 0 0 0 2.107.873h63.917a2.97 2.97 0 0 0 2.106-.873 2.97 2.97 0 0 0 .873-2.106V23.367a2.98 2.98 0 0 0-.873-2.107L137.437 6.705a2.98 2.98 0 0 0-2.106-.872Z",clipRule:"evenodd"}),(0,i.jsx)("path",{stroke:"#7B79FF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M135.811 7.082v12.564a3.25 3.25 0 0 0 3.25 3.25h8.595M94.644 78.146h28.167m-28.167-55.25h28.167-28.167Zm0 13h46.584-46.584Zm0 14.083h46.584-46.584Zm0 14.084h46.584-46.584Z"})]}),(0,i.jsx)("defs",{children:(0,i.jsx)("clipPath",{id:"EmptyDocuments_svg__a",children:(0,i.jsx)("path",{fill:"#fff",d:"M0 0h216v120H0z"})})})]}),l=a},9704:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 192 120",...c,children:(0,i.jsxs)("g",{opacity:.88,children:[(0,i.jsx)("path",{fill:"#DBDBFA",fillRule:"evenodd",d:"M160.28 53.026a3.89 3.89 0 0 0-.15-.281c-3.5-5.96-7.289-11.263-11.52-15.857h18.097c4.444 0 8.047 3.612 8.047 8.069 0 4.456-3.603 8.07-8.047 8.07h-6.427Zm-8.492 16.139c-11.563 11.57-31.954 19.597-55.211 19.597-31.435 0-54.383-16.705-55.7-35.736H28.741c-4.444 0-8.047 3.613-8.047 8.07 0 4.456 3.603 8.069 8.047 8.069H40.44c5.604 0 10.147 3.612 10.147 8.069 0 2.524-1.66 4.846-4.98 6.964-.942.6-2.033.875-3.123 1.15-.33.082-.658.165-.982.257a8.07 8.07 0 0 0-5.861 7.767c0 4.457 3.603 8.07 8.048 8.07h95.425c4.445 0 8.048-3.613 8.048-8.07 0-4.456-3.603-8.069-8.048-8.069h44.838c4.445 0 8.048-3.612 8.048-8.07 0-4.456-3.603-8.068-8.048-8.068h-32.164ZM68.056 20.749H8.048C3.603 20.75 0 24.362 0 28.82c0 4.456 3.603 8.069 8.048 8.069h37.314c4.606-6.844 12.5-12.478 22.694-16.139ZM0 61.095c0-4.456 3.603-8.069 8.048-8.069s8.048 3.613 8.048 8.07c0 4.456-3.603 8.069-8.048 8.069S0 65.552 0 61.095Z",clipRule:"evenodd"}),(0,i.jsx)("path",{stroke:"#7B79FF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"m157.424 48.415 1.447 2.131"}),(0,i.jsx)("path",{fill:"#fff",d:"M154.195 58.894c-45.683-57.685-95.639-25.813-117.374.01-1.403 1.666-1.426 4.115-.15 5.881 47.31 65.454 96.71 29.043 117.705-.133 1.239-1.723 1.137-4.095-.181-5.758Z"}),(0,i.jsx)("path",{fill:"#7B79FF",fillRule:"evenodd",d:"M112.869 27.294c-9.141-2.486-18.085-2.558-26.571-.941-21.301 4.058-39.457 18.708-50.43 31.743-1.794 2.132-1.797 5.216-.205 7.419 11.917 16.487 24.03 26.65 35.888 32.099.79.363 1.58.705 2.367 1.026l1.206-2.208a57.244 57.244 0 0 1-2.529-1.09C61.228 90.12 49.426 80.29 37.689 64.05c-.961-1.329-.92-3.142.092-4.344C48.545 46.918 66.234 32.72 86.766 28.809c7.905-1.506 16.271-1.495 24.869.744l1.234-2.26ZM84.593 99.259c7.096 1.397 13.98 1.156 20.536-.278 20.46-4.474 37.825-20.594 48.236-35.062.899-1.25.841-3.007-.145-4.252-10.729-13.547-21.653-22.062-32.352-26.854l1.202-2.2c11.025 4.98 22.209 13.738 33.11 27.502 1.649 2.082 1.794 5.069.214 7.264-10.583 14.709-28.415 31.383-49.731 36.044-7.116 1.556-14.608 1.77-22.324.132l1.254-2.296Z",clipRule:"evenodd"}),(0,i.jsx)("path",{stroke:"#7B79FF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M126.492 21.282c13.231 6.322 21.865 14.379 27.624 21.78M33.4 47.845c18.935-25.304 55.13-40.341 83.887-30.007"}),(0,i.jsx)("ellipse",{cx:94.313,cy:65.708,fill:"#F0F0FF",rx:18.395,ry:18.444}),(0,i.jsx)("path",{fill:"#7B79FF",fillRule:"evenodd",d:"M104.094 43.565a24.006 24.006 0 0 0-9.777-2.067c-13.334 0-24.144 10.839-24.144 24.208 0 8.429 4.296 15.851 10.813 20.186l1.203-2.204c-5.74-3.902-9.516-10.498-9.516-17.982 0-11.995 9.697-21.708 21.644-21.708 3.045 0 5.944.631 8.574 1.77l1.203-2.203ZM91.283 87.202c.991.14 2.004.212 3.034.212 11.947 0 21.644-9.713 21.644-21.708a21.66 21.66 0 0 0-5.222-14.141l1.272-2.33a24.16 24.16 0 0 1 6.45 16.471c0 13.37-10.81 24.208-24.144 24.208-1.47 0-2.908-.132-4.305-.384l1.27-2.328Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#fff",stroke:"#7B79FF",strokeWidth:2.5,d:"M116.062 54.18c0 4.406-3.561 7.972-7.947 7.972-4.387 0-7.948-3.566-7.948-7.972 0-4.406 3.561-7.972 7.948-7.972 4.386 0 7.947 3.566 7.947 7.972Z"}),(0,i.jsx)("path",{fill:"#fff",d:"M109.805 32.838c1.275-2.324 4.079-3.019 6.296-1.56 2.265 1.49 3.053 4.654 1.751 7.027l-31.287 57.05c-1.275 2.324-4.078 3.018-6.296 1.559-2.265-1.49-3.053-4.653-1.75-7.027l31.286-57.05Z"}),(0,i.jsx)("rect",{width:3.668,height:134.376,fill:"#7B79FF",rx:1.834,transform:"matrix(.82817 .56048 -.47918 .87772 126.515 0)"})]})}),l=a},42515:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 216 120",...c,children:(0,i.jsxs)("g",{opacity:.88,children:[(0,i.jsx)("path",{fill:"#D9D8FF",fillOpacity:.8,fillRule:"evenodd",d:"M119 28a7 7 0 1 1 0 14h64a7 7 0 1 1 0 14h22a7 7 0 1 1 0 14h-19a7 7 0 1 0 0 14h6a7 7 0 1 1 0 14h-52a7.024 7.024 0 0 1-1.5-.161A7.024 7.024 0 0 1 137 98H46a7 7 0 1 1 0-14H7a7 7 0 1 1 0-14h40a7 7 0 1 0 0-14H22a7 7 0 1 1 0-14h40a7 7 0 1 1 0-14h57Zm90 56a7 7 0 1 1 0 14 7 7 0 0 1 0-14Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"m73.83 102.273-8.621 1.422a4 4 0 0 1-4.518-3.404L49.557 21.069a4 4 0 0 1 3.404-4.518l78.231-10.994a4 4 0 0 1 4.518 3.404c.475 3.377 2.408 16.468 2.572 17.63",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#F0F0FF",fillRule:"evenodd",d:"m71.805 98.712-3.696.526a3.618 3.618 0 0 1-4.096-3.085l-9.995-71.925a3.646 3.646 0 0 1 3.097-4.108l71.037-10.096a3.618 3.618 0 0 1 4.097 3.085l.859 6.18 9.205 66.599c.306 2.212-1.219 4.257-3.407 4.566a4.31 4.31 0 0 1-.071.01l-67.03 8.248Z",clipRule:"evenodd"}),(0,i.jsx)("path",{stroke:"#7B79FF",strokeLinecap:"round",strokeWidth:2.5,d:"m69.278 103.123-4.07.572a4 4 0 0 1-4.517-3.404L49.557 21.069a4 4 0 0 1 3.404-4.518l78.231-10.994a4 4 0 0 1 4.518 3.404l.957 6.808M137.5 20.38l.5 3.12"}),(0,i.jsx)("path",{fill:"#fff",fillRule:"evenodd",stroke:"#7B79FF",strokeWidth:2.5,d:"M164.411 30.299 85.844 22.04a2.74 2.74 0 0 0-2.018.598 2.741 2.741 0 0 0-1.004 1.85l-8.363 79.561c-.079.755.155 1.471.598 2.018a2.74 2.74 0 0 0 1.85 1.004l78.567 8.258a2.739 2.739 0 0 0 2.018-.598 2.741 2.741 0 0 0 1.005-1.849l8.362-79.562a2.743 2.743 0 0 0-.598-2.018 2.74 2.74 0 0 0-1.85-1.004Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"m92.99 30.585 62.655 6.585a3 3 0 0 1 2.67 3.297l-5.54 52.71a3 3 0 0 1-3.297 2.67L86.823 89.26a3 3 0 0 1-2.67-3.297l5.54-52.71a3 3 0 0 1 3.297-2.67Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#F0F0FF",fillRule:"evenodd",d:"m92.74 73.878 9.798-6.608a4 4 0 0 1 5.168.594l7.173 7.723a1 1 0 0 0 1.362.096l15.34-12.43a4 4 0 0 1 5.878.936l9.98 15.438 1.434 2.392-.687 8.124a1 1 0 0 1-1.106.91l-56.963-6.329a1 1 0 0 1-.886-1.085l.755-8.199 2.755-1.562Z",clipRule:"evenodd"}),(0,i.jsx)("path",{stroke:"#7B79FF",strokeWidth:2.5,d:"M155.514 38.413 92.86 31.828c-.481-.05-.937.098-1.285.38a1.745 1.745 0 0 0-.639 1.177l-5.54 52.71c-.05.48.099.936.38 1.284.282.348.697.589 1.178.64l62.655 6.585a1.747 1.747 0 0 0 1.923-1.558l5.54-52.71a1.75 1.75 0 0 0-1.558-1.923Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#F0F0FF",stroke:"#7B79FF",strokeWidth:2.5,d:"M104.405 55.917a6 6 0 1 0 1.254-11.934 6 6 0 0 0-1.254 11.934Z"}),(0,i.jsx)("path",{stroke:"#7B79FF",strokeLinecap:"round",strokeWidth:2.5,d:"m90.729 75.425 11.809-8.155a4 4 0 0 1 5.168.594l7.173 7.723a1 1 0 0 0 1.362.096l15.34-12.43a4 4 0 0 1 5.878.936l11.064 17.556"})]})}),l=a},42260:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#F6ECFC",stroke:"#E0C1F4",rx:2.5}),(0,i.jsx)("path",{fill:"#9736E8",fillRule:"evenodd",d:"M10.167 7a1.167 1.167 0 1 0 0 2.333 1.167 1.167 0 0 0 0-2.333Zm0 4.03a1.167 1.167 0 1 0 0 2.334 1.167 1.167 0 0 0 0-2.334ZM9 16.23a1.167 1.167 0 1 1 2.333 0 1.167 1.167 0 0 1-2.333 0Zm4.005-9.02a.4.4 0 0 0-.4.4v1.11c0 .22.18.4.4.4H22.6a.4.4 0 0 0 .4-.4V7.61a.4.4 0 0 0-.4-.4h-9.594Zm-.399 4.432a.4.4 0 0 1 .4-.4H22.6c.22 0 .4.18.4.4v1.11a.4.4 0 0 1-.4.4h-9.594a.4.4 0 0 1-.4-.4v-1.11Zm.4 3.63a.4.4 0 0 0-.4.4v1.11c0 .22.18.4.4.4H22.6a.4.4 0 0 0 .4-.4v-1.11a.4.4 0 0 0-.4-.4h-9.594Z",clipRule:"evenodd"})]}),l=a},92508:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#32324D",d:"M0 2.8A.8.8 0 0 1 .8 2h22.4a.8.8 0 0 1 .8.8v2.71a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2.8Z"}),(0,i.jsx)("path",{fill:"#32324D",d:"M1.922 7.991C.197 6.675 0 6.252 0 5.289h23.953c.305 1.363-1.594 2.506-2.297 3.125-1.953 1.363-6.253 4.36-7.828 5.45-1.575 1.09-3.031.455-3.562 0-2.063-1.41-6.62-4.557-8.344-5.873ZM22.8 18H1.2c-.663 0-1.2.471-1.2 1.053v1.894C0 21.529.537 22 1.2 22h21.6c.663 0 1.2-.471 1.2-1.053v-1.894c0-.582-.537-1.053-1.2-1.053Z"}),(0,i.jsx)("path",{fill:"#32324D",d:"M0 9.555v10.972h24V9.554c-2.633 1.95-8.367 6.113-9.96 7.166-1.595 1.052-3.352.438-4.032 0L0 9.555Z"})]}),l=a},30048:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12 12-5.383 12-12S18.617 0 12 0Zm1.154 18.456h-2.308V16.15h2.308v2.307Zm-.23-3.687h-1.847l-.346-9.23h2.538l-.346 9.23Z"})}),l=a},59584:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#212134",d:"M11.987 23.036v-.964H1.876V1.876h10.111V0H0v24h11.987v-.964Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M8 11.2c0-.11.09-.2.2-.2h11.973l-5.445-5.445a.2.2 0 0 1 0-.283l1.13-1.13a.2.2 0 0 1 .283 0l7.718 7.717a.2.2 0 0 1 0 .282L16.14 19.86a.2.2 0 0 1-.282 0l-1.13-1.13a.2.2 0 0 1 0-.284L20.172 13H8.2a.2.2 0 0 1-.2-.2v-1.6Z"})]}),l=a},84760:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M15.5 3.5h5v5H23V1h-7.5v2.5Zm5 17h-5V23H23v-7.5h-2.5v5Zm-17-17h5V1H1v7.5h2.5v-5ZM1 23.3h7.5v-2.5h-5v-5H1v7.5Z"})}),l=a},73648:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M16.235 2.824a1.412 1.412 0 0 1 0-2.824h6.353C23.368 0 24 .633 24 1.412v6.353a1.412 1.412 0 0 1-2.823 0V4.82l-8.179 8.178a1.412 1.412 0 0 1-1.996-1.996l8.178-8.178h-2.945Zm4.942 10.588a1.412 1.412 0 0 1 2.823 0v9.176c0 .78-.632 1.412-1.412 1.412H1.412C.632 24 0 23.368 0 22.588V1.412C0 .632.632 0 1.412 0h9.176a1.412 1.412 0 0 1 0 2.824H2.824v18.353h18.353v-7.765Z"})}),l=a},14032:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#212134",d:"M15.2 12a3.2 3.2 0 1 1-6.399 0 3.2 3.2 0 0 1 6.4 0Z"}),(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M18.78 6.103c1.923 1.243 3.64 2.981 4.963 5.027a1.61 1.61 0 0 1 .005 1.738c-1.318 2.063-3.031 3.807-4.954 5.046-2.12 1.364-4.475 2.086-6.81 2.086-2.388 0-4.683-.7-6.816-2.082-1.894-1.225-3.593-2.966-4.914-5.032a1.596 1.596 0 0 1 .032-1.777C1.89 8.811 3.734 7.027 5.77 5.805 7.767 4.608 9.858 4 11.984 4c2.317 0 4.667.728 6.795 2.103Zm-9.446 9.888a4.8 4.8 0 1 0 5.334-7.982 4.8 4.8 0 0 0-5.334 7.982Z",clipRule:"evenodd"})]}),l=a},63648:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M4.048 6.875 2.103 4.93a1 1 0 1 1 1.414-1.415l16.966 16.966a1 1 0 1 1-1.414 1.415l-2.686-2.686a12.247 12.247 0 0 1-4.383.788c-3.573 0-6.559-1.425-8.962-3.783a15.842 15.842 0 0 1-2.116-2.568 11.096 11.096 0 0 1-.711-1.211 1.145 1.145 0 0 1 0-.875c.124-.258.36-.68.711-1.211.58-.876 1.283-1.75 2.116-2.569.326-.32.663-.622 1.01-.906Zm10.539 10.539-1.551-1.551a4.005 4.005 0 0 1-4.9-4.9L6.584 9.411a6 6 0 0 0 8.002 8.002ZM7.617 4.787A12.248 12.248 0 0 1 12 3.998c3.572 0 6.559 1.426 8.961 3.783a15.845 15.845 0 0 1 2.117 2.569c.351.532.587.954.711 1.211.116.242.115.636 0 .875-.124.257-.36.68-.711 1.211-.58.876-1.283 1.75-2.117 2.568-.325.32-.662.623-1.01.907l-2.536-2.537a6 6 0 0 0-8.002-8.002L7.617 4.787Zm3.347 3.347A4.005 4.005 0 0 1 16 11.998c0 .359-.047.706-.136 1.037l-4.9-4.901Z"})}),l=a},50692:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"M21 2C6 2 4 16 3 22h1.998c.666-3.333 2.333-5.166 5.002-5.5 4-.5 7-4 8-7l-1.5-1 1-1c1-1 2.004-2.5 3.5-5.5Z"})}),l=a},62736:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 33",...c,children:(0,i.jsx)("path",{fill:"#C0C0CF",fillRule:"evenodd",d:"m16.39.749 6.915 7.377A2.59 2.59 0 0 1 24 9.877v19.638c0 1.381-1.042 2.493-2.337 2.493H2.337C1.042 32.008 0 30.896 0 29.515V2.5C0 1.827.253 1.22.695.75 1.137.277 1.705.008 2.337.008h12.41c.6 0 1.2.27 1.643.74Zm.473 7.983h5.116L15.82 2.197V7.62c0 .607.474 1.112 1.042 1.112ZM2.337 30.559h19.326c.537 0 .98-.471.98-1.044V10.18h-5.78c-1.326 0-2.4-1.145-2.4-2.56V1.456H2.337a.949.949 0 0 0-.695.303c-.19.203-.284.472-.284.741v27.015c0 .573.442 1.044.979 1.044Zm3.358-5.248h12.442c.379 0 .695.326.726.718 0 .392-.316.718-.694.718H5.695c-.38 0-.695-.326-.695-.718 0-.392.316-.718.695-.718Zm12.442-5.287H5.695c-.38 0-.695.327-.695.718 0 .392.316.718.695.718h12.474c.378 0 .694-.326.694-.718 0-.391-.347-.718-.726-.718ZM5.695 14.738h12.442c.379 0 .726.326.726.718 0 .391-.316.718-.694.718H5.695c-.38 0-.695-.327-.695-.718 0-.392.316-.718.695-.718Z",clipRule:"evenodd"})}),l=a},15800:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 32",...c,children:(0,i.jsx)("path",{fill:"#D02B20",fillRule:"evenodd",d:"M23.305 8.118 16.39.74C15.947.27 15.347 0 14.747 0H2.337c-.632 0-1.2.27-1.642.741A2.529 2.529 0 0 0 0 2.493v27.014C0 30.888 1.042 32 2.337 32h19.326C22.958 32 24 30.888 24 29.507V9.87c0-.64-.253-1.28-.695-1.751Zm-1.326.606h-5.116c-.568 0-1.042-.505-1.042-1.111V2.189l6.158 6.535Zm-.316 21.828H2.337c-.537 0-.98-.472-.98-1.045V2.493c0-.27.096-.54.285-.741a.949.949 0 0 1 .695-.304h12.126v6.165c0 1.414 1.074 2.56 2.4 2.56h5.78v19.334c0 .573-.443 1.045-.98 1.045ZM10.477 19.734 6.512 23.7a.73.73 0 0 0 0 1.024.73.73 0 0 0 1.023 0l3.965-3.965 3.965 3.965a.73.73 0 0 0 1.023 0 .73.73 0 0 0 0-1.024l-3.965-3.965 4.2-4.2a.73.73 0 0 0 0-1.023c-.28-.279-.768-.255-1.047.024L11.5 18.71l-4.176-4.176c-.28-.28-.768-.303-1.047-.024a.73.73 0 0 0 0 1.024l4.2 4.2Z",clipRule:"evenodd"})}),l=a},50452:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 33",...c,children:[(0,i.jsx)("path",{fill:"#D9822F",d:"M23.305 8.126 16.39.749c-.443-.472-1.043-.741-1.643-.741H2.337c-.632 0-1.2.27-1.642.74A2.529 2.529 0 0 0 0 2.5v27.015c0 1.381 1.042 2.493 2.337 2.493h19.326c1.295 0 2.337-1.112 2.337-2.493V9.877c0-.64-.253-1.28-.695-1.751Zm-1.326.606h-5.116c-.568 0-1.042-.505-1.042-1.112V2.197l6.158 6.535Zm-.316 21.827H2.337c-.537 0-.98-.471-.98-1.044V2.5c0-.269.096-.538.285-.74a.949.949 0 0 1 .695-.304h12.126V7.62c0 1.415 1.074 2.56 2.4 2.56h5.78v19.335c0 .573-.443 1.044-.98 1.044Z"}),(0,i.jsx)("path",{fill:"#D9822F",fillRule:"evenodd",d:"M13.964 20.095c.344.252.781.522 1.312.811a16.714 16.714 0 0 1 1.827-.1c1.53 0 2.451.236 2.764.709.166.212.177.463.031.753 0 .01-.005.02-.016.029l-.03.029v.014c-.063.367-.433.55-1.11.55-.5 0-1.098-.096-1.795-.29a11.908 11.908 0 0 1-2.03-.767c-2.3.232-4.341.633-6.121 1.202-1.593 2.53-2.852 3.795-3.779 3.795a.965.965 0 0 1-.437-.102l-.375-.174a1.668 1.668 0 0 0-.093-.072c-.105-.096-.136-.27-.094-.521.094-.386.385-.828.874-1.325.49-.498 1.177-.963 2.061-1.398.146-.087.266-.058.36.087.02.02.03.039.03.058a34.703 34.703 0 0 0 1.672-2.853c.707-1.313 1.249-2.578 1.623-3.794a10.952 10.952 0 0 1-.476-2.31c-.067-.748-.034-1.364.102-1.847.114-.386.333-.579.655-.579h.344c.24 0 .422.072.547.217.187.203.234.531.14.985a.307.307 0 0 1-.062.116.35.35 0 0 1 .015.116v.434c-.02 1.188-.093 2.115-.218 2.78.572 1.584 1.332 2.733 2.28 3.447ZM4.97 26.047c.542-.232 1.255-.995 2.14-2.289-.531.387-.987.792-1.367 1.217-.38.425-.637.782-.773 1.072Zm6.183-11.412c-.135-.868-.125-1.506.032-1.911v-.03c.01-.009.015-.019.015-.028a.798.798 0 0 1 .203.521c0 .01.005.024.016.044 0 .01.005.019.015.029a.317.317 0 0 0-.062.116c-.073.386-.11.593-.11.622l-.109.637Zm-1.904 7.66a24.288 24.288 0 0 1 4.434-1.173 2.398 2.398 0 0 1-.203-.137 2.761 2.761 0 0 1-.25-.196c-.79-.647-1.452-1.496-1.983-2.549-.28.83-.713 1.782-1.296 2.854-.312.54-.546.94-.702 1.201Zm7.9-.58c1.208 0 1.937.117 2.187.349.02.019.031.033.031.043-.042.01-.135.014-.281.014-.5 0-1.145-.135-1.936-.405Z",clipRule:"evenodd"})]}),l=a},60012:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",fillRule:"evenodd",d:"M0 4a2 2 0 0 1 2-2h20a2 2 0 1 1 0 4H2a2 2 0 0 1-2-2Zm4 8a2 2 0 0 1 2-2h12a2 2 0 1 1 0 4H6a2 2 0 0 1-2-2Zm6 6a2 2 0 1 0 0 4h4a2 2 0 1 0 0-4h-4Z",clipRule:"evenodd"})}),l=a},35828:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M12.414 5H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h7.414l2 2Z"})}),l=a},60900:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M18.901 10a3 3 0 0 0 4.075 1.113 3.5 3.5 0 0 1-1.975 3.55V21h-6v-2a3 3 0 0 0-5.996-.176L9 19v2H3v-6.336a3.5 3.5 0 0 1-1.979-3.553A2.999 2.999 0 0 0 5.098 10h13.803Zm-1.865-7a3.5 3.5 0 0 0 4.446 2.86 3.5 3.5 0 0 1-3.29 3.135L18 9H6a3.5 3.5 0 0 1-3.482-3.14A3.5 3.5 0 0 0 6.964 3h10.072Z"})}),l=a},28656:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M15 2a4 4 0 0 1 3.464 6.001L23 8v2h-2v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V10H1V8l4.536.001A4 4 0 0 1 12 3.355 3.983 3.983 0 0 1 15 2Zm-2 8h-2v10h2V10ZM9 4a2 2 0 0 0-.15 3.995L9 8h2V6a2 2 0 0 0-1.697-1.977l-.154-.018L9 4Zm6 0a2 2 0 0 0-1.995 1.85L13 6v2h2a2 2 0 0 0 1.995-1.85L17 6a2 2 0 0 0-2-2Z"})}),l=a},37896:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"M13 21h5v2H6v-2h5v-1.05a10.001 10.001 0 0 1-7.684-4.988l1.737-.992A8 8 0 1 0 15.97 3.053l.992-1.737A9.996 9.996 0 0 1 22 10c0 5.185-3.947 9.449-9 9.95V21Zm-1-4a7 7 0 1 1 0-14 7 7 0 0 1 0 14Z"})}),l=a},51768:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 12 12",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"M.67 5.33h4a.67.67 0 0 0 .66-.66v-4A.67.67 0 0 0 4.67 0h-4A.67.67 0 0 0 0 .67v4a.67.67 0 0 0 .67.66Zm6.66 0h4a.67.67 0 0 0 .67-.66v-4a.67.67 0 0 0-.67-.67h-4a.67.67 0 0 0-.66.67v4a.67.67 0 0 0 .66.66ZM.67 12h4a.67.67 0 0 0 .66-.67v-4a.67.67 0 0 0-.66-.66h-4a.67.67 0 0 0-.67.66v4a.67.67 0 0 0 .67.67Zm6.66 0h4a.67.67 0 0 0 .67-.67v-4a.67.67 0 0 0-.67-.66h-4a.67.67 0 0 0-.66.66v4a.67.67 0 0 0 .66.67Z"})}),l=a},93048:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M9.33 11.5h2.17A4.5 4.5 0 0 1 16 16H8.999L9 17h8v-1a5.579 5.579 0 0 0-.886-3H19a5 5 0 0 1 4.516 2.851C21.151 18.972 17.322 21 13 21c-2.761 0-5.1-.59-7-1.625v-9.304A6.967 6.967 0 0 1 9.33 11.5ZM4 9a1 1 0 0 1 .993.883L5 10v9a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h2Zm9.646-5.425L14 3.93l.354-.354a2.5 2.5 0 1 1 3.535 3.536L14 11l-3.89-3.89a2.5 2.5 0 1 1 3.536-3.535Z"})}),l=a},97717:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m7.784 14 .42-4H4V8h4.415l.525-5h2.011l-.525 5h3.989l.525-5h2.011l-.525 5H20v2h-3.784l-.42 4H20v2h-4.415l-.525 5h-2.011l.525-5H9.585l-.525 5H7.049l.525-5H4v-2h3.784Zm2.011 0h3.99l.42-4h-3.99l-.42 4Z"})}),l=a},83456:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M4 12h3a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-7C2 6.477 6.477 2 12 2s10 4.477 10 10v7a2 2 0 0 1-2 2h-3a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h3a8 8 0 0 0-16 0Z"})}),l=a},24504:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M16.5 3C19.538 3 22 5.5 22 9c0 7-7.5 11-10 12.5C9.5 20 2 16 2 9c0-3.5 2.5-6 5.5-6C9.36 3 11 4 12 5c1-1 2.64-2 4.5-2Z"})}),l=a},48256:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M20 20a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9H1l10.327-9.388a1 1 0 0 1 1.346 0L23 11h-3v9Z"})}),l=a},42508:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M12 0C5.383 0 0 5.383 0 12s5.383 12 12 12 12-5.383 12-12S18.617 0 12 0Zm0 4.92a1.56 1.56 0 1 1 0 3.12 1.56 1.56 0 0 1 0-3.12Zm3.84 13.06a.5.5 0 0 1-.5.5h-6.2a.5.5 0 0 1-.5-.5v-.92a.5.5 0 0 1 .5-.5h2.14v-5.28H9.86a.5.5 0 0 1-.5-.5v-.92a.5.5 0 0 1 .5-.5h2.84a.5.5 0 0 1 .5.5v6.7h2.14a.5.5 0 0 1 .5.5v.92Z"})}),l=a},50616:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M19.7 1H9.4v3h3.1l-4 16H4.2v3h10.3v-3h-3.3l4.2-16h4.2V1Z"})}),l=a},51855:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#EAF5FF",stroke:"#B8E1FF",rx:2.5}),(0,i.jsx)("path",{fill:"#0C75AF",fillRule:"evenodd",d:"M8.243 11.907v.157c.835.093 1.287.516 1.287 1.223V14.5c0 .693.236.959.855.959h.216V16.5h-.364c-1.459 0-2.078-.56-2.078-1.857v-.973c0-.722-.314-.992-1.159-1.002v-1.366c.84-.005 1.16-.275 1.16-1.002v-.968c0-1.282.618-1.832 2.077-1.832h.364v1.041h-.216c-.624 0-.855.266-.855.958v1.184c0 .713-.452 1.135-1.287 1.224Zm15.804.181v-.157c-.835-.088-1.287-.51-1.287-1.223V9.495c0-.693-.236-.954-.855-.954h-.216V7.5h.363c1.454 0 2.073.56 2.073 1.852v.973c0 .722.32.997 1.165 1.002v1.366c-.845.005-1.165.28-1.165 1.002v.973c0 1.282-.613 1.832-2.073 1.832h-.363v-1.046h.216c.619 0 .855-.26.855-.954v-1.188c0-.708.452-1.13 1.287-1.224ZM13.15 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm4-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm2 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z",clipRule:"evenodd"})]}),l=a},30932:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"M17 14h-4.34a6 6 0 1 1 0-4H23v4h-2v4h-4v-4ZM7 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})}),l=a},872:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M4.3.6a.9.9 0 1 0 0 1.8h15.311a.9.9 0 1 0 0-1.8H4.301Zm17.1 3.7A1.6 1.6 0 0 1 23 5.9v15.5a1.6 1.6 0 0 1-1.6 1.6H2.6A1.601 1.601 0 0 1 1 21.4V5.915C1 5.03 1.716 4.3 2.6 4.3h18.8ZM5.032 19.18h14.336l-3.136-3.205-1.792 1.831-4.032-4.12-5.376 5.494Zm13.44-8.697c0 1.282-.985 2.289-2.24 2.289-1.254 0-2.24-1.007-2.24-2.29 0-1.281.986-2.288 2.24-2.288 1.255 0 2.24 1.007 2.24 2.289Z",clipRule:"evenodd"})}),l=a},98168:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M4.8.2c0-.11.09-.2.2-.2h18.8c.11 0 .2.09.2.2v4.4a.2.2 0 0 1-.2.2H5a.2.2 0 0 1-.2-.2V.2ZM0 9.8c0-.11.09-.2.2-.2H19c.11 0 .2.09.2.2v4.4a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2V9.8ZM5 19.2a.2.2 0 0 0-.2.2v4.4c0 .11.09.2.2.2h18.8a.2.2 0 0 0 .2-.2v-4.4a.2.2 0 0 0-.2-.2H5Z"})}),l=a},41724:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M2.182 0A2.182 2.182 0 0 0 0 2.182v19.636C0 23.023.977 24 2.182 24h19.636A2.182 2.182 0 0 0 24 21.818V2.182A2.182 2.182 0 0 0 21.818 0H2.182Zm9.354 11.987h7.539c.314 0 .55.209.55.549v6.539c0 .34-.236.55-.55.55h-7.539c-.34 0-.55-.236-.55-.55v-6.539c0-.34.236-.55.55-.55Zm-6.638-2.27h14.177c.314 0 .549-.209.549-.549v-4.27c0-.34-.21-.549-.55-.549H4.899c-.313 0-.549.21-.549.55v4.269c0 .34.236.55.55.55Zm3.27 9.907h-3.27a.536.536 0 0 1-.549-.55v-6.538c0-.34.236-.55.55-.55h3.269c.34 0 .55.21.55.55v6.539c0 .34-.236.55-.55.55Z",clipRule:"evenodd"})}),l=a},96476:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M11 18H7.941c-.297-1.273-1.637-2.314-2.187-3a8 8 0 1 1 12.49.002c-.55.685-1.888 1.726-2.185 2.998H13v-5h-2v5Zm5 2v1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-1h8Z"})}),l=a},66156:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#212134",d:"M21.415 1.344a6.137 6.137 0 0 0-8.525.838L11.095 4.33a1.53 1.53 0 1 0 2.35 1.963l1.794-2.148a3.054 3.054 0 0 1 4.365-.324 3.117 3.117 0 0 1 .255 4.301l-3.73 4.467-.035.038a3.048 3.048 0 0 1-4.53.078 1.531 1.531 0 0 0-2.241 2.086 6.114 6.114 0 0 0 9.159-.245l3.721-4.454a6.289 6.289 0 0 0 1.418-4.62 6.01 6.01 0 0 0-2.206-4.128Z"}),(0,i.jsx)("path",{fill:"#212134",d:"m10.399 17.884-1.604 1.92a3.118 3.118 0 0 1-4.278.513 3.052 3.052 0 0 1-.457-4.353l3.795-4.542.028-.031a3.042 3.042 0 0 1 4.584-.022 1.529 1.529 0 0 0 1.794.37c.197-.094.37-.228.51-.395l.018-.022a1.51 1.51 0 0 0-.025-1.977 6.11 6.11 0 0 0-9.27.126l-3.784 4.53a6.137 6.137 0 0 0 .692 8.539 6.01 6.01 0 0 0 4.454 1.437 6.289 6.289 0 0 0 4.294-2.217l1.598-1.913a1.53 1.53 0 0 0-2.35-1.963Z"})]}),l=a},74549:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 12 12",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"m2.4.1.1-.1h9.4l.1.1v2.2l-.1.1H2.5l-.1-.1V.1ZM0 4.9l.1-.1h9.4l.1.1v2.2l-.1.1H.1L0 7.1V4.9Zm2.5 4.7-.1.1v2.2l.1.1h9.4l.1-.1V9.7l-.1-.1H2.5Z"})}),l=a},24144:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M12.057 18c.552 0 1 .451 1 .997v4.006a1 1 0 0 1-.941.995l-.059.002c-.552 0-1-.451-1-.997v-4.006a1 1 0 0 1 .941-.995l.06-.002Zm-3.06-.736.055.03c.478.276.64.89.367 1.364l-2.002 3.468a1 1 0 0 1-1.31.394l-.055-.03a1.002 1.002 0 0 1-.368-1.363l2.003-3.469a1 1 0 0 1 1.31-.394Zm7.42.394 2.002 3.468a1 1 0 0 1-.314 1.331l-.053.033a1.002 1.002 0 0 1-1.365-.363l-2.003-3.469a1 1 0 0 1 .314-1.33l.054-.034a1.002 1.002 0 0 1 1.364.364Zm-9.548-2.66.033.054c.276.478.11 1.091-.364 1.364L3.07 18.42a1 1 0 0 1-1.331-.314l-.033-.053a1.001 1.001 0 0 1 .364-1.365l3.468-2.003a1 1 0 0 1 1.33.314Zm11.79-.313 3.468 2.002a1 1 0 0 1 .393 1.31l-.03.055c-.276.478-.89.64-1.363.367l-3.469-2.003a1 1 0 0 1-.394-1.309l.03-.055c.276-.479.89-.64 1.364-.367Zm4.344-3.628a1 1 0 0 1 .995.941l.002.06c0 .551-.451 1-.997 1h-4.006a1 1 0 0 1-.995-.942L18 12.057c0-.552.451-1 .997-1h4.006Zm-18 0a1 1 0 0 1 .995.941l.002.06c0 .551-.451 1-.998 1H.998a1 1 0 0 1-.996-.942L0 12.057c0-.552.451-1 .998-1h4.004Zm17.454-5.059.033.054c.277.478.11 1.091-.363 1.365l-3.469 2.002a1 1 0 0 1-1.33-.314l-.034-.053a1.002 1.002 0 0 1 .364-1.365l3.468-2.003a1 1 0 0 1 1.331.314ZM3.07 5.684l3.468 2.003a1 1 0 0 1 .394 1.31l-.03.055c-.276.478-.89.64-1.364.367L2.07 7.417a1 1 0 0 1-.394-1.31l.03-.055c.276-.479.89-.64 1.364-.368Zm14.926-4.008.056.03c.478.276.64.89.367 1.364l-2.003 3.468a1 1 0 0 1-1.309.394l-.055-.03a1.002 1.002 0 0 1-.367-1.364l2.002-3.468a1 1 0 0 1 1.31-.394Zm-10.58.394L9.42 5.538a1 1 0 0 1-.314 1.33l-.053.034a1.002 1.002 0 0 1-1.365-.364L5.684 3.07a1 1 0 0 1 .314-1.331l.054-.033a1.002 1.002 0 0 1 1.365.364ZM12.058 0c.552 0 1 .451 1 .998v4.004a1 1 0 0 1-.941.996L12.057 6c-.552 0-1-.451-1-.998V.998a1 1 0 0 1 .941-.996l.06-.002Z",clipRule:"evenodd"})}),l=a},73560:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"M19 10h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1V9a7 7 0 0 1 14 0v1Zm-2 0V9A5 5 0 0 0 7 9v1h10Zm-6 4v4h2v-4h-2Z"})}),l=a},79136:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m15.224 15.508-2.213 4.65a.6.6 0 0 1-.977.155l-3.542-3.739a.6.6 0 0 0-.357-.182l-5.107-.668a.6.6 0 0 1-.449-.881l2.462-4.524a.6.6 0 0 0 .062-.396L4.16 4.86a.6.6 0 0 1 .7-.7l5.063.943a.6.6 0 0 0 .396-.062l4.524-2.462a.6.6 0 0 1 .881.45l.668 5.106a.6.6 0 0 0 .182.357l3.739 3.542a.601.601 0 0 1-.155.977l-4.65 2.213a.6.6 0 0 0-.284.284Zm.797 1.927 1.414-1.414 4.243 4.242-1.415 1.415-4.242-4.243Z"})}),l=a},89032:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M20.4 14.4a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM3.6 14.4a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 22.8a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 6a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#212134",d:"M6.24 11.28H18v1.44H6.24v-1.44Z"}),(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 22.8a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM3.6 6a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#212134",d:"M18.328 13.863 6.49 19.765l-.652-1.307 11.838-5.902.652 1.307ZM18.358 10.078 6.398 4.115l-.646 1.294 11.961 5.963.645-1.294Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M18.323 18.83 6.252 12.813l-.643 1.29 12.071 6.019.643-1.29ZM18.136 5.228 6.207 11.176l-.653-1.311 11.928-5.948.654 1.311Z"})]}),l=a},53120:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 25",...c,children:[(0,i.jsx)("path",{fill:"#212134",d:"M17.76 11.28H6v1.44h11.76v-1.44Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M18.129 10.699 9.782 4.523l-.86 1.162 8.347 6.177.86-1.163ZM18.101 13.354 9.755 19.53l-.864-1.167 8.347-6.176.863 1.167Z"}),(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M20.4 14.399a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM3.6 14.399a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM7.2 22.8a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2ZM7.2 6a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8Zm0 1.2a3.6 3.6 0 1 1 0-7.2 3.6 3.6 0 0 1 0 7.2Z",clipRule:"evenodd"})]}),l=a},70388:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 14.132a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#212134",d:"M6.24 11.011h13.44v1.44H6.24v-1.44Z"}),(0,i.jsx)("path",{fill:"#212134",d:"m5.872 10.43 8.347-6.176.86 1.163-8.347 6.176-.86-1.162ZM5.9 13.087l8.346 6.177.864-1.168-8.347-6.176-.864 1.167ZM18.72 8.613l5.28 3.12-5.28 3.12v-6.24Z"}),(0,i.jsx)("path",{fill:"#212134",d:"M12.72 2.633 18.82 2 16.43 7.649 12.72 2.633ZM12.72 21.307l6.1.633-2.389-5.649-3.711 5.016Z"})]}),l=a},35704:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#F6ECFC",stroke:"#E0C1F4",rx:2.5}),(0,i.jsx)("path",{fill:"#9736E8",fillRule:"evenodd",d:"M22 8.759a2 2 0 0 0-2-2h-8c-1.105 0-2 .902-2 2.006v6.068a2 2 0 0 0 .985 1.724l3.66-3.74 3.31 3.381 1.471-1.502 1.731 1.769c.51-.363.843-.958.843-1.632V8.76ZM18.5 9c-.84 0-1.5.66-1.5 1.5s.66 1.5 1.5 1.5 1.5-.66 1.5-1.5S19.34 9 18.5 9Z",clipRule:"evenodd"})]}),l=a},80008:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#12100E",fillRule:"evenodd",d:"M2 0h20a2 2 0 0 1 2 2v20a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm3.524 7.5a.624.624 0 0 1 .203.527v7.126a.82.82 0 0 1-.218.707l-1.694 2.054v.271h4.803v-.27L6.924 15.86a.85.85 0 0 1-.233-.707V8.99l4.215 9.195h.49l3.62-9.195v7.33c0 .195 0 .232-.128.36l-1.302 1.265v.27h6.322v-.27l-1.257-1.235a.376.376 0 0 1-.143-.36V7.281a.376.376 0 0 1 .143-.362l1.288-1.234v-.27h-4.457l-3.176 7.923-3.613-7.924H4.019v.271L5.524 7.5Z",clipRule:"evenodd"})}),l=a},76080:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M6.455 19 2 22.5V4a1 1 0 0 1 1-1h18a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6.455ZM7 10v2h2v-2H7Zm4 0v2h2v-2h-2Zm4 0v2h2v-2h-2Z"})}),l=a},67864:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M12 1a5 5 0 0 1 5 5v4a5 5 0 1 1-10 0V6a5 5 0 0 1 5-5ZM3.055 11H5.07a7.002 7.002 0 0 0 13.858 0h2.016A9.003 9.003 0 0 1 13 18.945V23h-2v-4.055A9.004 9.004 0 0 1 3.055 11Z"})}),l=a},21024:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M13 18v2h4v2H7v-2h4v-2H2.992A1 1 0 0 1 2 16.993V4.007C2 3.451 2.455 3 2.992 3h18.016c.548 0 .992.449.992 1.007v12.986c0 .556-.455 1.007-.992 1.007H13Z"})}),l=a},6884:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M11.38 2.019a7.5 7.5 0 1 0 10.6 10.6C21.662 17.854 17.316 22 12.001 22 6.477 22 2 17.523 2 12c0-5.315 4.146-9.661 9.38-9.981Z"})}),l=a},67636:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M3.5 14.6a2.6 2.6 0 1 0 0-5.2 2.6 2.6 0 0 0 0 5.2Zm8.5 0a2.6 2.6 0 1 0 0-5.2 2.6 2.6 0 0 0 0 5.2Zm8.5 0a2.6 2.6 0 1 0 0-5.2 2.6 2.6 0 0 0 0 5.2Z"})}),l=a},88796:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M20 3v14a4 4 0 1 1-2-3.465V6H9v11a4 4 0 1 1-2-3.465V3h13Z"})}),l=a},44088:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#FCECEA",stroke:"#F5C0B8",rx:2.5}),(0,i.jsx)("path",{fill:"#D02B20",d:"M9.815 16h1.475V8.954H9.82L8 10.22v1.328l1.729-1.201h.087V16Zm3.394 0h5.083v-1.187h-3.106v-.112l1.304-1.216c1.284-1.186 1.7-1.85 1.7-2.651v-.015c0-1.215-1.016-2.046-2.466-2.046-1.543 0-2.598.928-2.598 2.28l.005.02h1.362v-.024c0-.67.474-1.128 1.162-1.128.674 0 1.084.42 1.084 1.02v.015c0 .493-.268.85-1.26 1.812l-2.27 2.24V16Zm9.067.156c1.646 0 2.744-.864 2.744-2.143v-.01c0-.957-.683-1.563-1.733-1.66v-.03c.825-.17 1.47-.742 1.47-1.62v-.01c0-1.123-.977-1.885-2.49-1.885-1.48 0-2.471.82-2.574 2.08l-.005.059h1.358l.005-.044c.058-.586.522-.962 1.216-.962.693 0 1.098.361 1.098.947v.01c0 .571-.478.962-1.22.962h-.787v1.05h.806c.855 0 1.357.37 1.357 1.044v.01c0 .596-.493 1.016-1.245 1.016-.761 0-1.264-.39-1.328-.938l-.005-.053h-1.41l.004.063c.098 1.26 1.148 2.114 2.74 2.114Z"})]}),l=a},5556:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 25",...c,children:[(0,i.jsx)("path",{fill:"#212134",d:"M6.24 11.28H18v1.44H6.24v-1.44Z"}),(0,i.jsx)("path",{fill:"#212134",d:"m5.871 10.699 8.347-6.176.86 1.162-8.347 6.177-.86-1.163ZM5.899 13.354l8.346 6.176.864-1.167-8.347-6.176-.863 1.167Z"}),(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 14.399a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 14.399a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM16.8 22.8a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM16.8 6a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"})]}),l=a},63472:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M3.6 14a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2ZM20.4 14a2.4 2.4 0 1 0 0-4.8 2.4 2.4 0 0 0 0 4.8Zm0 1.2a3.6 3.6 0 1 0 0-7.2 3.6 3.6 0 0 0 0 7.2Z",clipRule:"evenodd"}),(0,i.jsx)("path",{fill:"#212134",d:"M6.24 10.881H18v1.44H6.24v-1.44Z"})]}),l=a},96508:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M7.128 12.321a3.601 3.601 0 1 1 0-1.44H18.72v-2.4L24 11.6l-5.28 3.12v-2.4H7.128ZM6 11.6a2.4 2.4 0 1 1-4.8 0 2.4 2.4 0 0 1 4.8 0Z",clipRule:"evenodd"})}),l=a},76872:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M12 2c5.522 0 10 3.978 10 8.889a5.558 5.558 0 0 1-5.556 5.555h-1.966c-.922 0-1.667.745-1.667 1.667 0 .422.167.811.422 1.1.267.3.434.689.434 1.122C13.667 21.256 12.9 22 12 22 6.478 22 2 17.522 2 12S6.478 2 12 2ZM7.5 12a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm9 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM12 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})}),l=a},4928:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M4 3h16a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Zm2 9h6a1 1 0 0 1 1 1v3h1v6h-4v-6h1v-2H5a1 1 0 0 1-1-1v-2h2v1Zm11.732 1.732 1.768-1.768 1.768 1.768a2.5 2.5 0 1 1-3.536 0Z"})}),l=a},90152:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.53-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685Z"})}),l=a},89940:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M23.604 3.514c.528.528.528 1.36 0 1.887l-2.622 2.607-4.99-4.99L18.6.396a1.322 1.322 0 0 1 1.887 0l3.118 3.118ZM0 24v-4.99l14.2-14.2 4.99 4.99L4.99 24H0Z",clipRule:"evenodd"})}),l=a},35492:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M21 16.42v3.536a1 1 0 0 1-.93.998c-.437.03-.794.046-1.07.046-8.837 0-16-7.163-16-16 0-.276.015-.633.046-1.07A1 1 0 0 1 4.044 3H7.58a.5.5 0 0 1 .498.45c.023.23.044.413.064.552A13.9 13.9 0 0 0 9.35 8.003c.095.2.033.439-.147.567l-2.158 1.542a13.047 13.047 0 0 0 6.844 6.844l1.54-2.154a.462.462 0 0 1 .573-.149 13.9 13.9 0 0 0 4 1.205c.139.02.322.042.55.064a.5.5 0 0 1 .449.498H21Z"})}),l=a},77347:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",fillRule:"evenodd",d:"M2.719 19.316V4.682H21.28v14.634H2.72ZM1 3.288c0-.192.154-.348.344-.348h21.312c.19 0 .344.156.344.348V20.71a.346.346 0 0 1-.344.349H1.344a.346.346 0 0 1-.344-.35V3.29Zm14.812 8.02a1.919 1.919 0 1 0 0-3.837 1.919 1.919 0 0 0 0 3.837ZM5.443 17.263h12.783a.547.547 0 0 0 .456-.87l-1.763-2.394a.547.547 0 0 0-.825-.072l-1.812 1.725-4.206-5.71a.547.547 0 0 0-.9.025L4.972 16.42a.547.547 0 0 0 .472.844Z",clipRule:"evenodd"})}),l=a},54288:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 20",...c,children:[(0,i.jsx)("path",{fill:"#32324D",d:"M21.569 2.398H7.829v1.586h13.74c.47 0 .826.5.826 1.094v9.853l-2.791-3.17a2.13 2.13 0 0 0-.74-.55 2.214 2.214 0 0 0-.912-.196 2.215 2.215 0 0 0-.912.191 2.131 2.131 0 0 0-.74.546l-2.93 3.385-2.973-3.36a2.147 2.147 0 0 0-.741-.545 2.228 2.228 0 0 0-1.824.007c-.286.13-.538.319-.739.553l-2.931 3.432V7.653H2.51v9.894c.023.153.06.304.108.452v.127l.041.095c.057.142.126.28.207.412l.099.15c.074.107.157.207.247.302l.124.119c.13.118.275.222.43.309h.024c.36.214.775.327 1.198.325h16.515c.36-.004.716-.085 1.039-.24.323-.153.606-.375.827-.648a2.78 2.78 0 0 0 .504-.888c.066-.217.108-.44.124-.666V5.078a2.497 2.497 0 0 0-.652-1.81 2.706 2.706 0 0 0-1.776-.87Z"}),(0,i.jsx)("path",{fill:"#32324D",d:"M12.552 9.199c.912 0 1.651-.71 1.651-1.585 0-.876-.74-1.586-1.651-1.586-.912 0-1.652.71-1.652 1.586 0 .875.74 1.585 1.652 1.585ZM3.303 6.408h.826V3.997h2.477V2.41H4.129V0h-.826c-.219 0-.85.002-.826 0v2.411H0v1.586h2.477v2.41h.826Z"})]}),l=a},85136:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m22.314 10.172-1.415 1.414-.707-.707-4.242 4.242-.707 3.536-1.415 1.414-4.242-4.243-4.95 4.95-1.414-1.414 4.95-4.95-4.243-4.242 1.414-1.415L8.88 8.05l4.242-4.242-.707-.707 1.414-1.415 8.485 8.486Z"})}),l=a},68732:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M18.364 17.364 12 23.728l-6.364-6.364a9 9 0 1 1 12.728 0ZM12 13a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})}),l=a},76204:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M14 8.947 22 14v2l-8-2.526v5.36l3 1.666V22l-4.5-1L8 22v-1.5l3-1.667v-5.36L3 16v-2l8-5.053V3.5a1.5 1.5 0 1 1 3 0v5.447Z"})}),l=a},64764:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 8 8",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M2 .93c0-.4.45-.63.78-.41l4.6 3.06c.3.2.3.64 0 .84l-4.6 3.06A.5.5 0 0 1 2 7.07V.93Z"})}),l=a},48636:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M24 13.604a.3.3 0 0 1-.3.3h-9.795V23.7a.3.3 0 0 1-.3.3h-3.21a.3.3 0 0 1-.3-.3v-9.795H.3a.3.3 0 0 1-.3-.3v-3.21a.3.3 0 0 1 .3-.3h9.795V.3a.3.3 0 0 1 .3-.3h3.21a.3.3 0 0 1 .3.3v9.795H23.7a.3.3 0 0 1 .3.3v3.21Z"})}),l=a},71692:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:[(0,i.jsx)("circle",{cx:12,cy:12,r:12,fill:"#212134"}),(0,i.jsx)("path",{fill:"#F6F6F9",d:"M17 12.569c0 .124-.1.224-.225.224h-3.981v3.982c0 .124-.101.225-.226.225h-1.136a.225.225 0 0 1-.226-.225v-3.981H7.226A.225.225 0 0 1 7 12.567v-1.136c0-.125.1-.226.225-.226h3.982V7.226c0-.124.1-.225.224-.225h1.138c.124 0 .224.1.224.225v3.982h3.982c.124 0 .225.1.225.224v1.138Z"})]}),l=a},46460:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m10.9 2.1 9.9 1.415 1.413 9.9-9.192 9.192a1 1 0 0 1-1.414 0l-9.9-9.9a1 1 0 0 1 0-1.414L10.9 2.1Zm2.828 8.486a2 2 0 1 0 2.828-2.83 2 2 0 0 0-2.828 2.83Z"})}),l=a},53312:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 25 25",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"m13.58.448 3.177 3.176L18.66 1.72a3.267 3.267 0 1 1 4.62 4.62l-1.904 1.904 3.175 3.175a1.528 1.528 0 0 1 0 2.162l-3.175 3.175L20.2 15.58a3.267 3.267 0 1 0-4.62 4.62l1.177 1.177-3.176 3.176a1.528 1.528 0 0 1-2.162 0l-3.175-3.175-1.902 1.902a3.267 3.267 0 1 1-4.62-4.62l1.902-1.902-3.176-3.176a1.528 1.528 0 0 1 0-2.162l3.176-3.176L4.8 9.42a3.267 3.267 0 0 0 4.62-4.62L8.244 3.623 11.419.448a1.528 1.528 0 0 1 2.162 0Z",clipRule:"evenodd"})}),l=a},89304:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 15 14",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M5.08 4.1c0-1.19 1.18-2.17 2.42-2.17s2.43.98 2.43 2.17c0 1.1-.56 1.61-1.31 2.28l-.03.03c-.75.65-1.66 1.47-1.66 3.09a.57.57 0 1 0 1.15 0c0-1.08.55-1.6 1.3-2.26l.02-.02c.75-.66 1.67-1.48 1.67-3.12C11.07 2.13 9.22.78 7.5.78 5.78.78 3.93 2.13 3.93 4.1a.57.57 0 1 0 1.15 0Zm2.42 9.26a.88.88 0 1 0 0-1.75.88.88 0 0 0 0 1.75Z"})}),l=a},92420:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M10.479 6.329c-1.206.642-2.267 1.655-2.992 2.788-.758 1.185-1.161 2.521-.951 3.715l.03.175.173-.04a4.1 4.1 0 0 1 1.713.01c.62.137 1.21.425 1.607.923.538.683.805 1.527.805 2.516 0 1.133-.358 2.022-1.089 2.674-.737.658-1.674.992-2.811.992-2.573 0-4.432-2.067-4.825-5.3C1.523 9.74 5.075 5.72 8.757 3.914l1.722 2.415Zm7.16 6.503.03.175.173-.04a4.076 4.076 0 0 1 1.707.01c.618.137 1.21.425 1.613.924.538.683.804 1.527.804 2.515 0 1.133-.358 2.022-1.088 2.674-.737.658-1.675.992-2.812.992-2.572 0-4.417-2.067-4.811-5.3-.616-5.043 2.923-9.062 6.605-10.868l1.721 2.415c-1.205.642-2.266 1.655-2.991 2.788-.759 1.185-1.162 2.521-.952 3.715Z"})}),l=a},51384:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M15.681 2.804A9.64 9.64 0 0 0 11.818 2C6.398 2 2 6.48 2 12c0 5.521 4.397 10 9.818 10 2.03 0 4.011-.641 5.67-1.835a9.987 9.987 0 0 0 3.589-4.831 1.117 1.117 0 0 0-.664-1.418 1.086 1.086 0 0 0-1.393.676 7.769 7.769 0 0 1-2.792 3.758 7.546 7.546 0 0 1-4.41 1.428V4.222h.002a7.492 7.492 0 0 1 3.003.625 7.61 7.61 0 0 1 2.5 1.762l.464.551-2.986 3.042a.186.186 0 0 0 .129.316H22V3.317a.188.188 0 0 0-.112-.172.179.179 0 0 0-.199.04l-2.355 2.4-.394-.468-.02-.02a9.791 9.791 0 0 0-3.239-2.293Zm-3.863 1.418V2v2.222Zm0 0v15.556c-4.216 0-7.636-3.484-7.636-7.778s3.42-7.777 7.636-7.778Z",clipRule:"evenodd"})}),l=a},46849:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("path",{fill:"#F0F0FF",stroke:"#D9D8FF",d:"M.5 3A2.5 2.5 0 0 1 3 .5h26A2.5 2.5 0 0 1 31.5 3v18a2.5 2.5 0 0 1-2.5 2.5H3A2.5 2.5 0 0 1 .5 21V3Z"}),(0,i.jsx)("path",{fill:"#4945FF",fillRule:"evenodd",d:"M21.375 16.316c.417-.407.625-.904.625-1.492 0-.589-.206-1.089-.618-1.5l-1.53-1.53a2.042 2.042 0 0 0-1.5-.617 2.06 2.06 0 0 0-1.529.646l-.646-.646c.43-.422.646-.934.646-1.537a2.03 2.03 0 0 0-.61-1.493l-1.515-1.522a2.014 2.014 0 0 0-1.5-.625 2.03 2.03 0 0 0-1.492.61l-1.081 1.074A2.006 2.006 0 0 0 10 9.176c0 .589.206 1.089.618 1.5l1.53 1.53c.41.412.91.617 1.5.617a2.06 2.06 0 0 0 1.529-.646l.646.646a2.069 2.069 0 0 0-.646 1.537c0 .588.203 1.086.61 1.493l1.514 1.522c.407.417.907.625 1.5.625a2.03 2.03 0 0 0 1.493-.61l1.081-1.074Zm-5.956-6.678a.68.68 0 0 0-.205-.5l-1.515-1.522a.68.68 0 0 0-.5-.206.71.71 0 0 0-.5.199l-1.081 1.073a.672.672 0 0 0-.206.493.68.68 0 0 0 .206.5l1.53 1.53a.678.678 0 0 0 .5.198.71.71 0 0 0 .529-.228l-.14-.136a4.46 4.46 0 0 1-.158-.158 1.756 1.756 0 0 1-.11-.14.593.593 0 0 1-.122-.39.68.68 0 0 1 .206-.5.68.68 0 0 1 .5-.206.59.59 0 0 1 .39.121c.064.047.11.084.14.111.03.027.082.08.158.158l.136.14a.713.713 0 0 0 .242-.537Zm5.168 5.187a.68.68 0 0 0-.206-.5l-1.529-1.53a.68.68 0 0 0-.5-.205.7.7 0 0 0-.53.235l.14.136c.079.076.132.129.159.158.027.03.063.076.11.14a.591.591 0 0 1 .121.39.681.681 0 0 1-.206.5.681.681 0 0 1-.5.206.591.591 0 0 1-.39-.121 1.746 1.746 0 0 1-.14-.111 4.395 4.395 0 0 1-.157-.158 20.642 20.642 0 0 0-.136-.14.714.714 0 0 0-.037 1.037l1.515 1.522a.678.678 0 0 0 .5.198.708.708 0 0 0 .5-.19l1.08-1.074a.672.672 0 0 0 .206-.493Z",clipRule:"evenodd"})]}),l=a},12324:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M6 4h15a1 1 0 0 1 1 1v7h-2V6H6v3L1 5l5-4v3Zm12 16H3a1 1 0 0 1-1-1v-7h2v6h14v-3l5 4-5 4v-3Z"})}),l=a},30076:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M21 2v20h-2v-8h-3V7a5 5 0 0 1 5-5ZM9 13.9V22H7v-8.1A5.002 5.002 0 0 1 3 9V3h2v7h2V3h2v7h2V3h2v6a5.002 5.002 0 0 1-4 4.9Z"})}),l=a},35520:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M8.498 20h7.004A6.523 6.523 0 0 1 12 23.502 6.523 6.523 0 0 1 8.498 20ZM18 14.805l2 2.268V19H4v-1.927l2-2.268V9c0-3.483 2.504-6.447 6-7.545C15.496 2.553 18 5.517 18 9v5.805ZM12 11a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})}),l=a},56280:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 8 9",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M8 .23a.1.1 0 0 0-.1-.1H5.55a.39.39 0 0 0-.39.39v2.35c0 .05.05.1.1.1h.58a.1.1 0 0 0 .1-.1V1.62c.72.55.97 1.17 1.06 2.08.09.9-.29 1.8-.9 2.47C5.49 6.85 4.9 7 4 7h-.16a.1.1 0 0 0-.1.1v.8c0 .05.05.1.1.1H4A4 4 0 0 0 6.52.9H7.9A.1.1 0 0 0 8 .8V.23ZM2.84 7.49V5.13a.1.1 0 0 0-.1-.1h-.58a.1.1 0 0 0-.1.1v1.25C1.34 5.83 1.08 5.21 1 4.31c-.09-.91.2-1.8.82-2.48.6-.67 1.27-.86 2.18-.86h.14c.06 0 .12-.04.12-.1V.1a.1.1 0 0 0-.1-.1H4a4 4 0 0 0-2.53 7.1H.1a.1.1 0 0 0-.1.1v.57c0 .06.04.1.1.1h2.35a.39.39 0 0 0 .39-.38Z"})}),l=a},43776:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m12 14.121-2.317 2.317a4 4 0 1 1-2.12-2.121L9.88 12 4.21 6.333a2 2 0 0 1 0-2.829l.708-.707L12 9.88l7.081-7.082.708.707a1.999 1.999 0 0 1 0 2.829L14.12 12l2.317 2.317a4 4 0 1 1-2.12 2.121L12 14.12v.001ZM6 20a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm12 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})}),l=a},85088:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",fillRule:"evenodd",d:"m23.813 20.163-5.3-5.367a9.792 9.792 0 0 0 1.312-4.867C19.825 4.455 15.375 0 9.913 0 4.45 0 0 4.455 0 9.929c0 5.473 4.45 9.928 9.912 9.928a9.757 9.757 0 0 0 5.007-1.4l5.275 5.35a.634.634 0 0 0 .913 0l2.706-2.737a.641.641 0 0 0 0-.907ZM9.91 3.867c3.338 0 6.05 2.718 6.05 6.061s-2.712 6.061-6.05 6.061c-3.337 0-6.05-2.718-6.05-6.06 0-3.344 2.713-6.062 6.05-6.062Z",clipRule:"evenodd"})}),l=a},63024:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M22 7v2.5a6.499 6.499 0 0 1-6.5 6.5H13v5h-2v-7l.019-1A6.5 6.5 0 0 1 17.5 7H22ZM6 3a7.004 7.004 0 0 1 6.643 4.786A7.477 7.477 0 0 0 10.016 13H9a7 7 0 0 1-7-7V3h4Z"})}),l=a},37272:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M4 3h16a1 1 0 0 1 1 1v7H3V4a1 1 0 0 1 1-1ZM3 13h18v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-7Zm4 3v2h3v-2H7ZM7 6v2h3V6H7Z"})}),l=a},37576:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M11.738 23.966C4.905 21.624 0 18.49 0 11.043V3.772c0-.331.275-.6.615-.6C4.971 3.17 9.159 1.792 11.647.074A.516.516 0 0 1 11.942 0h.115c.103 0 .21.016.295.074 2.535 1.72 6.676 3.096 11.033 3.098.34 0 .615.269.615.6v7.271c0 7.447-4.906 10.582-11.739 12.923a.63.63 0 0 1-.204.034h-.115a.631.631 0 0 1-.204-.034Zm.16-11.175c-2.944 0-5.334 1.153-5.334 4.003H17.23c0-2.85-2.39-4.003-5.333-4.003ZM12 6.188a2.501 2.501 0 0 1 0 5 2.501 2.501 0 0 1 0-5Z",clipRule:"evenodd"})}),l=a},71844:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m14.515 5 2.606-2.607a1 1 0 0 1 1.415 0l4.242 4.243a1 1 0 0 1 0 1.414L19 11.828V21a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9.172L1.222 8.05a1 1 0 0 1 0-1.414l4.242-4.243a1 1 0 0 1 1.415 0L9.485 5h5.03Z"})}),l=a},88344:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M23.12 3.907c-.025 0-.055-.005-.087-.011a.72.72 0 0 0-.13-.016H5.929l-.27-1.805A2.413 2.413 0 0 0 3.26 0H1.078C.485 0 0 .485 0 1.078c0 .593.485 1.078 1.078 1.078H3.26c.135 0 .243.107.27.242L5.2 13.77a2.954 2.954 0 0 0 2.91 2.506h11.21c1.401 0 2.614-.997 2.91-2.371l1.752-8.757a1.065 1.065 0 0 0-.863-1.24Zm-4.932 13.927a2.8 2.8 0 0 0-2.802 2.802 2.8 2.8 0 0 0 2.802 2.802 2.8 2.8 0 0 0 2.803-2.802c-.027-1.536-1.267-2.802-2.803-2.802Zm-9.646 0a2.786 2.786 0 0 1 2.775 2.667c.081 1.536-1.132 2.83-2.667 2.91h-.054a2.762 2.762 0 0 1-2.749-2.667 2.819 2.819 0 0 1 2.695-2.91Z",clipRule:"evenodd"})}),l=a},7092:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M13 17v3h5v2H6v-2h5v-3H4a1 1 0 0 1-1-1V4H2V2h20v2h-1v12a1 1 0 0 1-1 1h-7ZM10 6v7l5-3.5L10 6Z"})}),l=a},52928:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m20.083 10.5 1.202.721a.501.501 0 0 1 0 .858L12 17.65l-9.285-5.571a.5.5 0 0 1 0-.858l1.202-.721L12 15.35l8.083-4.85Zm0 4.7 1.202.721a.501.501 0 0 1 0 .858l-8.77 5.262a1 1 0 0 1-1.03 0l-8.77-5.262a.5.5 0 0 1 0-.858l1.202-.721L12 20.05l8.083-4.85ZM12.514 1.309l8.771 5.262a.5.5 0 0 1 0 .858L12 13 2.715 7.429a.5.5 0 0 1 0-.858l8.77-5.262a1 1 0 0 1 1.03 0Z"})}),l=a},59512:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m12 18.26-7.053 3.948 1.575-7.928L.587 8.792l8.027-.952L12 .5l3.386 7.34 8.027.952-5.935 5.488 1.575 7.928L12 18.26Z"})}),l=a},24392:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M22 20v2H2v-2h1v-6.758A4.496 4.496 0 0 1 1 9.5c0-.827.224-1.624.633-2.303L4.345 2.5a1 1 0 0 1 .866-.5H18.79a1 1 0 0 1 .866.5l2.702 4.682A4.496 4.496 0 0 1 21 13.242V20h1ZM5.789 4 3.356 8.213a2.5 2.5 0 0 0 4.466 2.216c.335-.837 1.52-.837 1.856 0a2.5 2.5 0 0 0 4.644 0c.335-.837 1.52-.837 1.856 0a2.501 2.501 0 1 0 4.457-2.232L18.21 4H5.789Z"})}),l=a},42296:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M16.39 2.17c.68.1 1.17.2 1.46.39.39.2.58.39.78.58.2.3.3.78.39 1.18l.78 3.5h1.95V1H2.84l-.59 6.83H4l.98-3.9a5 5 0 0 1 .39-.98c.2-.2.49-.39.88-.58.39-.1.88-.3 1.56-.3.58 0 1.36-.1 2.34-.1v8.78h-7.8v1.95h7.8v7.41c0 .2.1.3-.1.39-.2.1-.39.2-.88.2l-2.04.39-.1 1.36h9.94l-.1-1.36-2.04-.3c-.49 0-.69-.1-.78-.2-.2-.09-.1-.19-.1-.38V12.7h7.8v-1.95h-7.8V1.97c.98 0 1.85.1 2.44.2Z"})}),l=a},80196:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M12 18a6 6 0 1 1 0-12 6 6 0 0 1 0 12ZM11 1h2v3h-2V1Zm0 19h2v3h-2v-3ZM3.515 4.929l1.414-1.414L7.05 5.636 5.636 7.05 3.515 4.93v-.001ZM16.95 18.364l1.414-1.414 2.121 2.121-1.414 1.414-2.121-2.121Zm2.121-14.85 1.414 1.415-2.121 2.121-1.414-1.414 2.121-2.121v-.001ZM5.636 16.95l1.414 1.414-2.121 2.121-1.414-1.414 2.121-2.121ZM23 11v2h-3v-2h3ZM4 11v2H1v-2h3Z"})}),l=a},63180:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M15.414 5h5.594c.548 0 .992.445.992 1v14c0 .552-.455 1-.992 1H2.992A.996.996 0 0 1 2 20V6c0-.552.455-1 .992-1h5.594L6.05 2.464 7.464 1.05 11.414 5h1.172l3.95-3.95 1.414 1.414L15.414 5Z"})}),l=a},22557:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("rect",{width:31,height:23,x:.5,y:.5,fill:"#EAFBE7",stroke:"#C6F0C2",rx:2.5}),(0,i.jsx)("path",{fill:"#328048",d:"M8.62 16h1.857l.627-2.05h2.982l.627 2.05h1.863l-2.941-8.455h-2.08L8.619 16Zm3.925-6.768h.105l1.032 3.393h-2.174l1.037-3.393ZM21.65 16.1c1.612 0 2.62-1.26 2.62-3.323v-.011c0-2.075-.985-3.323-2.62-3.323-.884 0-1.605.434-1.933 1.137h-.106V7.082h-1.71V16h1.71v-1.002h.106c.334.697 1.02 1.102 1.933 1.102Zm-.585-1.418c-.903 0-1.471-.715-1.471-1.899v-.011c0-1.184.574-1.91 1.47-1.91.903 0 1.465.726 1.465 1.904v.011c0 1.19-.556 1.905-1.465 1.905Z"})]}),l=a},46672:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M22 15h-3V3h3a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1Zm-5.293 1.293-6.4 6.4a.5.5 0 0 1-.654.047L8.8 22.1a1.5 1.5 0 0 1-.553-1.57L9.4 16H3a2 2 0 0 1-2-2v-2.104a2 2 0 0 1 .15-.762L4.246 3.62A1 1 0 0 1 5.17 3H16a1 1 0 0 1 1 1v11.586a1 1 0 0 1-.293.707Z"})}),l=a},2064:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M2 9h3v12H2a1 1 0 0 1-1-1V10a1 1 0 0 1 1-1Zm5.293-1.293 6.4-6.4a.5.5 0 0 1 .654-.047l.853.64a1.5 1.5 0 0 1 .553 1.57L14.6 8H21a2 2 0 0 1 2 2v2.104a2 2 0 0 1-.15.762l-3.095 7.515a1 1 0 0 1-.925.619H8a1 1 0 0 1-1-1V8.414a1 1 0 0 1 .293-.707Z"})}),l=a},6472:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m17.2 20 1.8 1.5v.5H5v-.5L6.8 20H5a2 2 0 0 1-2-2V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v11a2 2 0 0 1-2 2h-1.8ZM11 12V5H7a2 2 0 0 0-2 2v5h6Zm2 0h6V7a2 2 0 0 0-2-2h-4v7Zm-5.5 6a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm9 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})}),l=a},71324:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M3.236 6.149a.2.2 0 0 0-.197.233L6 24h12l2.96-17.618a.2.2 0 0 0-.196-.233H3.236ZM21.8 1.983c.11 0 .2.09.2.2v1.584a.2.2 0 0 1-.2.2H2.2a.2.2 0 0 1-.2-.2V2.183c0-.11.09-.2.2-.2h5.511c.9 0 1.631-1.09 1.631-1.983h5.316c0 .894.73 1.983 1.631 1.983H21.8Z"})}),l=a},44504:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#1DA1F2",d:"M24 4.557a9.83 9.83 0 0 1-2.828.775 4.932 4.932 0 0 0 2.165-2.724 9.864 9.864 0 0 1-3.127 1.195 4.916 4.916 0 0 0-3.594-1.555c-3.179 0-5.515 2.966-4.797 6.045A13.978 13.978 0 0 1 1.671 3.149a4.93 4.93 0 0 0 1.523 6.574 4.903 4.903 0 0 1-2.229-.616c-.054 2.281 1.581 4.415 3.949 4.89a4.935 4.935 0 0 1-2.224.084 4.928 4.928 0 0 0 4.6 3.419A9.9 9.9 0 0 1 0 19.54a13.94 13.94 0 0 0 7.548 2.212c9.142 0 14.307-7.721 13.995-14.646A10.025 10.025 0 0 0 24 4.557Z"})}),l=a},59964:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"m17.654 1.7-2.782 2.533a9.138 9.138 0 0 1 3.49 1.973c3.512 3.2 3.512 8.388 0 11.588-2.592 2.36-6.598 3.862-12.016 4.506l2.782-2.533a9.138 9.138 0 0 1-3.49-1.973c-3.512-3.2-3.533-8.369 0-11.588C8.23 3.846 12.237 2.344 17.655 1.7h-.001ZM12 8c-2.485 0-4.5 1.79-4.5 4s2.015 4 4.5 4 4.5-1.79 4.5-4-2.015-4-4.5-4Z"})}),l=a},7632:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 32 24",...c,children:[(0,i.jsx)("path",{fill:"#F0F0FF",stroke:"#D9D8FF",d:"M.5 3A2.5 2.5 0 0 1 3 .5h26A2.5 2.5 0 0 1 31.5 3v18a2.5 2.5 0 0 1-2.5 2.5H3A2.5 2.5 0 0 1 .5 21V3Z"}),(0,i.jsx)("path",{fill:"#4945FF",d:"M14.907 9.438c0 .375 0 .738.118 1.078-1.243 1.46-4.526 5.317-4.832 5.611a.582.582 0 0 0-.193.433c0 .245.15.481.277.614.19.2 1.004.952 1.154.808.444-.433.533-.548.715-.727.274-.268-.029-.816.066-1.039.096-.222.197-.265.361-.3.165-.034.456.084.684.087.24.003.369-.098.548-.265.144-.133.248-.257.25-.45.007-.26-.368-.603-.089-.877.28-.274.684.178.981.144.297-.035.658-.447.695-.623.038-.176-.337-.629-.28-.886.02-.086.197-.288.33-.317.132-.029.72.199.853.17.162-.034.35-.205.502-.3.447.193.854.271 1.376.271C20.4 12.87 22 11.33 22 9.432 22 7.534 20.399 6 18.423 6s-3.516 1.54-3.516 3.438Zm5.247-.669a.923.923 0 1 1-1.847 0 .923.923 0 0 1 1.847 0Z"})]}),l=a},80208:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#32324D",d:"M12 17.3c1.99 0 3.9-.74 5.3-2.07a6.9 6.9 0 0 0 2.2-5.01V1h-3v9.22c0 1.13-.47 2.2-1.32 3A4.63 4.63 0 0 1 12 14.48c-1.2 0-2.34-.45-3.18-1.24a4.14 4.14 0 0 1-1.32-3.01V1h-3v9.22a6.9 6.9 0 0 0 2.2 5.01 7.73 7.73 0 0 0 5.3 2.08Zm9.75 2.14H2.25v2.83h19.5v-2.83Z"})}),l=a},76120:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#8E8EA9",d:"M20 22H4v-2a5 5 0 0 1 5-5h6a5 5 0 0 1 5 5v2Zm-8-9A6 6 0 1 1 12 .998 6 6 0 0 1 12 13Z"})}),l=a},83820:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M5.889 16H2a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387L5.89 16h-.001Zm14.525-4 3.536 3.536-1.414 1.414L19 13.414l-3.536 3.536-1.414-1.414L17.586 12 14.05 8.464l1.414-1.414L19 10.586l3.536-3.536 1.414 1.414L20.414 12Z"})}),l=a},4176:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"M5.889 16H2a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3.889l5.294-4.332a.5.5 0 0 1 .817.387v15.89a.5.5 0 0 1-.817.387L5.89 16h-.001Zm13.517 4.134-1.416-1.416A8.977 8.977 0 0 0 21 12a8.983 8.983 0 0 0-3.304-6.968l1.42-1.42A10.977 10.977 0 0 1 23 12c0 3.223-1.386 6.122-3.594 8.134Zm-3.543-3.543-1.422-1.422A3.992 3.992 0 0 0 16 12c0-1.43-.75-2.685-1.88-3.392l1.439-1.439A5.99 5.99 0 0 1 18 12c0 1.842-.83 3.49-2.137 4.591Z"})}),l=a},3608:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",d:"m7.617 8.712 3.205-2.328c.36-.263.797-.398 1.243-.384a2.616 2.616 0 0 1 2.427 1.82c.186.583.356.977.51 1.182A4.992 4.992 0 0 0 19 11v2a6.987 6.987 0 0 1-5.402-2.547l-.697 3.955 2.061 1.73 2.223 6.108-1.88.684-2.04-5.604-3.39-2.845a2 2 0 0 1-.713-1.904l.509-2.885-.677.492-2.127 2.928-1.618-1.176L7.6 8.7l.017.012ZM13.5 5.5a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm-2.972 13.181-3.214 3.83-1.532-1.285 2.976-3.546.746-2.18 1.791 1.5-.767 1.681Z"})}),l=a},36632:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M16.557 6.762a2.381 2.381 0 1 0 0-4.762 2.381 2.381 0 0 0 0 4.762Zm-2.655-.5a.962.962 0 0 1 .12.066l2.397 1.556a.952.952 0 0 1 .28 1.318l-2.536 3.905c.07.104.138.212.201.322h4.67c.056 0 .112.005.165.016a1.258 1.258 0 0 1 1.044 1.807l-2.492 5.103a1.258 1.258 0 0 1-2.26-1.104L17.077 16h-1.957a5.714 5.714 0 1 1-5.017-5.387l1.818-2.798-1.642-1.067-1.173 1.463a.96.96 0 0 1-1.525-1.165L8.94 5.182a1.905 1.905 0 0 1 2.593-.465l.246.163-.002.002 2.125 1.38ZM9.414 20.095a3.81 3.81 0 1 0 0-7.619 3.81 3.81 0 0 0 0 7.62Z",clipRule:"evenodd"})}),l=a},13872:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=e(19968);const a=c=>(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 24 24",...c,children:(0,i.jsx)("path",{fill:"#212134",fillRule:"evenodd",d:"M23.707.297A1 1 0 0 0 23 .004h-2a13.907 13.907 0 0 0-5.38 1.077 1 1 0 0 0-.615.923V4.92a.035.035 0 0 1-.022.038l-2-1.47a1 1 0 0 0-1.265.052A14 14 0 0 0 7 14.004v1.585l-2.707 2.707a1 1 0 1 0 1.415 1.415l2.707-2.708H10a14.014 14.014 0 0 0 14-14v-2a1 1 0 0 0-.293-.706ZM18 23.999H3a3 3 0 0 1-3-3V6A3 3 0 0 1 3 3h3a1 1 0 1 1 0 2H3a1 1 0 0 0-1 1v15a1 1 0 0 0 1 1h15a1 1 0 0 0 1-1v-3a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3Z",clipRule:"evenodd"})}),l=a},85604:(U,C,e)=>{"use strict";e.d(C,{A:()=>ce,B:()=>yt,C:()=>Pe,D:()=>_e,E:()=>Le,F:()=>_t,G:()=>Ke,H:()=>ge,O:()=>wr,P:()=>Ce,R:()=>nn,S:()=>Hn,U:()=>Vt,a:()=>Jn,b:()=>oe,c:()=>Ye,d:()=>Cn,e:()=>an,f:()=>er,g:()=>Ae,h:()=>de,i:()=>We,j:()=>cr,k:()=>Sn,l:()=>or,m:()=>bn,n:()=>fn,o:()=>Xt,p:()=>ye,q:()=>Fe,r:()=>bt,s:()=>St,t:()=>zt,u:()=>Ge,v:()=>It,w:()=>Ne,x:()=>Qe,y:()=>pe,z:()=>Se});var i=e(95840),a=e(19968),l=e(41724),c=e(29088),v=e(85676),_=e(35184),T=e(57520),A=e(61397),R=e(83180),P=e(96556),M=e(52540);const O=(At,mn)=>{const xn=At[mn];return xn?typeof xn=="function"?xn():Promise.resolve(xn):new Promise((Un,gr)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(gr.bind(null,new Error("Unknown variable dynamic import: "+mn)))})},Ve={name:"@strapi/plugin-content-type-builder",version:"4.20.3",description:"Strapi plugin to create content type",repository:{type:"git",url:"git://github.com/strapi/strapi.git"},license:"SEE LICENSE IN LICENSE",author:{name:"Strapi Solutions SAS",email:"hi@strapi.io",url:"https://strapi.io"},maintainers:[{name:"Strapi Solutions SAS",email:"hi@strapi.io",url:"https://strapi.io"}],exports:{"./strapi-admin":{types:"./dist/admin/src/index.d.ts",source:"./admin/src/index.ts",import:"./dist/admin/index.mjs",require:"./dist/admin/index.js",default:"./dist/admin/index.js"},"./strapi-server":{types:"./dist/server/src/index.d.ts",source:"./server/src/index.ts",import:"./dist/server/index.mjs",require:"./dist/server/index.js",default:"./dist/server/index.js"},"./package.json":"./package.json"},types:"./dist/index.d.ts",files:["./dist","strapi-server.js"],scripts:{build:"pack-up build",clean:"run -T rimraf ./dist",lint:"run -T eslint .","test:front":"run -T cross-env IS_EE=true jest --config ./jest.config.front.js","test:front:ce":"run -T cross-env IS_EE=false jest --config ./jest.config.front.js","test:front:watch":"run -T cross-env IS_EE=true jest --config ./jest.config.front.js --watchAll","test:front:watch:ce":"run -T cross-env IS_EE=false jest --config ./jest.config.front.js --watchAll","test:ts:back":"run -T tsc -p server/tsconfig.eslint.json","test:ts:front":"run -T tsc -p admin/tsconfig.json","test:unit":"run -T jest","test:unit:watch":"run -T jest --watch",watch:"pack-up watch"},dependencies:{"@reduxjs/toolkit":"1.9.7","@sindresorhus/slugify":"1.1.0","@strapi/design-system":"1.15.0","@strapi/generators":"4.20.3","@strapi/helper-plugin":"4.20.3","@strapi/icons":"1.15.0","@strapi/utils":"4.20.3","fs-extra":"10.0.0",immer:"9.0.19","koa-bodyparser":"4.4.1",lodash:"4.17.21",pluralize:"8.0.0","prop-types":"^15.8.1",qs:"6.11.1","react-helmet":"^6.1.0","react-intl":"6.4.1","react-redux":"8.1.1",yup:"0.32.9"},devDependencies:{"@strapi/pack-up":"4.20.3","@strapi/strapi":"4.20.3","@strapi/types":"4.20.3","@testing-library/react":"14.0.0","@testing-library/react-hooks":"8.0.1","@testing-library/user-event":"14.4.3","@types/pluralize":"0.0.30",history:"^4.9.0",koa:"2.13.4",react:"^18.2.0","react-dom":"^18.2.0","react-router-dom":"5.3.4","styled-components":"5.3.3"},peerDependencies:{"@strapi/strapi":"^4.0.0",react:"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^5.2.0","styled-components":"^5.2.1"},engines:{node:">=18.0.0 <=20.x.x",npm:">=6.0.0"},strapi:{name:"content-type-builder",displayName:"Content Type Builder",description:"Modelize the data structure of your API. Create new fields and relations in just a minute. The files are automatically created and updated in your project.",kind:"plugin",required:!0}},Ze=()=>(0,a.jsx)(l.c,{}),Ce={main:[{action:"plugin::content-type-builder.read",subject:null}]},ye=Ve.name.replace(/^@strapi\/plugin-/i,""),Ae=(At,mn)=>{const xn=mn==null;return At==="oneToOne"&&xn?"oneWay":At==="oneToMany"&&xn?"manyWay":At},Fe=At=>[...new Set(At)],Qe="ContentTypeBuilder/DataManagerProvider/ADD_ATTRIBUTE",ce="ContentTypeBuilder/DataManagerProvider/ADD_CUSTOM_FIELD_ATTRIBUTE",Ge="ContentTypeBuilder/DataManagerProvider/ADD_CREATED_COMPONENT_TO_DYNAMIC_ZONE",Pe="ContentTypeBuilder/DataManagerProvider/CHANGE_DYNAMIC_ZONE_COMPONENTS",pe="ContentTypeBuilder/DataManagerProvider/CREATE_SCHEMA",Se="ContentTypeBuilder/DataManagerProvider/CREATE_COMPONENT_SCHEMA",_e="ContentTypeBuilder/DataManagerProvider/DELETE_NOT_SAVED_TYPE",Ne="ContentTypeBuilder/DataManagerProvider/EDIT_ATTRIBUTE",Le="ContentTypeBuilder/DataManagerProvider/EDIT_CUSTOM_FIELD_ATTRIBUTE",Ke="ContentTypeBuilder/DataManagerProvider/GET_DATA_SUCCEEDED",bt="ContentTypeBuilder/DataManagerProvider/RELOAD_PLUGIN",yt="ContentTypeBuilder/DataManagerProvider/REMOVE_FIELD_FROM_DISPLAYED_COMPONENT",It="ContentTypeBuilder/DataManagerProvider/REMOVE_COMPONENT_FROM_DYNAMIC_ZONE",_t="ContentTypeBuilder/DataManagerProvider/REMOVE_FIELD",zt="ContentTypeBuilder/DataManagerProvider/SET_MODIFIED_DATA",Vt="ContentTypeBuilder/DataManagerProvider/UPDATE_SCHEMA",St=(At,mn)=>{const xn=At.reduce((Un,gr)=>{const Ur=gr.type;if(Ur==="component"){const Or=gr.component;Un.push(Or);const ii=v(mn,[Or,"schema","attributes"],[]);Un.push(...St(ii,mn))}if(Ur==="dynamiczone"){const Or=gr.components,ii=Or.reduce((Ui,rn)=>{const $n=v(mn,[rn,"schema","attributes"],[]);return[...Ui,...St($n,mn)]},[]);return[...Un,...Or,...ii]}return Un},[]);return Fe(xn)},Xt={components:{},contentTypes:{},initialComponents:{},initialContentTypes:{},initialData:{},modifiedData:{components:{},contentTypes:{}},reservedNames:{},isLoading:!0,isLoadingForDataToBeSet:!0},jt=["oneWay","manyWay"],sn=At=>At==="manyToOne"?"oneToMany":At==="oneToMany"?"manyToOne":At,dt=(At,mn)=>At.schema.attributes.findIndex(({name:xn})=>xn===mn),Ln=(At=Xt,mn)=>(0,c.cp)(At,xn=>{switch(mn.type){case Qe:{const{attributeToSet:{name:Un,...gr},forTarget:Ur,targetUid:Or}=mn;delete gr.createComponent;const ii=["component","contentType"].includes(Ur)?[Ur]:[Ur,Or],rn=[...v(At,["modifiedData",...ii,"schema","attributes"],[]).slice(),{...gr,name:Un}];if(_(xn,["modifiedData",...ii,"schema","attributes"],rn),mn.shouldAddComponentToData){const yi=gr.component,Jr=At.components[yi],cn=Jr?.isTemporary,mt=At.modifiedData.components?.[yi]!==void 0;if(cn||mt)break;xn.modifiedData.components||(xn.modifiedData.components={}),xn.modifiedData.components[yi]=Jr,St(Jr.schema.attributes,At.components).filter(pt=>v(At,["modifiedData","components",pt])===void 0).forEach(pt=>{const at=v(At,["components",pt],{});at.isTemporary||!1||(xn.modifiedData.components||(xn.modifiedData.components={}),xn.modifiedData.components[pt]=at)});break}if(gr.type==="relation"){const yi=gr.target,Jr=gr.targetAttribute||null,cn=gr.relation,mt=Ae(cn,Jr),we=v(At,["modifiedData",...ii,"uid"]);if(gr.type==="relation"&&mt!=="oneWay"&&mt!=="manyWay"&&yi===we){const je={name:Jr,relation:sn(mt),target:yi,targetAttribute:Un,type:"relation"};gr.private&&(je.private=gr.private);const pt=[...rn,je];_(xn,["modifiedData",...ii,"schema","attributes"],pt)}}break}case Ge:{const{dynamicZoneTarget:Un,componentsToAdd:gr}=mn,Ur=dt(At.modifiedData.contentType,Un);gr.forEach(Or=>{xn.modifiedData.contentType?.schema.attributes[Ur].components||(xn.modifiedData.contentType.schema.attributes[Ur].components=[]),xn.modifiedData.contentType.schema.attributes[Ur].components.push(Or)});break}case ce:{const{attributeToSet:{name:Un,...gr},forTarget:Ur,targetUid:Or}=mn,ii=["component","contentType"].includes(Ur)?[Ur]:[Ur,Or],rn=[...v(At,["modifiedData",...ii,"schema","attributes"],[]).slice(),{...gr,name:Un}];_(xn,["modifiedData",...ii,"schema","attributes"],rn);break}case Pe:{const{dynamicZoneTarget:Un,newComponents:gr}=mn,Ur=dt(At.modifiedData.contentType,Un),Or=(At.modifiedData.contentType?.schema.attributes[Ur]).components,ii=Fe([...Or,...gr]);(xn.modifiedData.contentType?.schema.attributes[Ur]).components=ii,St((0,c.sx)(xn.modifiedData.contentType.schema.attributes),At.components).filter($n=>v(At,["modifiedData","components",$n])===void 0).forEach($n=>{const yi=v(At,["components",$n],{});yi.isTemporary||!1||(xn.modifiedData.components||(xn.modifiedData.components={}),xn.modifiedData.components[$n]=yi)});break}case Se:{const Un={uid:mn.uid,isTemporary:!0,category:mn.componentCategory,schema:{...mn.data,attributes:[]}};xn.components[mn.uid]=Un,mn.shouldAddComponentToData&&(xn.modifiedData.components[mn.uid]=Un);break}case pe:{const Un={uid:mn.uid,isTemporary:!0,schema:{...mn.data,attributes:[]}};xn.contentTypes[mn.uid]=Un;break}case Ne:{const{attributeToSet:{name:Un,...gr},forTarget:Ur,targetUid:Or,initialAttribute:ii}=mn,Ui=ii.name,rn=["component","contentType"].includes(Ur)?[Ur]:[Ur,Or],$n=dt(v(At,["modifiedData",...rn]),Ui),yi=gr.type==="relation";if(!yi){_(xn,["modifiedData",...rn,"schema","attributes",$n],mn.attributeToSet);break}const Jr=v(At,["modifiedData",...rn,"schema","attributes"]).slice(),cn={name:Un,relation:gr.relation,target:gr.target,targetAttribute:gr.targetAttribute,type:"relation"};gr.private&&(cn.private=gr.private),gr.pluginOptions&&(cn.pluginOptions=gr.pluginOptions);const mt=Jr.findIndex($e=>$e.name!==void 0&&$e.name===ii.name);mt!==-1&&Jr.splice(mt,1,cn);let we=null,je=null,pt=null,at=null;const kt=v(At,["modifiedData",...rn,"uid"]),vn=ii.target!==gr.target,Wn=gr.target===kt,nr=Ae(gr.relation,gr.targetAttribute),rr=Ae(ii.relation,ii.targetAttribute),Ot=ii.target===kt,Gt=rr!==nr,Pt=vn&&!Wn&&Ot&&yi,Tt=Gt&&Ot&&["oneWay","manyWay"].includes(nr)&&yi,An=!jt.includes(rr)&&!jt.includes(nr)&&Ot&&Wn&&yi,on=jt.includes(rr)&&!jt.includes(nr)&&Ot&&Wn&&yi,dn=vn&&Wn&&!jt.includes(nr);if((Pt||Tt)&&(we=ii.targetAttribute),we){const $e=Jr.findIndex(Yt=>Yt.name===we);Jr.splice($e,1)}if(!Pt){const $e=v(At,["initialContentTypes",ii.target]);if($e){const Yt=dt($e,ii.targetAttribute);at=v(At,["initialContentTypes",ii.target,"schema","attributes",Yt])}}if(on||dn){pt={name:gr.targetAttribute,relation:sn(nr),target:gr.target,targetAttribute:Un,type:"relation"},gr.private&&(pt.private=gr.private),at&&at.pluginOptions&&(pt.pluginOptions=at.pluginOptions);const $e=Jr.findIndex(({name:Jt})=>Jt===ii.name),Yt=Jr.findIndex(({name:Jt})=>Un===Jt),$t=($e===-1?Yt:$e)+1;Jr.splice($t,0,pt)}if(An&&(je=ii.targetAttribute,pt={name:gr.targetAttribute,relation:sn(nr),target:gr.target,targetAttribute:Un,type:"relation"},gr.private&&(pt.private=gr.private),at&&at.pluginOptions&&(pt.pluginOptions=at.pluginOptions),je)){const $e=Jr.findIndex(({name:Yt})=>Yt===je);Jr.splice($e,1,pt)}_(xn,["modifiedData",...rn,"schema","attributes"],Jr);break}case Le:{const{forTarget:Un,targetUid:gr,initialAttribute:Ur,attributeToSet:Or}=mn,ii=Ur.name,Ui=["component","contentType"].includes(Un)?[Un]:[Un,gr],rn=dt(v(At,["modifiedData",...Ui]),ii);_(xn,["modifiedData",...Ui,"schema","attributes",rn],Or);break}case Ke:{xn.components=mn.components,xn.initialComponents=mn.components,xn.initialContentTypes=mn.contentTypes,xn.contentTypes=mn.contentTypes,xn.reservedNames=mn.reservedNames,xn.isLoading=!1;break}case _e:{xn.contentTypes=At.initialContentTypes,xn.components=At.initialComponents;break}case bt:return Xt;case It:{const Un=dt(At.modifiedData.contentType,mn.dzName);xn.modifiedData.contentType.schema.attributes[Un].components.splice(mn.componentToRemoveIndex,1);break}case _t:{const{mainDataKey:Un,attributeToRemoveName:gr}=mn,Ur=["modifiedData",Un,"schema","attributes"],Or=dt(At.modifiedData[Un],gr),ii=[...Ur,Or],Ui=v(At,ii);if(Ui.type==="relation"&&Un==="contentType"){const{target:Jr,relation:cn,targetAttribute:mt}=Ui,we=Ae(cn,mt),je=At.modifiedData.contentType?.uid;if(Jr===je&&!jt.includes(we)){const kt=(At.modifiedData[Un]?.schema.attributes.slice()).filter(vn=>!(vn.name===gr||vn.target===je&&vn.targetAttribute===gr));xn.modifiedData[Un].schema.attributes=kt;break}}At.modifiedData[Un].schema.attributes.slice().reduce((Jr,cn)=>(cn.type!=="uid"||cn.targetField!==gr||Jr.push(cn.name),Jr),[]).forEach(Jr=>{const cn=dt(At.modifiedData[Un],Jr);delete xn.modifiedData[Un]?.schema.attributes[cn].targetField}),xn.modifiedData[Un]?.schema.attributes.splice(Or,1);break}case yt:{const{attributeToRemoveName:Un,componentUid:gr}=mn,Ur=dt(At.modifiedData.components?.[gr],Un);xn.modifiedData.components?.[gr]?.schema?.attributes?.splice(Ur,1);break}case zt:{xn.isLoadingForDataToBeSet=!1,xn.initialData=mn.schemaToSet,xn.modifiedData=mn.schemaToSet,mn.hasJustCreatedSchema||(xn.components=At.initialComponents,xn.contentTypes=At.initialContentTypes);break}case Vt:{const{data:{displayName:Un,category:gr,icon:Ur,kind:Or},schemaType:ii,uid:Ui}=mn;if(xn.modifiedData[ii].schema.displayName=Un,mn.schemaType==="component"){xn.modifiedData.component.category=gr,xn.modifiedData.component.schema.icon=Ur;const rn=(0,c.sx)(xn.modifiedData.component);xn.components[Ui]=rn;break}xn.modifiedData.contentType.schema.kind=Or;break}default:return xn}}),fn=At=>R(At,{separator:"-"}),cr="ContentTypeBuilder/FormModal/ON_CHANGE",wr="ContentTypeBuilder/FormModal/ON_CHANGE_RELATION_TARGET",Jn="ContentTypeBuilder/FormModal/ON_CHANGE_RELATION_TYPE",nn="ContentTypeBuilder/FormModal/RESET_PROPS",or="ContentTypeBuilder/FormModal/RESET_PROPS_AND_SET_FORM_FOR_ADDING_AN_EXISTING_COMPO",bn="ContentTypeBuilder/FormModal/RESET_PROPS_AND_SAVE_CURRENT_DATA",Sn="ContentTypeBuilder/FormModal/RESET_PROPS_AND_SET_THE_FORM_FOR_ADDING_A_COMPO_TO_A_DZ",Hn="ContentTypeBuilder/FormModal/SET_DATA_TO_EDIT",er="ContentTypeBuilder/FormModal/SET_ATTRIBUTE_DATA_SCHEMA",an="ContentTypeBuilder/FormModal/SET_CUSTOM_FIELD_DATA_SCHEMA",Cn="ContentTypeBuilder/FormModal/SET_DYNAMIC_ZONE_DATA_SCHEMA",de="ContentTypeBuilder/FormModal/SET_ERRORS",oe=At=>{const mn=fn(At);return`api::${mn}.${mn}`},Ye=(At,mn)=>`${fn(mn)}.${fn(At)}`,Et=(At,mn)=>{if(mn.items)return mn.items.reduce(Et,At);if("defaultValue"in mn){const{name:xn,defaultValue:Un}=mn;At.push({name:xn,defaultValue:Un})}return At},xe=At=>["manyToMany","oneToMany","manyWay"].includes(At)?2:1,Re=At=>["manyToMany","manyToOne"].includes(At)?2:1,We={formErrors:{},modifiedData:{},initialData:{},componentToCreate:{},isCreatingComponentWhileAddingAField:!1},gt=(At=We,mn)=>(0,c.cp)(At,xn=>{switch(mn.type){case cr:{const{keys:Un,value:gr}=mn,Ur=At.modifiedData;if(Boolean(Ur.default)&&Un.length===1&&Un.includes("type")){const ii=Ur.type;ii&&["date","datetime","time"].includes(ii)&&delete xn.modifiedData.default}_(xn,["modifiedData",...Un],gr);break}case wr:{const{target:{oneThatIsCreatingARelationWithAnother:Un,selectedContentTypeFriendlyName:gr,targetContentTypeAllowedRelations:Ur,value:Or}}=mn;let ii=!1,Ui=null;_(xn,["modifiedData","target"],Or);const rn=At.modifiedData;if(Array.isArray(Ur)){const cn=Ae(rn.relation,rn.targetAttribute);if(!Ur.includes(cn)){const mt=Ur[0];ii=!0,Ui=mt,mt==="oneWay"?_(xn,["modifiedData","relation"],"oneToOne"):mt==="manyWay"?_(xn,["modifiedData","relation"],"oneToMany"):_(xn,["modifiedData","relation"],mt)}}let $n;if(ii?$n=A(T(fn(gr)),xe(Ui)):$n=A(T(fn(gr)),xe(rn.relation)),_(xn,["modifiedData","name"],$n),At.modifiedData.targetAttribute===null)break;if(ii&&["oneWay","manyWay"].includes(Ui)){_(xn,["modifiedData","targetAttribute"],null);break}const Jr=A(T(fn(Un)),Re(rn.relation));_(xn,["modifiedData","targetAttribute"],Jr);break}case Jn:{const{target:{oneThatIsCreatingARelationWithAnother:Un,value:gr}}=mn,Ur=At.modifiedData.name;if(!["oneWay","manyWay"].includes(gr)){_(xn,["modifiedData","relation"],gr);const Or=At.modifiedData.targetAttribute;_(xn,["modifiedData","name"],A(T(fn(Ur)),xe(gr))),_(xn,["modifiedData","targetAttribute"],A(Or||T(fn(Un)),Re(gr)));break}if(gr==="oneWay"){_(xn,["modifiedData","relation"],"oneToOne"),_(xn,["modifiedData","targetAttribute"],null),_(xn,["modifiedData","name"],A(T(Ur),1));break}_(xn,["modifiedData","relation"],"oneToMany"),_(xn,["modifiedData","targetAttribute"],null),_(xn,["modifiedData","name"],A(T(Ur),2));break}case nn:return We;case or:return{...We,modifiedData:{type:"component",repeatable:!0,...mn.options}};case bn:{const Un=At.modifiedData.componentToCreate,gr={displayName:Un.displayName,type:"component",repeatable:!1,...mn.options,component:Ye(Un.displayName,Un.category)};return{...We,componentToCreate:Un,modifiedData:gr,isCreatingComponentWhileAddingAField:At.modifiedData.createComponent}}case Sn:{const gr={...At.modifiedData,createComponent:!0,componentToCreate:{type:"component"}};return{...We,modifiedData:gr}}case Hn:{xn.modifiedData=mn.data,xn.initialData=mn.data;break}case er:{const{attributeType:Un,isEditing:gr,modifiedDataToSetForEditing:Ur,nameToSetForRelation:Or,targetUid:ii,step:Ui,options:rn={}}=mn;if(gr){xn.modifiedData=Ur,xn.initialData=Ur;break}let $n;Un==="component"?Ui==="1"?$n={type:"component",createComponent:!0,componentToCreate:{type:"component"}}:$n={...rn,type:"component",repeatable:!0}:Un==="dynamiczone"?$n={...rn,type:"dynamiczone",components:[]}:Un==="text"?$n={...rn,type:"string"}:Un==="number"||Un==="date"?$n=rn:Un==="media"?$n={allowedTypes:["images","files","videos","audios"],type:"media",multiple:!0,...rn}:Un==="enumeration"?$n={...rn,type:"enumeration",enum:[]}:Un==="relation"?$n={name:T(Or),relation:"oneToOne",targetAttribute:null,target:ii,type:"relation"}:$n={...rn,type:Un,default:null},xn.modifiedData=$n;break}case an:{const{customField:Un,isEditing:gr,modifiedDataToSetForEditing:Ur,options:Or={}}=mn;if(gr){xn.modifiedData=Ur,xn.initialData=Ur;break}xn.modifiedData={...Or,type:Un.type};const Ui=[...Un?.options?.base||[],...Un?.options?.advanced||[]].reduce(Et,[]);Ui.length&&Ui.forEach(({name:rn,defaultValue:$n})=>_(xn.modifiedData,rn,$n));break}case Cn:{xn.modifiedData=mn.attributeToEdit,xn.initialData=mn.attributeToEdit;break}case de:{xn.formErrors=mn.errors;break}default:return xn}}),Nt={[`${ye}_formModal`]:gt,[`${ye}_dataManagerProvider`]:Ln},Ct={components:{inputs:{},add({id:At,component:mn}){this.inputs[At]||(this.inputs[At]=mn)}},types:{attribute:{},contentType:{validators:[],form:{advanced:[],base:[]}},component:{validators:[],form:{advanced:[],base:[]}}},contentTypeSchemaMutations:[],addContentTypeSchemaMutation(At){this.contentTypeSchemaMutations.push(At)},extendContentType({validator:At,form:{advanced:mn,base:xn}}){const{contentType:Un}=this.types;Un.validators.push(At),Un.form.advanced.push(mn),Un.form.base.push(xn)},extendFields(At,{validator:mn,form:{advanced:xn,base:Un}}){const gr=this.types.attribute;At.forEach(Ur=>{gr[Ur]||(gr[Ur]={validators:[],form:{advanced:[],base:[]}}),gr[Ur].validators.push(mn),gr[Ur].form.advanced.push(xn),gr[Ur].form.base.push(Un)})},getAdvancedForm(At,mn=null){return v(this.types,[...At,"form","advanced"],[]).reduce((Un,gr)=>{const Ur=gr(mn);return[...Un,...Ur]},[])},makeCustomFieldValidator(At,mn,...xn){return mn?At.shape({options:M.kt().shape(mn(xn))}):At},makeValidator(At,mn,...xn){const gr=v(this.types,[...At,"validators"],[]).reduce((Ur,Or)=>{const ii=Or(xn);return{...Ur,...ii}},{});return mn.shape({pluginOptions:M.kt().shape(gr)})},mutateContentTypeSchema(At,mn){let xn=P(At);const Un=P(mn);return this.contentTypeSchemaMutations.forEach(gr=>{xn=gr(xn,Un)}),xn}},tn=Ve.strapi.name,ge={register(At){At.addReducers(Nt),At.addMenuLink({to:`/plugins/${ye}`,icon:Ze,intlLabel:{id:`${ye}.plugin.name`,defaultMessage:"Content Types Builder"},permissions:Ce.main,async Component(){return await e.e(5804).then(e.bind(e,15804)).then(xn=>xn.i)}}),At.registerPlugin({id:ye,name:tn,apis:{forms:Ct}})},bootstrap(){},async registerTrads({locales:At}){const mn=await Promise.all(At.map(xn=>O(Object.assign({"./translations/ar.json":()=>e.e(1144).then(e.bind(e,1144)),"./translations/cs.json":()=>e.e(3428).then(e.bind(e,53428)),"./translations/de.json":()=>e.e(340).then(e.bind(e,30340)),"./translations/dk.json":()=>e.e(8296).then(e.bind(e,8296)),"./translations/en.json":()=>e.e(1320).then(e.bind(e,31320)),"./translations/es.json":()=>e.e(6760).then(e.bind(e,56760)),"./translations/fr.json":()=>e.e(5336).then(e.bind(e,65336)),"./translations/id.json":()=>e.e(1712).then(e.bind(e,11712)),"./translations/it.json":()=>e.e(5832).then(e.bind(e,75832)),"./translations/ja.json":()=>e.e(2920).then(e.bind(e,2920)),"./translations/ko.json":()=>e.e(5440).then(e.bind(e,15440)),"./translations/ms.json":()=>e.e(7400).then(e.bind(e,17400)),"./translations/nl.json":()=>e.e(7208).then(e.bind(e,84828)),"./translations/pl.json":()=>e.e(936).then(e.bind(e,78555)),"./translations/pt-BR.json":()=>e.e(5332).then(e.bind(e,87712)),"./translations/pt.json":()=>e.e(2328).then(e.bind(e,2328)),"./translations/ru.json":()=>e.e(1800).then(e.bind(e,1800)),"./translations/sk.json":()=>e.e(7872).then(e.bind(e,57872)),"./translations/sv.json":()=>e.e(1912).then(e.bind(e,21912)),"./translations/th.json":()=>e.e(320).then(e.bind(e,30320)),"./translations/tr.json":()=>e.e(240).then(e.bind(e,40240)),"./translations/uk.json":()=>e.e(7852).then(e.bind(e,60232)),"./translations/zh-Hans.json":()=>e.e(1224).then(e.bind(e,51224)),"./translations/zh.json":()=>e.e(684).then(e.bind(e,684))}),`./translations/${xn}.json`).then(({default:Un})=>({data:(0,i.Ux)(Un,ye),locale:xn})).catch(()=>({data:{},locale:xn}))));return Promise.resolve(mn)}}},96728:(U,C,e)=>{"use strict";e.d(C,{P:()=>Q,i:()=>Z,p:()=>K});var i=e(95840),a=e(42508);const l=(J,ee)=>{const re=J[ee];return re?typeof re=="function"?re():Promise.resolve(re):new Promise((me,fe)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(fe.bind(null,new Error("Unknown variable dynamic import: "+ee)))})},X={name:"@strapi/plugin-documentation",version:"4.20.3",description:"Create an OpenAPI Document and visualize your API with SWAGGER UI.",repository:{type:"git",url:"https://github.com/strapi/strapi.git",directory:"packages/plugins/documentation"},license:"SEE LICENSE IN LICENSE",author:{name:"Strapi Solutions SAS",email:"hi@strapi.io",url:"https://strapi.io"},maintainers:[{name:"Strapi Solutions SAS",email:"hi@strapi.io",url:"https://strapi.io"}],exports:{"./strapi-admin":{source:"./admin/src/index.js",import:"./dist/admin/index.mjs",require:"./dist/admin/index.js",default:"./dist/admin/index.js"},"./strapi-server":{source:"./strapi-server.js",require:"./strapi-server.js",default:"./strapi-server.js"},"./package.json":"./package.json"},scripts:{build:"pack-up build",clean:"run -T rimraf dist",lint:"run -T eslint .","test:front":"run -T cross-env IS_EE=true jest --config ./jest.config.front.js","test:front:watch":"run -T cross-env IS_EE=true jest --config ./jest.config.front.js --watchAll","test:unit":"jest --verbose","test:unit:watch":"run -T jest --watch",watch:"pack-up watch"},dependencies:{"@strapi/design-system":"1.15.0","@strapi/helper-plugin":"4.20.3","@strapi/icons":"1.15.0","@strapi/utils":"4.20.3",bcryptjs:"2.4.3",cheerio:"^1.0.0-rc.12",formik:"2.4.0","fs-extra":"10.0.0",immer:"9.0.19","koa-static":"^5.0.0",lodash:"4.17.21","path-to-regexp":"6.2.1","react-helmet":"^6.1.0","react-intl":"6.4.1","react-query":"3.39.3","swagger-ui-dist":"4.19.0",yaml:"1.10.2",yup:"0.32.9"},devDependencies:{"@apidevtools/swagger-parser":"^10.1.0","@strapi/pack-up":"4.20.3","@strapi/strapi":"4.20.3","@testing-library/react":"14.0.0","@testing-library/user-event":"14.4.3",msw:"1.3.0",react:"^18.2.0","react-dom":"^18.2.0","react-router-dom":"5.3.4","styled-components":"5.3.3"},peerDependencies:{"@strapi/strapi":"^4.0.0",react:"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^5.2.0","styled-components":"^5.2.1"},engines:{node:">=18.0.0 <=20.x.x",npm:">=6.0.0"},strapi:{displayName:"Documentation",name:"documentation",description:"Create an OpenAPI Document and visualize your API with SWAGGER UI.",kind:"plugin"}},Q={main:[{action:"plugin::documentation.read",subject:null},{action:"plugin::documentation.settings.regenerate",subject:null},{action:"plugin::documentation.settings.update",subject:null}],open:[{action:"plugin::documentation.read",subject:null},{action:"plugin::documentation.settings.regenerate",subject:null}],regenerate:[{action:"plugin::documentation.settings.regenerate",subject:null}],update:[{action:"plugin::documentation.settings.update",subject:null}]},K=X.name.replace(/^@strapi\/plugin-/i,""),Y=X.strapi.name,Z={register(J){J.addMenuLink({to:`/plugins/${K}`,icon:a.c,intlLabel:{id:`${K}.plugin.name`,defaultMessage:"Documentation"},permissions:Q.main,async Component(){return await e.e(1448).then(e.bind(e,11448))}}),J.registerPlugin({id:K,name:Y})},bootstrap(J){J.addSettingsLink("global",{intlLabel:{id:`${K}.plugin.name`,defaultMessage:"Documentation"},id:"documentation",to:`/settings/${K}`,async Component(){return await e.e(7004).then(e.bind(e,27004))},permissions:Q.main})},async registerTrads({locales:J}){const ee=await Promise.all(J.map(re=>l(Object.assign({"./translations/ar.json":()=>e.e(8468).then(e.bind(e,28468)),"./translations/cs.json":()=>e.e(6744).then(e.bind(e,46744)),"./translations/de.json":()=>e.e(9152).then(e.bind(e,9152)),"./translations/dk.json":()=>e.e(3276).then(e.bind(e,95656)),"./translations/en.json":()=>e.e(2224).then(e.bind(e,52224)),"./translations/es.json":()=>e.e(2428).then(e.bind(e,32428)),"./translations/fr.json":()=>e.e(220).then(e.bind(e,40220)),"./translations/id.json":()=>e.e(6384).then(e.bind(e,66384)),"./translations/it.json":()=>e.e(8656).then(e.bind(e,18656)),"./translations/ko.json":()=>e.e(408).then(e.bind(e,50408)),"./translations/ms.json":()=>e.e(3533).then(e.bind(e,83533)),"./translations/nl.json":()=>e.e(4444).then(e.bind(e,84444)),"./translations/pl.json":()=>e.e(4328).then(e.bind(e,64328)),"./translations/pt-BR.json":()=>e.e(8204).then(e.bind(e,18204)),"./translations/pt.json":()=>e.e(4020).then(e.bind(e,64020)),"./translations/ru.json":()=>e.e(8192).then(e.bind(e,78192)),"./translations/sk.json":()=>e.e(9744).then(e.bind(e,59744)),"./translations/sv.json":()=>e.e(3112).then(e.bind(e,83112)),"./translations/th.json":()=>e.e(8992).then(e.bind(e,18992)),"./translations/tr.json":()=>e.e(7272).then(e.bind(e,67272)),"./translations/uk.json":()=>e.e(9024).then(e.bind(e,9024)),"./translations/vi.json":()=>e.e(4868).then(e.bind(e,14868)),"./translations/zh-Hans.json":()=>e.e(5016).then(e.bind(e,75016)),"./translations/zh.json":()=>e.e(8888).then(e.bind(e,28888))}),`./translations/${re}.json`).then(({default:me})=>({data:(0,i.Ux)(me,K),locale:re})).catch(()=>({data:{},locale:re}))));return Promise.resolve(ee)}}},44972:(U,C,e)=>{"use strict";e.d(C,{P:()=>l,a:()=>c});var i=e(95840);const a=(v,_)=>{const T=v[_];return T?typeof T=="function"?T():Promise.resolve(T):new Promise((A,R)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(R.bind(null,new Error("Unknown variable dynamic import: "+_)))})},l={settings:[{action:"plugin::email.settings.read",subject:null}]},c={register(v){v.createSettingSection({id:"email",intlLabel:{id:"email.SettingsNav.section-label",defaultMessage:"Email Plugin"}},[{intlLabel:{id:"email.Settings.email.plugin.title",defaultMessage:"Settings"},id:"settings",to:"/settings/email",async Component(){const{ProtectedSettingsPage:_}=await e.e(7096).then(e.bind(e,27096));return _},permissions:l.settings}]),v.registerPlugin({id:"email",name:"email"})},bootstrap(){},async registerTrads({locales:v}){const _=await Promise.all(v.map(T=>a(Object.assign({"./translations/ar.json":()=>e.e(4908).then(e.bind(e,54908)),"./translations/cs.json":()=>e.e(6784).then(e.bind(e,26784)),"./translations/de.json":()=>e.e(9348).then(e.bind(e,81728)),"./translations/dk.json":()=>e.e(6704).then(e.bind(e,56704)),"./translations/en.json":()=>e.e(4404).then(e.bind(e,84404)),"./translations/es.json":()=>e.e(6928).then(e.bind(e,56928)),"./translations/fr.json":()=>e.e(5432).then(e.bind(e,35432)),"./translations/id.json":()=>e.e(232).then(e.bind(e,50232)),"./translations/it.json":()=>e.e(1236).then(e.bind(e,1236)),"./translations/ja.json":()=>e.e(8168).then(e.bind(e,18168)),"./translations/ko.json":()=>e.e(6276).then(e.bind(e,16276)),"./translations/ms.json":()=>e.e(2464).then(e.bind(e,82464)),"./translations/nl.json":()=>e.e(2368).then(e.bind(e,42368)),"./translations/pl.json":()=>e.e(544).then(e.bind(e,48164)),"./translations/pt-BR.json":()=>e.e(3347).then(e.bind(e,13347)),"./translations/pt.json":()=>e.e(2384).then(e.bind(e,90004)),"./translations/ru.json":()=>e.e(8016).then(e.bind(e,38016)),"./translations/sk.json":()=>e.e(2808).then(e.bind(e,62808)),"./translations/th.json":()=>e.e(8080).then(e.bind(e,28080)),"./translations/tr.json":()=>e.e(7060).then(e.bind(e,77060)),"./translations/uk.json":()=>e.e(3768).then(e.bind(e,23768)),"./translations/vi.json":()=>e.e(6088).then(e.bind(e,26088)),"./translations/zh-Hans.json":()=>e.e(9507).then(e.bind(e,89507)),"./translations/zh.json":()=>e.e(9331).then(e.bind(e,81712))}),`./translations/${T}.json`).then(({default:A})=>({data:(0,i.Ux)(A,"email"),locale:T})).catch(()=>({data:{},locale:T}))));return Promise.resolve(_)}}},32048:(U,C,e)=>{"use strict";e.d(C,{A:()=>bn,D:()=>Sn,P:()=>Et,U:()=>Hn,a:()=>Se,g:()=>Ge,i:()=>pt,u:()=>er});var i=e(95840),a=e(85676),l=e(52540),c=e(19968),v=e(62552),_=e(63358),T=e(32568),A=e(85820),R=e(70883),P=e(48936),M=e(84328),O=e(35676),N=e(5e3),B=e(56104),j=e(6912),z=e(70544),W=e(35480),X=e(14448),Q=e(30048),K=e(32680),Y=e(36944);const Z=at=>(0,c.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 21 24",...at,children:[(0,c.jsx)("path",{fill:"#32324D",d:"M18.54 8.746a.206.206 0 0 0-.07-.134.224.224 0 0 0-.14-.055.184.184 0 0 0-.14.04.227.227 0 0 0-.094.117.213.213 0 0 1-.078.119.216.216 0 0 1-.14.047h-.644a.214.214 0 0 1-.117 0l-.932-.567a.2.2 0 0 0-.117 0h-1.492a.184.184 0 0 0-.124 0L12.61 9.55a.244.244 0 0 0-.07.086.184.184 0 0 0 0 .11v1.765a.335.335 0 0 0 0 .119.251.251 0 0 0 .093.086l2.41 1.3c.035.02.065.05.085.087a.24.24 0 0 1 .039.118v.961a.335.335 0 0 0 0 .119c.022.032.051.059.085.079l.971.543a.297.297 0 0 1 .086.087c.01.039.01.08 0 .118v2.056a.263.263 0 0 0 .039.127.28.28 0 0 0 .1.086c.041.012.084.012.125 0a.2.2 0 0 0 .117-.055c.386-.292.752-.61 1.095-.953.125-.19.241-.394.35-.591.223-.42.412-.858.567-1.308.529-1.552.11-4.342-.163-5.744ZM8.507 11.622l-2.332 4.05-.303-.213a.08.08 0 0 1 0-.047.088.088 0 0 1 0-.063l-.318-2.301a.088.088 0 0 0 0-.063.094.094 0 0 0-.047-.047l-1.554-.954a.156.156 0 0 1-.062-.063l-.863-1.576-.621-1.158v-.063a.232.232 0 0 1 0-.07c.074-.245.123-.495.147-.75.033-.174.093-.341.179-.496a8.834 8.834 0 0 1 2.82-3.38c.257-.181.995-.599 1.252-.733a.153.153 0 0 1 .085 0 .16.16 0 0 1 .078 0l.7.489s.038 0 .046.055a.136.136 0 0 1 0 .079.104.104 0 0 1 0 .063.102.102 0 0 1-.047.055l-.45.355a.088.088 0 0 0 0 .055v.07a.12.12 0 0 0 0 .072v.055l.552.472a.161.161 0 0 0 .077 0 .153.153 0 0 0 .086 0l1.165-.59h.078a.13.13 0 0 1 .078 0l.855.575c.022.017.04.038.054.063a.234.234 0 0 1 0 .07v.481a.169.169 0 0 1 0 .095.179.179 0 0 1-.078.055l-.847.323a.156.156 0 0 0-.078.063l-.613.875a.152.152 0 0 0 0 .094v.528a.184.184 0 0 1 0 .087.21.21 0 0 1-.063.055l-1.142.599a.14.14 0 0 0-.054.04.24.24 0 0 0 0 .062l-.288 1.032a.347.347 0 0 1-.116.182.318.318 0 0 1-.288.039H5.19a.138.138 0 0 0-.055 0l-.35.354a.096.096 0 0 0 0 .08.136.136 0 0 0 0 .094c.011.028.03.053.055.07.03.008.062.008.093 0h2.246l.039.19.567.575H7.901l.606.016ZM11.88 13.733v2.53a.242.242 0 0 1 0 .078.214.214 0 0 1-.055.063l-1.873 1.34a.3.3 0 0 0-.07.102l-.334 1.474-.109.504a.213.213 0 0 1-.047.079.236.236 0 0 1-.077 0 .426.426 0 0 0-.249.228c-.062.119-.078.103-.21.071l-.248-.055-.21-.055h.085c-.295-.055-.536-.418-.598-.52v-.047l-.14-.694-.295-1.182 2.914-5.129 1.414 1.08s.039 0 .047.055c.022.023.04.05.054.078Z"}),(0,c.jsx)("path",{fill:"#32324D",d:"M10.76 2.844h-.179a4.82 4.82 0 0 0-.676.048 8.6 8.6 0 0 0-2.385.622c.1.071-.07.134-.07.134l.272.536h1.46l.995.544.878-.513-.295-1.37ZM15.33 5.145a.274.274 0 0 1 0 .079l-.047.07-.676.592a.138.138 0 0 1-.093 0 .215.215 0 0 1-.101 0l-.249-.158.56-.977.52.244a.211.211 0 0 1 .062.056c.015.03.023.061.024.094ZM17.739 6.752l-.241-.378a5.222 5.222 0 0 0-.707-1.119c-.233-.22-.296-.157-.311-.11a.173.173 0 0 1-.055.071l-1.204.97a.176.176 0 0 1-.109 0h-.738l-.497.503a.142.142 0 0 0-.04.056.176.176 0 0 0 0 .063.152.152 0 0 0 0 .063c.01.02.023.04.04.055l.497.512h3.295l.054-.04a.128.128 0 0 0 0-.055.256.256 0 0 0 0-.063v-.559l.016.031Z"}),(0,c.jsx)("path",{fill:"#32324D",d:"M10.512 2.167a9.237 9.237 0 0 0-5.328 1.691 9.438 9.438 0 0 0-3.42 4.474 9.58 9.58 0 0 0-.287 5.654 9.475 9.475 0 0 0 2.95 4.806l.855-1.505c-.431-.4-.812-.853-1.135-1.347a7.876 7.876 0 0 1-1.259-5.082c.015-.183.04-.365.078-.544a7.735 7.735 0 0 1 2.13-4.184 7.47 7.47 0 0 1 2.486-1.686l.132-.055a7.524 7.524 0 0 1 2.798-.536 7.051 7.051 0 0 1 2.222.347l.855-1.505a9.056 9.056 0 0 0-3.077-.528Zm4.934 1.426-.839 1.473c.272.165.532.349.777.552a7.775 7.775 0 0 1 2.59 4.171 7.86 7.86 0 0 1-.41 4.912 7.725 7.725 0 0 1-3.246 3.67 7.566 7.566 0 0 1-6.005.68 7.55 7.55 0 0 1-.591-.212c-.253-.097-.5-.21-.738-.339l-.855 1.474a9.215 9.215 0 0 0 7.078.944 9.345 9.345 0 0 0 5.662-4.407 9.572 9.572 0 0 0 .931-7.176 9.44 9.44 0 0 0-4.346-5.742h-.008Z"}),(0,c.jsx)("path",{fill:"#32324D",d:"M18.7.794 17.414.042 4.25 23.16l1.286.753L18.7.794Z"})]}),J=Z;var ee=e(14632),re=e(3704),me=e(49008),fe=e(67432),le=e(70516),Ve=e(12132),Ze=e(96556),Ce=e(36196),ye=e(29088),Ae=e(35184),Fe=e(21968);const Qe=(at,kt)=>{const vn=at[kt];return vn?typeof vn=="function"?vn():Promise.resolve(vn):new Promise((Wn,nr)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(nr.bind(null,new Error("Unknown variable dynamic import: "+kt)))})},ce="i18n",Ge=at=>`${ce}.${at}`,Pe=(0,re.cp)(_.O)`
  text-align: center;
`,pe=({description:at,isCreating:kt=!1,intlLabel:vn,name:Wn,onChange:nr,value:rr})=>{const{formatMessage:Ot}=(0,ee.c)(),[Gt,Pt]=v.useState(!1),Tt=Yt=>kt||Yt?nr({target:{name:Wn,value:Yt,type:"checkbox"}}):Yt?null:Pt(!0),An=()=>{nr({target:{name:Wn,value:!1,type:"checkbox"}}),Pt(!1)},on=()=>Pt(Yt=>!Yt),dn=vn.id?Ot({id:vn.id,defaultMessage:vn.defaultMessage},{...vn.values}):Wn,$e=at?Ot({id:at.id,defaultMessage:at.defaultMessage},{...at.values}):"";return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(T.y,{hint:$e,id:Wn,name:Wn,onValueChange:Tt,value:rr,type:"checkbox",children:dn}),Gt&&(0,c.jsxs)(A.C,{onClose:on,title:"Confirmation",isOpen:Gt,children:[(0,c.jsx)(R.a,{icon:(0,c.jsx)(Q.c,{}),children:(0,c.jsxs)(P.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,c.jsx)(P.C,{justifyContent:"center",children:(0,c.jsx)(Pe,{id:"confirm-description",children:Ot({id:Ge("CheckboxConfirmation.Modal.content"),defaultMessage:"Disabling localization will engender the deletion of all your content but the one associated to your default locale (if existing)."})})}),(0,c.jsx)(P.C,{justifyContent:"center",children:(0,c.jsx)(_.O,{fontWeight:"semiBold",id:"confirm-description",children:Ot({id:Ge("CheckboxConfirmation.Modal.body"),defaultMessage:"Do you want to disable it?"})})})]})}),(0,c.jsx)(M.K,{startAction:(0,c.jsx)(O.Z,{onClick:on,variant:"tertiary",children:Ot({id:"components.popUpWarning.button.cancel",defaultMessage:"No, cancel"})}),endAction:(0,c.jsx)(O.Z,{variant:"danger-light",onClick:An,children:Ot({id:Ge("CheckboxConfirmation.Modal.button-confirm"),defaultMessage:"Yes, disable"})})})]})]})},Se=le.OY,_e=le.w1,Ne=()=>(0,fe.M3)(at=>at.rbacProvider.collectionTypesRelatedPermissions,(at,kt)=>kt,(at,kt)=>{const vn=kt?at[kt]:{};if(!vn)return{createPermissions:[],readPermissions:[]};const Wn=vn["plugin::content-manager.explorer.read"]||[];return{createPermissions:vn["plugin::content-manager.explorer.create"]||[],readPermissions:Wn}}),Le=at=>{const kt=(0,v.useMemo)(Ne,[]);return _e(vn=>kt(vn,at))},Ke=(at,{contentType:kt,components:vn},Wn)=>{const rr={...bt(at,kt,vn),localizations:Wn},Ot=(0,i.SE)(rr,kt,vn,["createdBy","updatedBy","publishedAt","id","updatedAt","createdAt"]);return(0,i.dT)(Ot,kt,vn)},bt=(at,kt,vn)=>{const Wn=(nr,rr)=>Object.keys(nr).reduce((Ot,Gt)=>{const Pt=rr.attributes[Gt]??{type:void 0};if(Pt.type==="dynamiczone"){const Tt=nr[Gt];return Ot[Gt]=Tt.map(An=>Wn(An,vn[An.__component])),Ot}else if(Pt.type==="component"){const{repeatable:Tt,component:An}=Pt;if(Tt){const on=nr[Gt]??[];Ot[Gt]=on.map(dn=>Wn(dn,vn[An]))}else{const on=nr[Gt]??{};Ot[Gt]=Wn(on,vn[An])}return Ot}else Pt.type!=="password"&&Pt.type!=="relation"&&(Ot[Gt]=nr[Gt]);return Ot},{});return Wn(at,kt)},yt=at=>typeof at=="object"&&at!==null&&"localizations"in at&&Array.isArray(at.localizations)?at.localizations:[],It=({appLocales:at=[],currentLocale:kt,localizations:vn=[],readPermissions:Wn=[]})=>{const[nr,rr]=v.useState(!1),[Ot,Gt]=v.useState(!1),Pt=(0,i.eo)(),{formatMessage:Tt}=(0,ee.c)(),An=Se(),{allLayoutData:on,initialData:dn,slug:$e}=(0,i.O_)(),{get:Yt}=(0,i.Qn)(),$t=v.useMemo(()=>at.filter(({code:yr})=>yr!==kt&&vn.findIndex(({locale:Rr})=>Rr===yr)!==-1).filter(({code:yr})=>Wn.some(({properties:Rr})=>(Rr?.locales??[]).includes(yr))).map(yr=>{const Rr=vn.find(Xr=>yr.code===Xr.locale);return{label:yr.name,value:Rr.id}}),[at,kt,vn,Wn]),[Jt,Lt]=v.useState($t[0]?.value||"");if(vn.length===0)return null;const yn=async()=>{if(!Jt){In();return}rr(!0);try{const{data:yr}=await Yt(`/content-manager/collection-types/${$e}/${Jt}`),Rr=Ke(yr,on,vn);["createdBy","updatedBy","publishedAt","id","createdAt"].forEach(Xr=>{dn[Xr]&&(Rr[Xr]=dn[Xr])}),An({type:"ContentManager/CrudReducer/GET_DATA_SUCCEEDED",data:Rr,setModifiedDataOnly:!0}),Pt({type:"success",message:{id:Ge("CMEditViewCopyLocale.copy-success"),defaultMessage:"Locale copied!"}})}catch(yr){console.error(yr),Pt({type:"warning",message:{id:Ge("CMEditViewCopyLocale.copy-failure"),defaultMessage:"Failed to copy locale"}})}finally{rr(!1),In()}},In=()=>{Gt(yr=>!yr)};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(_t,{fontSize:2,textColor:"primary600",as:"button",type:"button",onClick:In,children:(0,c.jsxs)(P.C,{children:[(0,c.jsx)(K.c,{width:"12px",height:"12px"}),Tt({id:Ge("CMEditViewCopyLocale.copy-text"),defaultMessage:"Fill in from another locale"})]})}),Ot&&(0,c.jsxs)(A.C,{onClose:In,title:"Confirmation",isOpen:Ot,children:[(0,c.jsx)(R.a,{icon:(0,c.jsx)(Q.c,{}),children:(0,c.jsxs)(P.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,c.jsx)(P.C,{justifyContent:"center",children:(0,c.jsx)(_.O,{textAlign:"center",id:"confirm-description",children:Tt({id:Ge("CMEditViewCopyLocale.ModalConfirm.content"),defaultMessage:"Your current content will be erased and filled by the content of the selected locale:"})})}),(0,c.jsx)(N.k,{children:(0,c.jsx)(B.K_,{label:Tt({id:Ge("Settings.locales.modal.locales.label"),defaultMessage:"Locales"}),onChange:Lt,value:Jt,children:$t.map(({label:yr,value:Rr})=>(0,c.jsx)(B.kH,{value:Rr,children:yr},Rr))})})]})}),(0,c.jsx)(M.K,{startAction:(0,c.jsx)(O.Z,{onClick:In,variant:"tertiary",children:Tt({id:"popUpWarning.button.cancel",defaultMessage:"No, cancel"})}),endAction:(0,c.jsx)(O.Z,{variant:"success",onClick:yn,loading:nr,children:Tt({id:Ge("CMEditViewCopyLocale.submit-text"),defaultMessage:"Yes, fill in"})})})]})]})},_t=(0,re.cp)(_.O)`
  svg {
    margin-right: ${({theme:at})=>at.spaces[2]};
    fill: none;
    > g,
    path {
      fill: ${({theme:at})=>at.colors.primary600};
    }
  }
`,zt=({appLocales:at=[],createPermissions:kt=[],currentEntityId:vn,currentLocale:Wn,localizations:nr=[],readPermissions:rr=[]})=>{const{formatMessage:Ot}=(0,ee.c)(),{hasDraftAndPublish:Gt,isSingleType:Pt,slug:Tt}=(0,i.O_)(),[{query:An},on]=(0,i.WK)({plugins:{i18n:{locale:Wn}}}),{push:dn}=(0,me.Uz)(),$e=$t=>{const Jt=String($t);if(Jt===Wn)return;const{status:Lt,id:yn}=Yt.find(yr=>yr.value===Jt),In={plugins:{...An.plugins,i18n:{...An.plugins?.i18n,locale:Jt}}};if(vn&&(In.plugins.i18n.relatedEntityId=vn),Pt){on(In);return}dn(Lt==="did-not-create-locale"&&!yn?{pathname:`/content-manager/collection-types/${Tt}/create`,search:(0,Ve.stringify)(In,{encode:!1})}:{pathname:`/content-manager/collection-types/${Tt}/${yn}`,search:(0,Ve.stringify)(In,{encode:!1})})},Yt=at.map(({name:$t,code:Jt})=>{const Lt=nr.find(({locale:In})=>In===Jt);let yn="did-not-create-locale";return Lt&&Lt.publishedAt!==void 0&&(yn=Lt.publishedAt===null?"draft":"published"),{id:Lt?Lt.id:null,label:$t,value:Jt,status:yn}}).filter(({status:$t,value:Jt})=>$t==="did-not-create-locale"?kt.find(({properties:Lt})=>(Lt?.locales??[]).includes(Jt)):rr.find(({properties:Lt})=>(Lt?.locales??[]).includes(Jt)));return Wn?(0,c.jsx)(B.K_,{label:Ot({id:Ge("Settings.locales.modal.locales.label"),defaultMessage:"Locales"}),onChange:$e,value:Wn,children:Yt.map($t=>(0,c.jsx)(B.kH,{value:$t.value,startIcon:Gt?(0,c.jsx)(Xt,{status:$t.status}):null,children:$t.label},$t.value))}):null},Vt={"did-not-create-locale":{backgroundColor:"neutral0",borderColor:"neutral500"},draft:{backgroundColor:"secondary700"},published:{backgroundColor:"success700"}},St={draft:"content-manager.components.Select.draft-info-title",published:"content-manager.components.Select.publish-info-title","did-not-create-locale":Ge("components.Select.locales.not-available")},Xt=({status:at})=>{const{formatMessage:kt}=(0,ee.c)();return(0,c.jsx)(jt,{status:at,title:kt({id:St[at]})})},jt=re.cp.div`
  width: ${(0,i.W8)(6)};
  height: ${(0,i.W8)(6)};
  border: ${({theme:at,status:kt})=>{const vn=Vt[kt];return"borderColor"in vn?`1px solid ${at.colors[vn.borderColor]}`:"none"}};
  background: ${({theme:at,status:kt})=>at.colors[Vt[kt].backgroundColor]};
  border-radius: 50%;
  cursor: pointer;
`,sn=()=>{const{layout:at,modifiedData:kt,slug:vn}=(0,i.O_)(),{createPermissions:Wn,readPermissions:nr}=Le(vn),rr=_e(Yt=>Yt.i18n_locales.locales),Ot=(0,me.W4)(),[{query:Gt}]=(0,i.WK)(),{formatMessage:Pt}=(0,ee.c)(),Tt=Ot.id??null,An=rr.find(Yt=>Yt.isDefault),on=a(Gt,"plugins.i18n.locale",An?.code);if(!a(at,["pluginOptions","i18n","localized"],!1)||!on)return null;const $e=[...yt(kt),{id:Tt,locale:on,publishedAt:kt.publishedAt}];return(0,c.jsxs)(N.k,{paddingTop:6,children:[(0,c.jsx)(_.O,{variant:"sigma",textColor:"neutral600",children:Pt({id:Ge("plugin.name"),defaultMessage:"Internationalization"})}),(0,c.jsx)(j.c,{unsetMargin:!1,marginTop:2,marginBottom:4}),(0,c.jsxs)(P.C,{direction:"column",alignItems:"stretch",gap:2,children:[(0,c.jsx)(zt,{appLocales:rr,currentEntityId:Tt,createPermissions:Wn,localizations:$e,readPermissions:nr,currentLocale:on}),(0,c.jsx)(It,{appLocales:rr,currentLocale:on,localizations:$e,readPermissions:nr})]})]})},dt=["biginteger","boolean","component","date","datetime","decimal","dynamiczone","email","enumeration","float","integer","json","media","number","password","richtext","blocks","string","text","time"],Ln=at=>typeof at=="object"&&at!==null&&"i18n"in at&&typeof at.i18n=="object"&&at.i18n!==null&&"localized"in at.i18n&&typeof at.i18n.localized=="boolean",fn=()=>{const at=_e(kt=>kt["content-manager_listView"].contentType?.pluginOptions);return Ln(at)?at.i18n.localized:!1},cr=at=>(0,c.jsx)(_.O,{fontWeight:"semiBold",textColor:"danger500",children:at}),wr=()=>{const at=fn(),{formatMessage:kt}=(0,ee.c)();return at?(0,c.jsx)(_.O,{textColor:"danger500",children:kt({id:Ge("Settings.list.actions.deleteAdditionalInfos"),defaultMessage:"This will delete the active locale versions <em>(from Internationalization)</em>"},{em:cr})}):null},Jn=()=>{const at=fn(),{formatMessage:kt}=(0,ee.c)();return at?(0,c.jsx)(_.O,{textColor:"danger500",children:kt({id:Ge("Settings.list.actions.publishAdditionalInfos"),defaultMessage:"This will publish the active locale versions <em>(from Internationalization)</em>"},{em:cr})}):null},nn=()=>{const at=fn(),{formatMessage:kt}=(0,ee.c)();return at?(0,c.jsx)(_.O,{textColor:"danger500",children:kt({id:Ge("Settings.list.actions.unpublishAdditionalInfos"),defaultMessage:"This will unpublish the active locale versions <em>(from Internationalization)</em>"},{em:cr})}):null},or=`${ce}/locales/resolve-locales`,bn=`${ce}/locales/add`,Sn=`${ce}/locales/delete`,Hn=`${ce}/locales/update`,er=()=>{const at=Se(),kt=(0,i.eo)(),{isLoading:vn,locales:Wn}=_e(rr=>rr.i18n_locales),{get:nr}=(0,i.Qn)();return(0,v.useEffect)(()=>{nr("/i18n/locales").then(({data:rr})=>{Array.isArray(rr)&&at({type:or,locales:rr})}).catch(rr=>{"code"in rr&&rr?.code==="ERR_CANCELED"||kt({type:"warning",message:{id:"notification.error"}})})},[at,nr,kt]),{locales:Wn,isLoading:vn}},an=({setPlugin:at})=>{const{isLoading:kt,locales:vn}=er(),Wn=v.useRef();return Wn.current=at,v.useEffect(()=>{!kt&&vn.length>0&&Wn.current(ce)},[kt,vn]),null};function Cn(at,kt){const vn=at?.plugins?.i18n?.locale;return!vn&&kt?kt:vn}const de=(at,kt=[])=>{const vn=Cn(at);return vn?kt.find(Wn=>Wn.code===vn):kt.find(Wn=>Wn.isDefault)},oe=(at,kt=[])=>{const vn=kt.find(rr=>rr.isDefault);if(!vn)return null;const Wn=at["plugin::content-manager.explorer.read"]??[],nr=at["plugin::content-manager.explorer.create"]??[];return Wn.some(({properties:rr})=>(rr?.locales??[]).includes(vn.code))||nr.some(({properties:rr})=>(rr?.locales??[]).includes(vn.code))?vn.code:(Wn[0]?.properties?.locales?.[0]||nr[0]?.properties?.locales?.[0])??null},Ye=()=>{const{formatMessage:at}=(0,ee.c)(),kt=(0,le.OY)(),vn=_e(Yt=>Yt.i18n_locales.locales),[{query:Wn},nr]=(0,i.WK)(),rr=(0,me.SU)("/content-manager/:collectiontype/:slug"),Ot=fn(),{createPermissions:Gt,readPermissions:Pt}=Le(rr?.params.slug),Tt=de(Wn,vn),[An,on]=(0,v.useState)(Tt?.code||"");if(!Ot||!vn||vn.length===0)return null;const dn=vn.filter(Yt=>{const $t=Gt.some(({properties:Lt})=>(Lt?.locales??[]).includes(Yt.code)),Jt=Pt.some(({properties:Lt})=>(Lt?.locales??[]).includes(Yt.code));return $t||Jt}),$e=Yt=>{Yt!==An&&(on(Yt),kt({type:"ContentManager/RBACManager/RESET_PERMISSIONS"}),nr({page:1,plugins:{...Wn.plugins,i18n:{locale:Yt}}}))};return(0,c.jsx)(B.K_,{size:"S","aria-label":at({id:Ge("actions.select-locale"),defaultMessage:"Select locale"}),value:An,onChange:$e,children:dn.map(Yt=>(0,c.jsx)(B.kH,{value:Yt.code,children:Yt.name},Yt.id))})},Et={accessMain:[{action:"plugin::i18n.locale.read",subject:null}],create:[{action:"plugin::i18n.locale.create",subject:null}],delete:[{action:"plugin::i18n.locale.delete",subject:null}],update:[{action:"plugin::i18n.locale.update",subject:null}],read:[{action:"plugin::i18n.locale.read",subject:null}]},xe=at=>(kt,vn)=>{const Wn=at==="collection-types"?kt.ctLinks:kt.stLinks;if(Wn.length===0)return kt;const nr=vn.getState(),{locales:rr}=nr.i18n_locales,{collectionTypesRelatedPermissions:Ot}=nr.rbacProvider,Gt=Re(Wn,at,kt.models,rr,Ot);return at==="collection-types"?{ctLinks:Gt,models:kt.models}:{stLinks:Gt,models:kt.models}},Re=(at,kt,vn,Wn,nr)=>at.map(rr=>{const Ot=rr.to.split(`/${kt}/`)[1],Gt=vn.find(({uid:Jt})=>Jt===Ot);if(!(Ln(Gt?.pluginOptions)?Gt?.pluginOptions.i18n.localized:!1))return rr;const Tt=nr[Ot],An=kt==="collection-types"?["plugin::content-manager.explorer.read","plugin::content-manager.explorer.create"]:["plugin::content-manager.explorer.read"],on=Object.keys(Tt).reduce((Jt,Lt)=>An.includes(Lt)?(Jt[Lt]=Tt[Lt],Jt):(Jt[Lt]=[],Jt),{}),dn=oe(on,Wn);if(!dn)return{...rr,isDisplayed:!1};const $e=rr.search?(0,Ve.parse)(rr.search):{},Yt=$e?{...$e,plugins:{...typeof $e.plugins=="object"&&$e.plugins!==null?$e.plugins:{},i18n:{locale:dn}}}:{plugins:{i18n:{locale:dn}}},$t=(0,Ve.stringify)(Yt,{encode:!1});return{...rr,search:$t}}),We=({layout:at,query:kt})=>{const{contentType:vn,components:Wn}=at;if(!(Ln(vn.pluginOptions)?vn.pluginOptions.i18n.localized:!1))return{layout:at,query:kt};const rr=kt?.plugins?.i18n?.locale??null;return rr?{query:kt,layout:{...at,contentType:{...at.contentType,layouts:{...vn.layouts,edit:gt(vn.layouts.edit,rr)}},components:tn(Wn,rr)}}:{layout:at,query:kt}},gt=(at,kt)=>at.map(vn=>vn.map(Wn=>{const nr=Wn?.fieldSchema?.type??null,rr=Ct(Wn)??["uid","relation"].includes(nr),Ot={title:{id:Ge(rr?"Field.localized":"Field.not-localized"),defaultMessage:rr?"This value is unique for the selected locale":"This value is common to all locales"},icon:rr?(0,c.jsx)(Y.c,{}):(0,c.jsx)(J,{})},Gt=(0,c.jsx)(At,{...Ot});return Nt(Wn)&&Ct(Wn)?{...Wn,labelAction:Gt,queryInfos:{...Wn.queryInfos,defaultParams:{...Wn.queryInfos.defaultParams,locale:kt},paramsToKeep:["plugins.i18n.locale"]}}:{...Wn,labelAction:Gt}},[])),Nt=at=>at.fieldSchema.type==="relation",Ct=at=>Nt(at)?Ln(at.targetModelPluginOptions)?at.targetModelPluginOptions.i18n.localized:!1:Ln(at.fieldSchema.pluginOptions)?at.fieldSchema.pluginOptions.i18n.localized:!1,tn=(at,kt)=>Object.keys(at).reduce((vn,Wn)=>{const nr=at[Wn],rr=ge(nr.layouts.edit,kt);return vn[Wn]={...nr,layouts:{...nr.layouts,edit:rr}},vn},{}),ge=(at,kt)=>at.map(vn=>vn.map(Wn=>Nt(Wn)&&Ct(Wn)?{...Wn,queryInfos:{...Wn.queryInfos,defaultParams:{...Wn.queryInfos.defaultParams,locale:kt},paramsToKeep:["plugins.i18n.locale"]}}:Wn)),At=({title:at,icon:kt})=>{const{formatMessage:vn}=(0,ee.c)();return(0,c.jsx)(z.o,{description:vn(at),children:(0,c.jsxs)(mn,{as:"span",children:[(0,c.jsx)(W.K,{as:"span",children:`(${vn(at)})`}),v.cloneElement(kt,{"aria-hidden":!0,focusable:!1})]})})},mn=(0,re.cp)(P.C)`
  svg {
    width: 12px;
    height: 12px;

    fill: ${({theme:at})=>at.colors.neutral500};

    path {
      fill: ${({theme:at})=>at.colors.neutral500};
    }
  }
`,xn=({localizations:at=[],locale:kt,id:vn})=>{const[Wn,nr]=v.useState(!1),rr=v.useRef(null),{formatMessage:Ot}=(0,ee.c)(),Gt=_e(In=>In.i18n_locales.locales),Pt=Gt.find(In=>In.isDefault),An=[{locale:kt},...at].map(In=>In.locale),on=Pt?An.includes(Pt.code):!1,$e=(on?An.filter(In=>In!==Pt?.code):An).map(In=>Gt.find(({code:yr})=>yr===In)?.name??In);$e.sort();const $t=on?[`${Pt?.name} (default)`,...$e]:$e,Jt=()=>nr(In=>!In),Lt=`entry-${vn}__locale`,yn=$t.join(", ");return(0,c.jsx)(P.C,{onClick:In=>In.stopPropagation(),children:(0,c.jsx)(z.o,{label:Ot({id:Ge("CMListView.popover.display-locales.label"),defaultMessage:"Display translated locales"}),children:(0,c.jsx)(Un,{type:"button",onClick:Jt,ref:rr,children:(0,c.jsxs)(gr,{alignItems:"center",justifyContent:"center",height:"2rem",width:"2rem",children:[(0,c.jsx)(_.O,{style:{maxWidth:"252px",cursor:"pointer"},"data-for":Lt,"data-tip":yn,textColor:"neutral800",ellipsis:!0,children:yn}),(0,c.jsxs)(P.C,{children:[(0,c.jsx)(i._G,{}),Wn&&(0,c.jsx)(X._k,{onDismiss:Jt,source:rr,spacing:16,centered:!0,children:(0,c.jsx)("ul",{children:$t.map(In=>(0,c.jsx)(N.k,{padding:3,as:"li",children:(0,c.jsx)(_.O,{children:In})},In))})})]})]})})})})},Un=re.cp.button`
  svg {
    > g,
    path {
      fill: ${({theme:at})=>at.colors.neutral500};
    }
  }
  &:hover {
    svg {
      > g,
      path {
        fill: ${({theme:at})=>at.colors.neutral600};
      }
    }
  }
  &:active {
    svg {
      > g,
      path {
        fill: ${({theme:at})=>at.colors.neutral400};
      }
    }
  }
`,gr=(0,re.cp)(P.C)`
  svg {
    height: ${4/16}rem;
  }
`,Ur=({displayedHeaders:at,layout:kt})=>{const{contentType:vn}=kt;return(Ln(vn.pluginOptions)?vn.pluginOptions.i18n.localized:!1)?{displayedHeaders:[...at,{key:"__locale_key__",fieldSchema:{type:"string"},metadatas:{label:"Content available in",searchable:!1,sortable:!1},name:"locales",cellFormatter:nr=>(0,c.jsx)(xn,{...nr})}],layout:kt}:{displayedHeaders:at,layout:kt}},Or=()=>({getState:at,dispatch:kt})=>vn=>Wn=>{if(Wn.type!=="ContentManager/CrudReducer/INIT_FORM"||!Wn.rawQuery)return vn(Wn);const nr=Wn.rawQuery.substring(1),rr=(0,Ve.parse)(nr),Ot=a(rr,"plugins.i18n.relatedEntityId",void 0),Gt=a(rr,"plugins.i18n.locale",void 0),Pt=Wn.isSingleType;if(!Ot&&!Pt)return vn(Wn);const Tt=at(),An=Tt["content-manager_editViewCrudReducer"],on=Tt["content-manager_editViewLayoutManager"],{contentTypeDataStructure:dn}=An,{currentLayout:$e}=on;return(async()=>{if(!ii(Ot)||!ii(Gt))return;kt({type:"ContentManager/CrudReducer/GET_DATA"});const $t=Ze(dn);try{const{data:Jt}=await(0,i.YF)().post(`/${ce}/content-manager/actions/get-non-localized-fields`,{model:$e.contentType.uid,id:Ot,locale:Gt}),{nonLocalizedFields:Lt,localizations:yn}=Jt,In=Ce($t,Lt),yr=["createdBy","updatedBy","publishedAt","id","_id","updatedAt","createdAt"],Rr=(0,i.SE)(In,$e.contentType,$e.components,yr);Rr.localizations=yn,Wn.data=(0,i.dT)(Rr,$e.contentType,$e.components)}catch{}return vn(Wn)})()},ii=at=>typeof at=="string"||at===void 0,Ui=()=>({getState:at})=>kt=>vn=>{const Wn=()=>{try{const nr=at();if(a(nr,["content-type-builder_dataManagerProvider","modifiedData","contentType","schema","pluginOptions","i18n","localized"],!1)){const Ot=vn.options?{...vn.options.pluginOptions,i18n:{localized:!0}}:{i18n:{localized:!0}};return kt({...vn,options:{pluginOptions:Ot}})}return kt(vn)}catch{return kt(vn)}};return vn.type==="ContentTypeBuilder/FormModal/SET_ATTRIBUTE_DATA_SCHEMA"&&vn.forTarget==="contentType"&&!["relation","component"].includes(vn.attributeType)&&!vn.isEditing||vn.type==="ContentTypeBuilder/FormModal/SET_CUSTOM_FIELD_DATA_SCHEMA"&&vn.forTarget==="contentType"&&!vn.isEditing||(vn.type==="ContentTypeBuilder/FormModal/RESET_PROPS_AND_SET_FORM_FOR_ADDING_AN_EXISTING_COMPO"||vn.type==="ContentTypeBuilder/FormModal/RESET_PROPS_AND_SAVE_CURRENT_DATA")&&vn.forTarget==="contentType"?Wn():kt(vn)},rn=()=>()=>at=>kt=>{if(kt.type==="ContentTypeBuilder/FormModal/SET_DATA_TO_EDIT"&&kt.modalType==="contentType"){const vn={localized:!1},Wn=kt.data.pluginOptions?{...kt.data.pluginOptions,i18n:vn}:{i18n:vn},nr={...kt.data,pluginOptions:Wn};if(kt.actionType==="create")return at({...kt,data:nr});if(!kt.data.pluginOptions?.i18n?.localized)return at({...kt,data:nr})}return at(kt)},$n=()=>()=>at=>kt=>{if(kt.type!=="ContentManager/RBACManager/SET_PERMISSIONS")return at(kt);const vn=kt.__meta__?.containerName??null;if(!["editView","listView"].includes(vn))return at(kt);const Wn=kt.__meta__?.plugins?.i18n?.locale;if(!Wn)return at(kt);const nr=kt.permissions,rr=Object.keys(nr).reduce((Ot,Gt)=>{const Pt=nr[Gt].filter(Tt=>(Tt.properties?.locales??[]).indexOf(Wn)!==-1);return Pt.length&&(Ot[Gt]=Pt),Ot},{});return at({...kt,permissions:rr})},yi={isLoading:!0,locales:[]},Jr=(0,ye.cp)((at=yi,kt)=>{switch(kt.type){case or:{at.isLoading=!1,at.locales=kt.locales;break}case bn:{kt.newLocale.isDefault&&at.locales.forEach(vn=>{vn.isDefault=!1}),at.locales.push(kt.newLocale);break}case Sn:{const vn=at.locales.filter(Wn=>Wn.id!==kt.id);Ae(at,"locales",vn);break}case Hn:{kt.editedLocale.isDefault&&at.locales.forEach(Wn=>{Wn.isDefault=!1});const vn=at.locales.findIndex(Wn=>Wn.id===kt.editedLocale.id);Ae(at.locales,vn,kt.editedLocale);break}default:return at}return at}),cn={[`${ce}_locales`]:Jr},mt=(at,kt)=>{if(!Ln(at.pluginOptions))return at;const vn=at.pluginOptions.i18n.localized,Wn=Ln(kt?.schema?.pluginOptions)?kt?.schema?.pluginOptions.i18n.localized:!1;if(vn&&Wn)return at;if(vn){const nr=we(at.attributes);return{...at,attributes:nr}}if(!vn){const nr=Fe(at.pluginOptions,"i18n"),rr=je(at.attributes);return{...at,pluginOptions:nr,attributes:rr}}return at},we=at=>Object.keys(at).reduce((kt,vn)=>{const Wn=at[vn];if(dt.includes(Wn.type)){const nr={localized:!0},rr=Wn.pluginOptions?{...Wn.pluginOptions,i18n:nr}:{i18n:nr};return kt[vn]={...Wn,pluginOptions:rr},kt}return kt[vn]=Wn,kt},{}),je=at=>Object.keys(at).reduce((kt,vn)=>(kt[vn]=Fe(at[vn],"pluginOptions.i18n"),kt),{}),pt={register(at){at.addMiddlewares([Or,Ui,rn,$n]),at.addReducers(cn),at.registerPlugin({id:ce,initializer:an,isReady:!1,name:ce})},bootstrap(at){at.registerHook("Admin/CM/pages/App/mutate-collection-types-links",xe("collection-types")),at.registerHook("Admin/CM/pages/App/mutate-single-types-links",xe("single-types")),at.registerHook("Admin/CM/pages/ListView/inject-column-in-table",Ur),at.registerHook("Admin/CM/pages/EditView/mutate-edit-view-layout",We),at.addSettingsLink("global",{intlLabel:{id:Ge("plugin.name"),defaultMessage:"Internationalization"},id:"internationalization",to:"/settings/internationalization",async Component(){const{ProtectedSettingsPage:vn}=await e.e(2360).then(e.bind(e,22360));return vn},permissions:Et.accessMain}),at.injectContentManagerComponent("editView","informations",{name:"i18n-locale-filter-edit-view",Component:sn}),at.injectContentManagerComponent("listView","actions",{name:"i18n-locale-filter",Component:Ye}),at.injectContentManagerComponent("listView","deleteModalAdditionalInfos",{name:"i18n-delete-bullets-in-modal",Component:wr}),at.injectContentManagerComponent("listView","publishModalAdditionalInfos",{name:"i18n-publish-bullets-in-modal",Component:Jn}),at.injectContentManagerComponent("listView","unpublishModalAdditionalInfos",{name:"i18n-unpublish-bullets-in-modal",Component:nn});const kt=at.getPlugin("content-type-builder");if(kt){const vn=kt.apis.forms;vn.addContentTypeSchemaMutation(mt),vn.components.add({id:"checkboxConfirmation",component:pe}),vn.extendContentType({validator:()=>({i18n:l.kt().shape({localized:l.SK()})}),form:{advanced(){return[{name:"pluginOptions.i18n.localized",description:{id:Ge("plugin.schema.i18n.localized.description-content-type"),defaultMessage:"Allows translating an entry into different languages"},type:"checkboxConfirmation",intlLabel:{id:Ge("plugin.schema.i18n.localized.label-content-type"),defaultMessage:"Localization"}}]}}}),vn.extendFields(dt,{validator:Wn=>({i18n:l.kt().shape({localized:l.SK().test({name:"ensure-unique-localization",message:Ge("plugin.schema.i18n.ensure-unique-localization"),test(nr){return nr===void 0||nr?!0:!(a(Wn,["3","modifiedData","unique"],null)&&!nr)}})})}),form:{advanced({contentTypeSchema:Wn,forTarget:nr,type:rr,step:Ot}){return nr!=="contentType"?[]:a(Wn,["schema","pluginOptions","i18n","localized"],!1)?rr==="component"&&Ot==="1"?[]:[{name:"pluginOptions.i18n.localized",description:{id:Ge("plugin.schema.i18n.localized.description-field"),defaultMessage:"The field can have different values in each locale"},type:"checkbox",intlLabel:{id:Ge("plugin.schema.i18n.localized.label-field"),defaultMessage:"Enable localization for this field"}}]:[]}}})}},async registerTrads({locales:at}){const kt=await Promise.all(at.map(vn=>Qe(Object.assign({"./translations/de.json":()=>e.e(460).then(e.bind(e,460)),"./translations/dk.json":()=>e.e(212).then(e.bind(e,80212)),"./translations/en.json":()=>e.e(4748).then(e.bind(e,44748)),"./translations/es.json":()=>e.e(5240).then(e.bind(e,55240)),"./translations/fr.json":()=>e.e(2680).then(e.bind(e,22680)),"./translations/ko.json":()=>e.e(9084).then(e.bind(e,29084)),"./translations/pl.json":()=>e.e(9232).then(e.bind(e,69232)),"./translations/ru.json":()=>e.e(7388).then(e.bind(e,77388)),"./translations/tr.json":()=>e.e(5900).then(e.bind(e,68280)),"./translations/zh-Hans.json":()=>e.e(2396).then(e.bind(e,32396)),"./translations/zh.json":()=>e.e(4016).then(e.bind(e,24016))}),`./translations/${vn}.json`).then(({default:Wn})=>({data:(0,i.Ux)(Wn,ce),locale:vn})).catch(()=>({data:{},locale:vn}))));return Promise.resolve(kt)}}},93668:(U,C,e)=>{"use strict";e.d(C,{A:()=>Qi,B:()=>bs,C:()=>wo,D:()=>ca,E:()=>Ta,F:()=>ni,G:()=>Wl,P:()=>ru,S:()=>Yo,T:()=>nl,U:()=>xl,a:()=>ut,b:()=>Ul,c:()=>da,d:()=>dc,e:()=>Ml,f:()=>Qu,g:()=>be,h:()=>fo,i:()=>Si,j:()=>di,k:()=>wi,l:()=>Uo,m:()=>Cr,n:()=>bc,o:()=>hu,p:()=>Wr,q:()=>xs,r:()=>Sl,s:()=>Tl,t:()=>Ra,u:()=>Zl,v:()=>Za,w:()=>ha,x:()=>S0,y:()=>gu,z:()=>zi});var i=e(95840),a=e(19968),l=e(62552),c=e(33104),v=e(3400),_=e(5e3),T=e(28724),A=e(70996),R=e(48936),P=e(63358),M=e(55716),O=e(2931),N=e(23264),B=e(3704);const j=(0,B.cp)(_.k)`
  &:before {
    background-color: ${({theme:et})=>et.colors.neutral0};
    border-radius: ${({theme:et})=>et.borderRadius};
    bottom: 0;
    content: '';
    position: absolute;
    top: 0;
    width: ${({value:et})=>`${et}%`};
  }
`,z=({min:et=0,max:pn=100,value:Tn=0,children:Kn,size:fr="M",...Sr})=>(0,a.jsx)(j,{background:"neutral600",hasRadius:!0,"aria-label":Kn,"aria-valuemax":pn,"aria-valuemin":et,"aria-valuenow":Tn,height:fr==="S"?1:2,position:"relative",role:"progressbar",value:Tn,width:fr==="S"?"78px":"102px",...Sr});var W=e(37976),X=e(77872),Q=e(35480),K=e(35676),Y=e(11208),Z=e(89296),J=e(3548),ee=e(25824),re=e(62492),me=e(33128),fe=e(53220);const le={size:!0,spacing:!0},Ve=(0,B.cp)(R.C).withConfig({shouldForwardProp:(et,pn)=>!le[et]&&pn(et)})`
  & > * {
    margin-top: 0;
    margin-bottom: 0;
  }

  & > * + * {
    margin-top: ${({theme:et,spacing:pn})=>(0,fe.M)(et.spaces,pn,void 0)};
  }
`,Ze=(0,B.cp)(R.C).withConfig({shouldForwardProp:(et,pn)=>!le[et]&&pn(et)})`
  & > * {
    margin-left: 0;
    margin-right: 0;
  }

  & > * + * {
    margin-left: ${({theme:et,spacing:pn})=>(0,fe.M)(et.spaces,pn,void 0)};
  }
`,Ce=(0,l.forwardRef)(({horizontal:et=!1,spacing:pn,size:Tn,...Kn},fr)=>(Tn&&console.warn('Deprecation warning: Usage of "size" prop in Stack component is deprecated. This is discouraged and will be removed in the next major release. Please use "spacing" instead'),et?(0,a.jsx)(Ze,{ref:fr,spacing:pn||Tn,...Kn}):(0,a.jsx)(Ve,{direction:"column",alignItems:"stretch",ref:fr,spacing:pn||Tn,...Kn})));Ce.displayName="Stack";const ye=(0,B.cp)(Ce).attrs({horizontal:!0,spacing:2})`
  position: absolute;
  top: ${({theme:et})=>et.spaces[3]};
  right: ${({position:et,theme:pn})=>{if(et==="end")return pn.spaces[3]}};
  left: ${({position:et,theme:pn})=>{if(et==="start")return pn.spaces[3]}};
`;var Ae=e(49780),Fe=e(46352),Qe=e(77692),ce=e(19576);const Ge=et=>{const{id:pn}=(0,Qe.G)();return(0,a.jsx)(ye,{position:"start",children:(0,a.jsx)(ce.c,{"aria-labelledby":`${pn}-title`,...et})})};var Pe=e(68264),pe=e(58588),Se=e(13892),_e=e(66688),Ne=e(8068);const Le=({children:et,...pn})=>(0,a.jsx)(_.k,{as:"time",background:"neutral800",bottom:1,right:1,color:"neutral0",hasRadius:!0,position:"absolute",padding:1,...pn,children:(0,a.jsx)(P.O,{variant:"pi",textColor:"neutral0",children:et})});var Ke=e(83360),bt=e(56104),yt=e(444),It=e(48744),_t=e(76512),zt=e(9752),Vt=e(42848),St=e(20464),Xt=e(70544),jt=e(15860),sn=e(96224),dt=e(35933),Ln=e(13384),fn=e(14448),cr=e(53744),wr=e(57064),Jn=e(86400),nn=e(6912),or=e(6496),bn=e(53804),Sn=e(80700),Hn=e(25352),er=e(49068),an=e(89600),Cn=e(26788),de=e(14632),oe=e(9568),Ye=e(15744),Et=e(12132),xe=e(48632),Re=e(31812),We=e(13192),gt=e(52540),Nt=e(17848),Ct=e(64472),tn=e(79484),ge=e(66156),At=e(39716),mn=e(50452),xn=e(62736),Un=e(53305),gr=e(71324),Ur=e(41892),Or=e(92116),ii=e(89940),Ui=e(79848),rn=e(35828),$n=e(14032);const yi=et=>(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1rem",height:"1rem",fill:"none",viewBox:"0 0 14 8",...et,children:(0,a.jsx)("path",{fill:"#32324D",fillRule:"evenodd",d:"M0 7.111c0-.24.087-.449.26-.625L6.385.264A.834.834 0 0 1 7 0c.237 0 .442.088.615.264l6.125 6.222a.86.86 0 0 1 .26.625.86.86 0 0 1-.26.625.834.834 0 0 1-.615.264H.875a.834.834 0 0 1-.615-.264.86.86 0 0 1-.26-.625Z",clipRule:"evenodd"})}),Jr=yi;var cn=e(14520),mt=e(48636),we=e(60012),je=e(6400),pt=e(73200),at=e(85088),kt=e(74549),vn=e(51768),Wn=e(54288),nr=e(872),rr=e(4320),Ot=e(40980),Gt=e(58756),Pt=e(2165);const Tt=(0,B.cp)(K.Z)`
  padding: ${({theme:et})=>`${et.spaces[1]} ${et.spaces[2]}`};
  height: unset;

  :hover,
  :focus {
    background-color: ${({theme:et})=>et.colors.neutral200};
  }
`,An=({children:et,...pn})=>(0,a.jsx)(Pt.uU,{endIcon:null,as:Tt,size:"S",...pn,children:et});An.displayName="CrumbSimpleMenu";var on=e(5848),dn=e(29176);const $e=(0,B.cp)(dn.k)`
  border-radius: ${({theme:et})=>et.borderRadius};
  color: ${({theme:et})=>et.colors.neutral600};
  font-size: ${({theme:et})=>et.fontSizes[1]};
  line-height: ${({theme:et})=>et.lineHeights[4]};
  padding: ${({theme:et})=>`${et.spaces[1]} ${et.spaces[2]}`};
  text-decoration: none;

  :hover,
  :focus {
    background-color: ${({theme:et})=>et.colors.neutral200};
    color: ${({theme:et})=>et.colors.neutral700};
  }
`,Yt=({children:et,...pn})=>(0,a.jsx)($e,{...pn,children:et});Yt.displayName="CrumbLink";var $t=e(39820),Jt=e(3396),Lt=e(79804),yn=e(88908),In=e(7736),yr=e(49008),Rr=e(39380),Xr=e(27860);const ci=(et,pn)=>{const Tn=et[pn];return Tn?typeof Tn=="function"?Tn():Promise.resolve(Tn):new Promise((Kn,fr)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(fr.bind(null,new Error("Unknown variable dynamic import: "+pn)))})},qt={name:"@strapi/plugin-upload",version:"4.20.3",description:"Makes it easy to upload images and files to your Strapi Application.",license:"SEE LICENSE IN LICENSE",author:{name:"Strapi Solutions SAS",email:"hi@strapi.io",url:"https://strapi.io"},maintainers:[{name:"Strapi Solutions SAS",email:"hi@strapi.io",url:"https://strapi.io"}],exports:{"./strapi-admin":{source:"./admin/src/index.js",import:"./dist/admin/index.mjs",require:"./dist/admin/index.js",default:"./dist/admin/index.js"},"./strapi-server":{source:"./strapi-server.js",require:"./strapi-server.js",default:"./strapi-server.js"},"./package.json":"./package.json"},scripts:{build:"pack-up build",clean:"run -T rimraf dist",lint:"run -T eslint .","test:front":"run -T cross-env IS_EE=true jest --config ./jest.config.front.js","test:front:ce":"run -T cross-env IS_EE=false jest --config ./jest.config.front.js","test:front:watch":"run -T cross-env IS_EE=true jest --config ./jest.config.front.js --watchAll","test:front:watch:ce":"run -T cross-env IS_EE=false jest --config ./jest.config.front.js --watchAll","test:unit":"run -T jest","test:unit:watch":"run -T jest --watch",watch:"pack-up watch"},dependencies:{"@strapi/design-system":"1.15.0","@strapi/helper-plugin":"4.20.3","@strapi/icons":"1.15.0","@strapi/provider-upload-local":"4.20.3","@strapi/utils":"4.20.3",axios:"1.6.0","byte-size":"7.0.1",cropperjs:"1.6.0","date-fns":"2.30.0",formik:"2.4.0","fs-extra":"10.0.0",immer:"9.0.19","koa-range":"0.3.0","koa-static":"5.0.0",lodash:"4.17.21","mime-types":"2.1.35","prop-types":"^15.8.1",qs:"6.11.1","react-dnd":"16.0.1","react-helmet":"^6.1.0","react-intl":"6.4.1","react-query":"3.39.3","react-redux":"8.1.1","react-select":"5.7.0",sharp:"0.32.6",yup:"0.32.9"},devDependencies:{"@strapi/pack-up":"4.20.3","@strapi/strapi":"4.20.3","@testing-library/dom":"9.2.0","@testing-library/react":"14.0.0","@testing-library/user-event":"14.4.3",msw:"1.3.0",react:"^18.2.0","react-dom":"^18.2.0","react-router-dom":"5.3.4","styled-components":"5.3.3"},peerDependencies:{"@strapi/strapi":"^4.0.0",react:"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^5.2.0","styled-components":"^5.2.1"},engines:{node:">=18.0.0 <=20.x.x",npm:">=6.0.0"},strapi:{displayName:"Media Library",name:"upload",description:"Media file management.",required:!0,kind:"plugin"}},sr=({url:et,params:pn})=>{if(et===void 0||typeof pn!="object")return et;const Tn=new URL(et,window.strapi.backendURL);return Object.entries(pn).forEach(([Kn,fr])=>{fr!==void 0&&Tn.searchParams.append(Kn,fr)}),Tn.toString()},lr=et=>{const pn=et?.filters?.$and;return pn?!!pn.find(Kn=>Object.keys(Kn).includes("mime")):!1},Cr=et=>lr(et),xr=(et,pn=!0)=>{if(et.isLocal)return et.url;const Tn=pn&&et?.formats?.thumbnail?.url||et.url;return(0,i.AZ)(Tn)};function qr(et,pn){let Tn;function Kn(fr){return fr.value===pn?(Tn=fr,!0):Array.isArray(fr.children)&&fr.children.some(Kn)}return et.some(Kn),Tn}function jr(et,pn=0){const{value:Tn,unit:Kn}=oe(et*1e3,{precision:pn});return Kn?`${Tn}${Kn.toUpperCase()}`:"0B"}const vr=et=>String(et).padStart(2,"0"),$r=et=>{const pn=(0,Ye.c)({start:0,end:et*1e3});return`${vr(pn.hours)}:${vr(pn.minutes)}:${vr(pn.seconds)}`},Wr=qt.name.replace(/^@strapi\/plugin-/i,""),be=et=>`${Wr}.${et}`,Ue=et=>{let pn=[{id:null,label:{id:be("plugin.name"),defaultMessage:"Media Library"}}];return et?.parent?.parent&&pn.push([]),et?.parent&&pn.push({id:et.parent.id,label:et.parent.name,path:et.parent.path}),et&&pn.push({id:et.id,label:et.name,path:et.path}),pn},ut=(et,pn,{folder:Tn,folderPath:Kn}={})=>{const{_q:fr,...Sr}=pn,br=(0,Et.stringify)({...Sr,folder:Tn,folderPath:Kn},{encode:!1});return`${et}${br?`?${br}`:""}`};function Ht(et,pn,Tn=0){return et.flatMap(Kn=>Kn.children?[{...Kn,parent:pn?.value,depth:Tn},...Ht(Kn.children,Kn,Tn+1)]:{...Kn,depth:Tn,parent:pn?.value})}const Fn=(et,pn)=>{const Tn=[],Kn=Ht(et),fr=Kn.find(br=>br.value===pn);if(!fr)return[];let{parent:Sr}=fr;for(;Sr!==void 0;){let br=Kn.find(({value:li})=>li===Sr);Tn.push({id:br.value,label:br.label}),Sr=br.parent}return Tn.reverse()},ln=et=>et?et.map(pn=>pn.substring(0,pn.length-1)):[],jn={Video:"video",Image:"image",Document:"doc",Audio:"audio"},Nr={Url:"url",Computer:"computer"},Mi={id:c.number.isRequired,createdAt:c.string.isRequired,name:c.string.isRequired,updatedAt:c.string.isRequired,pathId:c.number.isRequired,path:c.string.isRequired};Mi.parent=c.shape(Mi);const Oi={id:c.number.isRequired,children:c.shape({count:c.number.isRequired}),createdAt:c.string.isRequired,createdBy:c.shape(),files:c.shape({count:c.number.isRequired}),name:c.string.isRequired,updatedAt:c.string.isRequired,updatedBy:c.shape(),pathId:c.number.isRequired,path:c.string.isRequired};Oi.parent=c.shape(Mi);const ni=c.shape(Oi),rs=c.shape({value:c.oneOfType([c.number,c.string]),label:c.string.isRequired,children:c.array});rs.children=c.arrayOf(c.shape(rs)),rs.defaultProps={children:void 0},c.arrayOf(rs);const Qi=c.shape({id:c.number,height:c.number,width:c.number,size:c.number,createdAt:c.string,ext:c.string,mime:c.string,name:c.string,url:c.string,updatedAt:c.string,alternativeText:c.string,caption:c.string,folder:c.shape(ni),formats:c.shape({thumbnail:c.shape({url:c.string})})}),la=c.shape({id:c.number,label:c.oneOfType([c.string,c.shape({id:c.string.isRequired,defaultMessage:c.string.isRequired})]).isRequired,href:c.string}),as=c.arrayOf(la),bs=c.arrayOf(c.oneOfType([la,as])),Za={GRID:0,LIST:1},za=[{name:"preview",key:"preview",metadatas:{label:{id:be("list.table.header.preview"),defaultMessage:"preview"},isSortable:!1},type:"image"},{name:"name",key:"name",metadatas:{label:{id:be("list.table.header.name"),defaultMessage:"name"},isSortable:!0},type:"text"},{name:"ext",key:"extension",metadatas:{label:{id:be("list.table.header.ext"),defaultMessage:"extension"},isSortable:!1},type:"ext"},{name:"size",key:"size",metadatas:{label:{id:be("list.table.header.size"),defaultMessage:"size"},isSortable:!1},type:"size"},{name:"createdAt",key:"createdAt",metadatas:{label:{id:be("list.table.header.createdAt"),defaultMessage:"created"},isSortable:!0},type:"date"},{name:"updatedAt",key:"updatedAt",metadatas:{label:{id:be("list.table.header.updatedAt"),defaultMessage:"last update"},isSortable:!0},type:"date"}],wo=[10,20,50,100],ca=[{key:"sort.created_at_desc",value:"createdAt:DESC"},{key:"sort.created_at_asc",value:"createdAt:ASC"},{key:"sort.name_asc",value:"name:ASC"},{key:"sort.name_desc",value:"name:DESC"},{key:"sort.updated_at_desc",value:"updatedAt:DESC"},{key:"sort.updated_at_asc",value:"updatedAt:ASC"}],Uo={modalView:"STRAPI_UPLOAD_MODAL_VIEW",view:"STRAPI_UPLOAD_LIBRARY_VIEW"},ru={main:[{action:"plugin::upload.read",subject:null},{action:"plugin::upload.assets.create",subject:null},{action:"plugin::upload.assets.update",subject:null}],copyLink:[{action:"plugin::upload.assets.copy-link",subject:null}],create:[{action:"plugin::upload.assets.create",subject:null}],download:[{action:"plugin::upload.assets.download",subject:null}],read:[{action:"plugin::upload.read",subject:null}],configureView:[{action:"plugin::upload.configure-view",subject:null}],settings:[{action:"plugin::upload.settings.read",subject:null}],update:[{action:"plugin::upload.assets.update",subject:null,fields:null}]},di=({skipWhen:et=!1,query:pn={}}={})=>{const{formatMessage:Tn}=(0,de.c)(),Kn=(0,i.eo)(),{notifyStatus:fr}=(0,v.O)(),{get:Sr}=(0,i.Qn)(),{folderPath:br,_q:li,...pi}=pn;let Bi;li?Bi={...pi,_q:encodeURIComponent(li)}:Bi={...pi,filters:{$and:[...pi?.filters?.$and??[],{folderPath:{$eq:br??"/"}}]}};const{data:Fi,error:Ii,isLoading:Ni}=(0,xe.useQuery)([Wr,"assets",Bi],async()=>{const{data:Ds}=await Sr("/upload/files",{params:Bi});return Ds},{enabled:!et,staleTime:0,cacheTime:0,select(Ds){return Ds?.results&&Array.isArray(Ds.results)?{...Ds,results:Ds.results.filter(ds=>ds.name).map(ds=>({...ds,mime:ds.mime??"",ext:ds.ext??""}))}:Ds}});return(0,l.useEffect)(()=>{Fi&&fr(Tn({id:"list.asset.at.finished",defaultMessage:"The assets have finished loading."}))},[Fi,Tn,fr]),(0,l.useEffect)(()=>{Ii&&Kn({type:"warning",message:{id:"notification.error"}})},[Ii,Kn]),{data:Fi,error:Ii,isLoading:Ni}},wi=({enabled:et=!0,query:pn={}}={})=>{const{formatMessage:Tn}=(0,de.c)(),Kn=(0,i.eo)(),{notifyStatus:fr}=(0,v.O)(),{folder:Sr,_q:br,...li}=pn,{get:pi}=(0,i.Qn)();let Bi;br?Bi={...li,pagination:{pageSize:-1},_q:br}:Bi={...li,pagination:{pageSize:-1},filters:{$and:[...li?.filters?.$and??[],{parent:{id:Sr??{$null:!0}}}]}};const{data:Fi,error:Ii,isLoading:Ni}=(0,xe.useQuery)([Wr,"folders",(0,Et.stringify)(Bi)],async()=>{const{data:{data:Ds}}=await pi("/upload/folders",{params:Bi});return Ds},{enabled:et,staleTime:0,cacheTime:0,onError(){Kn({type:"warning",message:{id:"notification.error"}})}});return l.useEffect(()=>{Fi&&fr(Tn({id:"list.asset.at.finished",defaultMessage:"The folders have finished loading."}))},[Fi,Tn,fr]),{data:Fi,error:Ii,isLoading:Ni}},{main:dr,...hi}=ru,Si=()=>{const{allowedActions:et,isLoading:pn}=(0,i.aU)(hi);return{...et,isLoading:pn}},Di=`/${Wr}/configuration`,Xi=[Wr,"configuration"],zi=()=>{const{trackUsage:et}=(0,i.m4)(),pn=(0,i.eo)(),{get:Tn,put:Kn}=(0,i.Qn)(),fr=(0,xe.useQuery)(Xi,async()=>(await Tn(Di)).data.data,{onError(){return pn({type:"warning",message:{id:"notification.error"}})},select:br=>br||{}}),Sr=(0,xe.useMutation)(async br=>{await Kn(Di,br)},{onSuccess(){et("didEditMediaLibraryConfig"),fr.refetch()},onError(){return pn({type:"warning",message:{id:"notification.error"}})}});return{config:fr,mutateConfig:Sr}},os=et=>{const{trackUsage:pn}=(0,i.m4)(),{config:{data:Tn}}=zi(),[Kn,fr]=(0,l.useState)({page:1,sort:"updatedAt:DESC",pageSize:10,filters:{$and:[]},...et});(0,l.useEffect)(()=>{Tn&&fr(Ii=>({...Ii,sort:Tn.sort,pageSize:Tn.pageSize}))},[Tn]);const Sr=Ii=>{pn("didFilterMediaLibraryElements",{location:"content-manager",filter:Object.keys(Ii[Ii.length-1])[0]}),fr(Ni=>({...Ni,page:1,filters:{$and:Ii}}))},br=Ii=>{fr(Ni=>({...Ni,pageSize:parseInt(Ii,10),page:1}))},li=Ii=>{fr(Ni=>({...Ni,page:Ii}))},pi=Ii=>{pn("didSortMediaLibraryElements",{location:"content-manager",sort:Ii}),fr(Ni=>({...Ni,sort:Ii}))},Bi=Ii=>{if(Ii)fr(Ni=>({...Ni,_q:Ii,page:1}));else{const Ni={page:1};Object.keys(Kn).forEach(Ds=>{["page","_q"].includes(Ds)||(Ni[Ds]=Kn[Ds])}),fr(Ni)}},Fi=(Ii,Ni)=>{fr(Ds=>({...Ds,folder:Ii??null,folderPath:Ni}))};return[{queryObject:Kn,rawQuery:(0,Et.stringify)(Kn,{encode:!1})},{onChangeFilters:Sr,onChangeFolder:Fi,onChangePage:li,onChangePageSize:br,onChangeSort:pi,onChangeSearch:Bi}]},js=(et,pn)=>{const Tn=ln(et);return pn.filter(fr=>{const Sr=fr.mime.split("/")[0];return Tn.includes("file")&&!["video","image","audio"].includes(Sr)?!0:Tn.includes(Sr)})},hs=(et,pn,Tn)=>(Tn>=et.length&&(Tn=et.length-1),et.splice(Tn,0,et.splice(pn,1)[0]),et),Vi=(et,pn,Tn)=>{const Kn=pn+Tn;return hs(et,pn,Kn)},ns=(et,pn,Tn,Kn,fr)=>{const Sr=`/${Wr}?id=${et.id}`,br=new FormData;return pn&&br.append("files",pn),br.append("fileInfo",JSON.stringify({alternativeText:et.alternativeText,caption:et.caption,folder:et.folder,name:et.name})),fr(Sr,br,{cancelToken:Tn.token,onUploadProgress({total:li,loaded:pi}){Kn(pi/li*100)},headers:{"Content-Type":"multipart/form-data"}}).then(li=>li.data)},fs=()=>{const[et,pn]=(0,l.useState)(0),{formatMessage:Tn}=(0,de.c)(),Kn=(0,i.eo)(),fr=(0,xe.useQueryClient)(),Sr=(0,l.useRef)(Nt.default.CancelToken.source()),{post:br}=(0,i.Qn)(),li=(0,xe.useMutation)(({asset:Fi,file:Ii})=>ns(Fi,Ii,Sr.current,pn,br),{onSuccess(){fr.refetchQueries([Wr,"assets"],{active:!0}),fr.refetchQueries([Wr,"asset-count"],{active:!0}),fr.refetchQueries([Wr,"folders"],{active:!0})},onError(Fi){Fi.response.status===403?Kn({type:"info",message:{id:be("permissions.not-allowed.update")}}):Kn({type:"warning",message:Fi.message})}});return{...li,cancel:()=>Sr.current.cancel(Tn({id:be("modal.upload.cancelled"),defaultMessage:""})),editAsset:(Fi,Ii)=>li.mutateAsync({asset:Fi,file:Ii}),progress:et,status:li.status}},Ks=(et,pn)=>Object.fromEntries(Object.entries(et).map(([Tn,Kn])=>{const fr=Sr=>typeof Sr=="object"&&Sr!==null?Ks(Sr,pn):Sr;return[pn(Tn),Array.isArray(Kn)?Kn.map(Sr=>fr(Sr)):fr(Kn)]})),ma={name:"label",id:"value"},da=({enabled:et=!0}={})=>{const{formatMessage:pn}=(0,de.c)(),{get:Tn}=(0,i.Qn)(),Kn=async()=>{const{data:{data:li}}=await Tn("/upload/folder-structure"),pi=li.map(Bi=>Ks(Bi,Fi=>ma?.[Fi]??Fi));return[{value:null,label:pn({id:be("form.input.label.folder-location-default-label"),defaultMessage:"Media Library"}),children:pi}]},{data:fr,error:Sr,isLoading:br}=(0,xe.useQuery)([Wr,"folder","structure"],Kn,{enabled:et,staleTime:0,cacheTime:0});return{data:fr,error:Sr,isLoading:br}},Da=({blocks:et})=>(0,a.jsx)(_.k,{hasRadius:!0,paddingLeft:6,paddingRight:6,paddingTop:4,paddingBottom:4,background:"neutral100",children:(0,a.jsx)(T.y,{gap:4,children:et.map(({label:pn,value:Tn})=>(0,a.jsx)(A.C,{col:6,xs:12,children:(0,a.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,a.jsx)(P.O,{variant:"sigma",textColor:"neutral600",children:pn}),(0,a.jsx)(P.O,{variant:"pi",textColor:"neutral700",children:Tn})]})},pn))})});Da.propTypes={blocks:c.arrayOf(c.shape({label:c.string,value:c.oneOfType([c.string,c.number])})).isRequired};const Ys=(0,B.cp)(R.C)`
  align-self: flex-end;
  height: ${(0,i.W8)(22)};
  width: ${(0,i.W8)(28)};

  &:hover,
  &:focus {
    background-color: ${({theme:et})=>et.colors.primary200};
  }
`,Xa=({children:et,data:pn,selectProps:Tn,...Kn})=>{const{formatMessage:fr}=(0,de.c)(),{depth:Sr,value:br,children:li}=pn,{maxDisplayDepth:pi,openValues:Bi,onOptionToggle:Fi}=Tn,Ii=Bi.includes(br);return(0,a.jsx)(rr.c.Option,{...Kn,children:(0,a.jsxs)(R.C,{alignItems:"start",children:[(0,a.jsx)(P.O,{textColor:"neutral800",ellipsis:!0,children:(0,a.jsx)("span",{style:{paddingLeft:`${Math.min(Sr,pi)*14}px`},children:et})}),li?.length>0&&(0,a.jsx)(Ys,{"aria-label":fr({id:"app.utils.toggle",defaultMessage:"Toggle"}),as:"button",alignItems:"center",hasRadius:!0,justifyContent:"center",marginLeft:"auto",onClick:Ni=>{Ni.preventDefault(),Ni.stopPropagation(),Fi(br)},children:(0,a.jsx)(M.G,{width:(0,i.W8)(14),color:"neutral500",as:Ii?Ct.c:tn.c})})]})})};Xa.propTypes={children:c.node.isRequired,data:c.object.isRequired,onToggle:c.func.isRequired,selectProps:c.shape({maxDisplayDepth:c.number,openValues:c.arrayOf(c.oneOfType([c.string,c.number])),onOptionToggle:c.func}).isRequired};function Po(et,pn={}){let Tn=[];const{value:Kn}=pn,fr=et.find(br=>br.value===Kn);if(!fr)return Tn;Tn.push(fr.value);let{parent:Sr}=fr;for(;Sr!==void 0;){const br=et.find(({value:li})=>li===Sr);Tn.push(br.value),Sr=br.parent}return Tn.reverse()}function co(et,pn){const Tn=et.find(Kn=>Kn.value===pn);return et.filter(Kn=>Kn.depth>=Tn.depth).map(Kn=>Kn.value)}const el=et=>!et.parent,Yo=({options:et,maxDisplayDepth:pn,defaultValue:Tn,...Kn})=>{const fr=(0,l.useMemo)(()=>Ht(et),[et]),Sr=(0,l.useMemo)(()=>fr.filter(el),[fr]),[br,li]=(0,l.useState)(Sr),[pi,Bi]=(0,l.useState)(Po(fr,Tn));(0,l.useEffect)(()=>{if(pi.length===0)li(fr.filter(Ii=>Ii.parent===void 0));else{const Ii=pi.reduce((Ds,ds)=>(fr.filter(Fs=>Fs.value===ds||Fs.parent===ds).forEach(Fs=>{const $s=Po(fr,Fs);Ds=[...Ds,...$s]}),Ds),[]),Ni=fr.filter(Ds=>Ii.includes(Ds.value));li(Ni)}},[pi,fr,Sr]);const Fi=Ii=>{if(pi.includes(Ii)){const Ni=co(fr,Ii);Bi(Ds=>Ds.filter(ds=>!Ni.includes(ds)))}else Bi(Ni=>[...Ni,Ii])};return(0,a.jsx)(i.sf,{components:{Option:Xa},options:br,defaultValue:Tn,isSearchable:!1,maxDisplayDepth:pn,openValues:pi,onOptionToggle:Fi,...Kn})},Ou=c.shape({value:c.oneOfType([c.number,c.string]),label:c.string.isRequired,children:c.array});Ou.children=c.arrayOf(c.shape(Ou)),Ou.defaultProps={children:void 0},Yo.defaultProps={defaultValue:void 0,maxDisplayDepth:5},Yo.propTypes={defaultValue:c.shape({value:c.oneOfType([c.number,c.string])}),maxDisplayDepth:c.number,options:c.arrayOf(Ou).isRequired};const Qo=()=>{const{formatMessage:et}=(0,de.c)();return(0,a.jsx)(O.k,{children:(0,a.jsx)(P.O,{fontWeight:"bold",textColor:"neutral800",as:"h2",id:"title",children:et({id:"global.details",defaultMessage:"Details"})})})},Ha=1,Jo=()=>{const et=(0,l.useRef)(),[pn,Tn]=(0,l.useState)(!1),[Kn,fr]=(0,l.useState)({width:void 0,height:void 0});(0,l.useEffect)(()=>()=>{et.current&&et.current.destroy()},[]);const Sr=({detail:{height:Bi,width:Fi}})=>{const Ii=Math.round(Fi),Ni=Math.round(Bi);fr({width:Ii,height:Ni})};return{crop:Bi=>{et.current||(et.current=new Ot(Bi,{modal:!0,initialAspectRatio:16/9,movable:!0,zoomable:!1,cropBoxResizable:!0,background:!1,crop:Sr}),Tn(!0))},produceFile:(Bi,Fi,Ii)=>new Promise((Ni,Ds)=>{et.current?et.current.getCroppedCanvas().toBlob(Gs=>{Ni(new File([Gs],Bi,{type:Fi,lastModifiedDate:Ii}))},Fi,Ha):Ds(new Error("The cropper has not been instantiated: make sure to call the crop() function before calling produceFile()."))}),stopCropping:()=>{et.current&&(et.current.destroy(),et.current=void 0,Tn(!1))},isCropping:pn,isCropperReady:Boolean(et.current),...Kn}},qo=`/${Wr}`,tl=(et,pn,Tn,Kn,fr)=>{const{rawFile:Sr,caption:br,name:li,alternativeText:pi}=et,Bi=new FormData;return Bi.append("files",Sr),Bi.append("fileInfo",JSON.stringify({name:li,caption:br,alternativeText:pi,folder:pn})),fr(qo,Bi,{headers:{"Content-Type":"multipart/form-data"},cancelToken:Tn.token,onUploadProgress({total:Fi,loaded:Ii}){Kn(Ii/Fi*100)}}).then(Fi=>Fi.data)},Nu=()=>{const[et,pn]=(0,l.useState)(0),{formatMessage:Tn}=(0,de.c)(),Kn=(0,xe.useQueryClient)(),fr=(0,l.useRef)(Nt.default.CancelToken.source()),{post:Sr}=(0,i.Qn)(),br=(0,xe.useMutation)(({asset:Bi,folderId:Fi})=>tl(Bi,Fi,fr.current,pn,Sr),{onSuccess(){Kn.refetchQueries([Wr,"assets"],{active:!0}),Kn.refetchQueries([Wr,"asset-count"],{active:!0})}});return{upload:(Bi,Fi)=>br.mutateAsync({asset:Bi,folderId:Fi}),cancel:()=>fr.current.cancel(Tn({id:be("modal.upload.cancelled"),defaultMessage:""})),error:br.error,progress:et,status:br.status}},Kl=async(et,pn)=>{const Tn=await fetch(et).then(Sr=>Sr.blob()),Kn=window.URL.createObjectURL(Tn),fr=document.createElement("a");fr.href=Kn,fr.setAttribute("download",pn),fr.click()},ke=({url:et})=>{const pn=(0,i.eo)(),{formatMessage:Tn}=(0,de.c)(),{copy:Kn}=(0,i.UC)(),fr=async()=>{await Kn(et)&&pn({type:"success",message:{id:"notification.link-copied",defaultMessage:"Link copied into the clipboard"}})};return(0,a.jsx)(N.w,{label:Tn({id:be("control-card.copy-link"),defaultMessage:"Copy link"}),onClick:fr,children:(0,a.jsx)(ge.c,{})})};ke.propTypes={url:c.string.isRequired};const Ie=(0,B.cp)(R.C)`
  border-radius: ${({theme:et})=>`${et.borderRadius} ${et.borderRadius} 0 0`};
  width: 100%;
  height: 100%;

  svg {
    path {
      fill: ${({theme:et,error:pn})=>pn?et.colors.danger600:void 0};
    }
  }
`,Wt=B.cp.button`
  border: none;
  background: none;
  width: min-content;
  color: ${({theme:et})=>et.colors.neutral600};

  &:hover,
  &:focus {
    color: ${({theme:et})=>et.colors.neutral700};
  }

  svg {
    height: 10px;
    width: 10px;

    path {
      fill: currentColor;
    }
  }
`,Nn=({onCancel:et,progress:pn,error:Tn})=>{const{formatMessage:Kn}=(0,de.c)();return(0,a.jsx)(Ie,{alignItems:"center",background:Tn?"danger100":"neutral150",error:Tn,children:Tn?(0,a.jsx)(At.c,{"aria-label":Tn?.message}):(0,a.jsxs)(R.C,{direction:"column",alignItems:"center",gap:2,width:"100%",children:[(0,a.jsx)(z,{value:pn,children:`${pn}/100%`}),(0,a.jsx)(Wt,{type:"button",onClick:et,children:(0,a.jsxs)(R.C,{gap:2,children:[(0,a.jsx)(P.O,{variant:"pi",as:"span",textColor:"inherit",children:Kn({id:"app.components.Button.cancel",defaultMessage:"Cancel"})}),(0,a.jsx)(At.c,{"aria-hidden":!0})]})})]})})};Nn.defaultProps={error:void 0,progress:0},Nn.propTypes={error:c.instanceOf(Error),onCancel:c.func.isRequired,progress:c.number};const ei=(et,pn)=>{const{del:Tn}=(0,i.YF)();return Tn(`/upload/${et}/${pn}`)},bi=et=>{const pn=(0,i.eo)(),Tn=(0,xe.useQueryClient)(),Kn=(0,xe.useMutation)(Sr=>ei("files",Sr),{onSuccess(){Tn.refetchQueries([Wr,"assets"],{active:!0}),Tn.refetchQueries([Wr,"asset-count"],{active:!0}),pn({type:"success",message:{id:"modal.remove.success-label",defaultMessage:"Elements have been successfully deleted."}}),et()},onError(Sr){pn({type:"warning",message:Sr.message})}});return{...Kn,removeAsset:Sr=>Kn.mutate(Sr)}},Cs=({onClose:et,asset:pn})=>{const{isLoading:Tn,removeAsset:Kn}=bi(()=>et(null)),fr=()=>{Kn(pn.id)};return(0,a.jsx)(i.cz,{isConfirmButtonLoading:Tn,isOpen:!0,onToggleDialog:et,onConfirm:fr})};Cs.propTypes={onClose:c.func.isRequired,asset:c.shape({id:c.number,height:c.number,width:c.number,size:c.number,createdAt:c.string,ext:c.string,name:c.string,url:c.string}).isRequired};const Bs=(0,B.cp)(R.C)`
  border-radius: ${({theme:et})=>et.borderRadius} ${({theme:et})=>et.borderRadius} 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f9 121.48%);
`,Xs=(0,l.forwardRef)(({mime:et,url:pn,name:Tn,...Kn},fr)=>{const[Sr]=(0,i.Mb)("strapi-admin-language","en");return et.includes(jn.Image)?(0,a.jsx)("img",{ref:fr,src:pn,alt:Tn,...Kn}):et.includes(jn.Video)?(0,a.jsx)("video",{controls:!0,src:pn,ref:fr,...Kn,children:(0,a.jsx)("track",{label:Tn,default:!0,kind:"captions",srcLang:Sr,src:""})}):et.includes(jn.Audio)?(0,a.jsx)("audio",{controls:!0,src:pn,ref:fr,...Kn,children:Tn}):et.includes("pdf")?(0,a.jsx)(Bs,{justifyContent:"center",...Kn,children:(0,a.jsx)(mn.c,{"aria-label":Tn})}):(0,a.jsx)(Bs,{justifyContent:"center",...Kn,children:(0,a.jsx)(xn.c,{"aria-label":Tn})})});Xs.displayName="AssetPreview",Xs.propTypes={mime:c.string.isRequired,name:c.string.isRequired,url:c.string.isRequired};const _a=(0,B.cp)(_.k)`
  position: relative;
`,ga=B.cp.div`
  position: relative;
  text-align: center;
  background: repeating-conic-gradient(
      ${({theme:et})=>et.colors.neutral100} 0% 25%,
      transparent 0% 50%
    )
    50% / 20px 20px;

  svg {
    font-size: 3rem;
    height: ${264/16}rem;
  }

  img,
  video {
    margin: 0;
    padding: 0;
    max-height: ${264/16}rem;
    max-width: 100%;
  }
`,Vs=(0,B.cp)(R.C)`
  height: ${52/16}rem;
  background-color: ${({blurry:et})=>et?"rgba(33, 33, 52, 0.4)":void 0};
`,Va=(0,B.cp)(R.C)`
  z-index: 1;
  height: ${52/16}rem;
  position: absolute;
  background-color: rgba(33, 33, 52, 0.4);
  width: 100%;
`,io=(0,B.cp)(W.k)`
  span {
    color: inherit;
    font-weight: ${({theme:et})=>et.fontWeights.regular};
  }
`,ya=B.cp.div`
  position: absolute;
  z-index: 2;
  height: 100%;
  width: 100%;
`,oo=({onCancel:et,onValidate:pn,onDuplicate:Tn})=>{const{formatMessage:Kn}=(0,de.c)();return(0,a.jsx)(X.W,{onEscape:et,children:(0,a.jsx)(Va,{justifyContent:"flex-end",paddingLeft:3,paddingRight:3,children:(0,a.jsxs)(R.C,{gap:1,children:[(0,a.jsx)(N.w,{label:Kn({id:be("control-card.stop-crop"),defaultMessage:"Stop cropping"}),icon:(0,a.jsx)(At.c,{}),onClick:et}),(0,a.jsxs)(Gt.Ss,{children:[(0,a.jsxs)(ka,{variant:"tertiary",paddingLeft:2,paddingRight:2,endIcon:null,children:[(0,a.jsx)(Q.K,{as:"span",children:Kn({id:be("control-card.crop"),defaultMessage:"Crop"})}),(0,a.jsx)(Un.c,{"aria-hidden":!0,focusable:!1,style:{position:"relative",top:2},fill:"#C0C0D0"})]}),(0,a.jsxs)(Gt.kP,{zIndex:5,children:[(0,a.jsx)(Gt.iY,{onSelect:pn,children:Kn({id:be("checkControl.crop-original"),defaultMessage:"Crop the original asset"})}),Tn&&(0,a.jsx)(Gt.iY,{onSelect:Tn,children:Kn({id:be("checkControl.crop-duplicate"),defaultMessage:"Duplicate & crop the asset"})})]})]})]})})})},ka=(0,B.cp)(Gt.mf)`
  svg {
    > g,
    path {
      fill: ${({theme:et})=>et.colors.neutral500};
    }
  }

  &:hover {
    svg {
      > g,
      path {
        fill: ${({theme:et})=>et.colors.neutral600};
      }
    }
  }

  &:active {
    svg {
      > g,
      path {
        fill: ${({theme:et})=>et.colors.neutral400};
      }
    }
  }
`;oo.defaultProps={onDuplicate:void 0},oo.propTypes={onCancel:c.func.isRequired,onDuplicate:c.func,onValidate:c.func.isRequired};const Su=({asset:et,canUpdate:pn,canCopyLink:Tn,canDownload:Kn,onDelete:fr,onCropFinish:Sr,onCropStart:br,onCropCancel:li,replacementFile:pi,trackedLocation:Bi})=>{const{trackUsage:Fi}=(0,i.m4)(),Ii=(0,l.useRef)(null),[Ni,Ds]=(0,l.useState)(!1),[ds,Gs]=(0,l.useState)(null),[Fs,$s]=(0,l.useState)(xr(et,!1)),[oa,to]=(0,l.useState)(xr(et,!0)),{formatMessage:ba}=(0,de.c)(),[pa,Lo]=(0,l.useState)(!1),{crop:su,produceFile:uo,stopCropping:yo,isCropping:lu,isCropperReady:Be,width:vt,height:xt}=Jo(),{editAsset:Zt,error:He,isLoading:Pn,progress:Xn,cancel:Qt}=fs(),{upload:Bn,isLoading:ir,cancel:Pr,error:Er,progress:Ti}=Nu();(0,l.useEffect)(()=>{if(pi){const Js=URL.createObjectURL(pi);et.isLocal&&(et.url=Js),$s(Js),to(Js)}},[pi,et]),(0,l.useEffect)(()=>{ds===!1&&(yo(),li())},[ds,yo,li,Sr]),(0,l.useEffect)(()=>{ds&&Ni&&(su(Ii.current),br())},[Ni,ds,br,su]);const ji=async()=>{const Js={...et,width:vt,height:xt,folder:et.folder?.id},ks=await uo(Js.name,Js.mime,Js.updatedAt);let Hs,Ka;if(et.isLocal)Hs=URL.createObjectURL(ks),Ka=Hs,et.url=Hs,et.rawFile=ks,Fi("didCropFile",{duplicatedFile:null,location:Bi});else{const Ma=await Zt(Js,ks);Hs=xr(Ma,!1),Ka=xr(Ma,!0),Fi("didCropFile",{duplicatedFile:!1,location:Bi})}$s(Hs),to(Ka),Gs(!1)},Wi=lu&&!Pn,ls=async()=>{const Js={...et,width:vt,height:xt},ks=await uo(Js.name,Js.mime,Js.updatedAt);await Bn({name:ks.name,rawFile:ks},et.folder?.id),Fi("didCropFile",{duplicatedFile:!0,location:Bi}),Gs(!1),Sr()},Zi=()=>{Gs(!1)},Qs=()=>{Gs(!0)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(_a,{hasRadius:!0,background:"neutral150",borderColor:"neutral200",children:[Be&&Wi&&(0,a.jsx)(oo,{onValidate:ji,onDuplicate:et.isLocal?void 0:ls,onCancel:Zi}),(0,a.jsx)(Vs,{paddingLeft:3,paddingRight:3,justifyContent:"flex-end",children:(0,a.jsxs)(R.C,{gap:1,children:[pn&&!et.isLocal&&(0,a.jsx)(N.w,{label:ba({id:"global.delete",defaultMessage:"Delete"}),icon:(0,a.jsx)(gr.c,{}),onClick:()=>Lo(!0)}),Kn&&(0,a.jsx)(N.w,{label:ba({id:be("control-card.download"),defaultMessage:"Download"}),icon:(0,a.jsx)(Ur.c,{}),onClick:()=>Kl(Fs,et.name)}),Tn&&(0,a.jsx)(ke,{url:Fs}),pn&&et.mime.includes(jn.Image)&&(0,a.jsx)(N.w,{label:ba({id:be("control-card.crop"),defaultMessage:"Crop"}),icon:(0,a.jsx)(Or.c,{}),onClick:Qs})]})}),(0,a.jsxs)(ga,{children:[Pn&&(0,a.jsx)(ya,{children:(0,a.jsx)(Nn,{error:He,onCancel:Qt,progress:Xn})}),ir&&(0,a.jsx)(ya,{children:(0,a.jsx)(Nn,{error:Er,onCancel:Pr,progress:Ti})}),(0,a.jsx)(Xs,{ref:Ii,mime:et.mime,name:et.name,url:ds?Fs:oa,onLoad:()=>{(et.isLocal||ds)&&Ds(!0)}})]}),(0,a.jsx)(Vs,{paddingLeft:2,paddingRight:2,justifyContent:"flex-end",blurry:Wi,children:Wi&&vt&&xt&&(0,a.jsx)(io,{background:"neutral900",color:"neutral0",children:vt&&xt?`${xt}\u2715${vt}`:"N/A"})})]}),pa&&(0,a.jsx)(Cs,{onClose:()=>{Lo(!1),fr(null)},asset:et})]})};Su.defaultProps={replacementFile:void 0,trackedLocation:void 0},Su.propTypes={canUpdate:c.bool.isRequired,canCopyLink:c.bool.isRequired,canDownload:c.bool.isRequired,replacementFile:c.instanceOf(File),asset:Qi.isRequired,onDelete:c.func.isRequired,onCropFinish:c.func.isRequired,onCropStart:c.func.isRequired,onCropCancel:c.func.isRequired,trackedLocation:c.string};const Ru=({onSelectMedia:et,acceptedMime:pn,trackedLocation:Tn,...Kn})=>{const{formatMessage:fr}=(0,de.c)(),Sr=(0,l.useRef)(null),{trackUsage:br}=(0,i.m4)(),li=Bi=>{Bi.preventDefault(),Tn&&br("didReplaceMedia",{location:Tn}),Sr.current.click()},pi=()=>{const Bi=Sr.current.files[0];et(Bi)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(K.Z,{variant:"secondary",onClick:li,...Kn,children:fr({id:be("control-card.replace-media"),defaultMessage:"Replace media"})}),(0,a.jsx)(Q.K,{children:(0,a.jsx)("input",{accept:pn,type:"file",name:"file",tabIndex:-1,ref:Sr,onChange:pi,"aria-hidden":!0})})]})};Ru.defaultProps={trackedLocation:void 0},Ru.propTypes={acceptedMime:c.string.isRequired,onSelectMedia:c.func.isRequired,trackedLocation:c.string};const Ko=(0,B.cp)(R.C)`
  /* 80px are coming from the Tabs component that is not included in the ModalBody */
  min-height: ${()=>`calc(60vh + ${(0,i.W8)(80)})`};
`,Yl=gt.kt({name:gt.Qb().required(),alternativeText:gt.Qb(),caption:gt.Qb(),folder:gt.CQ()}),gu=({onClose:et,asset:pn,canUpdate:Tn,canCopyLink:Kn,canDownload:fr,trackedLocation:Sr})=>{const{formatMessage:br,formatDate:li}=(0,de.c)(),{trackUsage:pi}=(0,i.m4)(),Bi=(0,l.useRef)(null),[Fi,Ii]=(0,l.useState)(!1),[Ni,Ds]=(0,l.useState)(),{editAsset:ds,isLoading:Gs}=fs(),{data:Fs,isLoading:$s}=da({enabled:!0}),oa=async Be=>{const vt={...pn,...Be,folder:Be.parent.value};if(pn.isLocal)et(vt);else{const xt=await ds(vt,Ni),Zt=pn?.mime.split("/")[0],He=pn?.folder?.id?pn.folder.id!==Be.parent.value:pn.folder===null&&!!Be.parent.value;pi("didEditMediaLibraryElements",{location:Sr,type:Zt,changeLocation:He}),et(xt)}},to=()=>{Ii(!0)},ba=()=>{Ii(!1)},pa=()=>{Ii(!1),et()},Lo=!Tn||Fi,su=()=>{window.confirm(br({id:"window.confirm.close-modal.file",defaultMessage:"Are you sure? Your changes will be lost."}))&&et()},uo=pn?.folder?.id,yo=!$s&&{name:pn.name,alternativeText:pn.alternativeText??void 0,caption:pn.caption??void 0,parent:{value:uo??void 0,label:qr(Fs,uo)?.label??Fs[0].label}},lu=Be=>{We(yo,Be)?et():su()};return $s?(0,a.jsxs)(Y.E,{onClose:()=>lu(),labelledBy:"title",children:[(0,a.jsx)(Qo,{}),(0,a.jsx)(Ko,{minHeight:"60vh",justifyContent:"center",paddingTop:4,paddingBottom:4,children:(0,a.jsx)(Z.c,{children:br({id:be("content.isLoading"),defaultMessage:"Content is loading."})})}),(0,a.jsx)(J._,{startActions:(0,a.jsx)(K.Z,{onClick:()=>lu(),variant:"tertiary",children:br({id:"cancel",defaultMessage:"Cancel"})})})]}):(0,a.jsx)(Re.QJ,{validationSchema:Yl,validateOnChange:!1,onSubmit:oa,initialValues:yo,children:({values:Be,errors:vt,handleChange:xt,setFieldValue:Zt})=>(0,a.jsxs)(Y.E,{onClose:()=>lu(Be),labelledBy:"title",children:[(0,a.jsx)(Qo,{}),(0,a.jsx)(ee.a,{children:(0,a.jsxs)(T.y,{gap:4,children:[(0,a.jsx)(A.C,{xs:12,col:6,children:(0,a.jsx)(Su,{asset:pn,canUpdate:Tn,canCopyLink:Kn,canDownload:fr,onDelete:et,onCropFinish:pa,onCropStart:to,onCropCancel:ba,replacementFile:Ni,trackedLocation:Sr})}),(0,a.jsx)(A.C,{xs:12,col:6,children:(0,a.jsxs)(i.QF,{noValidate:!0,children:[(0,a.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:3,children:[(0,a.jsx)(Da,{blocks:[{label:br({id:be("modal.file-details.size"),defaultMessage:"Size"}),value:jr(pn.size)},{label:br({id:be("modal.file-details.dimensions"),defaultMessage:"Dimensions"}),value:pn.height&&pn.width?`${pn.width}\u2715${pn.height}`:null},{label:br({id:be("modal.file-details.date"),defaultMessage:"Date"}),value:li(new Date(pn.createdAt))},{label:br({id:be("modal.file-details.extension"),defaultMessage:"Extension"}),value:(0,i.S7)(pn.ext)},{label:br({id:be("modal.file-details.id"),defaultMessage:"Asset ID"}),value:pn.id}]}),(0,a.jsx)(re.g,{label:br({id:be("form.input.label.file-name"),defaultMessage:"File name"}),name:"name",value:Be.name,error:vt.name,onChange:xt,disabled:Lo}),(0,a.jsx)(re.g,{label:br({id:be("form.input.label.file-alt"),defaultMessage:"Alternative text"}),name:"alternativeText",hint:br({id:be("form.input.decription.file-alt"),defaultMessage:"This text will be displayed if the asset can\u2019t be shown."}),value:Be.alternativeText,error:vt.alternativeText,onChange:xt,disabled:Lo}),(0,a.jsx)(re.g,{label:br({id:be("form.input.label.file-caption"),defaultMessage:"Caption"}),name:"caption",value:Be.caption,error:vt.caption,onChange:xt,disabled:Lo}),(0,a.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,a.jsx)(me.u,{htmlFor:"asset-folder",children:br({id:be("form.input.label.file-location"),defaultMessage:"Location"})}),(0,a.jsx)(Yo,{name:"parent",defaultValue:Be.parent,options:Fs,onChange:He=>{Zt("parent",He)},menuPortalTarget:document.querySelector("body"),inputId:"asset-folder",isDisabled:Lo,error:vt?.parent,ariaErrorMessage:"folder-parent-error"})]})]}),(0,a.jsx)(Q.K,{children:(0,a.jsx)("button",{type:"submit",tabIndex:-1,ref:Bi,disabled:Lo,children:br({id:"submit",defaultMessage:"Submit"})})})]})})]})}),(0,a.jsx)(J._,{startActions:(0,a.jsx)(K.Z,{onClick:()=>lu(Be),variant:"tertiary",children:br({id:"global.cancel",defaultMessage:"Cancel"})}),endActions:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(Ru,{onSelectMedia:Ds,acceptedMime:pn.mime,disabled:Lo,trackedLocation:Sr}),(0,a.jsx)(K.Z,{onClick:()=>Bi.current.click(),loading:Gs,disabled:Lo,children:br({id:"global.finish",defaultMessage:"Finish"})})]})})]})})};gu.defaultProps={trackedLocation:void 0},gu.propTypes={asset:Qi.isRequired,canUpdate:c.bool.isRequired,canCopyLink:c.bool.isRequired,canDownload:c.bool.isRequired,onClose:c.func.isRequired,trackedLocation:c.string};const Ul=()=>{const et=(0,i.eo)(),pn=(0,xe.useQueryClient)(),{post:Tn}=(0,i.Qn)(),Kn=br=>{const li=br.reduce((pi,Bi)=>{const{id:Fi,type:Ii}=Bi,Ni=Ii==="asset"?"fileIds":"folderIds";return pi[Ni]||(pi[Ni]=[]),pi[Ni].push(Fi),pi},{});return Tn("/upload/actions/bulk-delete",li)},fr=(0,xe.useMutation)(Kn,{onSuccess(br){const{data:{data:li}}=br;li?.files?.length>0&&(pn.refetchQueries([Wr,"assets"],{active:!0}),pn.refetchQueries([Wr,"asset-count"],{active:!0})),li?.folders?.length>0&&pn.refetchQueries([Wr,"folders"],{active:!0}),et({type:"success",message:{id:be("modal.remove.success-label"),defaultMessage:"Elements have been successfully deleted."}})},onError(br){et({type:"warning",message:br.message})}});return{...fr,remove:(...br)=>fr.mutateAsync(...br)}},Vc=(et,pn,{attrs:Tn,id:Kn})=>(!!Kn?et:pn)(`/upload/folders/${Kn??""}`,Tn).then(br=>br.data),ll=()=>{const et=(0,xe.useQueryClient)(),{put:pn,post:Tn}=(0,i.Qn)(),Kn=(0,xe.useMutation)((...Sr)=>Vc(pn,Tn,...Sr),{onSuccess(){et.refetchQueries([Wr,"folders"],{active:!0}),et.refetchQueries([Wr,"folder","structure"],{active:!0})}});return{...Kn,editFolder:(Sr,br)=>Kn.mutateAsync({attrs:Sr,id:br}),status:Kn.status}},Kc=({isEditing:et})=>{const{formatMessage:pn}=(0,de.c)();return(0,a.jsx)(O.k,{children:(0,a.jsx)(P.O,{fontWeight:"bold",textColor:"neutral800",as:"h2",id:"title",children:pn(et?{id:be("modal.folder.edit.title"),defaultMessage:"Edit folder"}:{id:be("modal.folder.create.title"),defaultMessage:"Add new folder"})})})};Kc.defaultProps={isEditing:!1},Kc.propTypes={isEditing:c.bool};const wu=({onClose:et,onConfirm:pn})=>(0,a.jsx)(i.cz,{isConfirmButtonLoading:!1,isOpen:!0,onToggleDialog:et,onConfirm:pn});wu.propTypes={onClose:c.func.isRequired,onConfirm:c.func.isRequired};const Yc=gt.kt({name:gt.Qb().required(),parent:gt.kt({label:gt.Qb(),value:gt.CQ().nullable(!0)}).nullable(!0)}),S0=({onClose:et,folder:pn,location:Tn,parentFolderId:Kn})=>{const{data:fr,isLoading:Sr}=da({enabled:!0}),{canCreate:br,isLoading:li,canUpdate:pi}=Si(),[Bi,Fi]=(0,l.useState)(!1),{formatMessage:Ii,formatDate:Ni}=(0,de.c)(),{trackUsage:Ds}=(0,i.m4)(),{editFolder:ds,isLoading:Gs}=ll(),{remove:Fs}=Ul(),$s=(0,i.eo)(),oa=li||Sr,to=!!pn,ba=pn&&!pi||!pn&&!br,pa=!Sr&&{name:pn?.name??"",parent:{value:Kn?parseInt(Kn,10):void 0,label:Kn?qr(fr,parseInt(Kn,10))?.label:fr[0].label}},Lo=async(uo,{setErrors:yo})=>{try{if(await ds({...uo,parent:uo.parent.value??null},pn?.id),$s({type:"success",message:Ii(to?{id:be("modal.folder-notification-edited-success"),defaultMessage:"Folder successfully edited"}:{id:be("modal.folder-notification-created-success"),defaultMessage:"Folder successfully created"})}),to){const lu=Kn?parseInt(Kn,10)!==uo.parent.value:Kn===null&&!!uo.parent.value;Ds("didEditMediaLibraryElements",{location:Tn,type:"folder",changeLocation:lu})}else Ds("didAddMediaLibraryFolders",{location:Tn});et({created:!0})}catch(lu){const Be=(0,i.st)(lu,{getTrad:be}),vt=Object.entries(Be).reduce((xt,[Zt,He])=>(xt[Zt]=He.defaultMessage,xt),{});Lt(vt)||yo(vt)}},su=async()=>{await Fs([pn]),Fi(!1),et()};return oa?(0,a.jsxs)(Y.E,{onClose:()=>et(),labelledBy:"title",children:[(0,a.jsx)(Kc,{isEditing:to}),(0,a.jsx)(ee.a,{children:(0,a.jsx)(R.C,{justifyContent:"center",paddingTop:4,paddingBottom:4,children:(0,a.jsx)(Z.c,{children:Ii({id:be("content.isLoading"),defaultMessage:"Content is loading."})})})})]}):(0,a.jsxs)(Y.E,{onClose:()=>et(),labelledBy:"title",children:[(0,a.jsx)(Re.QJ,{validationSchema:Yc,validateOnChange:!1,onSubmit:Lo,initialValues:pa,children:({values:uo,errors:yo,handleChange:lu,setFieldValue:Be})=>(0,a.jsxs)(i.QF,{noValidate:!0,children:[(0,a.jsx)(Kc,{isEditing:to}),(0,a.jsx)(ee.a,{children:(0,a.jsxs)(T.y,{gap:4,children:[to&&(0,a.jsx)(A.C,{xs:12,col:12,children:(0,a.jsx)(Da,{blocks:[{label:Ii({id:be("modal.folder.create.elements"),defaultMessage:"Elements"}),value:Ii({id:be("modal.folder.elements.count"),defaultMessage:"{folderCount} folders, {assetCount} assets"},{assetCount:pn?.files?.count??0,folderCount:pn?.children?.count??0})},{label:Ii({id:be("modal.folder.create.creation-date"),defaultMessage:"Creation Date"}),value:Ni(new Date(pn.createdAt))}]})}),(0,a.jsx)(A.C,{xs:12,col:6,children:(0,a.jsx)(re.g,{label:Ii({id:be("form.input.label.folder-name"),defaultMessage:"Name"}),name:"name",value:uo.name,error:yo.name,onChange:lu,disabled:ba})}),(0,a.jsx)(A.C,{xs:12,col:6,children:(0,a.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,a.jsx)(me.u,{htmlFor:"folder-parent",children:Ii({id:be("form.input.label.folder-location"),defaultMessage:"Location"})}),(0,a.jsx)(Yo,{options:fr,onChange:vt=>{Be("parent",vt)},isDisabled:ba,defaultValue:uo.parent,name:"parent",menuPortalTarget:document.querySelector("body"),inputId:"folder-parent",disabled:ba,error:yo?.parent,ariaErrorMessage:"folder-parent-error"}),yo.parent&&(0,a.jsx)(P.O,{variant:"pi",as:"p",id:"folder-parent-error",textColor:"danger600",children:yo.parent})]})})]})}),(0,a.jsx)(J._,{startActions:(0,a.jsx)(K.Z,{onClick:()=>et(),variant:"tertiary",name:"cancel",children:Ii({id:"cancel",defaultMessage:"Cancel"})}),endActions:(0,a.jsxs)(R.C,{gap:2,children:[to&&pi&&(0,a.jsx)(K.Z,{type:"button",variant:"danger-light",onClick:()=>Fi(!0),name:"delete",disabled:!pi||Gs,children:Ii({id:be("modal.folder.create.delete"),defaultMessage:"Delete folder"})}),(0,a.jsx)(K.Z,{name:"submit",loading:Gs,disabled:ba,type:"submit",children:Ii(to?{id:be("modal.folder.edit.submit"),defaultMessage:"Save"}:{id:be("modal.folder.create.submit"),defaultMessage:"Create"})})]})})]})}),Bi&&(0,a.jsx)(wu,{onClose:()=>Fi(!1),onConfirm:su})]})};S0.defaultProps={folder:void 0,location:void 0,parentFolderId:null},S0.propTypes={folder:ni,location:c.string,onClose:c.func.isRequired,parentFolderId:c.oneOfType([c.string,c.number])};const bc=(et,{enabled:pn=!0}={})=>{const Tn=(0,i.eo)(),{get:Kn}=(0,i.Qn)(),{data:fr,error:Sr,isLoading:br}=(0,xe.useQuery)([Wr,"folder",et],async()=>{const{data:{data:li}}=await Kn(`/upload/folders/${et}`,{params:{populate:{parent:{populate:{parent:"*"}}}}});return li},{retry:!1,enabled:pn,staleTime:0,cacheTime:0,onError(){Tn({type:"warning",message:{id:be("notification.warning.404"),defaultMessage:"Not found"}})}});return{data:fr,error:Sr,isLoading:br}},T0=B.cp.span`
  text-transform: uppercase;
`,N0=(0,B.cp)(ye)`
  opacity: 0;

  &:focus-within {
    opacity: 1;
  }
`,P0=(0,B.cp)(Ae.M)`
  cursor: pointer;

  &:hover {
    ${N0} {
      opacity: 1;
    }
  }
`,Ql=({children:et,extension:pn,isSelectable:Tn,name:Kn,onSelect:fr,onRemove:Sr,onEdit:br,selected:li,subtitle:pi,variant:Bi})=>{const{formatMessage:Fi}=(0,de.c)(),Ii=Ds=>{br&&br(Ds)},Ni=Ds=>{Ds.stopPropagation()};return(0,a.jsxs)(P0,{role:"button",height:"100%",tabIndex:-1,onClick:Ii,children:[(0,a.jsxs)(Fe.q,{children:[Tn&&(0,a.jsx)("div",{onClick:Ni,children:(0,a.jsx)(Ge,{value:li,onValueChange:fr})}),(Sr||br)&&(0,a.jsxs)(N0,{onClick:Ni,position:"end",children:[Sr&&(0,a.jsx)(N.w,{label:Fi({id:be("control-card.remove-selection"),defaultMessage:"Remove from selection"}),icon:(0,a.jsx)(gr.c,{}),onClick:Sr}),br&&(0,a.jsx)(N.w,{label:Fi({id:be("control-card.edit"),defaultMessage:"Edit"}),icon:(0,a.jsx)(ii.c,{}),onClick:br})]}),et]}),(0,a.jsxs)(Pe.i,{children:[(0,a.jsxs)(pe.q,{children:[(0,a.jsx)(_.k,{paddingTop:1,children:(0,a.jsx)(Se.O,{as:"h2",children:Kn})}),(0,a.jsxs)(Se.w,{children:[(0,a.jsx)(T0,{children:pn}),pi]})]}),(0,a.jsx)(R.C,{paddingTop:1,grow:1,children:(0,a.jsx)(_e.g,{children:Fi({id:be(`settings.section.${Bi.toLowerCase()}.label`),defaultMessage:Bi})})})]})]})};Ql.defaultProps={children:void 0,isSelectable:!0,onEdit:void 0,onSelect:void 0,onRemove:void 0,selected:!1,subtitle:"",variant:"Image"},Ql.propTypes={children:c.node,extension:c.string.isRequired,isSelectable:c.bool,name:c.string.isRequired,onEdit:c.func,onSelect:c.func,onRemove:c.func,selected:c.bool,subtitle:c.string,variant:c.oneOf(["Image","Video","Audio","Doc"])};const Qc=({url:et,alt:pn})=>(0,a.jsx)(_.k,{children:(0,a.jsx)("audio",{controls:!0,src:et,children:pn})});Qc.defaultProps={},Qc.propTypes={alt:c.string.isRequired,url:c.string.isRequired};const zn=(0,B.cp)(_.k)`
  canvas,
  audio {
    display: block;
    max-width: 100%;
    max-height: ${({size:et})=>et==="M"?164/16:88/16}rem;
  }
`,Kr=({name:et,url:pn,size:Tn,...Kn})=>(0,a.jsx)(Ql,{name:et,...Kn,variant:"Audio",children:(0,a.jsx)(Ne.Q,{size:Tn,children:(0,a.jsx)(zn,{size:Tn,children:(0,a.jsx)(Qc,{url:pn,alt:et})})})});Kr.defaultProps={onSelect:void 0,onEdit:void 0,onRemove:void 0,selected:!1,size:"M"},Kr.propTypes={extension:c.string.isRequired,name:c.string.isRequired,onSelect:c.func,onEdit:c.func,onRemove:c.func,url:c.string.isRequired,selected:c.bool,size:c.oneOf(["S","M"])};const gn=B.cp.span`
  svg {
    font-size: 3rem;
  }
`,tr=(0,B.cp)(R.C)`
  border-radius: ${({theme:et})=>et.borderRadius} ${({theme:et})=>et.borderRadius} 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f9 121.48%);
`,st=({name:et,extension:pn,size:Tn,...Kn})=>(0,a.jsx)(Ql,{name:et,extension:pn,...Kn,variant:"Doc",children:(0,a.jsx)(tr,{width:"100%",height:Tn==="S"?(0,i.W8)(88):(0,i.W8)(164),justifyContent:"center",children:(0,a.jsx)(gn,{children:pn==="pdf"?(0,a.jsx)(mn.c,{"aria-label":et}):(0,a.jsx)(xn.c,{"aria-label":et})})})});st.defaultProps={selected:!1,onEdit:void 0,onSelect:void 0,onRemove:void 0,size:"M"},st.propTypes={extension:c.string.isRequired,onEdit:c.func,onSelect:c.func,onRemove:c.func,selected:c.bool,name:c.string.isRequired,size:c.oneOf(["S","M"])};const si=({height:et,width:pn,thumbnail:Tn,size:Kn,alt:fr,isUrlSigned:Sr,...br})=>{const li=Sr?Tn:sr({url:Tn,params:{updatedAt:br.updatedAt}});return(0,a.jsx)(Ql,{...br,subtitle:et&&pn&&` - ${pn}\u2715${et}`,variant:"Image",children:(0,a.jsx)(Ne.Q,{src:li,size:Kn,alt:fr})})};si.defaultProps={height:void 0,width:void 0,selected:!1,onEdit:void 0,onSelect:void 0,onRemove:void 0,size:"M",updatedAt:void 0},si.propTypes={alt:c.string.isRequired,extension:c.string.isRequired,height:c.number,name:c.string.isRequired,onEdit:c.func,onSelect:c.func,onRemove:c.func,width:c.number,thumbnail:c.string.isRequired,selected:c.bool,size:c.oneOf(["S","M"]),updatedAt:c.string,isUrlSigned:c.bool.isRequired};const Yi=3,Ri=({url:et,mime:pn,onLoadDuration:Tn,alt:Kn,...fr})=>{const Sr=li=>{if(li.target.currentTime>0){const pi=li.target,Bi=document.createElement("canvas");Bi.height=pi.videoHeight,Bi.width=pi.videoWidth,Bi.getContext("2d").drawImage(pi,0,0,pi.videoWidth,pi.videoHeight),pi.replaceWith(Bi),Tn(pi.duration)}},br=li=>{const pi=li.target;pi.readyState<Yi||pi.play()};return(0,l.createElement)(_.k,{as:"figure",...fr,key:et},(0,a.jsx)("video",{muted:!0,onLoadedData:br,src:et,crossOrigin:"anonymous",onTimeUpdate:Sr,children:(0,a.jsx)("source",{type:pn})}),(0,a.jsx)(Q.K,{as:"figcaption",children:Kn}))};Ri.defaultProps={onLoadDuration(){},size:"M"},Ri.propTypes={alt:c.string.isRequired,url:c.string.isRequired,mime:c.string.isRequired,onLoadDuration:c.func,size:c.oneOf(["S","M"])};const ta=(0,B.cp)(_.k)`
  canvas,
  video {
    display: block;
    pointer-events: none;
    max-width: 100%;
    max-height: ${({size:et})=>et==="M"?164/16:88/16}rem;
  }
`,fa=({name:et,url:pn,mime:Tn,size:Kn,...fr})=>{const[Sr,br]=(0,l.useState)(),li=Sr&&$r(Sr);return(0,a.jsxs)(Ql,{name:et,...fr,variant:"Video",children:[(0,a.jsx)(Ne.Q,{size:Kn,children:(0,a.jsx)(ta,{size:Kn,children:(0,a.jsx)(Ri,{url:pn,mime:Tn,onLoadDuration:br,alt:et})})}),(0,a.jsx)(Le,{children:li||"..."})]})};fa.defaultProps={onSelect:void 0,onEdit:void 0,onRemove:void 0,selected:!1,size:"M"},fa.propTypes={extension:c.string.isRequired,mime:c.string.isRequired,name:c.string.isRequired,onSelect:c.func,onEdit:c.func,onRemove:c.func,url:c.string.isRequired,selected:c.bool,size:c.oneOf(["S","M"])};const Aa=({asset:et,isSelected:pn,onSelect:Tn,onEdit:Kn,onRemove:fr,size:Sr,local:br})=>{const li=Tn?()=>Tn(et):void 0,pi={id:et.id,isSelectable:et.isSelectable,extension:(0,i.S7)(et.ext),key:et.id,name:et.name,url:br?et.url:xr(et,!0),mime:et.mime,onEdit:Kn?()=>Kn(et):void 0,onSelect:li,onRemove:fr?()=>fr(et):void 0,selected:pn,size:Sr};return et.mime.includes(jn.Video)?(0,a.jsx)(fa,{...pi}):et.mime.includes(jn.Image)?(0,a.jsx)(si,{...pi,alt:et.alternativeText||et.name,height:et.height,thumbnail:(0,i.AZ)(et?.formats?.thumbnail?.url||et.url),width:et.width,updatedAt:et.updatedAt,isUrlSigned:et?.isUrlSigned||!1}):et.mime.includes(jn.Audio)?(0,a.jsx)(Kr,{...pi}):(0,a.jsx)(st,{...pi})};Aa.defaultProps={isSelected:!1,local:!1,onSelect:void 0,onEdit:void 0,onRemove:void 0,size:"M"},Aa.propTypes={asset:Qi.isRequired,local:c.bool,onSelect:c.func,onEdit:c.func,onRemove:c.func,isSelected:c.bool,size:c.oneOf(["S","M"])};const Es=({children:et,id:pn,index:Tn,moveItem:Kn})=>{const fr=(0,l.useRef)(null),[,Sr]=(0,yn.W)({accept:"draggable",hover(Bi){fr.current&&Bi.id!==pn&&(Kn(Bi.index,Tn),Bi.index=Tn)}}),[{isDragging:br},li]=(0,In.I)({type:"draggable",item(){return{index:Tn,id:pn}},collect:Bi=>({isDragging:Bi.isDragging()})}),pi=br?.2:1;return li(Sr(fr)),(0,a.jsx)("div",{ref:fr,style:{opacity:pi,cursor:"move"},children:et})};Es.propTypes={id:c.oneOfType([c.string,c.number]).isRequired,index:c.number.isRequired,children:c.node.isRequired,moveItem:c.func.isRequired};const ha=({allowedTypes:et,assets:pn,onEditAsset:Tn,onSelectAsset:Kn,selectedAssets:fr,size:Sr,onReorderAsset:br,title:li})=>(0,a.jsxs)(Ke.a,{tagName:"article",children:[li&&(0,a.jsx)(_.k,{paddingTop:2,paddingBottom:2,children:(0,a.jsx)(P.O,{as:"h2",variant:"delta",fontWeight:"semiBold",children:li})}),(0,a.jsx)(T.y,{gap:4,children:pn.map((pi,Bi)=>{const Fi=!!fr.find(Ii=>Ii.id===pi.id);return br?(0,a.jsx)(A.C,{col:3,height:"100%",children:(0,a.jsx)(Es,{index:Bi,moveItem:br,id:pi.id,children:(0,a.jsx)(Aa,{allowedTypes:et,asset:pi,isSelected:Fi,onEdit:Tn?()=>Tn(pi):void 0,onSelect:()=>Kn(pi),size:Sr})})},pi.id):(0,a.jsx)(A.C,{col:3,height:"100%",children:(0,a.jsx)(Aa,{allowedTypes:et,asset:pi,isSelected:Fi,onEdit:Tn?()=>Tn(pi):void 0,onSelect:()=>Kn(pi),size:Sr},pi.id)},pi.id)})})]});ha.defaultProps={allowedTypes:["images","files","videos","audios"],onEditAsset:void 0,size:"M",onReorderAsset:void 0,title:null},ha.propTypes={allowedTypes:c.arrayOf(c.string),assets:c.arrayOf(c.shape({})).isRequired,onEditAsset:c.func,onSelectAsset:c.func.isRequired,selectedAssets:c.arrayOf(c.shape({})).isRequired,size:c.oneOf(["S","M"]),onReorderAsset:c.func,title:c.string};const qa=({parentsToOmit:et,currentFolderId:pn,onChangeFolder:Tn})=>{const[Kn,fr]=(0,l.useState)(!1),{data:Sr,isLoading:br}=da({enabled:Kn}),{pathname:li}=(0,yr.IT)(),[{query:pi}]=(0,i.WK)(),{formatMessage:Bi}=(0,de.c)(),Fi=Sr&&Fn(Sr,pn),Ii=Fi&&Fi.filter(Ni=>!et.includes(Ni.id)&&Ni.id!==null);return(0,a.jsxs)(An,{onOpen:()=>fr(!0),onClose:()=>fr(!1),"aria-label":Bi({id:be("header.breadcrumbs.menu.label"),defaultMessage:"Get more ascendants folders"}),label:"...",children:[br&&(0,a.jsx)(Pt.IP,{children:(0,a.jsx)(Z.c,{small:!0,children:Bi({id:be("content.isLoading"),defaultMessage:"Content is loading."})})}),Ii&&Ii.map(Ni=>{if(Tn)return(0,a.jsx)(Pt.IP,{as:"button",type:"button",onClick:()=>Tn(Ni.id,Ni.path),children:Ni.label},Ni.id);const Ds=ut(li,pi,{folder:Ni?.id,folderPath:Ni?.path});return(0,a.jsx)(Pt.IP,{isLink:!0,as:Rr.Af,to:Ds,children:Ni.label},Ni.id)})]})};qa.defaultProps={currentFolderId:void 0,onChangeFolder:void 0,parentsToOmit:[]},qa.propTypes={currentFolderId:c.number,onChangeFolder:c.func,parentsToOmit:c.arrayOf(c.number)};const fo=({breadcrumbs:et,onChangeFolder:pn,currentFolderId:Tn,...Kn})=>{const{formatMessage:fr}=(0,de.c)();return(0,a.jsx)(on.M,{...Kn,children:et.map((Sr,br)=>{if(Array.isArray(Sr))return(0,a.jsx)(qa,{parentsToOmit:[...et].splice(br+1,et.length-1).map(pi=>pi.id),currentFolderId:Tn,onChangeFolder:pn},`breadcrumb-${Sr?.id??"menu"}`);const li=Sr.id===null&&Tn===void 0;return Tn!==Sr.id&&!li?(0,a.jsx)(Yt,{as:pn?"button":Rr.Af,type:pn&&"button",to:pn?void 0:Sr.href,onClick:pn&&(()=>pn(Sr.id,Sr.path)),children:Sr.label?.id?fr(Sr.label):Sr.label},`breadcrumb-${Sr?.id??"root"}`):(0,a.jsx)($t.i,{isCurrent:br+1===et.length,children:Sr.label?.id?fr(Sr.label):Sr.label},`breadcrumb-${Sr?.id??"root"}`)})})};fo.defaultProps={currentFolderId:void 0,onChangeFolder:void 0},fo.propTypes={breadcrumbs:bs.isRequired,currentFolderId:c.number,onChangeFolder:c.func};const Wa=(0,B.cp)(_.k)`
  background: linear-gradient(
    180deg,
    rgba(234, 234, 239, 0) 0%,
    ${({theme:et})=>et.colors.neutral200} 100%
  );
  opacity: 0.33;
`,Wo={S:180,M:250},ou={S:138,M:234},Io=(0,B.cp)(_.k)`
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(${({size:et})=>`${Wo[et]}px`}, 1fr));
  grid-gap: ${({theme:et})=>et.spaces[4]};
`,uu=({count:et,size:pn})=>(0,a.jsx)(Io,{size:pn,children:Array(et).fill(null).map((Tn,Kn)=>(0,a.jsx)(Wa,{height:`${ou[pn]}px`,hasRadius:!0},`empty-asset-card-${Kn}`))});uu.propTypes={count:c.number.isRequired,size:c.string.isRequired};const Ta=({icon:et,content:pn,action:Tn,size:Kn,count:fr})=>(0,a.jsxs)(_.k,{position:"relative",children:[(0,a.jsx)(uu,{size:Kn,count:fr}),(0,a.jsx)(_.k,{position:"absolute",top:11,width:"100%",children:(0,a.jsxs)(R.C,{direction:"column",alignItems:"center",gap:4,textAlign:"center",children:[(0,a.jsxs)(R.C,{direction:"column",alignItems:"center",gap:6,children:[(0,a.jsx)(M.G,{as:et||Ui.c,color:"",width:"160px",height:"88px"}),(0,a.jsx)(P.O,{variant:"delta",as:"p",textColor:"neutral600",children:pn})]}),Tn]})})]});Ta.defaultProps={action:void 0,icon:void 0,size:"M",count:12},Ta.propTypes={action:c.node,icon:c.func,content:c.string.isRequired,size:c.string,count:c.number};const fu=(0,l.createContext)({});function Zl(){return(0,l.useContext)(fu)}let Pu=0;const Zc=()=>++Pu,Yu=et=>(0,l.useRef)(`${et}-${Zc()}`).current,Cc=B.cp.button`
  height: 100%;
  left: 0;
  position: absolute;
  opacity: 0;
  top: 0;
  width: 100%;

  &:hover,
  &:focus {
    text-decoration: none;
  }
`,L0=(0,B.cp)(rn.c)`
  path {
    fill: currentColor;
  }
`,Xc=(0,B.cp)(_.k)`
  display: none;
`,rc=(0,B.cp)(_.k)`
  &:hover,
  &:focus-within {
    ${Xc} {
      display: ${({isCardActions:et})=>et?"block":""};
    }
  }
`,Sl=(0,l.forwardRef)(({children:et,id:pn,startAction:Tn,cardActions:Kn,ariaLabel:fr,onClick:Sr,to:br,...li},pi)=>{const Bi=Yu(pn),Fi=(0,l.useMemo)(()=>({id:Bi}),[Bi]);return(0,a.jsx)(fu.Provider,{value:Fi,children:(0,a.jsxs)(rc,{position:"relative",tabIndex:0,isCardActions:!!Kn,ref:pi,...li,children:[(0,a.jsx)(Cc,{to:br||void 0,as:br?Rr.Af:"button",type:br?void 0:"button",onClick:Sr,tabIndex:-1,"aria-label":fr,"aria-hidden":!0}),(0,a.jsxs)(R.C,{hasRadius:!0,borderStyle:"solid",borderWidth:"1px",borderColor:"neutral150",background:"neutral0",shadow:"tableShadow",padding:3,gap:2,cursor:"pointer",children:[Tn,(0,a.jsx)(_.k,{hasRadius:!0,background:"secondary100",color:"secondary500",paddingBottom:2,paddingLeft:3,paddingRight:3,paddingTop:2,children:(0,a.jsx)(L0,{width:(0,i.W8)(24),height:(0,i.W8)(24)})}),et,(0,a.jsx)(Xc,{children:(0,a.jsx)(ye,{right:4,children:Kn})})]})]})})});Sl.defaultProps={id:void 0,cardActions:null,startAction:null,to:void 0,onClick:void 0},Sl.propTypes={ariaLabel:c.string.isRequired,children:c.node.isRequired,id:c.string,onClick:c.func,startAction:c.element,cardActions:c.element,to:c.string};const B0=(0,B.cp)(R.C)`
  user-select: none;
`,Tl=et=>{const{id:pn}=Zl();return(0,a.jsx)(B0,{...et,id:`${pn}-title`,alignItems:"flex-start",direction:"column",maxWidth:"100%",overflow:"hidden",position:"relative"})},z0=(0,B.cp)(_.k)`
  &:focus {
    outline: 2px solid ${({theme:et})=>et.colors.primary600};
    outline-offset: -2px;
  }
`,Jc=(0,B.cp)(z0)`
  text-decoration: none;
`,Ra=({to:et,...pn})=>et?(0,a.jsx)(Jc,{padding:1,as:Rr.Af,maxWidth:"100%",to:et,...pn}):(0,a.jsx)(z0,{padding:1,as:"button",type:"button",maxWidth:"100%",...pn});Ra.defaultProps={to:void 0},Ra.propTypes={to:c.string};const xs=({title:et,children:pn})=>(0,a.jsxs)(Ke.a,{tagName:"article",children:[et&&(0,a.jsx)(_.k,{paddingBottom:2,children:(0,a.jsx)(P.O,{as:"h2",variant:"delta",fontWeight:"semiBold",children:et})}),(0,a.jsx)(T.y,{gap:4,children:pn})]});xs.defaultProps={title:null},xs.propTypes={children:c.node.isRequired,title:c.string};const hu=({onChangeSort:et,value:pn})=>{const{formatMessage:Tn}=(0,de.c)();return(0,a.jsx)(bt.K_,{size:"S",value:pn,onChange:Kn=>et(Kn),"aria-label":Tn({id:be("sort.label"),defaultMessage:"Sort by"}),placeholder:Tn({id:be("sort.label"),defaultMessage:"Sort by"}),children:ca.map(Kn=>(0,a.jsx)(bt.kH,{value:Kn.value,children:Tn({id:be(Kn.key),defaultMessage:`${Kn.value}`})},Kn.key))})};hu.defaultProps={value:void 0},hu.propTypes={onChangeSort:c.func.isRequired,value:c.string};const cl=(0,B.cp)(_.k)`
  figure {
    width: ${({theme:et})=>et.spaces[7]};
    height: ${({theme:et})=>et.spaces[7]};
  }

  canvas,
  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }
`,Do=({type:et,content:pn})=>{if(et==="folder")return(0,a.jsx)(yt.s,{background:"secondary100",textColor:"secondary600",children:(0,a.jsx)(M.G,{color:"secondary500",width:(0,i.W8)(16),height:(0,i.W8)(16),as:rn.c})});const{alternativeText:Tn,ext:Kn,formats:fr,mime:Sr,name:br,url:li}=pn;if(Sr.includes(jn.Image)){const pi=(0,i.AZ)(fr?.thumbnail?.url)??(0,i.AZ)(li);return(0,a.jsx)(yt.C,{src:pi,alt:Tn,preview:!0})}return Sr.includes(jn.Video)?(0,a.jsx)(cl,{children:(0,a.jsx)(Ri,{url:xr(pn,!0),mime:Sr,alt:Tn??br})}):(0,a.jsx)(yt.s,{background:"secondary100",textColor:"secondary600",children:(0,i.S7)(Kn)})};Do.propTypes={content:c.shape({alternativeText:c.string,ext:c.string,formats:c.shape({thumbnail:c.shape({url:c.string})}),mime:c.string,name:c.string,url:c.string}).isRequired,type:c.string.isRequired};const D0=({cellType:et,contentType:pn,content:Tn,name:Kn})=>{const{formatDate:fr,formatMessage:Sr}=(0,de.c)();switch(et){case"image":return(0,a.jsx)(Do,{type:pn,content:Tn});case"date":return(0,a.jsx)(P.O,{children:fr((0,Xr.c)(Tn[Kn]),{dateStyle:"full"})});case"size":return pn==="folder"?(0,a.jsx)(P.O,{"aria-label":Sr({id:"list.table.content.empty-label",defaultMessage:"This field is empty"}),children:"-"}):(0,a.jsx)(P.O,{children:jr(Tn[Kn])});case"ext":return pn==="folder"?(0,a.jsx)(P.O,{"aria-label":Sr({id:"list.table.content.empty-label",defaultMessage:"This field is empty"}),children:"-"}):(0,a.jsx)(P.O,{children:(0,i.S7)(Tn[Kn]).toUpperCase()});case"text":return(0,a.jsx)(P.O,{children:Tn[Kn]});default:return(0,a.jsx)(P.O,{"aria-label":Sr({id:"list.table.content.empty-label",defaultMessage:"This field is empty"}),children:"-"})}};D0.propTypes={cellType:c.string.isRequired,contentType:c.string.isRequired,content:c.shape({alternativeText:c.string,ext:c.string,formats:c.shape({thumbnail:c.shape({url:c.string})}),mime:c.string,url:c.string}).isRequired,name:c.string.isRequired};const jl=({onChangeFolder:et,onEditAsset:pn,onEditFolder:Tn,onSelectOne:Kn,rows:fr,selected:Sr})=>{const{formatMessage:br}=(0,de.c)(),li=(pi,Bi,Fi,Ii)=>{Bi==="asset"?pn(pi):et(Fi,Ii)};return(0,a.jsx)(It.K,{children:fr.map(pi=>{const{path:Bi,id:Fi,isSelectable:Ii,name:Ni,folderURL:Ds,type:ds}=pi,Gs=!!Sr.find(Fs=>Fs.id===Fi&&Fs.type===ds);return(0,a.jsxs)(_t.Tr,{...(0,i.on)({fn:()=>li(pi,ds,Fi,Bi)}),children:[(0,a.jsx)(zt.Td,{onClick:Fs=>Fs.stopPropagation(),children:(0,a.jsx)(ce.c,{"aria-label":br({id:ds==="asset"?"list-assets-select":"list.folder.select",defaultMessage:ds==="asset"?"Select {name} asset":"Select {name} folder"},{name:Ni}),disabled:!Ii,onValueChange:()=>Kn(pi),checked:Gs})}),za.map(({name:Fs,type:$s})=>(0,a.jsx)(zt.Td,{children:(0,a.jsx)(D0,{content:pi,cellType:$s,contentType:ds,name:Fs})},Fs)),(0,a.jsx)(zt.Td,{...i.Ii,children:(0,a.jsxs)(R.C,{justifyContent:"flex-end",children:[ds==="folder"&&(0,a.jsx)(N.w,{as:Ds?Rr.cH:void 0,label:br({id:be("list.folders.link-label"),defaultMessage:"Access folder"}),to:Ds,onClick:()=>!Ds&&et(Fi),noBorder:!0,children:(0,a.jsx)($n.c,{})}),(0,a.jsx)(N.w,{label:br({id:be("control-card.edit"),defaultMessage:"Edit"}),onClick:()=>ds==="asset"?pn(pi):Tn(pi),noBorder:!0,children:(0,a.jsx)(ii.c,{})})]})})]},Fi)})})};jl.defaultProps={onChangeFolder:null,rows:[],selected:[]},jl.propTypes={onChangeFolder:c.func,onEditAsset:c.func.isRequired,onEditFolder:c.func.isRequired,onSelectOne:c.func.isRequired,rows:c.arrayOf(Qi,ni),selected:c.arrayOf(Qi,ni)};const nl=({assetCount:et,folderCount:pn,indeterminate:Tn,onChangeSort:Kn,onChangeFolder:fr,onEditAsset:Sr,onEditFolder:br,onSelectAll:li,onSelectOne:pi,rows:Bi,selected:Fi,shouldDisableBulkSelect:Ii,sortQuery:Ni})=>{const{formatMessage:Ds}=(0,de.c)(),[ds,Gs]=Ni.split(":"),Fs=($s,oa)=>{const ba=`${oa}:${$s&&Gs==="ASC"?"DESC":"ASC"}`;Kn(ba)};return(0,a.jsxs)(Vt.o,{colCount:za.length+2,rowCount:et+pn+1,children:[(0,a.jsx)(St.o,{children:(0,a.jsxs)(_t.Tr,{children:[(0,a.jsx)(zt.Th,{children:(0,a.jsx)(ce.c,{"aria-label":Ds({id:be("bulk.select.label"),defaultMessage:"Select all folders & assets"}),disabled:Ii,indeterminate:Tn&&!Ii,onChange:$s=>li($s,Bi),value:(et>0||pn>0)&&Fi.length===et+pn})}),za.map(({metadatas:{label:$s,isSortable:oa},name:to,key:ba})=>{const pa=ds===to,Lo=Gs==="ASC",su=Ds($s),uo=Ds({id:"list.table.header.sort",defaultMessage:"Sort on {label}"},{label:su});return(0,a.jsx)(zt.Th,{action:pa&&(0,a.jsx)(N.w,{label:uo,onClick:()=>Fs(pa,to),noBorder:!0,children:Lo?(0,a.jsx)(Jr,{}):(0,a.jsx)(cn.c,{})}),children:(0,a.jsx)(Xt.o,{label:oa?uo:su,children:oa?(0,a.jsx)(P.O,{onClick:()=>Fs(pa,to),as:pa?"span":"button",label:pa?"":uo,textColor:"neutral600",variant:"sigma",children:su}):(0,a.jsx)(P.O,{textColor:"neutral600",variant:"sigma",children:su})})},ba)}),(0,a.jsx)(zt.Th,{children:(0,a.jsx)(Q.K,{children:Ds({id:be("list.table.header.actions"),defaultMessage:"actions"})})})]})}),(0,a.jsx)(jl,{onChangeFolder:fr,onEditAsset:Sr,onEditFolder:br,rows:Bi,onSelectOne:pi,selected:Fi})]})};nl.defaultProps={assetCount:0,folderCount:0,indeterminate:!1,onChangeSort:null,onChangeFolder:null,onEditAsset:null,onEditFolder:null,rows:[],selected:[],shouldDisableBulkSelect:!1,sortQuery:""},nl.propTypes={assetCount:c.number,folderCount:c.number,indeterminate:c.bool,onChangeSort:c.func,onChangeFolder:c.func,onEditAsset:c.func,onEditFolder:c.func,onSelectAll:c.func.isRequired,onSelectOne:c.func.isRequired,rows:c.arrayOf(Qi,ni),selected:c.arrayOf(Qi,ni),shouldDisableBulkSelect:c.bool,sortQuery:c.string};const Ml=[{name:"createdAt",fieldSchema:{type:"date"},metadatas:{label:"createdAt"}},{name:"updatedAt",fieldSchema:{type:"date"},metadatas:{label:"updatedAt"}},{name:"mime",fieldSchema:{type:"enumeration",options:[{label:"audio",value:"audio"},{label:"file",value:"file"},{label:"image",value:"image"},{label:"video",value:"video"}]},metadatas:{label:"type"}}],ic=({attribute:et,filter:pn,onClick:Tn,operator:Kn,value:fr})=>{const{formatMessage:Sr,formatDate:br,formatTime:li}=(0,de.c)(),pi=()=>{Tn(pn)},{fieldSchema:Bi}=et,Fi=Bi.type;let Ii=fr;if(Fi==="date"&&(Ii=br(fr,{dateStyle:"full"})),Fi==="datetime"&&(Ii=br(fr,{dateStyle:"full",timeStyle:"short"})),Fi==="time"){const[Ds,ds]=fr.split(":"),Gs=new Date;Gs.setHours(Ds),Gs.setMinutes(ds),Ii=li(Gs,{numeric:"auto",style:"short"})}const Ni=`${et.metadatas.label} ${Sr({id:`components.FilterOptions.FILTER_TYPES.${Kn}`,defaultMessage:Kn})} ${Ii}`;return(0,a.jsx)(_.k,{padding:1,children:(0,a.jsx)(jt.E,{onClick:pi,icon:(0,a.jsx)(At.c,{}),children:Ni})})};ic.propTypes={attribute:c.shape({name:c.string.isRequired,fieldSchema:c.object.isRequired,metadatas:c.shape({label:c.string.isRequired}).isRequired}).isRequired,filter:c.object.isRequired,onClick:c.func.isRequired,operator:c.string.isRequired,value:c.string.isRequired};const Qu=({appliedFilters:et,filtersSchema:pn,onRemoveFilter:Tn})=>{const Kn=fr=>{const Sr=et.filter(br=>{const li=Object.keys(fr)[0],pi=Object.keys(fr[li])[0],Bi=fr[li][pi];return br[li]?.[pi]!==Bi});Tn(Sr)};return et.map((fr,Sr)=>{const br=Object.keys(fr)[0],li=pn.find(({name:Ni})=>Ni===br),pi=fr[br],Bi=Object.keys(pi)[0];let Fi=pi[Bi],Ii=Bi;return li.name==="mime"&&(Ii=Bi==="$contains"?"$eq":"$ne",Bi==="$not"&&(Fi="file",Ii="$eq"),["image","video"].includes(Fi[0])&&["image","video"].includes(Fi[1])&&(Fi="file",Ii="$ne")),(0,a.jsx)(ic,{attribute:li,filter:fr,onClick:Kn,operator:Ii,value:Fi},`${br}-${Sr}`)})};Qu.defaultProps={filtersSchema:[]},Qu.propTypes={appliedFilters:c.array.isRequired,filtersSchema:c.arrayOf(c.shape({name:c.string.isRequired,metadatas:c.shape({label:c.string}),fieldSchema:c.shape({type:c.string,mainField:c.shape({name:c.string,type:c.string})})})),onRemoveFilter:c.func.isRequired};const l0=({label:et,onChange:pn,options:Tn,type:Kn,value:fr})=>{const{formatMessage:Sr}=(0,de.c)();return Kn==="date"?(0,a.jsx)(sn.q,{clearLabel:Sr({id:"clearLabel",defaultMessage:"Clear"}),ariaLabel:et,name:"datetimepicker",onChange:br=>{const li=br?new Date(br).toISOString():"";pn(li)},onClear:()=>pn(""),value:fr?new Date(fr):void 0,selectedDateLabel:br=>`Date picker, current is ${br}`,selectButtonTitle:Sr({id:"selectButtonTitle",defaultMessage:"Select"})}):(0,a.jsx)(dt.M,{"aria-label":et,onChange:pn,value:fr,children:Tn.map(br=>(0,a.jsx)(Ln.c,{value:br.value,children:br.label},br.value))})};l0.defaultProps={label:"",options:[],value:""},l0.propTypes={label:c.string,onChange:c.func.isRequired,options:c.arrayOf(c.shape({label:c.string.isRequired,value:c.string.isRequired})),type:c.string.isRequired,value:c.any};const qc=({fieldSchema:{type:et,mainField:pn}})=>{switch(pn?.schema.type?pn.schema.type:et){case"enumeration":return[{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eq",defaultMessage:"is"},value:"$contains"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$ne",defaultMessage:"is not"},value:"$notContains"}];case"date":return[{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eq",defaultMessage:"is"},value:"$eq"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$ne",defaultMessage:"is not"},value:"$ne"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$gt",defaultMessage:"is greater than"},value:"$gt"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$gte",defaultMessage:"is greater than or equal to"},value:"$gte"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$lt",defaultMessage:"is less than"},value:"$lt"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$lte",defaultMessage:"is less than or equal to"},value:"$lte"}];default:return[{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eq",defaultMessage:"is"},value:"$eq"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$eqi",defaultMessage:"is (case insensitive)"},value:"$eqi"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$ne",defaultMessage:"is not"},value:"$ne"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$null",defaultMessage:"is null"},value:"$null"},{intlLabel:{id:"components.FilterOptions.FILTER_TYPES.$notNull",defaultMessage:"is not null"},value:"$notNull"}]}},dc=({displayedFilters:et,filters:pn,onSubmit:Tn,onToggle:Kn,source:fr})=>{const{formatMessage:Sr}=(0,de.c)(),[br,li]=(0,l.useState)({name:"createdAt",filter:"$eq",value:""}),pi=Ni=>{const Ds=et.find(oa=>oa.name===Ni),{fieldSchema:{type:ds,options:Gs}}=Ds;let Fs="";ds==="enumeration"&&(Fs=Gs[0].value);const $s=qc(Ds)[0].value;li({name:Ni,filter:$s,value:Fs})},Bi=Ni=>{br.name==="mime"?li(Ds=>({...Ds,filter:Ni,value:"image"})):li(Ds=>({...Ds,filter:Ni,value:""}))},Fi=Ni=>{if(Ni.preventDefault(),Ni.stopPropagation(),br.value){if(br.name==="mime"){const ds=pn.filter(pa=>Object.keys(pa)[0]==="mime");if(br.value==="file"){const pa=pn.filter(yo=>Object.keys(yo)[0]!=="mime");let Lo=!1,su;if(br.filter==="$contains"?(Lo=ds.find(yo=>yo.mime?.$not?.$contains!==void 0)!==void 0,su={mime:{$not:{$contains:["image","video"]}}}):(Lo=ds.find(yo=>Array.isArray(yo.mime?.$contains))!==void 0,su={mime:{$contains:["image","video"]}}),Lo){Kn();return}const uo=[...pa,su];Tn(uo),Kn();return}if(ds.find(pa=>pa.mime[br.filter]===br.value)!==void 0){Kn();return}const Fs=pn.filter(pa=>Object.keys(pa)[0]!=="mime"?!0:!(pa.mime?.$not?.$contains!==void 0||Array.isArray(pa?.mime?.$contains))),$s=br.filter==="$contains"?"$notContains":"$contains",oa=Fs.findIndex(pa=>pa.mime?.[$s]===br.value),to=oa!==-1;let ba={[br.name]:{[br.filter]:br.value}};if(!to){const pa=[...Fs,ba];Tn(pa),Kn();return}if(to){const pa=Fs.slice();pa.splice(oa,1,ba),Tn(pa),Kn()}return}if(!(pn.find(ds=>ds[br.name]&&ds[br.name]?.[br.filter]===br.value)!==void 0)){let ds={[br.name]:{[br.filter]:br.value}};const Gs=[...pn,ds];Tn(Gs)}}Kn()},Ii=et.find(Ni=>Ni.name===br.name);return(0,a.jsx)(fn._k,{onDismiss:Kn,source:fr,padding:3,spacing:4,children:(0,a.jsx)("form",{onSubmit:Fi,children:(0,a.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:1,style:{minWidth:184},children:[(0,a.jsx)(_.k,{children:(0,a.jsx)(dt.M,{"aria-label":Sr({id:"app.utils.select-field",defaultMessage:"Select field"}),name:"name",size:"M",onChange:pi,value:br.name,children:et.map(Ni=>(0,a.jsx)(Ln.c,{value:Ni.name,children:Ni.metadatas.label},Ni.name))})}),(0,a.jsx)(_.k,{children:(0,a.jsx)(dt.M,{"aria-label":Sr({id:"app.utils.select-filter",defaultMessage:"Select filter"}),name:"filter",size:"M",value:br.filter,onChange:Bi,children:qc(Ii).map(Ni=>(0,a.jsx)(Ln.c,{value:Ni.value,children:Sr(Ni.intlLabel)},Ni.value))})}),(0,a.jsx)(_.k,{children:(0,a.jsx)(l0,{...Ii.metadatas,...Ii.fieldSchema,value:br.value,onChange:Ni=>li(Ds=>({...Ds,value:Ni}))})}),(0,a.jsx)(_.k,{children:(0,a.jsx)(K.Z,{size:"L",variant:"secondary",startIcon:(0,a.jsx)(mt.c,{}),type:"submit",fullWidth:!0,children:Sr({id:"app.utils.add-filter",defaultMessage:"Add filter"})})})]})})})};dc.propTypes={displayedFilters:c.arrayOf(c.shape({name:c.string.isRequired,metadatas:c.shape({label:c.string}),fieldSchema:c.shape({type:c.string})})).isRequired,filters:c.array.isRequired,onSubmit:c.func.isRequired,onToggle:c.func.isRequired,source:c.shape({current:c.instanceOf(Element)}).isRequired};const c0=({appliedFilters:et,onChangeFilters:pn})=>{const Tn=(0,l.useRef)(null),[Kn,fr]=(0,l.useState)(!1),{formatMessage:Sr}=(0,de.c)(),br=()=>fr(li=>!li);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(K.Z,{variant:"tertiary",ref:Tn,startIcon:(0,a.jsx)(we.c,{}),onClick:br,size:"S",children:Sr({id:"app.utils.filters",defaultMessage:"Filters"})}),Kn&&(0,a.jsx)(dc,{displayedFilters:Ml,filters:et,onSubmit:pn,onToggle:br,source:Tn}),et&&(0,a.jsx)(Qu,{appliedFilters:et,filtersSchema:Ml,onRemoveFilter:pn})]})};c0.propTypes={appliedFilters:c.array.isRequired,onChangeFilters:c.func.isRequired};const fc=({onChangePageSize:et,pageSize:pn})=>{const{formatMessage:Tn}=(0,de.c)(),Kn=fr=>{et(fr)};return(0,a.jsxs)(R.C,{children:[(0,a.jsxs)(dt.M,{size:"S","aria-label":Tn({id:"components.PageFooter.select",defaultMessage:"Entries per page"}),onChange:Kn,value:pn.toString(),children:[(0,a.jsx)(Ln.c,{value:"10",children:"10"}),(0,a.jsx)(Ln.c,{value:"20",children:"20"}),(0,a.jsx)(Ln.c,{value:"50",children:"50"}),(0,a.jsx)(Ln.c,{value:"100",children:"100"})]}),(0,a.jsx)(_.k,{paddingLeft:2,children:(0,a.jsx)(P.O,{textColor:"neutral600",as:"label",htmlFor:"page-size",children:Tn({id:"components.PageFooter.select",defaultMessage:"Entries per page"})})})]})};fc.propTypes={onChangePageSize:c.func.isRequired,pageSize:c.number.isRequired};const Zu=(0,l.createContext)({activePage:1,pageCount:1}),vu=()=>(0,l.useContext)(Zu),Tu=(0,B.cp)(P.O)`
  line-height: revert;
`,vl=B.cp.button`
  padding: ${({theme:et})=>et.spaces[3]};
  border-radius: ${({theme:et})=>et.borderRadius};
  box-shadow: ${({active:et,theme:pn})=>et?pn.shadows.filterShadow:void 0};
  text-decoration: none;
  display: flex;

  ${cr.Md}
`;vl.defaultProps={type:"button"};const Zo=(0,B.cp)(vl)`
  color: ${({theme:et,active:pn})=>pn?et.colors.primary700:et.colors.neutral800};
  background: ${({theme:et,active:pn})=>pn?et.colors.neutral0:void 0};

  &:hover {
    box-shadow: ${({theme:et})=>et.shadows.filterShadow};
  }
`,aa=(0,B.cp)(vl)`
  font-size: 0.7rem;
  svg path {
    fill: ${et=>et["aria-disabled"]?et.theme.colors.neutral300:et.theme.colors.neutral600};
  }

  &:focus,
  &:hover {
    svg path {
      fill: ${et=>et["aria-disabled"]?et.theme.colors.neutral300:et.theme.colors.neutral700};
    }
  }

  ${et=>et["aria-disabled"]?`
  pointer-events: none;
    `:void 0}
`,e0=(0,B.cp)(vl)`
  color: ${({theme:et})=>et.colors.neutral800};
`,Ic=({children:et,...pn})=>{const{activePage:Tn}=vu(),Kn=Tn===1;return(0,a.jsx)("li",{children:(0,a.jsxs)(aa,{"aria-disabled":Kn,tabIndex:Kn?-1:void 0,...pn,children:[(0,a.jsx)(Q.K,{children:et}),(0,a.jsx)(je.c,{"aria-hidden":!0})]})})},kc=({children:et,...pn})=>{const{activePage:Tn,pageCount:Kn}=vu(),fr=Tn===Kn;return(0,a.jsx)("li",{children:(0,a.jsxs)(aa,{"aria-disabled":fr,tabIndex:fr?-1:void 0,...pn,children:[(0,a.jsx)(Q.K,{children:et}),(0,a.jsx)(pt.c,{"aria-hidden":!0})]})})},eu=({number:et,children:pn,...Tn})=>{const{activePage:Kn}=vu(),fr=Kn===et;return(0,a.jsx)("li",{children:(0,a.jsxs)(Zo,{...Tn,active:fr,children:[(0,a.jsx)(Q.K,{children:pn}),(0,a.jsx)(Tu,{"aria-hidden":!0,variant:"pi",fontWeight:fr?"bold":"",children:et})]})})},Dl=({children:et,...pn})=>(0,a.jsx)("li",{children:(0,a.jsxs)(e0,{...pn,as:"div",children:[(0,a.jsx)(Q.K,{children:et}),(0,a.jsx)(Tu,{"aria-hidden":!0,small:!0,children:"\u2026"})]})});eu.propTypes={children:c.node.isRequired,number:c.number.isRequired};const d0={children:c.node.isRequired};kc.propTypes=d0,Ic.propTypes=d0,Dl.propTypes={children:c.node.isRequired};const Al=({children:et,label:pn,activePage:Tn,pageCount:Kn})=>{const fr=(0,l.useMemo)(()=>({activePage:Tn,pageCount:Kn}),[Tn,Kn]);return(0,a.jsx)(Zu.Provider,{value:fr,children:(0,a.jsx)(_.k,{as:"nav","aria-label":pn,children:(0,a.jsx)(R.C,{as:"ul",gap:1,children:et})})})};Al.defaultProps={label:"pagination"},Al.propTypes={activePage:c.number.isRequired,children:c.node.isRequired,label:c.string,pageCount:c.number.isRequired};const Sc=({activePage:et,onChangePage:pn,pagination:{pageCount:Tn}})=>{const{formatMessage:Kn}=(0,de.c)(),fr=et-1,Sr=et+1,br=[(0,a.jsx)(eu,{number:1,onClick:()=>{pn(1)},children:Kn({id:"components.pagination.go-to",defaultMessage:"Go to page {page}"},{page:1})},1)];if(Tn<=4){const Gs=Array.from({length:Tn}).map((Fs,$s)=>$s+1).map(Fs=>(0,a.jsx)(eu,{number:Fs,onClick:()=>pn(Fs),children:Kn({id:"components.pagination.go-to",defaultMessage:"Go to page {page}"},{page:Fs})},Fs));return(0,a.jsxs)(Al,{activePage:et,pageCount:Tn,children:[(0,a.jsx)(Ic,{onClick:()=>pn(fr),children:Kn({id:"components.pagination.go-to-previous",defaultMessage:"Go to previous page"})}),Gs,(0,a.jsx)(kc,{onClick:()=>pn(Sr),children:Kn({id:"components.pagination.go-to-next",defaultMessage:"Go to next page"})})]})}let li=[],pi=[],Bi=[];const Fi=[];Tn>1&&pi.push((0,a.jsx)(eu,{number:Tn,onClick:()=>pn(Tn),children:Kn({id:"components.pagination.go-to",defaultMessage:"Go to page {page}"},{page:Tn})},Tn)),et===1&&Tn>=3&&(li=[2]),et===2&&Tn>=3&&(Tn===5?li=[2,3,4]:Tn===3?li=[2]:li=[2,3]),et===4&&Tn>=3&&(li=[2]),et===Tn&&Tn>=3&&(Bi=[Tn-1]),et===Tn-2&&Tn>3&&(Bi=[et+1,et,et-1]),et===Tn-3&&Tn>3&&et>5&&(Bi=[et+2,et+1,et,et-1]),et===Tn-1&&Tn>3&&(Bi=[et,et-1]),Bi.forEach(Gs=>{pi.unshift((0,a.jsxs)(eu,{number:Gs,onClick:()=>pn(Gs),children:["Go to page ",Gs]},Gs))}),li.forEach(Gs=>{br.push((0,a.jsx)(eu,{number:Gs,onClick:()=>pn(Gs),children:Kn({id:"components.pagination.go-to",defaultMessage:"Go to page {page}"},{page:Gs})},Gs))}),![1,2].includes(et)&&et<=Tn-3&&br.length+pi.length<6&&[et-1,et,et+1].forEach(Fs=>{Fi.push((0,a.jsx)(eu,{number:Fs,onClick:()=>pn(Fs),children:Kn({id:"components.pagination.go-to",defaultMessage:"Go to page {page}"},{page:Fs})},Fs))});const Ii=Tn>5||Tn===5&&(et===1||et===5),Ni=Fi.length>2&&et>4&&Tn>5,Ds=Ni?Tn-et-1:Tn-br.length-pi.length,ds=Ni?Tn-br.length-pi.length:Tn-et-1;return(0,a.jsxs)(Al,{activePage:et,pageCount:Tn,children:[(0,a.jsx)(Ic,{onClick:()=>pn(fr),children:Kn({id:"components.pagination.go-to-previous",defaultMessage:"Go to previous page"})}),br,Ni&&(0,a.jsx)(Dl,{children:Kn({id:"components.pagination.remaining-links",defaultMessage:"And {number} other links"},{number:Ds})}),Fi,Ii&&(0,a.jsx)(Dl,{children:Kn({id:"components.pagination.remaining-links",defaultMessage:"And {number} other links"},{number:ds})}),pi,(0,a.jsx)(kc,{onClick:()=>pn(Sr),children:Kn({id:"components.pagination.go-to-next",defaultMessage:"Go to next page"})})]})};Sc.propTypes={activePage:c.number.isRequired,onChangePage:c.func.isRequired,pagination:c.shape({pageCount:c.number.isRequired}).isRequired};const Uc=({onChangeSearch:et,queryValue:pn})=>{const{formatMessage:Tn}=(0,de.c)(),{trackUsage:Kn}=(0,i.m4)(),[fr,Sr]=(0,l.useState)(!!pn),[br,li]=(0,l.useState)(pn||""),pi=(0,l.useRef)(null);(0,l.useLayoutEffect)(()=>{fr&&setTimeout(()=>{pi.current.querySelector("input").focus()},0)},[fr]);const Bi=()=>{Sr(Ni=>!Ni)},Fi=()=>{Bi(),et(null)},Ii=Ni=>{Ni.preventDefault(),Ni.stopPropagation(),Kn("didSearchMediaLibraryElements",{location:"content-manager"}),et(br)};return fr?(0,a.jsx)("div",{ref:pi,children:(0,a.jsx)(wr.y,{onSubmit:Ii,children:(0,a.jsx)(Jn.E,{name:"search",onClear:Fi,onChange:Ni=>li(Ni.target.value),clearLabel:Tn({id:be("search.clear.label"),defaultMessage:"Clear the search"}),size:"S",value:br,placeholder:Tn({id:be("search.placeholder"),defaultMessage:"e.g: the first dog on the moon"}),children:Tn({id:be("search.label"),defaultMessage:"Search for an asset"})})})}):(0,a.jsx)(N.w,{icon:(0,a.jsx)(at.c,{}),label:"Search",onClick:Bi})};Uc.defaultProps={queryValue:null},Uc.propTypes={onChangeSearch:c.func.isRequired,queryValue:c.string};const eo=(et,pn="")=>{if(!pn)return!1;const Tn=pn.split("/")[0];return et.includes(Tn)||et.includes("file")&&!["video","image","audio"].includes(Tn)},sc=(0,B.cp)(P.O)`
  max-width: 100%;
`,Eu=(0,B.cp)(_.k)`
  svg {
    path {
      fill: ${({theme:et})=>et.colors.neutral500};
    }
  }
`,Lu=({allowedTypes:et,assets:pn,canCreate:Tn,canRead:Kn,folders:fr,multiple:Sr,onAddAsset:br,onChangeFilters:li,onChangePage:pi,onChangePageSize:Bi,onChangeSearch:Fi,onChangeSort:Ii,onChangeFolder:Ni,onEditAsset:Ds,onEditFolder:ds,onSelectAllAsset:Gs,onSelectAsset:Fs,pagination:$s,queryObject:oa,selectedAssets:to})=>{const{formatMessage:ba}=(0,de.c)(),[pa,Lo]=(0,i.Mb)(Uo.modalView,Za.GRID),su=pa===Za.GRID,{data:uo,isLoading:yo}=bc(oa?.folder,{enabled:Kn&&!!oa?.folder}),lu=ln(et),Be=pn.map(Er=>({...Er,isSelectable:eo(lu,Er?.mime),type:"asset"})),vt=!yo&&Ue(uo),xt=js(et,Be),Zt=xt.length>0&&to.length>0&&xt.every(Er=>to.findIndex(Ti=>Ti.id===Er.id)!==-1),He=xt.some(Er=>to.findIndex(Ti=>Ti.id===Er.id)!==-1),Pn=!!oa?._q,Xn=oa?.filters?.$and?.length>0,Qt=Pn||Xn,Bn=Be.length,ir=fr.length,Pr=(...Er)=>{Fi(""),Ni(...Er)};return(0,a.jsxs)(_.k,{children:[Gs&&(0,a.jsx)(_.k,{paddingBottom:4,children:(0,a.jsxs)(R.C,{justifyContent:"space-between",alignItems:"flex-start",children:[(Bn>0||ir>0||Xn)&&(0,a.jsxs)(R.C,{gap:2,wrap:"wrap",children:[Sr&&su&&(0,a.jsx)(R.C,{paddingLeft:2,paddingRight:2,background:"neutral0",hasRadius:!0,borderColor:"neutral200",height:`${32/16}rem`,children:(0,a.jsx)(ce.c,{"aria-label":ba({id:be("bulk.select.label"),defaultMessage:"Select all assets"}),indeterminate:!Zt&&He,value:Zt,onChange:Gs})}),su&&(0,a.jsx)(hu,{onChangeSort:Ii,value:oa?.sort}),(0,a.jsx)(c0,{appliedFilters:oa?.filters?.$and,onChangeFilters:li})]}),(Bn>0||ir>0||Pn)&&(0,a.jsxs)(R.C,{marginLeft:"auto",shrink:0,children:[(0,a.jsx)(Eu,{paddingTop:1,paddingBottom:1,children:(0,a.jsx)(N.w,{icon:su?(0,a.jsx)(kt.c,{}):(0,a.jsx)(vn.c,{}),label:ba(su?{id:"view-switch.list",defaultMessage:"List View"}:{id:"view-switch.grid",defaultMessage:"Grid View"}),onClick:()=>Lo(su?Za.LIST:Za.GRID)})}),(0,a.jsx)(Uc,{onChangeSearch:Fi,queryValue:oa._q||""})]})]})}),Kn&&vt?.length>0&&uo&&(0,a.jsx)(_.k,{paddingTop:3,children:(0,a.jsx)(fo,{onChangeFolder:Ni,as:"nav",label:ba({id:be("header.breadcrumbs.nav.label"),defaultMessage:"Folders navigation"}),breadcrumbs:vt,currentFolderId:oa?.folder})}),Bn===0&&ir===0&&(0,a.jsx)(_.k,{paddingBottom:6,children:(0,a.jsx)(Ta,{size:"S",count:6,action:Tn&&!Xn&&!Pn&&(0,a.jsx)(K.Z,{variant:"secondary",startIcon:(0,a.jsx)(mt.c,{}),onClick:br,children:ba({id:be("header.actions.add-assets"),defaultMessage:"Add new assets"})}),content:ba(Qt?{id:be("list.assets-empty.title-withSearch"),defaultMessage:"There are no assets with the applied filters"}:Tn&&!Pn?{id:be("list.assets.empty"),defaultMessage:"Upload your first assets..."}:{id:be("list.assets.empty.no-permissions"),defaultMessage:"The asset list is empty"})})}),!su&&(ir>0||Bn>0)&&(0,a.jsx)(nl,{allowedTypes:et,assetCount:Bn,folderCount:ir,indeterminate:!Zt&&He,isFolderSelectionAllowed:!1,onChangeSort:Ii,onChangeFolder:Pr,onEditAsset:Ds,onEditFolder:ds,onSelectOne:Fs,onSelectAll:Gs,rows:[...fr.map(Er=>({...Er,type:"folder"})),...Be],selected:to,shouldDisableBulkSelect:!Sr,sortQuery:oa?.sort??""}),su&&(0,a.jsxs)(a.Fragment,{children:[ir>0&&(0,a.jsx)(xs,{title:(Qt&&Bn>0||!Qt)&&ba({id:be("list.folders.title"),defaultMessage:"Folders ({count})"},{count:ir})||"",children:fr.map(Er=>(0,a.jsx)(A.C,{col:3,children:(0,a.jsx)(Sl,{ariaLabel:Er.name,id:`folder-${Er.id}`,onClick:()=>Pr(Er.id,Er.path),cardActions:ds&&(0,a.jsx)(N.w,{icon:(0,a.jsx)(ii.c,{}),"aria-label":ba({id:be("list.folder.edit"),defaultMessage:"Edit folder"}),onClick:()=>ds(Er)}),children:(0,a.jsx)(Tl,{children:(0,a.jsx)(Ra,{onClick:()=>Pr(Er.id,Er.path),children:(0,a.jsxs)(R.C,{as:"h2",direction:"column",alignItems:"start",maxWidth:"100%",children:[(0,a.jsxs)(sc,{fontWeight:"semiBold",ellipsis:!0,children:[Er.name,(0,a.jsx)(Q.K,{children:"-"})]}),(0,a.jsx)(sc,{as:"span",textColor:"neutral600",variant:"pi",ellipsis:!0,children:ba({id:be("list.folder.subtitle"),defaultMessage:"{folderCount, plural, =0 {# folder} one {# folder} other {# folders}}, {filesCount, plural, =0 {# asset} one {# asset} other {# assets}}"},{folderCount:Er.children.count,filesCount:Er.files.count})})]})})})})},`folder-${Er.id}`))}),Bn>0&&ir>0&&(0,a.jsx)(_.k,{paddingTop:6,children:(0,a.jsx)(nn.c,{})}),Bn>0&&(0,a.jsx)(_.k,{paddingTop:6,children:(0,a.jsx)(ha,{allowedTypes:et,size:"S",assets:Be,onSelectAsset:Fs,selectedAssets:to,onEditAsset:Ds,title:(!Qt||Qt&&ir>0)&&oa.page===1&&ba({id:be("list.assets.title"),defaultMessage:"Assets ({count})"},{count:Bn})||""})})]}),$s.pageCount>0&&(0,a.jsxs)(R.C,{justifyContent:"space-between",paddingTop:4,children:[(0,a.jsx)(fc,{pageSize:oa.pageSize,onChangePageSize:Bi}),(0,a.jsx)(Sc,{activePage:oa.page,onChangePage:pi,pagination:$s})]})]})};Lu.defaultProps={allowedTypes:[],folders:[],multiple:!1,onSelectAllAsset:void 0},Lu.propTypes={allowedTypes:c.arrayOf(c.string),assets:c.arrayOf(Qi).isRequired,canCreate:c.bool.isRequired,canRead:c.bool.isRequired,folders:c.arrayOf(ni),multiple:c.bool,onAddAsset:c.func.isRequired,onChangeFilters:c.func.isRequired,onChangeFolder:c.func.isRequired,onChangePage:c.func.isRequired,onChangePageSize:c.func.isRequired,onChangeSort:c.func.isRequired,onChangeSearch:c.func.isRequired,onEditAsset:c.func.isRequired,onEditFolder:c.func.isRequired,onSelectAsset:c.func.isRequired,onSelectAllAsset:c.func,queryObject:c.shape({filters:c.object,page:c.number.isRequired,pageSize:c.number.isRequired,_q:c.string,sort:c.string,folder:c.number}).isRequired,pagination:c.shape({pageCount:c.number.isRequired}).isRequired,selectedAssets:c.arrayOf(c.shape({})).isRequired};const dl=({onClose:et,onValidate:pn})=>{const{formatMessage:Tn}=(0,de.c)();return(0,a.jsx)(J._,{startActions:(0,a.jsx)(K.Z,{onClick:et,variant:"tertiary",children:Tn({id:"app.components.Button.cancel",defaultMessage:"Cancel"})}),endActions:pn&&(0,a.jsx)(K.Z,{onClick:pn,children:Tn({id:"global.finish",defaultMessage:"Finish"})})})};dl.defaultProps={onValidate:void 0},dl.propTypes={onClose:c.func.isRequired,onValidate:c.func};const rl=({selectedAssets:et,onSelectAsset:pn,onReorderAsset:Tn})=>{const{formatMessage:Kn}=(0,de.c)();return(0,a.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:4,children:[(0,a.jsxs)(R.C,{gap:0,children:[(0,a.jsx)(P.O,{variant:"pi",fontWeight:"bold",textColor:"neutral800",children:Kn({id:be("list.assets.to-upload"),defaultMessage:"{number, plural, =0 {No asset} one {1 asset} other {# assets}} ready to upload"},{number:et.length})}),(0,a.jsx)(P.O,{variant:"pi",textColor:"neutral600",children:Kn({id:be("modal.upload-list.sub-header-subtitle"),defaultMessage:"Manage the assets before adding them to the Media Library"})})]}),(0,a.jsx)(ha,{size:"S",assets:et,onSelectAsset:pn,selectedAssets:et,onReorderAsset:Tn})]})};rl.defaultProps={onReorderAsset:void 0},rl.propTypes={onSelectAsset:c.func.isRequired,selectedAssets:c.arrayOf(c.shape({})).isRequired,onReorderAsset:c.func};const Mc=(0,B.cp)(R.C)`
  /* 80px are coming from the Tabs component that is not included in the ModalBody */
  min-height: ${()=>`calc(60vh + ${(0,i.W8)(80)})`};
`,El=({allowedTypes:et,folderId:pn,onClose:Tn,onAddAsset:Kn,onAddFolder:fr,onChangeFolder:Sr,onValidate:br,multiple:li,initiallySelectedAssets:pi,trackedLocation:Bi})=>{const[Fi,Ii]=(0,l.useState)(void 0),[Ni,Ds]=(0,l.useState)(void 0),{formatMessage:ds}=(0,de.c)(),{canRead:Gs,canCreate:Fs,isLoading:$s,canUpdate:oa,canCopyLink:to,canDownload:ba}=Si(),[{queryObject:pa},{onChangeFilters:Lo,onChangePage:su,onChangePageSize:uo,onChangeSort:yo,onChangeSearch:lu,onChangeFolder:Be}]=os({folder:pn}),{data:{pagination:vt,results:xt}={},isLoading:Zt,error:He}=di({skipWhen:!Gs,query:pa}),{data:Pn,isLoading:Xn,error:Qt}=wi({enabled:Gs&&!Cr(pa)&&vt?.page===1,query:pa}),[Bn,{selectOne:ir,selectOnly:Pr,setSelections:Er,selectMultiple:Ti,deselectMultiple:ji}]=(0,i.Ws)(["id"],pi),[Wi,ls]=(0,l.useState)(Bn.length>0?1:0),Zi=()=>{const Ma=js(et,xt);if(!li)return;const no=Ma.filter(ho=>Bn.findIndex(Bo=>Bo.id===ho.id)!==-1);no.length>0?ji(no):Ti(Ma)},Qs=Ma=>li?ir(Ma):Pr(Ma),Js=$s||Zt||Xn,ks=He||Qt;if(Js)return(0,a.jsxs)(Y.E,{onClose:Tn,labelledBy:"asset-dialog-title","aria-busy":!0,children:[(0,a.jsx)(O.k,{children:(0,a.jsx)(P.O,{fontWeight:"bold",children:ds({id:be("header.actions.add-assets"),defaultMessage:"Add new assets"})})}),(0,a.jsx)(Mc,{justifyContent:"center",paddingTop:4,paddingBottom:4,children:(0,a.jsx)(Z.c,{children:ds({id:be("content.isLoading"),defaultMessage:"Content is loading."})})}),(0,a.jsx)(dl,{onClose:Tn})]});if(ks)return(0,a.jsxs)(Y.E,{onClose:Tn,labelledBy:"asset-dialog-title",children:[(0,a.jsx)(O.k,{children:(0,a.jsx)(P.O,{fontWeight:"bold",children:ds({id:be("header.actions.add-assets"),defaultMessage:"Add new assets"})})}),(0,a.jsx)(i.wF,{}),(0,a.jsx)(dl,{onClose:Tn})]});if(!Gs)return(0,a.jsxs)(Y.E,{onClose:Tn,labelledBy:"asset-dialog-title",children:[(0,a.jsx)(O.k,{fontWeight:"bold",children:(0,a.jsx)(P.O,{children:ds({id:be("header.actions.add-assets"),defaultMessage:"Add new assets"})})}),(0,a.jsx)(i.o5,{}),(0,a.jsx)(dl,{onClose:Tn})]});if(Fi)return(0,a.jsx)(gu,{onClose:()=>Ii(void 0),asset:Fi,canUpdate:oa,canCopyLink:to,canDownload:ba,trackedLocation:Bi});if(Ni)return(0,a.jsx)(S0,{folder:Ni,onClose:()=>Ds(void 0),location:"content-manager",parentFolderId:pa?.folder});const Hs=(Ma,no)=>{const ho=no-Ma,Bo=Bn.slice(),Hu=Vi(Bo,Ma,ho);Er(Hu)},Ka=(Ma,no)=>{Sr(Ma),Be(Ma,no)};return(0,a.jsxs)(Y.E,{onClose:Tn,labelledBy:"asset-dialog-title","aria-busy":Js,children:[(0,a.jsx)(O.k,{children:(0,a.jsx)(P.O,{fontWeight:"bold",children:ds({id:be("header.actions.add-assets"),defaultMessage:"Add new assets"})})}),(0,a.jsxs)(or.M,{label:ds({id:be("tabs.title"),defaultMessage:"How do you want to upload your assets?"}),variant:"simple",initialSelectedTabIndex:Wi,onTabChange:()=>ls(0),children:[(0,a.jsxs)(R.C,{paddingLeft:8,paddingRight:8,paddingTop:6,justifyContent:"space-between",children:[(0,a.jsxs)(bn.k,{children:[(0,a.jsx)(bn.s,{children:ds({id:be("modal.nav.browse"),defaultMessage:"Browse"})}),(0,a.jsxs)(bn.s,{children:[ds({id:be("modal.header.select-files"),defaultMessage:"Selected files"}),(0,a.jsx)(W.k,{marginLeft:2,children:Bn.length})]})]}),(0,a.jsxs)(R.C,{gap:2,children:[(0,a.jsx)(K.Z,{variant:"secondary",onClick:()=>fr({folderId:pa?.folder}),children:ds({id:be("modal.upload-list.sub-header.add-folder"),defaultMessage:"Add folder"})}),(0,a.jsx)(K.Z,{onClick:()=>Kn({folderId:pa?.folder}),children:ds({id:be("modal.upload-list.sub-header.button"),defaultMessage:"Add more assets"})})]})]}),(0,a.jsx)(nn.c,{}),(0,a.jsxs)(Sn.o,{children:[(0,a.jsx)(Sn.G,{children:(0,a.jsx)(ee.a,{children:(0,a.jsx)(Lu,{allowedTypes:et,assets:xt,canCreate:Fs,canRead:Gs,folders:Pn,onSelectAsset:Qs,selectedAssets:Bn,multiple:li,onSelectAllAsset:Zi,onEditAsset:Ii,onEditFolder:Ds,pagination:vt,queryObject:pa,onAddAsset:Kn,onChangeFilters:Lo,onChangeFolder:Ka,onChangePage:su,onChangePageSize:uo,onChangeSort:yo,onChangeSearch:lu})})}),(0,a.jsx)(Sn.G,{children:(0,a.jsx)(ee.a,{children:(0,a.jsx)(rl,{selectedAssets:Bn,onSelectAsset:Qs,onReorderAsset:Hs})})})]})]}),(0,a.jsx)(dl,{onClose:Tn,onValidate:()=>br(Bn)})]})};El.defaultProps={allowedTypes:[],folderId:null,initiallySelectedAssets:[],multiple:!1,trackedLocation:void 0},El.propTypes={allowedTypes:c.arrayOf(c.string),folderId:c.number,initiallySelectedAssets:c.arrayOf(Qi),multiple:c.bool,onAddAsset:c.func.isRequired,onAddFolder:c.func.isRequired,onChangeFolder:c.func.isRequired,onClose:c.func.isRequired,onValidate:c.func.isRequired,trackedLocation:c.string};const jc=et=>et.includes(jn.Image)?jn.Image:et.includes(jn.Video)?jn.Video:et.includes(jn.Audio)?jn.Audio:jn.Document,td=(et,pn)=>({size:et.size/1e3,createdAt:new Date(et.lastModified).toISOString(),name:et.name,source:pn,type:jc(et.type),url:URL.createObjectURL(et),ext:et.name.split(".").pop(),mime:et.type,rawFile:et,isLocal:!0}),Xl=(0,B.cp)(R.C)`
  flex-direction: column;
`,Nc=B.cp.div`
  font-size: ${60/16}rem;

  svg path {
    fill: ${({theme:et})=>et.colors.primary600};
  }
`,Ho=(0,B.cp)(_.k)`
  border-style: dashed;
`,Bu=(0,B.cp)(_.k)`
  opacity: 0;
  cursor: pointer;
`,iu=({onClose:et,onAddAssets:pn,trackedLocation:Tn})=>{const{formatMessage:Kn}=(0,de.c)(),[fr,Sr]=(0,l.useState)(!1),br=(0,l.useRef)(null),{trackUsage:li}=(0,i.m4)(),pi=ds=>{ds.preventDefault()},Bi=ds=>{ds.preventDefault(),Sr(!0)},Fi=()=>Sr(!1),Ii=ds=>{ds.preventDefault(),br.current.click()},Ni=()=>{const ds=br.current.files,Gs=[];for(let Fs=0;Fs<ds.length;Fs++){const $s=ds.item(Fs),oa=td($s,Nr.Computer);Gs.push(oa)}Tn&&li("didSelectFile",{source:"computer",location:Tn}),pn(Gs)},Ds=ds=>{if(ds.preventDefault(),ds?.dataTransfer?.files){const Gs=ds.dataTransfer.files,Fs=[];for(let $s=0;$s<Gs.length;$s++){const oa=Gs.item($s),to=td(oa,Nr.Computer);Fs.push(to)}pn(Fs)}Sr(!1)};return(0,a.jsxs)("form",{children:[(0,a.jsx)(_.k,{paddingLeft:8,paddingRight:8,paddingTop:6,paddingBottom:6,children:(0,a.jsx)("label",{children:(0,a.jsx)(Ho,{paddingTop:11,paddingBottom:11,hasRadius:!0,justifyContent:"center",borderColor:fr?"primary500":"neutral300",background:fr?"primary100":"neutral100",position:"relative",onDragEnter:Bi,onDragLeave:Fi,onDragOver:pi,onDrop:Ds,children:(0,a.jsx)(R.C,{justifyContent:"center",children:(0,a.jsxs)(Xl,{children:[(0,a.jsx)(Nc,{children:(0,a.jsx)(Wn.c,{"aria-hidden":!0})}),(0,a.jsx)(_.k,{paddingTop:3,paddingBottom:5,children:(0,a.jsx)(P.O,{variant:"delta",textColor:"neutral600",as:"span",children:Kn({id:be("input.label"),defaultMessage:"Drag & Drop here or"})})}),(0,a.jsx)(Bu,{as:"input",position:"absolute",left:0,right:0,bottom:0,top:0,width:"100%",type:"file",multiple:!0,name:"files",tabIndex:-1,ref:br,zIndex:1,onChange:Ni}),(0,a.jsx)(_.k,{position:"relative",children:(0,a.jsx)(K.Z,{type:"button",onClick:Ii,children:Kn({id:be("input.button.label"),defaultMessage:"Browse files"})})})]})})})})}),(0,a.jsx)(J._,{startActions:(0,a.jsx)(K.Z,{onClick:et,variant:"tertiary",children:Kn({id:"app.components.Button.cancel",defaultMessage:"cancel"})})})]})};iu.defaultProps={trackedLocation:void 0},iu.propTypes={onClose:c.func.isRequired,onAddAssets:c.func.isRequired,trackedLocation:c.string};function f0(et){return new URL(et).pathname.split("/").pop()}const _l=async et=>{const pn=et.map(fr=>fetch(fr).then(async Sr=>{const br=await Sr.blob(),li=new File([br],f0(Sr.url),{type:Sr.headers.get("content-type")});return{name:li.name,url:Sr.url,mime:Sr.headers.get("content-type"),rawFile:li}}));return(await Promise.all(pn)).map(fr=>({source:Nr.Url,name:fr.name,type:jc(fr.mime),url:fr.url,ext:fr.url.split(".").pop(),mime:fr.mime,rawFile:fr.rawFile}))},Nl=gt.kt().shape({urls:gt.Qb().test({name:"isUrlValid",message:"${path}",test(et=""){const pn=et.split(/\r?\n/);if(pn.length===0)return this.createError({path:this.path,message:i.aO.min});if(pn.length>20)return this.createError({path:this.path,message:i.aO.max});const Tn=pn.filter(Sr=>{try{return new URL(Sr),!1}catch{return!0}}),Kn=Tn.length;if(Kn===0)return!0;const fr=Kn>1?"form.upload-url.error.url.invalids":"form.upload-url.error.url.invalid";return this.createError({path:this.path,message:be(fr),params:{number:Tn.length}})}})}),$c=({onClose:et,onAddAsset:pn,trackedLocation:Tn})=>{const[Kn,fr]=(0,l.useState)(!1),[Sr,br]=(0,l.useState)(void 0),{formatMessage:li}=(0,de.c)(),{trackUsage:pi}=(0,i.m4)(),Bi=async({urls:Fi})=>{fr(!0);const Ii=Fi.split(/\r?\n/);try{const Ni=await _l(Ii);Tn&&pi("didSelectFile",{source:"url",location:Tn}),pn(Ni)}catch(Ni){br(Ni),fr(!1)}};return(0,a.jsx)(Re.QJ,{enableReinitialize:!0,initialValues:{urls:""},onSubmit:Bi,validationSchema:Nl,validateOnChange:!1,children:({values:Fi,errors:Ii,handleChange:Ni})=>(0,a.jsxs)(i.QF,{noValidate:!0,children:[(0,a.jsx)(_.k,{paddingLeft:8,paddingRight:8,paddingBottom:6,paddingTop:6,children:(0,a.jsx)(Hn.A,{label:li({id:be("input.url.label"),defaultMessage:"URL"}),id:"urls",hint:li({id:be("input.url.description"),defaultMessage:"Separate your URL links by a carriage return."}),error:Sr?.message||(Ii.urls?li({id:Ii.urls,defaultMessage:"An error occured"}):void 0),onChange:Ni,value:Fi.urls})}),(0,a.jsx)(J._,{startActions:(0,a.jsx)(K.Z,{onClick:et,variant:"tertiary",children:li({id:"app.components.Button.cancel",defaultMessage:"cancel"})}),endActions:(0,a.jsx)(K.Z,{type:"submit",loading:Kn,children:li({id:be("button.next"),defaultMessage:"Next"})})})]})})};$c.defaultProps={trackedLocation:void 0},$c.propTypes={onClose:c.func.isRequired,onAddAsset:c.func.isRequired,trackedLocation:c.string};const hc=({onClose:et,onAddAsset:pn,trackedLocation:Tn})=>{const{formatMessage:Kn}=(0,de.c)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O.k,{children:(0,a.jsx)(P.O,{fontWeight:"bold",textColor:"neutral800",as:"h2",id:"title",children:Kn({id:be("header.actions.add-assets"),defaultMessage:"Add new assets"})})}),(0,a.jsxs)(or.M,{label:Kn({id:be("tabs.title"),defaultMessage:"How do you want to upload your assets?"}),variant:"simple",children:[(0,a.jsxs)(_.k,{paddingLeft:8,paddingRight:8,paddingTop:6,children:[(0,a.jsxs)(bn.k,{children:[(0,a.jsx)(bn.s,{children:Kn({id:be("modal.nav.computer"),defaultMessage:"From computer"})}),(0,a.jsx)(bn.s,{children:Kn({id:be("modal.nav.url"),defaultMessage:"From URL"})})]}),(0,a.jsx)(nn.c,{})]}),(0,a.jsxs)(Sn.o,{children:[(0,a.jsx)(Sn.G,{children:(0,a.jsx)(iu,{onClose:et,onAddAssets:pn,trackedLocation:Tn})}),(0,a.jsx)(Sn.G,{children:(0,a.jsx)($c,{onClose:et,onAddAsset:pn,trackedLocation:Tn})})]})]})]})};hc.defaultProps={trackedLocation:void 0},hc.propTypes={onClose:c.func.isRequired,onAddAsset:c.func.isRequired,trackedLocation:c.string};const il=B.cp.div`
  height: ${88/16}rem;
  width: 100%;
`,V0=B.cp.span`
  text-transform: uppercase;
`,Wc=({asset:et,onCancel:pn,onStatusChange:Tn,addUploadedFiles:Kn,folderId:fr})=>{const{upload:Sr,cancel:br,error:li,progress:pi,status:Bi}=Nu(),{formatMessage:Fi}=(0,de.c)();let Ii=Fi({id:be("settings.section.doc.label"),defaultMessage:"Doc"});et.type===jn.Image?Ii=Fi({id:be("settings.section.image.label"),defaultMessage:"Image"}):et.type===jn.Video?Ii=Fi({id:be("settings.section.video.label"),defaultMessage:"Video"}):et.type===jn.Audio&&(Ii=Fi({id:be("settings.section.audio.label"),defaultMessage:"Audio"})),(0,l.useEffect)(()=>{(async()=>{const ds=await Sr(et,fr);Kn&&Kn(ds)})()},[]),(0,l.useEffect)(()=>{Tn(Bi)},[Bi,Tn]);const Ni=()=>{br(),pn(et.rawFile)};return(0,a.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:1,children:[(0,a.jsxs)(Ae.M,{borderColor:li?"danger600":"neutral150",children:[(0,a.jsx)(Fe.q,{children:(0,a.jsx)(il,{children:(0,a.jsx)(Nn,{error:li,onCancel:Ni,progress:pi})})}),(0,a.jsxs)(Pe.i,{children:[(0,a.jsxs)(pe.q,{children:[(0,a.jsx)(_.k,{paddingTop:1,children:(0,a.jsx)(Se.O,{as:"h2",children:et.name})}),(0,a.jsx)(Se.w,{children:(0,a.jsx)(V0,{children:et.ext})})]}),(0,a.jsx)(R.C,{paddingTop:1,grow:1,children:(0,a.jsx)(_e.g,{children:Ii})})]})]}),li?(0,a.jsx)(P.O,{variant:"pi",fontWeight:"bold",textColor:"danger600",children:Fi(li?.response?.data?.error?.message?{id:be(`apiError.${li.response.data.error.message}`),defaultMessage:li.response.data.error.message}:{id:be("upload.generic-error"),defaultMessage:"An error occured while uploading the file."})}):void 0]})};Wc.defaultProps={addUploadedFiles:void 0,folderId:null},Wc.propTypes={addUploadedFiles:c.func,asset:c.shape({name:c.string,ext:c.string,rawFile:c.instanceOf(File),type:c.oneOf(Object.values(jn))}).isRequired,folderId:c.oneOfType([c.number,c.string]),onCancel:c.func.isRequired,onStatusChange:c.func.isRequired};const A0={Idle:"IDLE",Uploading:"UPLOADING",Intermediate:"INTERMEDIATE"},t0=({addUploadedFiles:et,folderId:pn,onClose:Tn,onEditAsset:Kn,onRemoveAsset:fr,assets:Sr,onClickAddAsset:br,onCancelUpload:li,onUploadSucceed:pi,trackedLocation:Bi})=>{const Fi=(0,l.useRef)(0),{formatMessage:Ii}=(0,de.c)(),{trackUsage:Ni}=(0,i.m4)(),[Ds,ds]=(0,l.useState)(A0.Idle),Gs=async $s=>{$s.preventDefault(),$s.stopPropagation();const oa=Sr.reduce((to,ba)=>{const{type:pa}=ba;return to[pa]||(to[pa]=0),to[pa]=`${parseInt(to[pa],10)+1}`,to},{});Ni("willAddMediaLibraryAssets",{location:Bi,...oa}),ds(A0.Uploading)},Fs=($s,oa)=>{($s==="success"||$s==="error")&&(Fi.current++,Fi.current===Sr.length&&(Fi.current=0,ds(A0.Intermediate))),$s==="success"&&pi(oa)};return(0,a.jsxs)("form",{onSubmit:Gs,children:[(0,a.jsx)(O.k,{children:(0,a.jsx)(P.O,{fontWeight:"bold",textColor:"neutral800",as:"h2",id:"title",children:Ii({id:be("header.actions.add-assets"),defaultMessage:"Add new assets"})})}),(0,a.jsx)(ee.a,{children:(0,a.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:7,children:[(0,a.jsxs)(R.C,{justifyContent:"space-between",children:[(0,a.jsxs)(R.C,{direction:"column",alignItems:"stretch",gap:0,children:[(0,a.jsx)(P.O,{variant:"pi",fontWeight:"bold",textColor:"neutral800",children:Ii({id:be("list.assets.to-upload"),defaultMessage:"{number, plural, =0 {No asset} one {1 asset} other {# assets}} ready to upload"},{number:Sr.length})}),(0,a.jsx)(P.O,{variant:"pi",textColor:"neutral600",children:Ii({id:be("modal.upload-list.sub-header-subtitle"),defaultMessage:"Manage the assets before adding them to the Media Library"})})]}),(0,a.jsx)(K.Z,{size:"S",onClick:br,children:Ii({id:be("header.actions.add-assets"),defaultMessage:"Add new assets"})})]}),(0,a.jsx)(Ke.a,{tagName:"article",children:(0,a.jsx)(T.y,{gap:4,children:Sr.map($s=>{const oa=$s.url;return Ds===A0.Uploading||Ds===A0.Intermediate?(0,a.jsx)(A.C,{col:4,children:(0,a.jsx)(Wc,{addUploadedFiles:et,asset:$s,id:oa,onCancel:li,onStatusChange:to=>Fs(to,$s.rawFile),size:"S",folderId:pn})},oa):(0,a.jsx)(A.C,{col:4,children:(0,a.jsx)(Aa,{asset:$s,size:"S",local:!0,alt:$s.name,onEdit:Kn,onRemove:fr},oa)},oa)})})})]})}),(0,a.jsx)(J._,{startActions:(0,a.jsx)(K.Z,{onClick:Tn,variant:"tertiary",children:Ii({id:"app.components.Button.cancel",defaultMessage:"cancel"})}),endActions:(0,a.jsx)(K.Z,{type:"submit",loading:Ds===A0.Uploading,children:Ii({id:be("modal.upload-list.footer.button"),defaultMessage:"Upload {number, plural, one {# asset} other {# assets}} to the library"},{number:Sr.length})})})]})};t0.defaultProps={addUploadedFiles:void 0,folderId:null,trackedLocation:void 0},t0.propTypes={addUploadedFiles:c.func,assets:c.arrayOf(Qi).isRequired,folderId:c.oneOfType([c.number,c.string]),onClose:c.func.isRequired,onEditAsset:c.func.isRequired,onRemoveAsset:c.func.isRequired,onClickAddAsset:c.func.isRequired,onUploadSucceed:c.func.isRequired,onCancelUpload:c.func.isRequired,trackedLocation:c.string};const Pl={AddAsset:"AddAsset",PendingAsset:"PendingAsset"},xl=({initialAssetsToAdd:et,folderId:pn,onClose:Tn,addUploadedFiles:Kn,trackedLocation:fr,validateAssetsTypes:Sr=(br,li)=>li()})=>{const{formatMessage:br}=(0,de.c)(),[li,pi]=(0,l.useState)(et?Pl.PendingAsset:Pl.AddAsset),[Bi,Fi]=(0,l.useState)(et||[]),[Ii,Ni]=(0,l.useState)(void 0),Ds=ba=>{Sr(ba,()=>{Fi(pa=>pa.concat(ba)),pi(Pl.PendingAsset)})},ds=()=>{pi(Pl.AddAsset)},Gs=ba=>{const pa=Bi.filter(Lo=>Lo.rawFile!==ba);Fi(pa),pa.length===0&&ds()},Fs=ba=>{const pa=Bi.filter(Lo=>Lo.rawFile!==ba);Fi(pa),pa.length===0&&Tn()},$s=ba=>{if(ba){const pa=Bi.map(Lo=>Lo===Ii?ba:Lo);Fi(pa)}Ni(void 0)},oa=()=>{li===Pl.PendingAsset&&Bi.length>0?window.confirm(br({id:"window.confirm.close-modal.files",defaultMessage:"Are you sure? You have some files that have not been uploaded yet."}))&&Tn():Tn()},to=ba=>{const pa=Bi.filter(Lo=>Lo!==ba);Fi(pa)};return(0,a.jsxs)(Y.E,{onClose:oa,labelledBy:"title",children:[li===Pl.AddAsset&&(0,a.jsx)(hc,{onClose:Tn,onAddAsset:Ds,trackedLocation:fr}),li===Pl.PendingAsset&&(0,a.jsx)(t0,{onClose:oa,assets:Bi,onEditAsset:Ni,onRemoveAsset:to,onClickAddAsset:ds,onCancelUpload:Gs,onUploadSucceed:Fs,initialAssetsToAdd:et,addUploadedFiles:Kn,folderId:pn,trackedLocation:fr}),Ii&&(0,a.jsx)(gu,{onClose:$s,asset:Ii,canUpdate:!0,canCopyLink:!1,canDownload:!1,trackedLocation:fr})]})};xl.defaultProps={addUploadedFiles:void 0,folderId:null,initialAssetsToAdd:void 0,onClose(){},trackedLocation:void 0,validateAssetsTypes:void 0},xl.propTypes={addUploadedFiles:c.func,folderId:c.oneOfType([c.number,c.string]),initialAssetsToAdd:c.arrayOf(Qi),onClose:c.func,trackedLocation:c.string,validateAssetsTypes:c.func};const Pc={AssetSelect:"SelectAsset",AssetUpload:"UploadAsset",FolderCreate:"FolderCreate"},Lc=({onClose:et,onSelectAssets:pn,allowedTypes:Tn})=>{const[Kn,fr]=(0,l.useState)(Pc.AssetSelect),[Sr,br]=(0,l.useState)(null);switch(Kn){case Pc.AssetSelect:return(0,a.jsx)(El,{allowedTypes:Tn,folderId:Sr,onClose:()=>{fr(void 0),br(null),et()},onValidate:pn,onAddAsset:()=>fr(Pc.AssetUpload),onAddFolder:()=>fr(Pc.FolderCreate),onChangeFolder:li=>br(li),multiple:!0});case Pc.FolderCreate:return(0,a.jsx)(S0,{onClose:()=>fr(Pc.AssetSelect),parentFolderId:Sr});default:return(0,a.jsx)(xl,{onClose:()=>fr(Pc.AssetSelect),folderId:Sr})}};Lc.defaultProps={allowedTypes:["files","images","videos","audios"]},Lc.propTypes={allowedTypes:c.arrayOf(c.string),onClose:c.func.isRequired,onSelectAssets:c.func.isRequired};const $l=(0,B.cp)(R.C)`
  background: linear-gradient(180deg, #ffffff 0%, #f6f6f9 121.48%);
`,Ts=(0,B.cp)(_.k)`
  canvas,
  video {
    max-width: 100%;
    height: 124px;
  }
`,Xu=(0,B.cp)(_.k)`
  canvas,
  audio {
    max-width: 100%;
  }
`,Iu=({asset:et})=>et.mime.includes(jn.Video)?(0,a.jsx)(Ts,{height:"100%",children:(0,a.jsx)(Ri,{url:xr(et,!0),mime:et.mime,alt:et.alternativeText||et.name})}):et.mime.includes(jn.Audio)?(0,a.jsx)(Xu,{children:(0,a.jsx)(Qc,{url:xr(et,!0),alt:et.alternativeText||et.name})}):et.mime.includes(jn.Image)?(0,a.jsx)(_.k,{as:"img",maxHeight:"100%",maxWidth:"100%",src:xr(et,!0),alt:et.alternativeText||et.name}):(0,a.jsx)($l,{width:"100%",height:"100%",justifyContent:"center",hasRadius:!0,children:et.ext.includes("pdf")?(0,a.jsx)(mn.c,{"aria-label":et.alternativeText||et.name,width:"24px",height:"32px"}):(0,a.jsx)(xn.c,{"aria-label":et.alternativeText||et.name,width:"24px",height:"32px"})});Iu.propTypes={asset:Qi.isRequired};const Go=({asset:et,onDeleteAsset:pn,onAddAsset:Tn,onEditAsset:Kn})=>{const{formatMessage:fr}=(0,de.c)();return(0,a.jsxs)(er.E,{children:[Tn&&(0,a.jsx)(N.w,{label:fr({id:be("control-card.add"),defaultMessage:"Add"}),icon:(0,a.jsx)(mt.c,{}),onClick:()=>Tn(et)}),(0,a.jsx)(ke,{url:(0,i.AZ)(et.url)}),pn&&(0,a.jsx)(N.w,{label:fr({id:"global.delete",defaultMessage:"Delete"}),icon:(0,a.jsx)(gr.c,{}),onClick:()=>pn(et)}),Kn&&(0,a.jsx)(N.w,{label:fr({id:be("control-card.edit"),defaultMessage:"edit"}),icon:(0,a.jsx)(ii.c,{}),onClick:Kn})]})};Go.defaultProps={onAddAsset:void 0,onDeleteAsset:void 0,onEditAsset:void 0},Go.propTypes={asset:Qi.isRequired,onAddAsset:c.func,onEditAsset:c.func,onDeleteAsset:c.func};const zo=(0,B.cp)(P.O)`
  align-items: center;
`,Is=({disabled:et,onClick:pn,onDropAsset:Tn})=>{const{formatMessage:Kn}=(0,de.c)(),[fr,Sr]=(0,l.useState)(!1),br=Fi=>{Fi.preventDefault(),Sr(!0)},li=Fi=>{Fi.currentTarget.contains(Fi.relatedTarget)||Sr(!1)},pi=Fi=>{Fi.preventDefault()},Bi=Fi=>{if(Fi.preventDefault(),Fi?.dataTransfer?.files){const Ii=Fi.dataTransfer.files,Ni=[];for(let Ds=0;Ds<Ii.length;Ds++){const ds=Ii.item(Ds),Gs=td(ds,Nr.Computer);Ni.push(Gs)}Tn(Ni)}Sr(!1)};return(0,a.jsxs)(R.C,{borderStyle:fr?"dashed":void 0,borderWidth:fr?"1px":void 0,borderColor:fr?"primary600":void 0,direction:"column",justifyContent:"center",alignItems:"center",height:"100%",width:"100%",as:"button",type:"button",disabled:et,onClick:pn,onDragEnter:br,onDragLeave:li,onDragOver:pi,onDrop:Bi,style:{cursor:et?"not-allowed":"pointer"},children:[(0,a.jsx)(M.G,{as:Wn.c,"aria-hidden":!0,width:"30px",height:"24px",color:et?"neutral400":"primary600",marginBottom:3}),(0,a.jsx)(zo,{variant:"pi",fontWeight:"bold",textColor:"neutral600",style:{textAlign:"center"},as:"span",children:Kn({id:be("mediaLibraryInput.placeholder"),defaultMessage:"Click to add an asset or drag and drop one in this area"})})]})};Is.defaultProps={disabled:!1,onDropAsset:void 0},Is.propTypes={disabled:c.bool,onClick:c.func.isRequired,onDropAsset:c.func};const xa=(0,l.forwardRef)(({assets:et,disabled:pn,error:Tn,hint:Kn,label:fr,labelAction:Sr,onAddAsset:br,onDeleteAsset:li,onDeleteAssetFromMediaLibrary:pi,onDropAsset:Bi,onEditAsset:Fi,onNext:Ii,onPrevious:Ni,required:Ds,selectedAssetIndex:ds,trackedLocation:Gs},Fs)=>{const{formatMessage:$s}=(0,de.c)(),[oa,to]=(0,l.useState)(!1),ba=et[ds];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(an.m,{ref:Fs,label:fr,labelAction:Sr,secondaryLabel:ba?.name,selectedSlide:ds,previousLabel:$s({id:be("mediaLibraryInput.actions.previousSlide"),defaultMessage:"Previous slide"}),nextLabel:$s({id:be("mediaLibraryInput.actions.nextSlide"),defaultMessage:"Next slide"}),onNext:Ii,onPrevious:Ni,hint:Kn,error:Tn,required:Ds,actions:ba?(0,a.jsx)(Go,{asset:ba,onDeleteAsset:pn?void 0:li,onAddAsset:pn?void 0:br,onEditAsset:Fi?()=>to(!0):void 0}):void 0,children:et.length===0?(0,a.jsx)(Cn.a,{label:$s({id:be("mediaLibraryInput.slideCount"),defaultMessage:"{n} of {m} slides"},{n:1,m:1}),children:(0,a.jsx)(Is,{disabled:pn,onClick:br,onDropAsset:Bi})}):et.map((pa,Lo)=>(0,a.jsx)(Cn.a,{label:$s({id:be("mediaLibraryInput.slideCount"),defaultMessage:"{n} of {m} slides"},{n:Lo+1,m:et.length}),children:(0,a.jsx)(Iu,{asset:pa})},pa.id))}),oa&&(0,a.jsx)(gu,{onClose:pa=>{to(!1),pa===null&&pi(),pa&&Fi(pa)},asset:ba,canUpdate:!0,canCopyLink:!0,canDownload:!0,trackedLocation:Gs})]})});xa.defaultProps={disabled:!1,error:void 0,hint:void 0,labelAction:void 0,onDropAsset:void 0,required:!1,trackedLocation:void 0},xa.propTypes={assets:c.arrayOf(Qi).isRequired,disabled:c.bool,error:c.string,hint:c.string,label:c.string.isRequired,labelAction:c.node,onAddAsset:c.func.isRequired,onDeleteAsset:c.func.isRequired,onDeleteAssetFromMediaLibrary:c.func.isRequired,onDropAsset:c.func,onEditAsset:c.func.isRequired,onNext:c.func.isRequired,onPrevious:c.func.isRequired,required:c.bool,selectedAssetIndex:c.number.isRequired,trackedLocation:c.string};const Fu={AssetSelect:"SelectAsset",AssetUpload:"UploadAsset",FolderCreate:"FolderCreate"},na=(0,l.forwardRef)(({attribute:{allowedTypes:et},intlLabel:pn,description:Tn,disabled:Kn,error:fr,labelAction:Sr,multiple:br,name:li,onChange:pi,value:Bi,required:Fi},Ii)=>{const Ni=et||["files","images","videos","audios"],[Ds,ds]=(0,l.useState)([]),[Gs,Fs]=(0,l.useState)(void 0),[$s,oa]=(0,l.useState)(0),[to,ba]=(0,l.useState)(),[pa,Lo]=(0,l.useState)(null),{formatMessage:su}=(0,de.c)(),uo=(0,i.eo)();(0,l.useEffect)(()=>{Gs===void 0&&ds([])},[Gs]);const yo=Array.isArray(Bi)?Bi:[Bi],lu=Er=>{pi({target:{name:li,value:br?Er:Er[0]}}),Fs(void 0)},Be=()=>{let Er;if(br){const Ti=yo.filter((ji,Wi)=>Wi!==$s);Er=Ti.length>0?Ti:null}else Er=null;pi({target:{name:li,value:Er}}),oa(0)},vt=Er=>{let Ti;if(br){const ji=yo.filter(Wi=>Wi.id!==Er.id);Ti=ji.length>0?ji:null}else Ti=null;pi({target:{name:li,value:Ti}}),oa(0)},xt=Er=>{const Ti=yo.map(ji=>ji.id===Er.id?Er:ji);pi({target:{name:li,value:br?Ti:Ti[0]}})},Zt=(Er,Ti)=>{const ji=js(Ni,Er);ji.length>0?Ti(ji):uo({type:"warning",timeout:4e3,message:{id:be("input.notification.not-supported"),defaultMessage:"You can't upload this type of file.",values:{fileTypes:Ni.join(",")}}})},He=Er=>{Zt(Er,Ti=>{ba(Ti),Fs(Fu.AssetUpload)})};let Pn=pn.id?su(pn):"";br&&yo.length>0&&(Pn=`${Pn} (${$s+1} / ${yo.length})`);const Xn=()=>{oa(Er=>Er<yo.length-1?Er+1:0)},Qt=()=>{oa(Er=>Er>0?Er-1:yo.length-1)},Bn=Er=>{ds(Ti=>[...Ti,...Er])},ir=Tn?su({id:Tn.id,defaultMessage:Tn.defaultMessage},{...Tn.values}):"";let Pr=yo;if(Ds.length>0){const Er=js(Ni,Ds);Pr=br?[...Er,...yo]:[Er[0]]}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(xa,{ref:Ii,assets:yo,disabled:Kn,label:Pn,labelAction:Sr,onDeleteAsset:vt,onDeleteAssetFromMediaLibrary:Be,onAddAsset:()=>Fs(Fu.AssetSelect),onDropAsset:He,onEditAsset:xt,onNext:Xn,onPrevious:Qt,error:fr,hint:ir,required:Fi,selectedAssetIndex:$s,trackedLocation:"content-manager"}),Gs===Fu.AssetSelect&&(0,a.jsx)(El,{allowedTypes:Ni,initiallySelectedAssets:Pr,folderId:pa,onClose:()=>{Fs(void 0),Lo(null)},onValidate:lu,multiple:br,onAddAsset:()=>Fs(Fu.AssetUpload),onAddFolder:()=>Fs(Fu.FolderCreate),onChangeFolder:Er=>Lo(Er),trackedLocation:"content-manager"}),Gs===Fu.AssetUpload&&(0,a.jsx)(xl,{onClose:()=>Fs(Fu.AssetSelect),initialAssetsToAdd:to,addUploadedFiles:Bn,trackedLocation:"content-manager",folderId:pa,validateAssetsTypes:Zt}),Gs===Fu.FolderCreate&&(0,a.jsx)(S0,{onClose:()=>Fs(Fu.AssetSelect),parentFolderId:pa})]})});na.defaultProps={attribute:{allowedTypes:["videos","files","images","audios"]},disabled:!1,description:void 0,error:void 0,intlLabel:void 0,labelAction:void 0,multiple:!1,required:!1,value:[]},na.propTypes={attribute:c.shape({allowedTypes:c.arrayOf(c.string)}),disabled:c.bool,description:c.shape({id:c.string,defaultMessage:c.string,values:c.shape({})}),error:c.string,intlLabel:c.shape({id:c.string,defaultMessage:c.string}),labelAction:c.node,multiple:c.bool,onChange:c.func.isRequired,name:c.string.isRequired,required:c.bool,value:c.oneOfType([c.arrayOf(Qi),Qi])};const pc=()=>(0,a.jsx)(nr.c,{}),n0=qt.strapi.name,Wl={register(et){et.addMenuLink({to:`/plugins/${Wr}`,icon:pc,intlLabel:{id:`${Wr}.plugin.name`,defaultMessage:"Media Library"},permissions:ru.main,async Component(){return await e.e(8840).then(e.bind(e,98840))}}),et.addFields({type:"media",Component:na}),et.addComponents([{name:"media-library",Component:Lc}]),et.registerPlugin({id:Wr,name:n0})},bootstrap(et){et.addSettingsLink("global",{id:"media-library-settings",intlLabel:{id:be("plugin.name"),defaultMessage:"Media Library"},to:"/settings/media-library",async Component(){return await e.e(2988).then(e.bind(e,42988))},permissions:ru.settings})},async registerTrads({locales:et}){const pn=await Promise.all(et.map(Tn=>ci(Object.assign({"./translations/ca.json":()=>e.e(1632).then(e.bind(e,21632)),"./translations/de.json":()=>e.e(7840).then(e.bind(e,57840)),"./translations/dk.json":()=>e.e(8924).then(e.bind(e,18924)),"./translations/en.json":()=>e.e(2673).then(e.bind(e,72673)),"./translations/es.json":()=>e.e(8836).then(e.bind(e,98836)),"./translations/fr.json":()=>e.e(4504).then(e.bind(e,94504)),"./translations/he.json":()=>e.e(7280).then(e.bind(e,47280)),"./translations/it.json":()=>e.e(7804).then(e.bind(e,67804)),"./translations/ja.json":()=>e.e(1452).then(e.bind(e,1452)),"./translations/ko.json":()=>e.e(8720).then(e.bind(e,28720)),"./translations/ms.json":()=>e.e(3640).then(e.bind(e,33640)),"./translations/pl.json":()=>e.e(8568).then(e.bind(e,58568)),"./translations/pt-BR.json":()=>e.e(5808).then(e.bind(e,45808)),"./translations/pt.json":()=>e.e(1728).then(e.bind(e,71728)),"./translations/ru.json":()=>e.e(2096).then(e.bind(e,2096)),"./translations/sk.json":()=>e.e(6016).then(e.bind(e,56016)),"./translations/th.json":()=>e.e(4250).then(e.bind(e,84250)),"./translations/tr.json":()=>e.e(3692).then(e.bind(e,23692)),"./translations/uk.json":()=>e.e(2903).then(e.bind(e,15284)),"./translations/zh-Hans.json":()=>e.e(2132).then(e.bind(e,32132)),"./translations/zh.json":()=>e.e(1184).then(e.bind(e,71184))}),`./translations/${Tn}.json`).then(({default:Kn})=>({data:(0,i.Ux)(Kn,Wr),locale:Tn})).catch(()=>({data:{},locale:Tn}))));return Promise.resolve(pn)}}},60832:(U,C,e)=>{"use strict";e.d(C,{P:()=>X,g:()=>K,i:()=>Z});var i=e(95840);const a=(J,ee)=>{const re=J[ee];return re?typeof re=="function"?re():Promise.resolve(re):new Promise((me,fe)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(fe.bind(null,new Error("Unknown variable dynamic import: "+ee)))})},W={name:"@strapi/plugin-users-permissions",version:"4.20.3",description:"Protect your API with a full-authentication process based on JWT",repository:{type:"git",url:"git://github.com/strapi/strapi.git"},license:"SEE LICENSE IN LICENSE",author:{name:"Strapi Solutions SAS",email:"hi@strapi.io",url:"https://strapi.io"},maintainers:[{name:"Strapi Solutions SAS",email:"hi@strapi.io",url:"https://strapi.io"}],exports:{"./strapi-admin":{source:"./admin/src/index.js",import:"./dist/admin/index.mjs",require:"./dist/admin/index.js",default:"./dist/admin/index.js"},"./strapi-server":{source:"./strapi-server.js",require:"./strapi-server.js",default:"./strapi-server.js"},"./package.json":"./package.json"},scripts:{build:"pack-up build",clean:"run -T rimraf dist",lint:"run -T eslint .","test:front":"run -T cross-env IS_EE=true jest --config ./jest.config.front.js","test:front:ce":"run -T cross-env IS_EE=false jest --config ./jest.config.front.js","test:front:watch":"run -T cross-env IS_EE=true jest --config ./jest.config.front.js --watchAll","test:front:watch:ce":"run -T cross-env IS_EE=false jest --config ./jest.config.front.js --watchAll","test:unit":"run -T jest","test:unit:watch":"run -T jest --watch",watch:"pack-up watch"},dependencies:{"@strapi/design-system":"1.15.0","@strapi/helper-plugin":"4.20.3","@strapi/icons":"1.15.0","@strapi/utils":"4.20.3",bcryptjs:"2.4.3",formik:"2.4.0","grant-koa":"5.4.8",immer:"9.0.19",jsonwebtoken:"9.0.0","jwk-to-pem":"2.0.5",koa:"2.13.4","koa2-ratelimit":"^1.1.2",lodash:"4.17.21","prop-types":"^15.8.1",purest:"4.0.2","react-intl":"6.4.1","react-query":"3.39.3","react-redux":"8.1.1","url-join":"4.0.1",yup:"0.32.9"},devDependencies:{"@strapi/pack-up":"4.20.3","@strapi/strapi":"4.20.3","@testing-library/dom":"9.2.0","@testing-library/react":"14.0.0","@testing-library/user-event":"14.4.3",msw:"1.3.0",react:"^18.2.0","react-dom":"^18.2.0","react-router-dom":"5.3.4","styled-components":"5.3.3"},peerDependencies:{"@strapi/strapi":"^4.0.0",react:"^17.0.0 || ^18.0.0","react-dom":"^17.0.0 || ^18.0.0","react-router-dom":"^5.2.0","styled-components":"^5.2.1"},engines:{node:">=18.0.0 <=20.x.x",npm:">=6.0.0"},strapi:{displayName:"Roles & Permissions",name:"users-permissions",description:"Protect your API with a full authentication process based on JWT. This plugin comes also with an ACL strategy that allows you to manage the permissions between the groups of users.",required:!0,kind:"plugin"}},X={accessRoles:[{action:"plugin::users-permissions.roles.create",subject:null},{action:"plugin::users-permissions.roles.read",subject:null}],createRole:[{action:"plugin::users-permissions.roles.create",subject:null}],deleteRole:[{action:"plugin::users-permissions.roles.delete",subject:null}],readRoles:[{action:"plugin::users-permissions.roles.read",subject:null}],updateRole:[{action:"plugin::users-permissions.roles.update",subject:null}],readAdvancedSettings:[{action:"plugin::users-permissions.advanced-settings.read",subject:null}],updateAdvancedSettings:[{action:"plugin::users-permissions.advanced-settings.update",subject:null}],readEmailTemplates:[{action:"plugin::users-permissions.email-templates.read",subject:null}],updateEmailTemplates:[{action:"plugin::users-permissions.email-templates.update",subject:null}],readProviders:[{action:"plugin::users-permissions.providers.read",subject:null}],updateProviders:[{action:"plugin::users-permissions.providers.update",subject:null}]},Q=W.name.replace(/^@strapi\/plugin-/i,""),K=J=>`${Q}.${J}`,Y=W.strapi.name,Z={register(J){J.createSettingSection({id:"users-permissions",intlLabel:{id:K("Settings.section-label"),defaultMessage:"Users & Permissions plugin"}},[{intlLabel:{id:"global.roles",defaultMessage:"Roles"},id:"roles",to:"/settings/users-permissions/roles",async Component(){return await e.e(8728).then(e.bind(e,88728))},permissions:X.accessRoles},{intlLabel:{id:K("HeaderNav.link.providers"),defaultMessage:"Providers"},id:"providers",to:"/settings/users-permissions/providers",async Component(){return await e.e(3416).then(e.bind(e,83416))},permissions:X.readProviders},{intlLabel:{id:K("HeaderNav.link.emailTemplates"),defaultMessage:"Email templates"},id:"email-templates",to:"/settings/users-permissions/email-templates",async Component(){return await e.e(16).then(e.bind(e,10016))},permissions:X.readEmailTemplates},{intlLabel:{id:K("HeaderNav.link.advancedSettings"),defaultMessage:"Advanced Settings"},id:"advanced-settings",to:"/settings/users-permissions/advanced-settings",async Component(){return await e.e(5928).then(e.bind(e,75928))},permissions:X.readAdvancedSettings}]),J.registerPlugin({id:"users-permissions",name:Y})},bootstrap(){},async registerTrads({locales:J}){const ee=await Promise.all(J.map(re=>a(Object.assign({"./translations/ar.json":()=>e.e(4912).then(e.bind(e,84912)),"./translations/cs.json":()=>e.e(6612).then(e.bind(e,26612)),"./translations/de.json":()=>e.e(8554).then(e.bind(e,88554)),"./translations/dk.json":()=>e.e(8600).then(e.bind(e,28600)),"./translations/en.json":()=>e.e(2648).then(e.bind(e,12648)),"./translations/es.json":()=>e.e(8212).then(e.bind(e,48212)),"./translations/fr.json":()=>e.e(7152).then(e.bind(e,67152)),"./translations/id.json":()=>e.e(2128).then(e.bind(e,72128)),"./translations/it.json":()=>e.e(5136).then(e.bind(e,5136)),"./translations/ja.json":()=>e.e(2688).then(e.bind(e,42688)),"./translations/ko.json":()=>e.e(9908).then(e.bind(e,49908)),"./translations/ms.json":()=>e.e(1628).then(e.bind(e,81628)),"./translations/nl.json":()=>e.e(9696).then(e.bind(e,49696)),"./translations/pl.json":()=>e.e(268).then(e.bind(e,52648)),"./translations/pt-BR.json":()=>e.e(4656).then(e.bind(e,24656)),"./translations/pt.json":()=>e.e(4712).then(e.bind(e,44712)),"./translations/ru.json":()=>e.e(7960).then(e.bind(e,37960)),"./translations/sk.json":()=>e.e(816).then(e.bind(e,60816)),"./translations/sv.json":()=>e.e(360).then(e.bind(e,10360)),"./translations/th.json":()=>e.e(9672).then(e.bind(e,39672)),"./translations/tr.json":()=>e.e(480).then(e.bind(e,30480)),"./translations/uk.json":()=>e.e(6200).then(e.bind(e,46200)),"./translations/vi.json":()=>e.e(2756).then(e.bind(e,52756)),"./translations/zh-Hans.json":()=>e.e(9216).then(e.bind(e,89216)),"./translations/zh.json":()=>e.e(8548).then(e.bind(e,88548))}),`./translations/${re}.json`).then(({default:me})=>({data:(0,i.Ux)(me,"users-permissions"),locale:re})).catch(()=>({data:{},locale:re}))));return Promise.resolve(ee)}}},6340:(U,C,e)=>{"use strict";e.d(C,{k1:()=>Un,M1:()=>ru});var i=e(19968),a=e(62552),l=e(76368),c=e(43164),v=e(46784),_=e(4731),T=e(31096),A=e(59280),R=e(85480),P=e(42052),M=e(59308),O=e(49944),N=e(91224),B=e(75336),j=e(62308),z=e(91272),W=e(19632),X=e(67160);function Q(di,[wi,dr]){return Math.min(dr,Math.max(wi,di))}var K=e(12640),Y=e(84088);function Z(di){const wi=(0,a.useRef)({value:di,previous:di});return(0,a.useMemo)(()=>(wi.current.value!==di&&(wi.current.previous=wi.current.value,wi.current.value=di),wi.current.previous),[di])}var J=e(59056);const ee="VisuallyHidden",re=(0,a.forwardRef)((di,wi)=>(0,a.createElement)(N.K0.span,(0,J.c)({},di,{ref:wi,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...di.style}}))),me=null;var fe=e(72312);function le(di){const wi=`${di}CollectionProvider`,[dr,hi]=(0,c._)(wi),[Si,Di]=dr(wi,{collectionRef:{current:null},itemMap:new Map,listeners:new Set}),Xi=fs=>{const{scope:Ks,children:ma}=fs,da=a.useRef(null),Da=a.useRef(new Map).current,Ys=a.useRef(new Set).current;return(0,i.jsx)(Si,{scope:Ks,itemMap:Da,collectionRef:da,listeners:Ys,children:ma})};Xi.displayName=wi;const zi=`${di}CollectionSlot`,os=a.forwardRef((fs,Ks)=>{const{scope:ma,children:da}=fs,Da=Di(zi,ma),Ys=(0,l.q)(Ks,Da.collectionRef);return(0,i.jsx)(v.k$,{ref:Ys,children:da})});os.displayName=zi;const js=`${di}CollectionItemSlot`,hs="data-radix-collection-item",Vi=a.forwardRef((fs,Ks)=>{const{scope:ma,children:da,...Da}=fs,Ys=a.useRef(null),Xa=(0,l.q)(Ks,Ys),Po=Di(js,ma);return a.useEffect(()=>{const co=Array.from(Po.itemMap.values());return Po.itemMap.set(Ys,{ref:Ys,...Da}),Po.listeners.forEach(el=>el(Array.from(Po.itemMap.values()),co)),()=>{const el=Array.from(Po.itemMap.values());Po.itemMap.delete(Ys),Po.listeners.forEach(Yo=>Yo(Array.from(Po.itemMap.values()),el))}}),(0,i.jsx)(v.k$,{[hs]:"",ref:Xa,children:da})});Vi.displayName=js;function ns(fs){const Ks=Di(`${di}CollectionConsumer`,fs),ma=a.useCallback(()=>{const Da=Ks.collectionRef.current;if(!Da)return[];const Ys=Array.from(Da.querySelectorAll(`[${hs}]`));return Array.from(Ks.itemMap.values()).sort((Xa,Po)=>Ys.indexOf(Xa.ref.current)-Ys.indexOf(Po.ref.current))},[Ks.collectionRef,Ks.itemMap]),da=a.useCallback(Da=>(Ks.listeners.add(Da),()=>Ks.listeners.delete(Da)),[Ks.listeners]);return{getItems:ma,subscribe:da}}return[{Provider:Xi,Slot:os,ItemSlot:Vi},ns,hi]}const Ve=new Map;function Ze(di,wi){const dr=di+(wi?Object.entries(wi).sort((Si,Di)=>Si[0]<Di[0]?-1:1).join():"");if(Ve.has(dr))return Ve.get(dr);const hi=new Intl.Collator(di,wi);return Ve.set(dr,hi),hi}function Ce(di,wi){const dr=Ze(di,{usage:"search",...wi});return{startsWith(hi,Si){return Si.length===0?!0:(hi=hi.normalize("NFC"),Si=Si.normalize("NFC"),dr.compare(hi.slice(0,Si.length),Si)===0)},endsWith(hi,Si){return Si.length===0?!0:(hi=hi.normalize("NFC"),Si=Si.normalize("NFC"),dr.compare(hi.slice(-Si.length),Si)===0)},contains(hi,Si){if(Si.length===0)return!0;hi=hi.normalize("NFC"),Si=Si.normalize("NFC");let Di=0;const Xi=Si.length;for(;Di+Xi<=hi.length;Di++){const zi=hi.slice(Di,Di+Xi);if(dr.compare(Si,zi)===0)return!0}return!1}}}const ye=di=>{const wi=a.useRef();return a.useEffect(()=>{wi.current=di}),wi.current},Ae=[" ","Enter","ArrowUp","ArrowDown"],Fe=["Enter"],Qe=di=>!!(di.length===1&&di.match(/\S| /)),ce="Combobox",[Ge,Pe]=le(ce),[pe,Se]=(0,c.G)(ce),_e=({children:di})=>(0,i.jsx)(M.Ss,{children:(0,i.jsx)(Ge.Provider,{scope:void 0,children:di})}),Ne=di=>typeof di=="string"?di==="none"?{type:di,filter:void 0}:{type:di,filter:"startsWith"}:di,Le=di=>{const{allowCustomValue:wi=!1,autocomplete:dr="none",children:hi,open:Si,defaultOpen:Di,onOpenChange:Xi,value:zi,defaultValue:os,onValueChange:js,disabled:hs,required:Vi=!1,locale:ns="en-EN",onTextValueChange:fs,textValue:Ks,defaultTextValue:ma,filterValue:da,defaultFilterValue:Da,onFilterValueChange:Ys,isPrintableCharacter:Xa=Qe}=di,[Po,co]=a.useState(null),[el,Yo]=a.useState(null),[Ou,Qo]=a.useState(null),[Ha,Jo]=a.useState(null),[qo=!1,tl]=(0,B.W)({prop:Si,defaultProp:Di,onChange:Xi}),[Nu,Kl]=(0,B.W)({prop:zi,defaultProp:os,onChange:js}),[ke,Ie]=(0,B.W)({prop:Ks,defaultProp:wi&&!ma?zi:ma,onChange:fs}),[Wt,Nn]=(0,B.W)({prop:da,defaultProp:Da,onChange:Ys}),ei=(0,P.I)(),bi=a.useCallback((Bs,Xs)=>{const _a=Xs.map(ya=>ya.ref.current),[ga,...Vs]=_a,[Va]=Vs.slice(-1),io=Ha??Xs.find(ya=>ya.value===Nu)?.ref.current;for(const ya of Bs){if(ya===io)return;if(ya?.scrollIntoView({block:"nearest"}),ya===ga&&el&&(el.scrollTop=0),ya===Va&&el&&(el.scrollTop=el.scrollHeight),Jo(ya),dr==="both"){const oo=Xs.find(ka=>ka.ref.current===ya);oo&&Ie(oo.textValue)}if(ya!==io)return}},[dr,Ie,el,Ha,Nu]),Cs=Ne(dr);return a.useEffect(()=>{dr!=="both"&&Jo(null)},[ke,dr]),a.useEffect(()=>{if(Ou&&Po)return(0,z.gP)([Ou,Po])},[Ou,Po]),(0,i.jsx)(_e,{children:(0,i.jsx)(pe,{allowCustomValue:wi,autocomplete:Cs,required:Vi,trigger:Po,onTriggerChange:co,contentId:ei,value:Nu,onValueChange:Kl,open:qo,onOpenChange:tl,disabled:hs,locale:ns,focusFirst:bi,textValue:ke,onTextValueChange:Ie,onViewportChange:Yo,onContentChange:Qo,visuallyFocussedItem:Ha,filterValue:Wt,onFilterValueChange:Nn,onVisuallyFocussedItemChange:Jo,isPrintableCharacter:Xa,children:hi})})},Ke="ComboboxTrigger",bt=a.forwardRef((di,wi)=>{const{...dr}=di,hi=Se(Ke),Si=()=>{hi.disabled||hi.onOpenChange(!0)};return(0,i.jsx)(M.iq,{asChild:!0,children:(0,i.jsx)(R.w,{asChild:!0,trapped:hi.open,onMountAutoFocus:Di=>{Di.preventDefault()},onUnmountAutoFocus:Di=>{hi.trigger?.focus({preventScroll:!0}),document.getSelection()?.empty(),Di.preventDefault()},children:(0,i.jsx)("div",{ref:wi,"data-disabled":hi.disabled?"":void 0,...dr,onClick:(0,_.K)(dr.onClick,()=>{hi.trigger?.focus()}),onPointerDown:(0,_.K)(dr.onPointerDown,Di=>{const Xi=Di.target;Xi.hasPointerCapture(Di.pointerId)&&Xi.releasePointerCapture(Di.pointerId),(Xi.closest("button")??Xi.closest("div"))===Di.currentTarget&&Di.button===0&&Di.ctrlKey===!1&&(Si(),hi.trigger?.focus())})})})})});bt.displayName=Ke;const yt="ComboboxInput",It=a.forwardRef((di,wi)=>{const dr=Se(yt),hi=a.useRef(null),{getItems:Si}=Pe(void 0),{startsWith:Di}=Ce(dr.locale,{sensitivity:"base"}),Xi=dr.disabled,zi=(0,l.q)(hi,wi,dr.onTriggerChange),os=()=>{Xi||dr.onOpenChange(!0)},js=ye(dr.filterValue);return(0,j.w)(()=>{const hs=setTimeout(()=>{if(dr.textValue===""||dr.textValue===void 0||dr.filterValue===""||dr.filterValue===void 0)return;const Vi=Si().find(fs=>fs.type==="option"&&Di(fs.textValue,dr.textValue)),ns=xn(js??"",dr.filterValue);Vi&&!dr.visuallyFocussedItem&&ns===dr.filterValue.length&&hi.current?.setSelectionRange(dr.filterValue.length,dr.textValue.length)});return()=>clearTimeout(hs)},[dr.textValue,dr.filterValue,Di,dr.visuallyFocussedItem,Si,js]),(0,i.jsx)("input",{type:"text",role:"combobox","aria-controls":dr.contentId,"aria-expanded":dr.open,"aria-required":dr.required,"aria-autocomplete":dr.autocomplete.type,"data-state":dr.open?"open":"closed","aria-disabled":Xi,"aria-activedescendant":dr.visuallyFocussedItem?.id,disabled:Xi,"data-disabled":Xi?"":void 0,"data-placeholder":dr.textValue===void 0?"":void 0,value:dr.textValue??"",...di,ref:zi,onKeyDown:(0,_.K)(di.onKeyDown,hs=>{if(["ArrowUp","ArrowDown","Home","End"].includes(hs.key))dr.open||os(),setTimeout(()=>{let Vi=Si().filter(ns=>!ns.disabled&&ns.isVisible).map(ns=>ns.ref.current);if(["ArrowUp","End"].includes(hs.key)&&(Vi=Vi.slice().reverse()),["ArrowUp","ArrowDown"].includes(hs.key)){const ns=dr.visuallyFocussedItem??Si().find(fs=>fs.value===dr.value)?.ref.current;if(ns){let fs=Vi.indexOf(ns);fs===Vi.length-1&&(fs=-1),Vi=Vi.slice(fs+1)}}if(["ArrowDown"].includes(hs.key)&&dr.autocomplete.type==="both"&&Vi.length>1){const[ns,...fs]=Vi,Ks=Si().find(ma=>ma.ref.current===ns).textValue;dr.textValue===Ks&&(Vi=fs)}dr.focusFirst(Vi,Si())}),hs.preventDefault();else if(["Tab"].includes(hs.key)&&dr.open)hs.preventDefault();else if(["Escape"].includes(hs.key))dr.open?dr.onOpenChange(!1):(dr.onValueChange(void 0),dr.onTextValueChange("")),hs.preventDefault();else if(Fe.includes(hs.key)){if(dr.visuallyFocussedItem){const Vi=Si().find(ns=>ns.ref.current===dr.visuallyFocussedItem);Vi&&(dr.onValueChange(Vi.value),dr.onTextValueChange(Vi.textValue),dr.autocomplete.type==="both"&&dr.onFilterValueChange(Vi.textValue),Vi.ref.current?.click())}else{const Vi=Si().find(ns=>ns.type==="option"&&!ns.disabled&&ns.textValue===dr.textValue);Vi&&(dr.onValueChange(Vi.value),dr.onTextValueChange(Vi.textValue),dr.autocomplete.type==="both"&&dr.onFilterValueChange(Vi.textValue),Vi.ref.current?.click())}dr.onOpenChange(!1),hs.preventDefault()}else dr.onVisuallyFocussedItemChange(null)}),onChange:(0,_.K)(di.onChange,hs=>{dr.onTextValueChange(hs.currentTarget.value),dr.autocomplete.type==="both"&&dr.onFilterValueChange(hs.currentTarget.value)}),onKeyUp:(0,_.K)(di.onKeyUp,hs=>{if(!dr.open&&(dr.isPrintableCharacter(hs.key)||["Backspace"].includes(hs.key))&&os(),setTimeout(()=>{if(dr.autocomplete.type==="both"&&dr.isPrintableCharacter(hs.key)&&dr.filterValue!==void 0){const Vi=dr.filterValue,ns=Si().find(fs=>Di(fs.textValue,Vi));ns&&dr.onTextValueChange(ns.textValue)}}),dr.autocomplete.type==="none"&&dr.isPrintableCharacter(hs.key)){const Vi=dr.textValue??"",ns=Si().find(fs=>Di(fs.textValue,Vi));ns&&(dr.onVisuallyFocussedItemChange(ns.ref.current),ns.ref.current?.scrollIntoView())}}),onBlur:(0,_.K)(di.onBlur,()=>{if(dr.open)return;dr.onVisuallyFocussedItemChange(null);const[hs]=Si().filter(ns=>ns.textValue===dr.textValue&&ns.type==="option");if(hs){dr.onValueChange(hs.value),dr.autocomplete.type==="both"&&dr.onFilterValueChange(hs.textValue);return}if(dr.allowCustomValue){dr.onValueChange(dr.textValue),dr.autocomplete.type==="both"&&dr.onFilterValueChange(dr.textValue);return}const[Vi]=Si().filter(ns=>ns.value===dr.value&&ns.type==="option");Vi&&dr.textValue!==""?(dr.onTextValueChange(Vi.textValue),dr.autocomplete.type==="both"&&dr.onFilterValueChange(Vi.textValue)):(dr.onValueChange(void 0),dr.onTextValueChange(""))})})});It.displayName="ComboboxTextInput";const _t=a.forwardRef((di,wi)=>{const{children:dr,...hi}=di,Si=Se(yt),Di=Si.disabled,Xi=()=>{Di||(Si.onOpenChange(!0),Si.trigger?.focus())};return(0,i.jsx)(N.K0.button,{"aria-hidden":!0,type:"button","aria-disabled":Di,"aria-controls":Si.contentId,"aria-expanded":Si.open,disabled:Di,"data-disabled":Di?"":void 0,...hi,tabIndex:-1,ref:wi,onClick:(0,_.K)(hi.onClick,()=>{Si.trigger?.focus()}),onPointerDown:(0,_.K)(hi.onPointerDown,zi=>{zi.button===0&&zi.ctrlKey===!1&&(Xi(),zi.preventDefault())}),onKeyDown:(0,_.K)(hi.onKeyDown,zi=>{Ae.includes(zi.key)&&(Xi(),zi.preventDefault())}),children:dr||"\u25BC"})});_t.displayName="ComboboxIcon";const zt="ComboboxPortal",Vt=di=>(0,i.jsx)(O.a,{asChild:!0,...di});Vt.displayName=zt;const St="ComboboxContent",Xt=a.forwardRef((di,wi)=>{const dr=Se(St),{getItems:hi}=Pe(void 0),[Si,Di]=a.useState();if((0,j.w)(()=>{Di(new DocumentFragment)},[]),(0,j.w)(()=>{dr.open&&dr.autocomplete.type==="none"&&setTimeout(()=>{hi().find(Xi=>Xi.value===dr.value)?.ref.current?.scrollIntoView({block:"nearest"})})},[hi,dr.autocomplete,dr.value,dr.open]),!dr.open){const Xi=Si;return Xi?W.createPortal((0,i.jsx)(Ge.Slot,{scope:void 0,children:(0,i.jsx)("div",{children:di.children})}),Xi):null}return(0,i.jsx)(sn,{...di,ref:wi})});Xt.displayName=St;const jt=10,sn=a.forwardRef((di,wi)=>{const{onEscapeKeyDown:dr,onPointerDownOutside:hi,...Si}=di,Di=Se(St),Xi=(0,l.q)(wi,os=>Di.onContentChange(os)),{onOpenChange:zi}=Di;return(0,A.SS)(),a.useEffect(()=>{const os=()=>{zi(!1)};return window.addEventListener("blur",os),window.addEventListener("resize",os),()=>{window.removeEventListener("blur",os),window.removeEventListener("resize",os)}},[zi]),(0,i.jsx)(X.c,{allowPinchZoom:!0,children:(0,i.jsx)(T.cb,{asChild:!0,onEscapeKeyDown:dr,onPointerDownOutside:hi,onFocusOutside:os=>{os.preventDefault()},onDismiss:()=>{Di.onOpenChange(!1),Di.trigger?.focus({preventScroll:!0})},children:(0,i.jsx)(dt,{role:"listbox",id:Di.contentId,"data-state":Di.open?"open":"closed",onContextMenu:os=>os.preventDefault(),...Si,ref:Xi,style:{display:"flex",flexDirection:"column",outline:"none",...Si.style}})})})});sn.displayName="ComboboxContentImpl";const dt=a.forwardRef((di,wi)=>{const{align:dr="start",collisionPadding:hi=jt,...Si}=di;return(0,i.jsx)(M.kP,{...Si,ref:wi,align:dr,collisionPadding:hi,style:{boxSizing:"border-box",...Si.style,"--radix-combobox-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-combobox-content-available-width":"var(--radix-popper-available-width)","--radix-combobox-content-available-height":"var(--radix-popper-available-height)","--radix-combobox-trigger-width":"var(--radix-popper-anchor-width)","--radix-combobox-trigger-height":"var(--radix-popper-anchor-height)"}})});dt.displayName="ComboboxPopperPosition";const Ln="ComboboxViewport",fn=a.forwardRef((di,wi)=>{const dr=Se(Ln),hi=(0,l.q)(wi,dr.onViewportChange);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-combobox-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-combobox-viewport]::-webkit-scrollbar{display:none}"}}),(0,i.jsx)(Ge.Slot,{scope:void 0,children:(0,i.jsx)(N.K0.div,{"data-radix-combobox-viewport":"",role:"presentation",...di,ref:hi,style:{position:"relative",flex:1,overflow:"auto",...di.style}})})]})});fn.displayName=Ln;const cr="ComboboxItem",[wr,Jn]=(0,c.G)(cr),nn=a.forwardRef((di,wi)=>{const{value:dr,disabled:hi=!1,textValue:Si,...Di}=di,[Xi,zi]=a.useState();(0,j.w)(()=>{zi(new DocumentFragment)},[]);const{onTextValueChange:os,textValue:js,...hs}=Se(cr),Vi=(0,P.I)(),[ns,fs]=a.useState(Si??""),Ks=hs.value===dr,{startsWith:ma,contains:da}=Ce(hs.locale,{sensitivity:"base"}),Da=a.useCallback(Ys=>{fs(Xa=>Xa||(Ys?.textContent??"").trim())},[]);return a.useEffect(()=>{Ks&&js===void 0&&ns!==""&&os(ns)},[ns,Ks,js,os]),hs.autocomplete.type==="both"&&ns&&hs.filterValue&&!ma(ns,hs.filterValue)||hs.autocomplete.type==="list"&&hs.autocomplete.filter==="startsWith"&&ns&&js&&!ma(ns,js)||hs.autocomplete.type==="list"&&hs.autocomplete.filter==="contains"&&ns&&js&&!da(ns,js)?Xi?W.createPortal((0,i.jsx)(wr,{textId:Vi,onTextValueChange:Da,isSelected:Ks,textValue:ns,children:(0,i.jsx)(Ge.ItemSlot,{scope:void 0,value:dr,textValue:ns,disabled:hi,type:"option",isVisible:!1,children:(0,i.jsx)(bn,{ref:wi,value:dr,disabled:hi,...Di})})}),Xi):null:(0,i.jsx)(wr,{textId:Vi,onTextValueChange:Da,isSelected:Ks,textValue:ns,children:(0,i.jsx)(Ge.ItemSlot,{scope:void 0,value:dr,textValue:ns,disabled:hi,type:"option",isVisible:!0,children:(0,i.jsx)(bn,{ref:wi,value:dr,disabled:hi,...Di})})})});nn.displayName=cr;const or="ComboboxItemImpl",bn=a.forwardRef((di,wi)=>{const{value:dr,disabled:hi=!1,...Si}=di,Di=a.useRef(null),Xi=(0,l.q)(wi,Di),{getItems:zi}=Pe(void 0),{onTextValueChange:os,visuallyFocussedItem:js,...hs}=Se(cr),{isSelected:Vi,textValue:ns,textId:fs}=Jn(or),Ks=()=>{hi||(hs.onValueChange(dr),os(ns),hs.onOpenChange(!1),hs.autocomplete.type==="both"&&hs.onFilterValueChange(ns),hs.trigger?.focus({preventScroll:!0}))},ma=a.useMemo(()=>js===zi().find(Da=>Da.ref.current===Di.current)?.ref.current,[zi,js]),da=(0,P.I)();return(0,i.jsx)(N.K0.div,{role:"option","aria-labelledby":fs,"data-highlighted":ma?"":void 0,"aria-selected":Vi&&ma,"data-state":Vi?"checked":"unchecked","aria-disabled":hi||void 0,"data-disabled":hi?"":void 0,tabIndex:hi?void 0:-1,...Si,id:da,ref:Xi,onPointerUp:(0,_.K)(Si.onPointerUp,Ks)})});bn.displayName=or;const Sn="ComboboxItemText",Hn=a.forwardRef((di,wi)=>{const{className:dr,style:hi,...Si}=di,Di=Jn(Sn),Xi=(0,l.q)(wi,Di.onTextValueChange);return(0,i.jsx)(N.K0.span,{id:Di.textId,...Si,ref:Xi})});Hn.displayName=Sn;const er="ComboboxItemIndicator",an=a.forwardRef((di,wi)=>{const{isSelected:dr}=Jn(er);return dr?(0,i.jsx)(N.K0.span,{"aria-hidden":!0,...di,ref:wi}):null});an.displayName=er;const Cn="ComboboxNoValueFound",de=a.forwardRef((di,wi)=>{const{textValue:dr="",filterValue:hi="",locale:Si,autocomplete:Di}=Se(Cn),[Xi,zi]=a.useState([]),{subscribe:os}=Pe(void 0),{startsWith:js,contains:hs}=Ce(Si,{sensitivity:"base"});return a.useEffect(()=>{const Vi=os(ns=>{zi(ns)});return()=>{Vi()}},[os]),Xi.length===0||Di.type==="none"||Di.type==="list"&&Di.filter==="startsWith"&&Xi.some(Vi=>js(Vi.textValue,dr))||Di.type==="both"&&Xi.some(Vi=>js(Vi.textValue,hi))||Di.type==="list"&&Di.filter==="contains"&&Xi.some(Vi=>hs(Vi.textValue,dr))?null:(0,i.jsx)(N.K0.div,{...di,ref:wi})});de.displayName=Cn;const oe=a.forwardRef((di,wi)=>{const{disabled:dr=!1,...hi}=di,Si=Se(Cn),{textValue:Di,visuallyFocussedItem:Xi}=Si,{getItems:zi,subscribe:os}=Pe(void 0),js=a.useRef(null),[hs,Vi]=a.useState(!1),ns=(0,l.q)(wi,js),fs=a.useMemo(()=>Xi===zi().find(da=>da.ref.current===js.current)?.ref.current,[zi,Xi]),Ks=(0,P.I)(),ma=()=>{!dr&&Di&&(Si.onValueChange(Di),Si.onTextValueChange(Di),Si.onOpenChange(!1),Si.autocomplete.type==="both"&&Si.onFilterValueChange(Di),Si.trigger?.focus({preventScroll:!0}))};return(0,j.w)(()=>{const da=os(Da=>{Vi(!Da.some(Ys=>Ys.textValue===Di&&Ys.type!=="create"))});return zi().length===0&&Vi(!0),()=>{da()}},[Di,os,zi]),!Di||!hs?null:(0,i.jsx)(Ge.ItemSlot,{scope:void 0,value:Di??"",textValue:Di??"",disabled:dr,isVisible:!0,type:"create",children:(0,i.jsx)(N.K0.div,{role:"option",tabIndex:dr?void 0:-1,"aria-disabled":dr||void 0,"data-disabled":dr?"":void 0,"data-highlighted":fs?"":void 0,...hi,id:Ks,ref:ns,onPointerUp:(0,_.K)(hi.onPointerUp,ma)})})});oe.displayName="ComboboxCreateItem";const Ye=Le,Et=bt,xe=It,Re=_t,We=Vt,gt=Xt,Nt=fn,Ct=nn,tn=Hn,ge=an,At=de,mn=oe;function xn(di,wi){const dr=Math.min(di.length,wi.length);for(let hi=0;hi<dr;hi++)if(di[hi]!==wi[hi])return hi;return dr}const Un=Object.freeze(Object.defineProperty({__proto__:null,ComboboxItem:nn,Content:gt,CreateItem:mn,Icon:Re,Item:Ct,ItemIndicator:ge,ItemText:tn,NoValueFound:At,Portal:We,Root:Ye,TextInput:xe,Trigger:Et,Viewport:Nt},Symbol.toStringTag,{value:"Module"})),gr=[" ","Enter","ArrowUp","ArrowDown"],Ur=[" ","Enter"],Or="Select",[ii,Ui,rn]=(0,K.o)(Or),[$n,yi]=(0,c._)(Or,[rn,M.ao]),Jr=(0,M.ao)(),[cn,mt]=$n(Or),[we,je]=$n(Or),pt=di=>{const{__scopeSelect:wi,children:dr,open:hi,defaultOpen:Si,onOpenChange:Di,value:Xi,defaultValue:zi,onValueChange:os,dir:js,disabled:hs,required:Vi,multi:ns=!1}=di,fs=Jr(wi),[Ks,ma]=a.useState(null),[da,Da]=a.useState(null),[Ys,Xa]=a.useState(!1),Po=(0,Y.cz)(js),[co=!1,el]=(0,B.W)({prop:hi,defaultProp:Si,onChange:Di}),[Yo,Ou]=(0,B.W)({prop:Xi,defaultProp:zi,onChange(qo){os&&(Array.isArray(qo),os(qo))}}),Qo=a.useRef(null),[Ha,Jo]=a.useState(new Set);return(0,i.jsx)(M.Ss,{...fs,children:(0,i.jsx)(cn,{required:Vi,scope:wi,trigger:Ks,onTriggerChange:ma,valueNode:da,onValueNodeChange:Da,valueNodeHasChildren:Ys,onValueNodeHasChildrenChange:Xa,contentId:(0,P.I)(),value:Yo,onValueChange:Ou,open:co,onOpenChange:el,dir:Po,triggerPointerDownPosRef:Qo,disabled:hs,multi:ns,children:(0,i.jsx)(ii.Provider,{scope:wi,children:(0,i.jsx)(we,{scope:di.__scopeSelect,onNativeOptionAdd:a.useCallback(qo=>{Jo(tl=>new Set(tl).add(qo))},[]),onNativeOptionRemove:a.useCallback(qo=>{Jo(tl=>{const Nu=new Set(tl);return Nu.delete(qo),Nu})},[]),children:dr})})})})};pt.displayName=Or;const at="SelectTrigger",kt=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,...hi}=di,Si=Jr(dr),Di=mt(at,dr),Xi=Di.disabled,zi=(0,l.q)(wi,Di.onTriggerChange),os=Ui(dr),[js,hs,Vi]=Ue(fs=>{const Ks=os().filter(Da=>!Da.disabled),ma=Ks.find(Da=>Da.value===Di.value),da=ut(Ks,fs,ma);if(da!==void 0&&!Array.isArray(da.value)){const Da=Di.multi?[da.value]:da.value;Di.onValueChange(Da)}}),ns=()=>{Xi||(Di.onOpenChange(!0),Vi())};return(0,i.jsx)(M.iq,{asChild:!0,...Si,children:(0,i.jsx)(N.K0.div,{role:"combobox","aria-controls":Di.contentId,"aria-expanded":Di.open,"aria-required":Di.required,"aria-autocomplete":"none",dir:Di.dir,"data-state":Di.open?"open":"closed","data-disabled":Xi?"":void 0,"data-placeholder":Di.value===void 0?"":void 0,tabIndex:Xi?void 0:0,...hi,ref:zi,onClick:(0,_.K)(hi.onClick,fs=>{fs.currentTarget.focus()}),onPointerDown:(0,_.K)(hi.onPointerDown,fs=>{const Ks=fs.target;Ks.hasPointerCapture(fs.pointerId)&&Ks.releasePointerCapture(fs.pointerId),(Ks.closest("button")??Ks.closest("div"))===fs.currentTarget&&fs.button===0&&fs.ctrlKey===!1&&(ns(),Di.triggerPointerDownPosRef.current={x:Math.round(fs.pageX),y:Math.round(fs.pageY)},fs.preventDefault())}),onKeyDown:(0,_.K)(hi.onKeyDown,fs=>{const Ks=js.current!=="",ma=fs.ctrlKey||fs.altKey||fs.metaKey,da=fs.target;(da.closest("button")??da.closest("div"))===fs.currentTarget&&(!ma&&fs.key.length===1&&hs(fs.key),!(Ks&&fs.key===" ")&&gr.includes(fs.key)&&(ns(),fs.preventDefault()))})})})});kt.displayName=at;const vn="SelectValue",Wn=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,children:hi,placeholder:Si,...Di}=di,Xi=mt(vn,dr),{onValueNodeHasChildrenChange:zi}=Xi,os=hi!==void 0,js=(0,l.q)(wi,Xi.onValueNodeChange),[hs,Vi]=a.useState([]),ns=Ui(dr);(0,j.w)(()=>{zi(os)},[zi,os]),a.useLayoutEffect(()=>{if(Array.isArray(Xi.value)&&hs.length!==Xi.value.length){const Ks=setTimeout(()=>{const ma=ns().filter(da=>Array.isArray(da.value)?!1:Xi.value?.includes(da.value));Vi(ma)});return()=>{clearTimeout(Ks)}}},[Xi.value,ns,hs]);let fs;if((Xi.value===void 0||Xi.value.length===0)&&Si!==void 0)fs=(0,i.jsx)("span",{children:Si});else if(typeof hi=="function")if(Array.isArray(Xi.value)){const Ks=Xi.value.map(ma=>{const da=hs.find(Da=>Da.value===ma);return da?hi({value:ma,textValue:da?.textValue}):null});fs=Ks.every(ma=>ma===null)?Si:Ks}else fs=hi(Xi.value);else fs=hi;return(0,i.jsx)(N.K0.span,{...Di,ref:js,children:fs||null})});Wn.displayName=vn;const nr="SelectIcon",rr=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,children:hi,...Si}=di;return(0,i.jsx)(N.K0.span,{"aria-hidden":!0,...Si,ref:wi,children:hi||"\u25BC"})});rr.displayName=nr;const Ot="SelectPortal",Gt=di=>(0,i.jsx)(O.a,{asChild:!0,...di});Gt.displayName=Ot;const Pt="SelectContent",Tt=a.forwardRef((di,wi)=>{const dr=mt(Pt,di.__scopeSelect),[hi,Si]=a.useState();if((0,j.w)(()=>{Si(new DocumentFragment)},[]),!dr.open){const Di=hi;return Di?W.createPortal((0,i.jsx)(on,{scope:di.__scopeSelect,children:(0,i.jsx)(ii.Slot,{scope:di.__scopeSelect,children:(0,i.jsx)("div",{children:di.children})})}),Di):null}return(0,i.jsx)(Yt,{...di,ref:wi})});Tt.displayName=Pt;const An=10,[on,dn]=$n(Pt),$e="SelectContentImpl",Yt=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,position:hi="item-aligned",onCloseAutoFocus:Si,onEscapeKeyDown:Di,onPointerDownOutside:Xi,side:zi,sideOffset:os,align:js,alignOffset:hs,arrowPadding:Vi,collisionBoundary:ns,collisionPadding:fs,sticky:Ks,hideWhenDetached:ma,avoidCollisions:da,...Da}=di,Ys=mt(Pt,dr),[Xa,Po]=a.useState(null),[co,el]=a.useState(null),Yo=(0,l.q)(wi,Vs=>Po(Vs)),[Ou,Qo]=a.useState(null),[Ha,Jo]=a.useState(null),qo=Ui(dr),[tl,Nu]=a.useState(!1),Kl=a.useRef(!1);a.useEffect(()=>{if(Xa)return(0,z.gP)(Xa)},[Xa]),(0,A.SS)();const ke=a.useCallback(Vs=>{const[Va,...io]=qo().map(ka=>ka.ref.current),[ya]=io.slice(-1),oo=document.activeElement;for(const ka of Vs)if(ka===oo||(ka?.scrollIntoView({block:"nearest"}),ka===Va&&co&&(co.scrollTop=0),ka===ya&&co&&(co.scrollTop=co.scrollHeight),ka?.focus(),document.activeElement!==oo))return},[qo,co]),Ie=a.useCallback(()=>ke([Ou,Xa]),[ke,Ou,Xa]);a.useEffect(()=>{tl&&Ie()},[tl,Ie]);const{onOpenChange:Wt,triggerPointerDownPosRef:Nn}=Ys;a.useEffect(()=>{if(Xa){let Vs={x:0,y:0};const Va=ya=>{Vs={x:Math.abs(Math.round(ya.pageX)-(Nn.current?.x??0)),y:Math.abs(Math.round(ya.pageY)-(Nn.current?.y??0))}},io=ya=>{Vs.x<=10&&Vs.y<=10?ya.preventDefault():Xa.contains(ya.target)||Wt(!1),document.removeEventListener("pointermove",Va),Nn.current=null};return Nn.current!==null&&(document.addEventListener("pointermove",Va),document.addEventListener("pointerup",io,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Va),document.removeEventListener("pointerup",io,{capture:!0})}}},[Xa,Wt,Nn]),a.useEffect(()=>{const Vs=()=>Wt(!1);return window.addEventListener("blur",Vs),window.addEventListener("resize",Vs),()=>{window.removeEventListener("blur",Vs),window.removeEventListener("resize",Vs)}},[Wt]);const[ei,bi]=Ue(Vs=>{const Va=qo().filter(oo=>!oo.disabled),io=Va.find(oo=>oo.ref.current===document.activeElement),ya=ut(Va,Vs,io);ya&&setTimeout(()=>ya.ref.current.focus())}),Cs=a.useCallback((Vs,Va,io)=>{const ya=!Kl.current&&!io;(Ys.value!==void 0&&Ys.value===Va||ya)&&(Qo(Vs),ya&&(Kl.current=!0))},[Ys.value]),Bs=a.useCallback(()=>Xa?.focus(),[Xa]),Xs=a.useCallback((Vs,Va,io)=>{const ya=!Kl.current&&!io;(Ys.value!==void 0&&(Array.isArray(Va)?Va.every(oo=>Ys.value?.includes(oo)):Ys.value===Va)||ya)&&Jo(Vs)},[Ys.value]),_a=hi==="popper"?yn:Jt,ga=_a===yn?{side:zi,sideOffset:os,align:js,alignOffset:hs,arrowPadding:Vi,collisionBoundary:ns,collisionPadding:fs,sticky:Ks,hideWhenDetached:ma,avoidCollisions:da}:{};return(0,i.jsx)(on,{scope:dr,content:Xa,viewport:co,onViewportChange:el,itemRefCallback:Cs,selectedItem:Ou,onItemLeave:Bs,itemTextRefCallback:Xs,focusSelectedItem:Ie,selectedItemText:Ha,position:hi,isPositioned:tl,searchRef:ei,children:(0,i.jsx)(X.c,{as:v.k$,allowPinchZoom:!0,children:(0,i.jsx)(R.w,{asChild:!0,trapped:Ys.open,onMountAutoFocus:Vs=>{Vs.preventDefault()},onUnmountAutoFocus:(0,_.K)(Si,Vs=>{Ys.trigger?.focus({preventScroll:!0}),document.getSelection()?.empty(),Vs.preventDefault()}),children:(0,i.jsx)(T.cb,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:Di,onPointerDownOutside:Xi,onFocusOutside:Vs=>Vs.preventDefault(),onDismiss:()=>Ys.onOpenChange(!1),children:(0,i.jsx)(_a,{role:"listbox",id:Ys.contentId,"data-state":Ys.open?"open":"closed","aria-multiselectable":Ys.multi?"true":void 0,dir:Ys.dir,onContextMenu:Vs=>Vs.preventDefault(),...Da,...ga,onPlaced:()=>Nu(!0),ref:Yo,style:{display:"flex",flexDirection:"column",outline:"none",...Da.style},onKeyDown:(0,_.K)(Da.onKeyDown,Vs=>{const Va=Vs.ctrlKey||Vs.altKey||Vs.metaKey;if(Vs.key==="Tab"&&Vs.preventDefault(),!Va&&Vs.key.length===1&&bi(Vs.key),["ArrowUp","ArrowDown","Home","End"].includes(Vs.key)){let io=qo().filter(ya=>!ya.disabled).map(ya=>ya.ref.current);if(["ArrowUp","End"].includes(Vs.key)&&(io=io.slice().reverse()),["ArrowUp","ArrowDown"].includes(Vs.key)){const ya=Vs.target,oo=io.indexOf(ya);io=io.slice(oo+1)}setTimeout(()=>ke(io)),Vs.preventDefault()}})})})})})})});Yt.displayName=$e;const $t="SelectItemAlignedPosition",Jt=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,onPlaced:hi,...Si}=di,Di=mt(Pt,dr),Xi=dn(Pt,dr),[zi,os]=a.useState(null),[js,hs]=a.useState(null),Vi=(0,l.q)(wi,Yo=>hs(Yo)),ns=Ui(dr),fs=a.useRef(!1),Ks=a.useRef(!0),{viewport:ma,selectedItem:da,selectedItemText:Da,focusSelectedItem:Ys}=Xi,Xa=a.useCallback(()=>{if(Di.trigger&&Di.valueNode&&zi&&js&&ma&&da&&Da){const Yo=Di.trigger.getBoundingClientRect(),Ou=js.getBoundingClientRect(),Qo=Di.valueNode.getBoundingClientRect(),Ha=Da.getBoundingClientRect();if(Di.dir!=="rtl"){const ya=Ha.left-Ou.left,oo=Qo.left-ya,ka=Yo.left-oo,Su=Yo.width+ka,Ru=Math.max(Su,Ou.width),Ko=window.innerWidth-An,Yl=Q(oo,[An,Ko-Ru]);zi.style.minWidth=`${Su}px`,zi.style.left=`${Yl}px`}else{const ya=Ou.right-Ha.right,oo=window.innerWidth-Qo.right-ya,ka=window.innerWidth-Yo.right-oo,Su=Yo.width+ka,Ru=Math.max(Su,Ou.width),Ko=window.innerWidth-An,Yl=Q(oo,[An,Ko-Ru]);zi.style.minWidth=`${Su}px`,zi.style.right=`${Yl}px`}const Jo=ns(),qo=window.innerHeight-An*2,tl=ma.scrollHeight,Nu=window.getComputedStyle(js),Kl=parseInt(Nu.borderTopWidth,10),ke=parseInt(Nu.paddingTop,10),Ie=parseInt(Nu.borderBottomWidth,10),Wt=parseInt(Nu.paddingBottom,10),Nn=Kl+ke+tl+Wt+Ie,ei=Math.min(da.offsetHeight*5,Nn),bi=window.getComputedStyle(ma),Cs=parseInt(bi.paddingTop,10),Bs=parseInt(bi.paddingBottom,10),Xs=Yo.top+Yo.height/2-An,_a=qo-Xs,ga=da.offsetHeight/2,Vs=da.offsetTop+ga,Va=Kl+ke+Vs,io=Nn-Va;if(Va<=Xs){const ya=da===Jo[Jo.length-1].ref.current;zi.style.bottom="0px";const oo=js.clientHeight-ma.offsetTop-ma.offsetHeight,ka=Math.max(_a,ga+(ya?Bs:0)+oo+Ie),Su=Va+ka;zi.style.height=`${Su}px`}else{const ya=da===Jo[0].ref.current;zi.style.top="0px";const oo=Math.max(Xs,Kl+ma.offsetTop+(ya?Cs:0)+ga)+io;zi.style.height=`${oo}px`,ma.scrollTop=Va-Xs+ma.offsetTop}zi.style.margin=`${An}px 0`,zi.style.minHeight=`${ei}px`,zi.style.maxHeight=`${qo}px`,hi?.(),requestAnimationFrame(()=>fs.current=!0)}},[ns,Di.trigger,Di.valueNode,zi,js,ma,da,Da,Di.dir,hi]);(0,j.w)(()=>Xa(),[Xa]);const[Po,co]=a.useState();(0,j.w)(()=>{js&&co(window.getComputedStyle(js).zIndex)},[js]);const el=a.useCallback(Yo=>{Yo&&Ks.current===!0&&(Xa(),Ys?.(),Ks.current=!1)},[Xa,Ys]);return(0,i.jsx)(In,{scope:dr,contentWrapper:zi,shouldExpandOnScrollRef:fs,onScrollButtonChange:el,children:(0,i.jsx)("div",{ref:os,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:Po},children:(0,i.jsx)(N.K0.div,{...Si,ref:Vi,style:{boxSizing:"border-box",maxHeight:"100%",...Si.style}})})})});Jt.displayName=$t;const Lt="SelectPopperPosition",yn=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,align:hi="start",collisionPadding:Si=An,...Di}=di,Xi=Jr(dr);return(0,i.jsx)(M.kP,{...Xi,...Di,ref:wi,align:hi,collisionPadding:Si,style:{boxSizing:"border-box",...Di.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});yn.displayName=Lt;const[In,yr]=$n(Pt,{}),Rr="SelectViewport",Xr=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,...hi}=di,Si=dn(Rr,dr),Di=yr(Rr,dr),Xi=(0,l.q)(wi,Si.onViewportChange),zi=a.useRef(0);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),(0,i.jsx)(ii.Slot,{scope:dr,children:(0,i.jsx)(N.K0.div,{"data-radix-select-viewport":"",role:"presentation",...hi,ref:Xi,style:{position:"relative",flex:1,overflow:"auto",...hi.style},onScroll:(0,_.K)(hi.onScroll,os=>{const js=os.currentTarget,{contentWrapper:hs,shouldExpandOnScrollRef:Vi}=Di;if(Vi?.current&&hs){const ns=Math.abs(zi.current-js.scrollTop);if(ns>0){const fs=window.innerHeight-An*2,Ks=parseFloat(hs.style.minHeight),ma=parseFloat(hs.style.height),da=Math.max(Ks,ma);if(da<fs){const Da=da+ns,Ys=Math.min(fs,Da),Xa=Da-Ys;hs.style.height=`${Ys}px`,hs.style.bottom==="0px"&&(js.scrollTop=Xa>0?Xa:0,hs.style.justifyContent="flex-end")}}}zi.current=js.scrollTop})})})]})});Xr.displayName=Rr;const ci="SelectGroup",[Hr,un]=$n(ci),ct=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,...hi}=di,Si=(0,P.I)();return(0,i.jsx)(Hr,{scope:dr,id:Si,children:(0,i.jsx)(N.K0.div,{role:"group","aria-labelledby":Si,...hi,ref:wi})})});ct.displayName=ci;const Ut="SelectLabel",wt=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,...hi}=di,Si=un(Ut,dr);return(0,i.jsx)(N.K0.div,{id:Si.id,...hi,ref:wi})});wt.displayName=Ut;const kn="SelectItem",[wn,Qn]=$n(kn),ur=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,value:hi,disabled:Si=!1,textValue:Di,...Xi}=di,zi=mt(kn,dr),os=dn(kn,dr),js=typeof hi=="string"?Array.isArray(zi.value)?zi.value.includes(hi):zi.value===hi:hi.every(Ys=>zi.value?.includes(Ys)),hs=Array.isArray(zi.value)&&Array.isArray(hi)&&hi.some(Ys=>zi.value?.includes(Ys)),[Vi,ns]=a.useState(Di??""),[fs,Ks]=a.useState(!1),ma=(0,l.q)(wi,Ys=>os.itemRefCallback?.(Ys,hi,Si)),da=(0,P.I)(),Da=()=>{if(!Si){let Ys=zi.multi&&typeof hi=="string"?[hi]:hi;hs&&!js?zi.onValueChange(Ys):Array.isArray(zi.value)&&(Ys=Fn(hi,zi.value)),zi.onValueChange(Ys),zi.multi||zi.onOpenChange(!1)}};if(!zi.multi&&Array.isArray(hi))throw new Error("You can only pass an array of values in multi selects");return(0,i.jsx)(wn,{scope:dr,value:hi,disabled:Si,textId:da,isSelected:js,isIntermediate:hs,onItemTextChange:a.useCallback(Ys=>{ns(Xa=>Xa||(Ys?.textContent??"").trim())},[]),children:(0,i.jsx)(ii.ItemSlot,{scope:dr,value:hi,disabled:Si,textValue:Vi,children:(0,i.jsx)(N.K0.div,{role:"option","aria-labelledby":da,"data-highlighted":fs?"":void 0,"aria-selected":zi.multi?void 0:js&&fs,"aria-checked":zi.multi?js:void 0,"data-state":js?"checked":"unchecked","aria-disabled":Si||void 0,"data-disabled":Si?"":void 0,tabIndex:Si?void 0:-1,...Xi,ref:ma,onFocus:(0,_.K)(Xi.onFocus,()=>Ks(!0)),onBlur:(0,_.K)(Xi.onBlur,()=>Ks(!1)),onPointerUp:(0,_.K)(Xi.onPointerUp,Da),onPointerMove:(0,_.K)(Xi.onPointerMove,Ys=>{Si?os.onItemLeave?.():Ys.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,_.K)(Xi.onPointerLeave,Ys=>{Ys.currentTarget===document.activeElement&&os.onItemLeave?.()}),onKeyDown:(0,_.K)(Xi.onKeyDown,Ys=>{os.searchRef?.current!==""&&Ys.key===" "||(Ur.includes(Ys.key)&&Da(),Ys.key===" "&&Ys.preventDefault())})})})})});ur.displayName=kn;const fi="SelectItemText",ot=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,className:hi,style:Si,...Di}=di,Xi=mt(fi,dr),zi=dn(fi,dr),os=Qn(fi,dr),js=je(fi,dr),[hs,Vi]=a.useState(null),ns=(0,l.q)(wi,Da=>Vi(Da),os.onItemTextChange,Da=>zi.itemTextRefCallback?.(Da,os.value,os.disabled)),fs=hs?.textContent,Ks=a.useMemo(()=>(0,i.jsx)("option",{value:os.value,disabled:os.disabled,children:fs},Array.isArray(os.value)?os.value.join(";"):os.value),[os.disabled,os.value,fs]),{onNativeOptionAdd:ma,onNativeOptionRemove:da}=js;return(0,j.w)(()=>(ma(Ks),()=>da(Ks)),[ma,da,Ks]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(N.K0.span,{id:os.textId,...Di,ref:ns}),os.isSelected&&Xi.valueNode&&!Xi.valueNodeHasChildren?W.createPortal(Di.children,Xi.valueNode):null]})});ot.displayName=fi;const ft="SelectItemIndicator",Mt=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,children:hi,...Si}=di,Di=Qn(ft,dr);return typeof hi=="function"?(0,i.jsx)(N.K0.span,{"aria-hidden":!0,...Si,ref:wi,children:hi({isSelected:Di.isSelected,isIntermediate:Di.isIntermediate})}):Di.isSelected?(0,i.jsx)(N.K0.span,{"aria-hidden":!0,...Si,ref:wi,children:hi}):null});Mt.displayName=ft;const qt="SelectScrollUpButton",sr=a.forwardRef((di,wi)=>{const dr=dn(qt,di.__scopeSelect),hi=yr(qt,di.__scopeSelect),[Si,Di]=a.useState(!1),Xi=(0,l.q)(wi,hi.onScrollButtonChange);return(0,j.w)(()=>{if(dr.viewport&&dr.isPositioned){const zi=dr.viewport,os=()=>{const js=zi.scrollTop>0;Di(js)};return os(),zi.addEventListener("scroll",os),()=>zi.removeEventListener("scroll",os)}},[dr.viewport,dr.isPositioned]),Si?(0,i.jsx)(xr,{...di,ref:Xi,onAutoScroll:()=>{const{viewport:zi,selectedItem:os}=dr;zi&&os&&(zi.scrollTop-=os.offsetHeight)}}):null});sr.displayName=qt;const lr="SelectScrollDownButton",Cr=a.forwardRef((di,wi)=>{const dr=dn(lr,di.__scopeSelect),hi=yr(lr,di.__scopeSelect),[Si,Di]=a.useState(!1),Xi=(0,l.q)(wi,hi.onScrollButtonChange);return(0,j.w)(()=>{if(dr.viewport&&dr.isPositioned){const zi=dr.viewport,os=()=>{const js=zi.scrollHeight-zi.clientHeight,hs=Math.ceil(zi.scrollTop)<js;Di(hs)};return os(),zi.addEventListener("scroll",os),()=>zi.removeEventListener("scroll",os)}},[dr.viewport,dr.isPositioned]),Si?(0,i.jsx)(xr,{...di,ref:Xi,onAutoScroll:()=>{const{viewport:zi,selectedItem:os}=dr;zi&&os&&(zi.scrollTop+=os.offsetHeight)}}):null});Cr.displayName=lr;const xr=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,onAutoScroll:hi,...Si}=di,Di=dn("SelectScrollButton",dr),Xi=a.useRef(null),zi=Ui(dr),os=a.useCallback(()=>{Xi.current!==null&&(window.clearInterval(Xi.current),Xi.current=null)},[]);return a.useEffect(()=>()=>os(),[os]),(0,j.w)(()=>{zi().find(js=>js.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[zi]),(0,i.jsx)(N.K0.div,{"aria-hidden":!0,...Si,ref:wi,style:{flexShrink:0,...Si.style},onPointerMove:(0,_.K)(Si.onPointerMove,()=>{Di.onItemLeave?.(),Xi.current===null&&(Xi.current=window.setInterval(hi,50))}),onPointerLeave:(0,_.K)(Si.onPointerLeave,()=>{os()})})});xr.displayName="SelectScrollButtonImpl";const qr="SelectSeparator",jr=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,...hi}=di;return(0,i.jsx)(N.K0.div,{"aria-hidden":!0,...hi,ref:wi})});jr.displayName=qr;const vr="SelectArrow",$r=a.forwardRef((di,wi)=>{const{__scopeSelect:dr,...hi}=di,Si=Jr(dr),Di=mt(vr,dr),Xi=dn(vr,dr);return Di.open&&Xi.position==="popper"?(0,i.jsx)(M.uM,{...Si,...hi,ref:wi}):null});$r.displayName=vr;const Wr="BubbleSelect",be=a.forwardRef((di,wi)=>{const{value:dr,...hi}=di,Si=a.useRef(null),Di=(0,l.q)(wi,Si),Xi=Z(dr),zi=mt(Wr,void 0);a.useEffect(()=>{const js=Si.current,hs=window.HTMLSelectElement.prototype,Vi=Object.getOwnPropertyDescriptor(hs,"value").set;if(Xi!==dr&&Vi){const ns=new Event("change",{bubbles:!0});Vi.call(js,dr),js.dispatchEvent(ns)}},[Xi,dr]);let os=dr;return zi.multi&&!Array.isArray(dr)&&(os=[]),(0,i.jsx)(re,{asChild:!0,children:(0,i.jsx)("select",{...hi,multiple:zi.multi?!0:void 0,ref:Di,defaultValue:os})})});be.displayName="BubbleSelect";function Ue(di){const wi=(0,fe.Y)(di),dr=a.useRef(""),hi=a.useRef(0),Si=a.useCallback(Xi=>{const zi=dr.current+Xi;wi(zi),function os(js){dr.current=js,window.clearTimeout(hi.current),js!==""&&(hi.current=window.setTimeout(()=>os(""),1e3))}(zi)},[wi]),Di=a.useCallback(()=>{dr.current="",window.clearTimeout(hi.current)},[]);return a.useEffect(()=>()=>window.clearTimeout(hi.current),[]),[dr,Si,Di]}function ut(di,wi,dr){const hi=wi.length>1&&Array.from(wi).every(zi=>zi===wi[0])?wi[0]:wi,Si=dr?di.indexOf(dr):-1;let Di=Ht(di,Math.max(Si,0));hi.length===1&&(Di=Di.filter(zi=>zi!==dr));const Xi=Di.find(zi=>zi.textValue.toLowerCase().startsWith(hi.toLowerCase()));return Xi!==dr?Xi:void 0}function Ht(di,wi){return di.map((dr,hi)=>di[(wi+hi)%di.length])}const Fn=(di,wi=[])=>{if(Array.isArray(di))return di.reduce((hi,Si)=>Fn(Si,hi),wi);const dr=wi.indexOf(di);return dr===-1?[...wi,di]:[...wi.slice(0,dr),...wi.slice(dr+1)]},ln=pt,jn=kt,Nr=Wn,Mi=rr,Oi=Gt,ni=Tt,rs=Xr,Qi=ct,la=wt,as=ur,bs=ot,Za=Mt,za=sr,wo=Cr,ca=jr,Uo=$r,ru=Object.freeze(Object.defineProperty({__proto__:null,Arrow:Uo,Content:ni,Group:Qi,Icon:Mi,Item:as,ItemIndicator:Za,ItemText:bs,Label:la,Portal:Oi,Root:ln,ScrollDownButton:wo,ScrollUpButton:za,Select:pt,SelectArrow:$r,SelectContent:Tt,SelectGroup:ct,SelectIcon:rr,SelectItem:ur,SelectItemIndicator:Mt,SelectItemText:ot,SelectLabel:wt,SelectPortal:Gt,SelectScrollDownButton:Cr,SelectScrollUpButton:sr,SelectSeparator:jr,SelectTrigger:kt,SelectValue:Wn,SelectViewport:Xr,Separator:ca,Trigger:jn,Value:Nr,Viewport:rs,createSelectScope:yi},Symbol.toStringTag,{value:"Module"}))},78164:(U,C,e)=>{"use strict";e.d(C,{Uh:()=>l,y4:()=>P});var i=e(17848);const{Axios:a,AxiosError:l,CanceledError:c,isCancel:v,CancelToken:_,VERSION:T,all:A,Cancel:R,isAxiosError:P,spread:M,toFormData:O,AxiosHeaders:N,HttpStatusCode:B,formToJSON:j,getAdapter:z,mergeConfig:W}=i.default},17848:(U,C,e)=>{"use strict";e.d(C,{default:()=>Wr});function i(be,Ue){return function(){return be.apply(Ue,arguments)}}const{toString:a}=Object.prototype,{getPrototypeOf:l}=Object,c=(be=>Ue=>{const ut=a.call(Ue);return be[ut]||(be[ut]=ut.slice(8,-1).toLowerCase())})(Object.create(null)),v=be=>(be=be.toLowerCase(),Ue=>c(Ue)===be),_=be=>Ue=>typeof Ue===be,{isArray:T}=Array,A=_("undefined");function R(be){return be!==null&&!A(be)&&be.constructor!==null&&!A(be.constructor)&&N(be.constructor.isBuffer)&&be.constructor.isBuffer(be)}const P=v("ArrayBuffer");function M(be){let Ue;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?Ue=ArrayBuffer.isView(be):Ue=be&&be.buffer&&P(be.buffer),Ue}const O=_("string"),N=_("function"),B=_("number"),j=be=>be!==null&&typeof be=="object",z=be=>be===!0||be===!1,W=be=>{if(c(be)!=="object")return!1;const Ue=l(be);return(Ue===null||Ue===Object.prototype||Object.getPrototypeOf(Ue)===null)&&!(Symbol.toStringTag in be)&&!(Symbol.iterator in be)},X=v("Date"),Q=v("File"),K=v("Blob"),Y=v("FileList"),Z=be=>j(be)&&N(be.pipe),J=be=>{let Ue;return be&&(typeof FormData=="function"&&be instanceof FormData||N(be.append)&&((Ue=c(be))==="formdata"||Ue==="object"&&N(be.toString)&&be.toString()==="[object FormData]"))},ee=v("URLSearchParams"),re=be=>be.trim?be.trim():be.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function me(be,Ue,{allOwnKeys:ut=!1}={}){if(be===null||typeof be>"u")return;let Ht,Fn;if(typeof be!="object"&&(be=[be]),T(be))for(Ht=0,Fn=be.length;Ht<Fn;Ht++)Ue.call(null,be[Ht],Ht,be);else{const ln=ut?Object.getOwnPropertyNames(be):Object.keys(be),jn=ln.length;let Nr;for(Ht=0;Ht<jn;Ht++)Nr=ln[Ht],Ue.call(null,be[Nr],Nr,be)}}function fe(be,Ue){Ue=Ue.toLowerCase();const ut=Object.keys(be);let Ht=ut.length,Fn;for(;Ht-- >0;)if(Fn=ut[Ht],Ue===Fn.toLowerCase())return Fn;return null}const le=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ve=be=>!A(be)&&be!==le;function Ze(){const{caseless:be}=Ve(this)&&this||{},Ue={},ut=(Ht,Fn)=>{const ln=be&&fe(Ue,Fn)||Fn;W(Ue[ln])&&W(Ht)?Ue[ln]=Ze(Ue[ln],Ht):W(Ht)?Ue[ln]=Ze({},Ht):T(Ht)?Ue[ln]=Ht.slice():Ue[ln]=Ht};for(let Ht=0,Fn=arguments.length;Ht<Fn;Ht++)arguments[Ht]&&me(arguments[Ht],ut);return Ue}const Ce=(be,Ue,ut,{allOwnKeys:Ht}={})=>(me(Ue,(Fn,ln)=>{ut&&N(Fn)?be[ln]=i(Fn,ut):be[ln]=Fn},{allOwnKeys:Ht}),be),ye=be=>(be.charCodeAt(0)===65279&&(be=be.slice(1)),be),Ae=(be,Ue,ut,Ht)=>{be.prototype=Object.create(Ue.prototype,Ht),be.prototype.constructor=be,Object.defineProperty(be,"super",{value:Ue.prototype}),ut&&Object.assign(be.prototype,ut)},Fe=(be,Ue,ut,Ht)=>{let Fn,ln,jn;const Nr={};if(Ue=Ue||{},be==null)return Ue;do{for(Fn=Object.getOwnPropertyNames(be),ln=Fn.length;ln-- >0;)jn=Fn[ln],(!Ht||Ht(jn,be,Ue))&&!Nr[jn]&&(Ue[jn]=be[jn],Nr[jn]=!0);be=ut!==!1&&l(be)}while(be&&(!ut||ut(be,Ue))&&be!==Object.prototype);return Ue},Qe=(be,Ue,ut)=>{be=String(be),(ut===void 0||ut>be.length)&&(ut=be.length),ut-=Ue.length;const Ht=be.indexOf(Ue,ut);return Ht!==-1&&Ht===ut},ce=be=>{if(!be)return null;if(T(be))return be;let Ue=be.length;if(!B(Ue))return null;const ut=new Array(Ue);for(;Ue-- >0;)ut[Ue]=be[Ue];return ut},Ge=(be=>Ue=>be&&Ue instanceof be)(typeof Uint8Array<"u"&&l(Uint8Array)),Pe=(be,Ue)=>{const Ht=(be&&be[Symbol.iterator]).call(be);let Fn;for(;(Fn=Ht.next())&&!Fn.done;){const ln=Fn.value;Ue.call(be,ln[0],ln[1])}},pe=(be,Ue)=>{let ut;const Ht=[];for(;(ut=be.exec(Ue))!==null;)Ht.push(ut);return Ht},Se=v("HTMLFormElement"),_e=be=>be.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(ut,Ht,Fn){return Ht.toUpperCase()+Fn}),Ne=(({hasOwnProperty:be})=>(Ue,ut)=>be.call(Ue,ut))(Object.prototype),Le=v("RegExp"),Ke=(be,Ue)=>{const ut=Object.getOwnPropertyDescriptors(be),Ht={};me(ut,(Fn,ln)=>{let jn;(jn=Ue(Fn,ln,be))!==!1&&(Ht[ln]=jn||Fn)}),Object.defineProperties(be,Ht)},bt=be=>{Ke(be,(Ue,ut)=>{if(N(be)&&["arguments","caller","callee"].indexOf(ut)!==-1)return!1;const Ht=be[ut];if(N(Ht)){if(Ue.enumerable=!1,"writable"in Ue){Ue.writable=!1;return}Ue.set||(Ue.set=()=>{throw Error("Can not rewrite read-only method '"+ut+"'")})}})},yt=(be,Ue)=>{const ut={},Ht=Fn=>{Fn.forEach(ln=>{ut[ln]=!0})};return T(be)?Ht(be):Ht(String(be).split(Ue)),ut},It=()=>{},_t=(be,Ue)=>(be=+be,Number.isFinite(be)?be:Ue),zt="abcdefghijklmnopqrstuvwxyz",Vt="0123456789",St={DIGIT:Vt,ALPHA:zt,ALPHA_DIGIT:zt+zt.toUpperCase()+Vt},Xt=(be=16,Ue=St.ALPHA_DIGIT)=>{let ut="";const{length:Ht}=Ue;for(;be--;)ut+=Ue[Math.random()*Ht|0];return ut};function jt(be){return!!(be&&N(be.append)&&be[Symbol.toStringTag]==="FormData"&&be[Symbol.iterator])}const sn=be=>{const Ue=new Array(10),ut=(Ht,Fn)=>{if(j(Ht)){if(Ue.indexOf(Ht)>=0)return;if(!("toJSON"in Ht)){Ue[Fn]=Ht;const ln=T(Ht)?[]:{};return me(Ht,(jn,Nr)=>{const Mi=ut(jn,Fn+1);!A(Mi)&&(ln[Nr]=Mi)}),Ue[Fn]=void 0,ln}}return Ht};return ut(be,0)},dt=v("AsyncFunction"),fn={isArray:T,isArrayBuffer:P,isBuffer:R,isFormData:J,isArrayBufferView:M,isString:O,isNumber:B,isBoolean:z,isObject:j,isPlainObject:W,isUndefined:A,isDate:X,isFile:Q,isBlob:K,isRegExp:Le,isFunction:N,isStream:Z,isURLSearchParams:ee,isTypedArray:Ge,isFileList:Y,forEach:me,merge:Ze,extend:Ce,trim:re,stripBOM:ye,inherits:Ae,toFlatObject:Fe,kindOf:c,kindOfTest:v,endsWith:Qe,toArray:ce,forEachEntry:Pe,matchAll:pe,isHTMLForm:Se,hasOwnProperty:Ne,hasOwnProp:Ne,reduceDescriptors:Ke,freezeMethods:bt,toObjectSet:yt,toCamelCase:_e,noop:It,toFiniteNumber:_t,findKey:fe,global:le,isContextDefined:Ve,ALPHABET:St,generateString:Xt,isSpecCompliantForm:jt,toJSONObject:sn,isAsyncFn:dt,isThenable:be=>be&&(j(be)||N(be))&&N(be.then)&&N(be.catch)};function cr(be,Ue,ut,Ht,Fn){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=be,this.name="AxiosError",Ue&&(this.code=Ue),ut&&(this.config=ut),Ht&&(this.request=Ht),Fn&&(this.response=Fn)}fn.inherits(cr,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:fn.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const wr=cr.prototype,Jn={};["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(be=>{Jn[be]={value:be}}),Object.defineProperties(cr,Jn),Object.defineProperty(wr,"isAxiosError",{value:!0}),cr.from=(be,Ue,ut,Ht,Fn,ln)=>{const jn=Object.create(wr);return fn.toFlatObject(be,jn,function(Mi){return Mi!==Error.prototype},Nr=>Nr!=="isAxiosError"),cr.call(jn,be.message,Ue,ut,Ht,Fn),jn.cause=be,jn.name=be.name,ln&&Object.assign(jn,ln),jn};const nn=cr,or=null;function bn(be){return fn.isPlainObject(be)||fn.isArray(be)}function Sn(be){return fn.endsWith(be,"[]")?be.slice(0,-2):be}function Hn(be,Ue,ut){return be?be.concat(Ue).map(function(Fn,ln){return Fn=Sn(Fn),!ut&&ln?"["+Fn+"]":Fn}).join(ut?".":""):Ue}function er(be){return fn.isArray(be)&&!be.some(bn)}const an=fn.toFlatObject(fn,{},null,function(Ue){return/^is[A-Z]/.test(Ue)});function Cn(be,Ue,ut){if(!fn.isObject(be))throw new TypeError("target must be an object");Ue=Ue||new(or||FormData),ut=fn.toFlatObject(ut,{metaTokens:!0,dots:!1,indexes:!1},!1,function(bs,Za){return!fn.isUndefined(Za[bs])});const Ht=ut.metaTokens,Fn=ut.visitor||ni,ln=ut.dots,jn=ut.indexes,Mi=(ut.Blob||typeof Blob<"u"&&Blob)&&fn.isSpecCompliantForm(Ue);if(!fn.isFunction(Fn))throw new TypeError("visitor must be a function");function Oi(as){if(as===null)return"";if(fn.isDate(as))return as.toISOString();if(!Mi&&fn.isBlob(as))throw new nn("Blob is not supported. Use a Buffer instead.");return fn.isArrayBuffer(as)||fn.isTypedArray(as)?Mi&&typeof Blob=="function"?new Blob([as]):Buffer.from(as):as}function ni(as,bs,Za){let za=as;if(as&&!Za&&typeof as=="object"){if(fn.endsWith(bs,"{}"))bs=Ht?bs:bs.slice(0,-2),as=JSON.stringify(as);else if(fn.isArray(as)&&er(as)||(fn.isFileList(as)||fn.endsWith(bs,"[]"))&&(za=fn.toArray(as)))return bs=Sn(bs),za.forEach(function(ca,Uo){!(fn.isUndefined(ca)||ca===null)&&Ue.append(jn===!0?Hn([bs],Uo,ln):jn===null?bs:bs+"[]",Oi(ca))}),!1}return bn(as)?!0:(Ue.append(Hn(Za,bs,ln),Oi(as)),!1)}const rs=[],Qi=Object.assign(an,{defaultVisitor:ni,convertValue:Oi,isVisitable:bn});function la(as,bs){if(!fn.isUndefined(as)){if(rs.indexOf(as)!==-1)throw Error("Circular reference detected in "+bs.join("."));rs.push(as),fn.forEach(as,function(za,wo){(!(fn.isUndefined(za)||za===null)&&Fn.call(Ue,za,fn.isString(wo)?wo.trim():wo,bs,Qi))===!0&&la(za,bs?bs.concat(wo):[wo])}),rs.pop()}}if(!fn.isObject(be))throw new TypeError("data must be an object");return la(be),Ue}const de=Cn;function oe(be){const Ue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(be).replace(/[!'()~]|%20|%00/g,function(Ht){return Ue[Ht]})}function Ye(be,Ue){this._pairs=[],be&&de(be,this,Ue)}const Et=Ye.prototype;Et.append=function(Ue,ut){this._pairs.push([Ue,ut])},Et.toString=function(Ue){const ut=Ue?function(Ht){return Ue.call(this,Ht,oe)}:oe;return this._pairs.map(function(Fn){return ut(Fn[0])+"="+ut(Fn[1])},"").join("&")};const xe=Ye;function Re(be){return encodeURIComponent(be).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function We(be,Ue,ut){if(!Ue)return be;const Ht=ut&&ut.encode||Re,Fn=ut&&ut.serialize;let ln;if(Fn?ln=Fn(Ue,ut):ln=fn.isURLSearchParams(Ue)?Ue.toString():new xe(Ue,ut).toString(Ht),ln){const jn=be.indexOf("#");jn!==-1&&(be=be.slice(0,jn)),be+=(be.indexOf("?")===-1?"?":"&")+ln}return be}class gt{constructor(){this.handlers=[]}use(Ue,ut,Ht){return this.handlers.push({fulfilled:Ue,rejected:ut,synchronous:Ht?Ht.synchronous:!1,runWhen:Ht?Ht.runWhen:null}),this.handlers.length-1}eject(Ue){this.handlers[Ue]&&(this.handlers[Ue]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(Ue){fn.forEach(this.handlers,function(Ht){Ht!==null&&Ue(Ht)})}}const Nt=gt,Ct={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tn=typeof URLSearchParams<"u"?URLSearchParams:xe,ge=typeof FormData<"u"?FormData:null,At=typeof Blob<"u"?Blob:null,mn=(()=>{let be;return typeof navigator<"u"&&((be=navigator.product)==="ReactNative"||be==="NativeScript"||be==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),xn=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Un={isBrowser:!0,classes:{URLSearchParams:tn,FormData:ge,Blob:At},isStandardBrowserEnv:mn,isStandardBrowserWebWorkerEnv:xn,protocols:["http","https","file","blob","url","data"]};function gr(be,Ue){return de(be,new Un.classes.URLSearchParams,Object.assign({visitor:function(ut,Ht,Fn,ln){return Un.isNode&&fn.isBuffer(ut)?(this.append(Ht,ut.toString("base64")),!1):ln.defaultVisitor.apply(this,arguments)}},Ue))}function Ur(be){return fn.matchAll(/\w+|\[(\w*)]/g,be).map(Ue=>Ue[0]==="[]"?"":Ue[1]||Ue[0])}function Or(be){const Ue={},ut=Object.keys(be);let Ht;const Fn=ut.length;let ln;for(Ht=0;Ht<Fn;Ht++)ln=ut[Ht],Ue[ln]=be[ln];return Ue}function ii(be){function Ue(ut,Ht,Fn,ln){let jn=ut[ln++];const Nr=Number.isFinite(+jn),Mi=ln>=ut.length;return jn=!jn&&fn.isArray(Fn)?Fn.length:jn,Mi?(fn.hasOwnProp(Fn,jn)?Fn[jn]=[Fn[jn],Ht]:Fn[jn]=Ht,!Nr):((!Fn[jn]||!fn.isObject(Fn[jn]))&&(Fn[jn]=[]),Ue(ut,Ht,Fn[jn],ln)&&fn.isArray(Fn[jn])&&(Fn[jn]=Or(Fn[jn])),!Nr)}if(fn.isFormData(be)&&fn.isFunction(be.entries)){const ut={};return fn.forEachEntry(be,(Ht,Fn)=>{Ue(Ur(Ht),Fn,ut,0)}),ut}return null}const Ui=ii;function rn(be,Ue,ut){if(fn.isString(be))try{return(Ue||JSON.parse)(be),fn.trim(be)}catch(Ht){if(Ht.name!=="SyntaxError")throw Ht}return(ut||JSON.stringify)(be)}const $n={transitional:Ct,adapter:["xhr","http"],transformRequest:[function(Ue,ut){const Ht=ut.getContentType()||"",Fn=Ht.indexOf("application/json")>-1,ln=fn.isObject(Ue);if(ln&&fn.isHTMLForm(Ue)&&(Ue=new FormData(Ue)),fn.isFormData(Ue))return Fn&&Fn?JSON.stringify(Ui(Ue)):Ue;if(fn.isArrayBuffer(Ue)||fn.isBuffer(Ue)||fn.isStream(Ue)||fn.isFile(Ue)||fn.isBlob(Ue))return Ue;if(fn.isArrayBufferView(Ue))return Ue.buffer;if(fn.isURLSearchParams(Ue))return ut.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Ue.toString();let Nr;if(ln){if(Ht.indexOf("application/x-www-form-urlencoded")>-1)return gr(Ue,this.formSerializer).toString();if((Nr=fn.isFileList(Ue))||Ht.indexOf("multipart/form-data")>-1){const Mi=this.env&&this.env.FormData;return de(Nr?{"files[]":Ue}:Ue,Mi&&new Mi,this.formSerializer)}}return ln||Fn?(ut.setContentType("application/json",!1),rn(Ue)):Ue}],transformResponse:[function(Ue){const ut=this.transitional||$n.transitional,Ht=ut&&ut.forcedJSONParsing,Fn=this.responseType==="json";if(Ue&&fn.isString(Ue)&&(Ht&&!this.responseType||Fn)){const jn=!(ut&&ut.silentJSONParsing)&&Fn;try{return JSON.parse(Ue)}catch(Nr){if(jn)throw Nr.name==="SyntaxError"?nn.from(Nr,nn.ERR_BAD_RESPONSE,this,null,this.response):Nr}}return Ue}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Un.classes.FormData,Blob:Un.classes.Blob},validateStatus:function(Ue){return Ue>=200&&Ue<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};fn.forEach(["delete","get","head","post","put","patch"],be=>{$n.headers[be]={}});const yi=$n,Jr=fn.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"]),cn=be=>{const Ue={};let ut,Ht,Fn;return be&&be.split(`
`).forEach(function(jn){Fn=jn.indexOf(":"),ut=jn.substring(0,Fn).trim().toLowerCase(),Ht=jn.substring(Fn+1).trim(),!(!ut||Ue[ut]&&Jr[ut])&&(ut==="set-cookie"?Ue[ut]?Ue[ut].push(Ht):Ue[ut]=[Ht]:Ue[ut]=Ue[ut]?Ue[ut]+", "+Ht:Ht)}),Ue},mt=Symbol("internals");function we(be){return be&&String(be).trim().toLowerCase()}function je(be){return be===!1||be==null?be:fn.isArray(be)?be.map(je):String(be)}function pt(be){const Ue=Object.create(null),ut=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let Ht;for(;Ht=ut.exec(be);)Ue[Ht[1]]=Ht[2];return Ue}const at=be=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(be.trim());function kt(be,Ue,ut,Ht,Fn){if(fn.isFunction(Ht))return Ht.call(this,Ue,ut);if(Fn&&(Ue=ut),!!fn.isString(Ue)){if(fn.isString(Ht))return Ue.indexOf(Ht)!==-1;if(fn.isRegExp(Ht))return Ht.test(Ue)}}function vn(be){return be.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Ue,ut,Ht)=>ut.toUpperCase()+Ht)}function Wn(be,Ue){const ut=fn.toCamelCase(" "+Ue);["get","set","has"].forEach(Ht=>{Object.defineProperty(be,Ht+ut,{value:function(Fn,ln,jn){return this[Ht].call(this,Ue,Fn,ln,jn)},configurable:!0})})}class nr{constructor(Ue){Ue&&this.set(Ue)}set(Ue,ut,Ht){const Fn=this;function ln(Nr,Mi,Oi){const ni=we(Mi);if(!ni)throw new Error("header name must be a non-empty string");const rs=fn.findKey(Fn,ni);(!rs||Fn[rs]===void 0||Oi===!0||Oi===void 0&&Fn[rs]!==!1)&&(Fn[rs||Mi]=je(Nr))}const jn=(Nr,Mi)=>fn.forEach(Nr,(Oi,ni)=>ln(Oi,ni,Mi));return fn.isPlainObject(Ue)||Ue instanceof this.constructor?jn(Ue,ut):fn.isString(Ue)&&(Ue=Ue.trim())&&!at(Ue)?jn(cn(Ue),ut):Ue!=null&&ln(ut,Ue,Ht),this}get(Ue,ut){if(Ue=we(Ue),Ue){const Ht=fn.findKey(this,Ue);if(Ht){const Fn=this[Ht];if(!ut)return Fn;if(ut===!0)return pt(Fn);if(fn.isFunction(ut))return ut.call(this,Fn,Ht);if(fn.isRegExp(ut))return ut.exec(Fn);throw new TypeError("parser must be boolean|regexp|function")}}}has(Ue,ut){if(Ue=we(Ue),Ue){const Ht=fn.findKey(this,Ue);return!!(Ht&&this[Ht]!==void 0&&(!ut||kt(this,this[Ht],Ht,ut)))}return!1}delete(Ue,ut){const Ht=this;let Fn=!1;function ln(jn){if(jn=we(jn),jn){const Nr=fn.findKey(Ht,jn);Nr&&(!ut||kt(Ht,Ht[Nr],Nr,ut))&&(delete Ht[Nr],Fn=!0)}}return fn.isArray(Ue)?Ue.forEach(ln):ln(Ue),Fn}clear(Ue){const ut=Object.keys(this);let Ht=ut.length,Fn=!1;for(;Ht--;){const ln=ut[Ht];(!Ue||kt(this,this[ln],ln,Ue,!0))&&(delete this[ln],Fn=!0)}return Fn}normalize(Ue){const ut=this,Ht={};return fn.forEach(this,(Fn,ln)=>{const jn=fn.findKey(Ht,ln);if(jn){ut[jn]=je(Fn),delete ut[ln];return}const Nr=Ue?vn(ln):String(ln).trim();Nr!==ln&&delete ut[ln],ut[Nr]=je(Fn),Ht[Nr]=!0}),this}concat(...Ue){return this.constructor.concat(this,...Ue)}toJSON(Ue){const ut=Object.create(null);return fn.forEach(this,(Ht,Fn)=>{Ht!=null&&Ht!==!1&&(ut[Fn]=Ue&&fn.isArray(Ht)?Ht.join(", "):Ht)}),ut}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([Ue,ut])=>Ue+": "+ut).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(Ue){return Ue instanceof this?Ue:new this(Ue)}static concat(Ue,...ut){const Ht=new this(Ue);return ut.forEach(Fn=>Ht.set(Fn)),Ht}static accessor(Ue){const Ht=(this[mt]=this[mt]={accessors:{}}).accessors,Fn=this.prototype;function ln(jn){const Nr=we(jn);Ht[Nr]||(Wn(Fn,jn),Ht[Nr]=!0)}return fn.isArray(Ue)?Ue.forEach(ln):ln(Ue),this}}nr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),fn.reduceDescriptors(nr.prototype,({value:be},Ue)=>{let ut=Ue[0].toUpperCase()+Ue.slice(1);return{get:()=>be,set(Ht){this[ut]=Ht}}}),fn.freezeMethods(nr);const rr=nr;function Ot(be,Ue){const ut=this||yi,Ht=Ue||ut,Fn=rr.from(Ht.headers);let ln=Ht.data;return fn.forEach(be,function(Nr){ln=Nr.call(ut,ln,Fn.normalize(),Ue?Ue.status:void 0)}),Fn.normalize(),ln}function Gt(be){return!!(be&&be.__CANCEL__)}function Pt(be,Ue,ut){nn.call(this,be??"canceled",nn.ERR_CANCELED,Ue,ut),this.name="CanceledError"}fn.inherits(Pt,nn,{__CANCEL__:!0});const Tt=Pt;function An(be,Ue,ut){const Ht=ut.config.validateStatus;!ut.status||!Ht||Ht(ut.status)?be(ut):Ue(new nn("Request failed with status code "+ut.status,[nn.ERR_BAD_REQUEST,nn.ERR_BAD_RESPONSE][Math.floor(ut.status/100)-4],ut.config,ut.request,ut))}const on=Un.isStandardBrowserEnv?function(){return{write:function(ut,Ht,Fn,ln,jn,Nr){const Mi=[];Mi.push(ut+"="+encodeURIComponent(Ht)),fn.isNumber(Fn)&&Mi.push("expires="+new Date(Fn).toGMTString()),fn.isString(ln)&&Mi.push("path="+ln),fn.isString(jn)&&Mi.push("domain="+jn),Nr===!0&&Mi.push("secure"),document.cookie=Mi.join("; ")},read:function(ut){const Ht=document.cookie.match(new RegExp("(^|;\\s*)("+ut+")=([^;]*)"));return Ht?decodeURIComponent(Ht[3]):null},remove:function(ut){this.write(ut,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function dn(be){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(be)}function $e(be,Ue){return Ue?be.replace(/\/+$/,"")+"/"+Ue.replace(/^\/+/,""):be}function Yt(be,Ue){return be&&!dn(Ue)?$e(be,Ue):Ue}const $t=Un.isStandardBrowserEnv?function(){const Ue=/(msie|trident)/i.test(navigator.userAgent),ut=document.createElement("a");let Ht;function Fn(ln){let jn=ln;return Ue&&(ut.setAttribute("href",jn),jn=ut.href),ut.setAttribute("href",jn),{href:ut.href,protocol:ut.protocol?ut.protocol.replace(/:$/,""):"",host:ut.host,search:ut.search?ut.search.replace(/^\?/,""):"",hash:ut.hash?ut.hash.replace(/^#/,""):"",hostname:ut.hostname,port:ut.port,pathname:ut.pathname.charAt(0)==="/"?ut.pathname:"/"+ut.pathname}}return Ht=Fn(window.location.href),function(jn){const Nr=fn.isString(jn)?Fn(jn):jn;return Nr.protocol===Ht.protocol&&Nr.host===Ht.host}}():function(){return function(){return!0}}();function Jt(be){const Ue=/^([-+\w]{1,25})(:?\/\/|:)/.exec(be);return Ue&&Ue[1]||""}function Lt(be,Ue){be=be||10;const ut=new Array(be),Ht=new Array(be);let Fn=0,ln=0,jn;return Ue=Ue!==void 0?Ue:1e3,function(Mi){const Oi=Date.now(),ni=Ht[ln];jn||(jn=Oi),ut[Fn]=Mi,Ht[Fn]=Oi;let rs=ln,Qi=0;for(;rs!==Fn;)Qi+=ut[rs++],rs=rs%be;if(Fn=(Fn+1)%be,Fn===ln&&(ln=(ln+1)%be),Oi-jn<Ue)return;const la=ni&&Oi-ni;return la?Math.round(Qi*1e3/la):void 0}}const yn=Lt;function In(be,Ue){let ut=0;const Ht=yn(50,250);return Fn=>{const ln=Fn.loaded,jn=Fn.lengthComputable?Fn.total:void 0,Nr=ln-ut,Mi=Ht(Nr),Oi=ln<=jn;ut=ln;const ni={loaded:ln,total:jn,progress:jn?ln/jn:void 0,bytes:Nr,rate:Mi||void 0,estimated:Mi&&jn&&Oi?(jn-ln)/Mi:void 0,event:Fn};ni[Ue?"download":"upload"]=!0,be(ni)}}const Xr={http:or,xhr:typeof XMLHttpRequest<"u"&&function(be){return new Promise(function(ut,Ht){let Fn=be.data;const ln=rr.from(be.headers).normalize(),jn=be.responseType;let Nr;function Mi(){be.cancelToken&&be.cancelToken.unsubscribe(Nr),be.signal&&be.signal.removeEventListener("abort",Nr)}let Oi;fn.isFormData(Fn)&&(Un.isStandardBrowserEnv||Un.isStandardBrowserWebWorkerEnv?ln.setContentType(!1):ln.getContentType(/^\s*multipart\/form-data/)?fn.isString(Oi=ln.getContentType())&&ln.setContentType(Oi.replace(/^\s*(multipart\/form-data);+/,"$1")):ln.setContentType("multipart/form-data"));let ni=new XMLHttpRequest;if(be.auth){const as=be.auth.username||"",bs=be.auth.password?unescape(encodeURIComponent(be.auth.password)):"";ln.set("Authorization","Basic "+btoa(as+":"+bs))}const rs=Yt(be.baseURL,be.url);ni.open(be.method.toUpperCase(),We(rs,be.params,be.paramsSerializer),!0),ni.timeout=be.timeout;function Qi(){if(!ni)return;const as=rr.from("getAllResponseHeaders"in ni&&ni.getAllResponseHeaders()),Za={data:!jn||jn==="text"||jn==="json"?ni.responseText:ni.response,status:ni.status,statusText:ni.statusText,headers:as,config:be,request:ni};An(function(wo){ut(wo),Mi()},function(wo){Ht(wo),Mi()},Za),ni=null}if("onloadend"in ni?ni.onloadend=Qi:ni.onreadystatechange=function(){!ni||ni.readyState!==4||ni.status===0&&!(ni.responseURL&&ni.responseURL.indexOf("file:")===0)||setTimeout(Qi)},ni.onabort=function(){ni&&(Ht(new nn("Request aborted",nn.ECONNABORTED,be,ni)),ni=null)},ni.onerror=function(){Ht(new nn("Network Error",nn.ERR_NETWORK,be,ni)),ni=null},ni.ontimeout=function(){let bs=be.timeout?"timeout of "+be.timeout+"ms exceeded":"timeout exceeded";const Za=be.transitional||Ct;be.timeoutErrorMessage&&(bs=be.timeoutErrorMessage),Ht(new nn(bs,Za.clarifyTimeoutError?nn.ETIMEDOUT:nn.ECONNABORTED,be,ni)),ni=null},Un.isStandardBrowserEnv){const as=$t(rs)&&be.xsrfCookieName&&on.read(be.xsrfCookieName);as&&ln.set(be.xsrfHeaderName,as)}Fn===void 0&&ln.setContentType(null),"setRequestHeader"in ni&&fn.forEach(ln.toJSON(),function(bs,Za){ni.setRequestHeader(Za,bs)}),fn.isUndefined(be.withCredentials)||(ni.withCredentials=!!be.withCredentials),jn&&jn!=="json"&&(ni.responseType=be.responseType),typeof be.onDownloadProgress=="function"&&ni.addEventListener("progress",In(be.onDownloadProgress,!0)),typeof be.onUploadProgress=="function"&&ni.upload&&ni.upload.addEventListener("progress",In(be.onUploadProgress)),(be.cancelToken||be.signal)&&(Nr=as=>{ni&&(Ht(!as||as.type?new Tt(null,be,ni):as),ni.abort(),ni=null)},be.cancelToken&&be.cancelToken.subscribe(Nr),be.signal&&(be.signal.aborted?Nr():be.signal.addEventListener("abort",Nr)));const la=Jt(rs);if(la&&Un.protocols.indexOf(la)===-1){Ht(new nn("Unsupported protocol "+la+":",nn.ERR_BAD_REQUEST,be));return}ni.send(Fn||null)})}};fn.forEach(Xr,(be,Ue)=>{if(be){try{Object.defineProperty(be,"name",{value:Ue})}catch{}Object.defineProperty(be,"adapterName",{value:Ue})}});const ci=be=>`- ${be}`,Hr=be=>fn.isFunction(be)||be===null||be===!1,un={getAdapter:be=>{be=fn.isArray(be)?be:[be];const{length:Ue}=be;let ut,Ht;const Fn={};for(let ln=0;ln<Ue;ln++){ut=be[ln];let jn;if(Ht=ut,!Hr(ut)&&(Ht=Xr[(jn=String(ut)).toLowerCase()],Ht===void 0))throw new nn(`Unknown adapter '${jn}'`);if(Ht)break;Fn[jn||"#"+ln]=Ht}if(!Ht){const ln=Object.entries(Fn).map(([Nr,Mi])=>`adapter ${Nr} `+(Mi===!1?"is not supported by the environment":"is not available in the build"));let jn=Ue?ln.length>1?`since :
`+ln.map(ci).join(`
`):" "+ci(ln[0]):"as no adapter specified";throw new nn("There is no suitable adapter to dispatch the request "+jn,"ERR_NOT_SUPPORT")}return Ht},adapters:Xr};function ct(be){if(be.cancelToken&&be.cancelToken.throwIfRequested(),be.signal&&be.signal.aborted)throw new Tt(null,be)}function Ut(be){return ct(be),be.headers=rr.from(be.headers),be.data=Ot.call(be,be.transformRequest),["post","put","patch"].indexOf(be.method)!==-1&&be.headers.setContentType("application/x-www-form-urlencoded",!1),un.getAdapter(be.adapter||yi.adapter)(be).then(function(Ht){return ct(be),Ht.data=Ot.call(be,be.transformResponse,Ht),Ht.headers=rr.from(Ht.headers),Ht},function(Ht){return Gt(Ht)||(ct(be),Ht&&Ht.response&&(Ht.response.data=Ot.call(be,be.transformResponse,Ht.response),Ht.response.headers=rr.from(Ht.response.headers))),Promise.reject(Ht)})}const wt=be=>be instanceof rr?be.toJSON():be;function kn(be,Ue){Ue=Ue||{};const ut={};function Ht(Oi,ni,rs){return fn.isPlainObject(Oi)&&fn.isPlainObject(ni)?fn.merge.call({caseless:rs},Oi,ni):fn.isPlainObject(ni)?fn.merge({},ni):fn.isArray(ni)?ni.slice():ni}function Fn(Oi,ni,rs){if(fn.isUndefined(ni)){if(!fn.isUndefined(Oi))return Ht(void 0,Oi,rs)}else return Ht(Oi,ni,rs)}function ln(Oi,ni){if(!fn.isUndefined(ni))return Ht(void 0,ni)}function jn(Oi,ni){if(fn.isUndefined(ni)){if(!fn.isUndefined(Oi))return Ht(void 0,Oi)}else return Ht(void 0,ni)}function Nr(Oi,ni,rs){if(rs in Ue)return Ht(Oi,ni);if(rs in be)return Ht(void 0,Oi)}const Mi={url:ln,method:ln,data:ln,baseURL:jn,transformRequest:jn,transformResponse:jn,paramsSerializer:jn,timeout:jn,timeoutMessage:jn,withCredentials:jn,adapter:jn,responseType:jn,xsrfCookieName:jn,xsrfHeaderName:jn,onUploadProgress:jn,onDownloadProgress:jn,decompress:jn,maxContentLength:jn,maxBodyLength:jn,beforeRedirect:jn,transport:jn,httpAgent:jn,httpsAgent:jn,cancelToken:jn,socketPath:jn,responseEncoding:jn,validateStatus:Nr,headers:(Oi,ni)=>Fn(wt(Oi),wt(ni),!0)};return fn.forEach(Object.keys(Object.assign({},be,Ue)),function(ni){const rs=Mi[ni]||Fn,Qi=rs(be[ni],Ue[ni],ni);fn.isUndefined(Qi)&&rs!==Nr||(ut[ni]=Qi)}),ut}const wn="1.6.0",Qn={};["object","boolean","number","function","string","symbol"].forEach((be,Ue)=>{Qn[be]=function(Ht){return typeof Ht===be||"a"+(Ue<1?"n ":" ")+be}});const ur={};Qn.transitional=function(Ue,ut,Ht){function Fn(ln,jn){return"[Axios v"+wn+"] Transitional option '"+ln+"'"+jn+(Ht?". "+Ht:"")}return(ln,jn,Nr)=>{if(Ue===!1)throw new nn(Fn(jn," has been removed"+(ut?" in "+ut:"")),nn.ERR_DEPRECATED);return ut&&!ur[jn]&&(ur[jn]=!0,console.warn(Fn(jn," has been deprecated since v"+ut+" and will be removed in the near future"))),Ue?Ue(ln,jn,Nr):!0}};function fi(be,Ue,ut){if(typeof be!="object")throw new nn("options must be an object",nn.ERR_BAD_OPTION_VALUE);const Ht=Object.keys(be);let Fn=Ht.length;for(;Fn-- >0;){const ln=Ht[Fn],jn=Ue[ln];if(jn){const Nr=be[ln],Mi=Nr===void 0||jn(Nr,ln,be);if(Mi!==!0)throw new nn("option "+ln+" must be "+Mi,nn.ERR_BAD_OPTION_VALUE);continue}if(ut!==!0)throw new nn("Unknown option "+ln,nn.ERR_BAD_OPTION)}}const ot={assertOptions:fi,validators:Qn},ft=ot.validators;class Mt{constructor(Ue){this.defaults=Ue,this.interceptors={request:new Nt,response:new Nt}}request(Ue,ut){typeof Ue=="string"?(ut=ut||{},ut.url=Ue):ut=Ue||{},ut=kn(this.defaults,ut);const{transitional:Ht,paramsSerializer:Fn,headers:ln}=ut;Ht!==void 0&&ot.assertOptions(Ht,{silentJSONParsing:ft.transitional(ft.boolean),forcedJSONParsing:ft.transitional(ft.boolean),clarifyTimeoutError:ft.transitional(ft.boolean)},!1),Fn!=null&&(fn.isFunction(Fn)?ut.paramsSerializer={serialize:Fn}:ot.assertOptions(Fn,{encode:ft.function,serialize:ft.function},!0)),ut.method=(ut.method||this.defaults.method||"get").toLowerCase();let jn=ln&&fn.merge(ln.common,ln[ut.method]);ln&&fn.forEach(["delete","get","head","post","put","patch","common"],as=>{delete ln[as]}),ut.headers=rr.concat(jn,ln);const Nr=[];let Mi=!0;this.interceptors.request.forEach(function(bs){typeof bs.runWhen=="function"&&bs.runWhen(ut)===!1||(Mi=Mi&&bs.synchronous,Nr.unshift(bs.fulfilled,bs.rejected))});const Oi=[];this.interceptors.response.forEach(function(bs){Oi.push(bs.fulfilled,bs.rejected)});let ni,rs=0,Qi;if(!Mi){const as=[Ut.bind(this),void 0];for(as.unshift.apply(as,Nr),as.push.apply(as,Oi),Qi=as.length,ni=Promise.resolve(ut);rs<Qi;)ni=ni.then(as[rs++],as[rs++]);return ni}Qi=Nr.length;let la=ut;for(rs=0;rs<Qi;){const as=Nr[rs++],bs=Nr[rs++];try{la=as(la)}catch(Za){bs.call(this,Za);break}}try{ni=Ut.call(this,la)}catch(as){return Promise.reject(as)}for(rs=0,Qi=Oi.length;rs<Qi;)ni=ni.then(Oi[rs++],Oi[rs++]);return ni}getUri(Ue){Ue=kn(this.defaults,Ue);const ut=Yt(Ue.baseURL,Ue.url);return We(ut,Ue.params,Ue.paramsSerializer)}}fn.forEach(["delete","get","head","options"],function(Ue){Mt.prototype[Ue]=function(ut,Ht){return this.request(kn(Ht||{},{method:Ue,url:ut,data:(Ht||{}).data}))}}),fn.forEach(["post","put","patch"],function(Ue){function ut(Ht){return function(ln,jn,Nr){return this.request(kn(Nr||{},{method:Ue,headers:Ht?{"Content-Type":"multipart/form-data"}:{},url:ln,data:jn}))}}Mt.prototype[Ue]=ut(),Mt.prototype[Ue+"Form"]=ut(!0)});const qt=Mt;class sr{constructor(Ue){if(typeof Ue!="function")throw new TypeError("executor must be a function.");let ut;this.promise=new Promise(function(ln){ut=ln});const Ht=this;this.promise.then(Fn=>{if(!Ht._listeners)return;let ln=Ht._listeners.length;for(;ln-- >0;)Ht._listeners[ln](Fn);Ht._listeners=null}),this.promise.then=Fn=>{let ln;const jn=new Promise(Nr=>{Ht.subscribe(Nr),ln=Nr}).then(Fn);return jn.cancel=function(){Ht.unsubscribe(ln)},jn},Ue(function(ln,jn,Nr){Ht.reason||(Ht.reason=new Tt(ln,jn,Nr),ut(Ht.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(Ue){if(this.reason){Ue(this.reason);return}this._listeners?this._listeners.push(Ue):this._listeners=[Ue]}unsubscribe(Ue){if(!this._listeners)return;const ut=this._listeners.indexOf(Ue);ut!==-1&&this._listeners.splice(ut,1)}static source(){let Ue;return{token:new sr(function(Fn){Ue=Fn}),cancel:Ue}}}const lr=sr;function Cr(be){return function(ut){return be.apply(null,ut)}}function xr(be){return fn.isObject(be)&&be.isAxiosError===!0}const qr={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(qr).forEach(([be,Ue])=>{qr[Ue]=be});const jr=qr;function vr(be){const Ue=new qt(be),ut=i(qt.prototype.request,Ue);return fn.extend(ut,qt.prototype,Ue,{allOwnKeys:!0}),fn.extend(ut,Ue,null,{allOwnKeys:!0}),ut.create=function(Fn){return vr(kn(be,Fn))},ut}const $r=vr(yi);$r.Axios=qt,$r.CanceledError=Tt,$r.CancelToken=lr,$r.isCancel=Gt,$r.VERSION=wn,$r.toFormData=de,$r.AxiosError=nn,$r.Cancel=$r.CanceledError,$r.all=function(Ue){return Promise.all(Ue)},$r.spread=Cr,$r.isAxiosError=xr,$r.mergeConfig=kn,$r.AxiosHeaders=rr,$r.formToJSON=be=>Ui(fn.isHTMLForm(be)?new FormData(be):be),$r.getAdapter=un.getAdapter,$r.HttpStatusCode=jr,$r.default=$r;const Wr=$r},65656:(U,C,e)=>{"use strict";e.d(C,{s:()=>a});let i;function a(){return i||(i=new Image,i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),i}},6700:(U,C,e)=>{"use strict";e.d(C,{a:()=>a});var i=e(62552);const a=(0,i.createContext)({dragDropManager:void 0})},33002:(U,C,e)=>{"use strict";e.d(C,{_:()=>c});var i=e(79644),a=e(94248);function l(v,_,T){const[A,R]=(0,i.y)(v,_,T);return(0,a.M)(function(){const M=v.getHandlerId();if(M!=null)return v.subscribeToStateChange(R,{handlerIds:[M]})},[v,R]),A}function c(v,_,T){return l(_,v||(()=>({})),()=>T.reconnect())}},79644:(U,C,e)=>{"use strict";e.d(C,{y:()=>c});var i=e(25020),a=e(62552),l=e(94248);function c(v,_,T){const[A,R]=(0,a.useState)(()=>_(v)),P=(0,a.useCallback)(()=>{const M=_(v);i(A,M)||(R(M),T&&T())},[A,v,T]);return(0,l.M)(P),[A,P]}},7736:(U,C,e)=>{"use strict";e.d(C,{I:()=>J});var i=e(72848),a=e(33002),l=e(13328),c=e(62552);function v(ee){return(0,c.useMemo)(()=>ee.hooks.dragSource(),[ee])}function _(ee){return(0,c.useMemo)(()=>ee.hooks.dragPreview(),[ee])}var T=e(48348),A=e(63484),R=e(54912);class P{receiveHandlerId(re){this.handlerId!==re&&(this.handlerId=re,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(re){this.dragSourceOptionsInternal=re}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(re){this.dragPreviewOptionsInternal=re}reconnect(){const re=this.reconnectDragSource();this.reconnectDragPreview(re)}reconnectDragSource(){const re=this.dragSource,me=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return me&&this.disconnectDragSource(),this.handlerId?re?(me&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=re,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,re,this.dragSourceOptions)),me):(this.lastConnectedDragSource=re,me):me}reconnectDragPreview(re=!1){const me=this.dragPreview,fe=re||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(fe&&this.disconnectDragPreview(),!!this.handlerId){if(!me){this.lastConnectedDragPreview=me;return}fe&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=me,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,me,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,T.G)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,T.G)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(re){this.hooks=(0,R.Q)({dragSource:(me,fe)=>{this.clearDragSource(),this.dragSourceOptions=fe||null,(0,A.I)(me)?this.dragSourceRef=me:this.dragSourceNode=me,this.reconnectDragSource()},dragPreview:(me,fe)=>{this.clearDragPreview(),this.dragPreviewOptions=fe||null,(0,A.I)(me)?this.dragPreviewRef=me:this.dragPreviewNode=me,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=re}}var M=e(77552),O=e(94248);function N(ee,re){const me=(0,M.e)(),fe=(0,c.useMemo)(()=>new P(me.getBackend()),[me]);return(0,O.M)(()=>(fe.dragSourceOptions=ee||null,fe.reconnect(),()=>fe.disconnectDragSource()),[fe,ee]),(0,O.M)(()=>(fe.dragPreviewOptions=re||null,fe.reconnect(),()=>fe.disconnectDragPreview()),[fe,re]),fe}let B=!1,j=!1;class z{receiveHandlerId(re){this.sourceId=re}getHandlerId(){return this.sourceId}canDrag(){(0,i.O)(!B,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return B=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{B=!1}}isDragging(){if(!this.sourceId)return!1;(0,i.O)(!j,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return j=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{j=!1}}subscribeToStateChange(re,me){return this.internalMonitor.subscribeToStateChange(re,me)}isDraggingSource(re){return this.internalMonitor.isDraggingSource(re)}isOverTarget(re,me){return this.internalMonitor.isOverTarget(re,me)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(re){return this.internalMonitor.subscribeToOffsetChange(re)}canDragSource(re){return this.internalMonitor.canDragSource(re)}canDropOnTarget(re){return this.internalMonitor.canDropOnTarget(re)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(re){this.sourceId=null,this.internalMonitor=re.getMonitor()}}function W(){const ee=(0,M.e)();return(0,c.useMemo)(()=>new z(ee),[ee])}var X=e(8272);class Q{beginDrag(){const re=this.spec,me=this.monitor;let fe=null;return typeof re.item=="object"?fe=re.item:typeof re.item=="function"?fe=re.item(me):fe={},fe??null}canDrag(){const re=this.spec,me=this.monitor;return typeof re.canDrag=="boolean"?re.canDrag:typeof re.canDrag=="function"?re.canDrag(me):!0}isDragging(re,me){const fe=this.spec,le=this.monitor,{isDragging:Ve}=fe;return Ve?Ve(le):me===re.getSourceId()}endDrag(){const re=this.spec,me=this.monitor,fe=this.connector,{end:le}=re;le&&le(me.getItem(),me),fe.reconnect()}constructor(re,me,fe){this.spec=re,this.monitor=me,this.connector=fe}}function K(ee,re,me){const fe=(0,c.useMemo)(()=>new Q(ee,re,me),[re,me]);return(0,c.useEffect)(()=>{fe.spec=ee},[ee]),fe}function Y(ee){return(0,c.useMemo)(()=>{const re=ee.type;return(0,i.O)(re!=null,"spec.type must be defined"),re},[ee])}function Z(ee,re,me){const fe=(0,M.e)(),le=K(ee,re,me),Ve=Y(ee);(0,O.M)(function(){if(Ve!=null){const[Ce,ye]=(0,X.k)(Ve,le,fe);return re.receiveHandlerId(Ce),me.receiveHandlerId(Ce),ye}},[fe,re,me,le,Ve])}function J(ee,re){const me=(0,l.w)(ee,re);(0,i.O)(!me.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const fe=W(),le=N(me.options,me.previewOptions);return Z(me,fe,le),[(0,a._)(me.collect,fe,le),v(le),_(le)]}},77552:(U,C,e)=>{"use strict";e.d(C,{e:()=>c});var i=e(72848),a=e(62552),l=e(6700);function c(){const{dragDropManager:v}=(0,a.useContext)(l.a);return(0,i.O)(v!=null,"Expected drag drop context"),v}},88908:(U,C,e)=>{"use strict";e.d(C,{W:()=>Y});var i=e(33002),a=e(13328),l=e(62552);function c(Z){return(0,l.useMemo)(()=>Z.hooks.dropTarget(),[Z])}var v=e(48348),_=e(63484),T=e(54912);class A{get connectTarget(){return this.dropTarget}reconnect(){const J=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();J&&this.disconnectDropTarget();const ee=this.dropTarget;if(this.handlerId){if(!ee){this.lastConnectedDropTarget=ee;return}J&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=ee,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,ee,this.dropTargetOptions))}}receiveHandlerId(J){J!==this.handlerId&&(this.handlerId=J,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(J){this.dropTargetOptionsInternal=J}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,v.G)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(J){this.hooks=(0,T.Q)({dropTarget:(ee,re)=>{this.clearDropTarget(),this.dropTargetOptions=re,(0,_.I)(ee)?this.dropTargetRef=ee:this.dropTargetNode=ee,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=J}}var R=e(77552),P=e(94248);function M(Z){const J=(0,R.e)(),ee=(0,l.useMemo)(()=>new A(J.getBackend()),[J]);return(0,P.M)(()=>(ee.dropTargetOptions=Z||null,ee.reconnect(),()=>ee.disconnectDropTarget()),[Z]),ee}var O=e(72848);let N=!1;class B{receiveHandlerId(J){this.targetId=J}getHandlerId(){return this.targetId}subscribeToStateChange(J,ee){return this.internalMonitor.subscribeToStateChange(J,ee)}canDrop(){if(!this.targetId)return!1;(0,O.O)(!N,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return N=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{N=!1}}isOver(J){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,J):!1}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(J){this.targetId=null,this.internalMonitor=J.getMonitor()}}function j(){const Z=(0,R.e)();return(0,l.useMemo)(()=>new B(Z),[Z])}var z=e(8272);function W(Z){const{accept:J}=Z;return(0,l.useMemo)(()=>((0,O.O)(Z.accept!=null,"accept must be defined"),Array.isArray(J)?J:[J]),[J])}class X{canDrop(){const J=this.spec,ee=this.monitor;return J.canDrop?J.canDrop(ee.getItem(),ee):!0}hover(){const J=this.spec,ee=this.monitor;J.hover&&J.hover(ee.getItem(),ee)}drop(){const J=this.spec,ee=this.monitor;if(J.drop)return J.drop(ee.getItem(),ee)}constructor(J,ee){this.spec=J,this.monitor=ee}}function Q(Z,J){const ee=(0,l.useMemo)(()=>new X(Z,J),[J]);return(0,l.useEffect)(()=>{ee.spec=Z},[Z]),ee}function K(Z,J,ee){const re=(0,R.e)(),me=Q(Z,J),fe=W(Z);(0,P.M)(function(){const[Ve,Ze]=(0,z.o)(fe,me,re);return J.receiveHandlerId(Ve),ee.receiveHandlerId(Ve),Ze},[re,J,me,ee,fe.map(le=>le.toString()).join("|")])}function Y(Z,J){const ee=(0,a.w)(Z,J),re=j(),me=M(ee.options);return K(ee,re,me),[(0,i._)(ee.collect,re,me),c(me)]}},94248:(U,C,e)=>{"use strict";e.d(C,{M:()=>a});var i=e(62552);const a=typeof window<"u"?i.useLayoutEffect:i.useEffect},13328:(U,C,e)=>{"use strict";e.d(C,{w:()=>a});var i=e(62552);function a(l,c){const v=[...c||[]];return c==null&&typeof l!="function"&&v.push(l),(0,i.useMemo)(()=>typeof l=="function"?l():l,v)}},63484:(U,C,e)=>{"use strict";e.d(C,{I:()=>i});function i(a){return a!==null&&typeof a=="object"&&Object.prototype.hasOwnProperty.call(a,"current")}},8272:(U,C,e)=>{"use strict";e.d(C,{k:()=>a,o:()=>i});function i(l,c,v){const _=v.getRegistry(),T=_.addTarget(l,c);return[T,()=>_.removeTarget(T)]}function a(l,c,v){const _=v.getRegistry(),T=_.addSource(l,c);return[T,()=>_.removeSource(T)]}},54912:(U,C,e)=>{"use strict";e.d(C,{Q:()=>v});var i=e(72848),a=e(62552);function l(A){if(typeof A.type=="string")return;const R=A.type.displayName||A.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${R} into a <div>, or turn it into a drag source or a drop target itself.`)}function c(A){return(R=null,P=null)=>{if(!(0,a.isValidElement)(R)){const N=R;return A(N,P),N}const M=R;return l(M),T(M,P?N=>A(N,P):A)}}function v(A){const R={};return Object.keys(A).forEach(P=>{const M=A[P];if(P.endsWith("Ref"))R[P]=A[P];else{const O=c(M);R[P]=()=>O}}),R}function _(A,R){typeof A=="function"?A(R):A.current=R}function T(A,R){const P=A.ref;return(0,i.O)(typeof P!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),P?(0,a.cloneElement)(A,{ref:M=>{_(P,M),_(R,M)}}):(0,a.cloneElement)(A,{ref:R})}},58664:(U,C,e)=>{"use strict";e.d(C,{c:()=>l});var i=!0,a="Invariant failed";function l(c,v){if(!c){if(i)throw new Error(a);var _=typeof v=="function"?v():v,T=_?"".concat(a,": ").concat(_):a;throw new Error(T)}}},7353:(U,C,e)=>{"use strict";e.d(C,{C3:()=>l,Mt:()=>K,ct:()=>a,sX:()=>c});var i=function(ce,Ge){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Pe,pe){Pe.__proto__=pe}||function(Pe,pe){for(var Se in pe)Object.prototype.hasOwnProperty.call(pe,Se)&&(Pe[Se]=pe[Se])},i(ce,Ge)};function a(ce,Ge){if(typeof Ge!="function"&&Ge!==null)throw new TypeError("Class extends value "+String(Ge)+" is not a constructor or null");i(ce,Ge);function Pe(){this.constructor=ce}ce.prototype=Ge===null?Object.create(Ge):(Pe.prototype=Ge.prototype,new Pe)}var l=function(){return l=Object.assign||function(Ge){for(var Pe,pe=1,Se=arguments.length;pe<Se;pe++){Pe=arguments[pe];for(var _e in Pe)Object.prototype.hasOwnProperty.call(Pe,_e)&&(Ge[_e]=Pe[_e])}return Ge},l.apply(this,arguments)};function c(ce,Ge){var Pe={};for(var pe in ce)Object.prototype.hasOwnProperty.call(ce,pe)&&Ge.indexOf(pe)<0&&(Pe[pe]=ce[pe]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,pe=Object.getOwnPropertySymbols(ce);Se<pe.length;Se++)Ge.indexOf(pe[Se])<0&&Object.prototype.propertyIsEnumerable.call(ce,pe[Se])&&(Pe[pe[Se]]=ce[pe[Se]]);return Pe}function v(ce,Ge,Pe,pe){var Se=arguments.length,_e=Se<3?Ge:pe===null?pe=Object.getOwnPropertyDescriptor(Ge,Pe):pe,Ne;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")_e=Reflect.decorate(ce,Ge,Pe,pe);else for(var Le=ce.length-1;Le>=0;Le--)(Ne=ce[Le])&&(_e=(Se<3?Ne(_e):Se>3?Ne(Ge,Pe,_e):Ne(Ge,Pe))||_e);return Se>3&&_e&&Object.defineProperty(Ge,Pe,_e),_e}function _(ce,Ge){return function(Pe,pe){Ge(Pe,pe,ce)}}function T(ce,Ge,Pe,pe,Se,_e){function Ne(jt){if(jt!==void 0&&typeof jt!="function")throw new TypeError("Function expected");return jt}for(var Le=pe.kind,Ke=Le==="getter"?"get":Le==="setter"?"set":"value",bt=!Ge&&ce?pe.static?ce:ce.prototype:null,yt=Ge||(bt?Object.getOwnPropertyDescriptor(bt,pe.name):{}),It,_t=!1,zt=Pe.length-1;zt>=0;zt--){var Vt={};for(var St in pe)Vt[St]=St==="access"?{}:pe[St];for(var St in pe.access)Vt.access[St]=pe.access[St];Vt.addInitializer=function(jt){if(_t)throw new TypeError("Cannot add initializers after decoration has completed");_e.push(Ne(jt||null))};var Xt=(0,Pe[zt])(Le==="accessor"?{get:yt.get,set:yt.set}:yt[Ke],Vt);if(Le==="accessor"){if(Xt===void 0)continue;if(Xt===null||typeof Xt!="object")throw new TypeError("Object expected");(It=Ne(Xt.get))&&(yt.get=It),(It=Ne(Xt.set))&&(yt.set=It),(It=Ne(Xt.init))&&Se.unshift(It)}else(It=Ne(Xt))&&(Le==="field"?Se.unshift(It):yt[Ke]=It)}bt&&Object.defineProperty(bt,pe.name,yt),_t=!0}function A(ce,Ge,Pe){for(var pe=arguments.length>2,Se=0;Se<Ge.length;Se++)Pe=pe?Ge[Se].call(ce,Pe):Ge[Se].call(ce);return pe?Pe:void 0}function R(ce){return typeof ce=="symbol"?ce:"".concat(ce)}function P(ce,Ge,Pe){return typeof Ge=="symbol"&&(Ge=Ge.description?"[".concat(Ge.description,"]"):""),Object.defineProperty(ce,"name",{configurable:!0,value:Pe?"".concat(Pe," ",Ge):Ge})}function M(ce,Ge){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(ce,Ge)}function O(ce,Ge,Pe,pe){function Se(_e){return _e instanceof Pe?_e:new Pe(function(Ne){Ne(_e)})}return new(Pe||(Pe=Promise))(function(_e,Ne){function Le(yt){try{bt(pe.next(yt))}catch(It){Ne(It)}}function Ke(yt){try{bt(pe.throw(yt))}catch(It){Ne(It)}}function bt(yt){yt.done?_e(yt.value):Se(yt.value).then(Le,Ke)}bt((pe=pe.apply(ce,Ge||[])).next())})}function N(ce,Ge){var Pe={label:0,sent:function(){if(_e[0]&1)throw _e[1];return _e[1]},trys:[],ops:[]},pe,Se,_e,Ne;return Ne={next:Le(0),throw:Le(1),return:Le(2)},typeof Symbol=="function"&&(Ne[Symbol.iterator]=function(){return this}),Ne;function Le(bt){return function(yt){return Ke([bt,yt])}}function Ke(bt){if(pe)throw new TypeError("Generator is already executing.");for(;Ne&&(Ne=0,bt[0]&&(Pe=0)),Pe;)try{if(pe=1,Se&&(_e=bt[0]&2?Se.return:bt[0]?Se.throw||((_e=Se.return)&&_e.call(Se),0):Se.next)&&!(_e=_e.call(Se,bt[1])).done)return _e;switch(Se=0,_e&&(bt=[bt[0]&2,_e.value]),bt[0]){case 0:case 1:_e=bt;break;case 4:return Pe.label++,{value:bt[1],done:!1};case 5:Pe.label++,Se=bt[1],bt=[0];continue;case 7:bt=Pe.ops.pop(),Pe.trys.pop();continue;default:if(_e=Pe.trys,!(_e=_e.length>0&&_e[_e.length-1])&&(bt[0]===6||bt[0]===2)){Pe=0;continue}if(bt[0]===3&&(!_e||bt[1]>_e[0]&&bt[1]<_e[3])){Pe.label=bt[1];break}if(bt[0]===6&&Pe.label<_e[1]){Pe.label=_e[1],_e=bt;break}if(_e&&Pe.label<_e[2]){Pe.label=_e[2],Pe.ops.push(bt);break}_e[2]&&Pe.ops.pop(),Pe.trys.pop();continue}bt=Ge.call(ce,Pe)}catch(yt){bt=[6,yt],Se=0}finally{pe=_e=0}if(bt[0]&5)throw bt[1];return{value:bt[0]?bt[1]:void 0,done:!0}}}var B=Object.create?function(ce,Ge,Pe,pe){pe===void 0&&(pe=Pe);var Se=Object.getOwnPropertyDescriptor(Ge,Pe);(!Se||("get"in Se?!Ge.__esModule:Se.writable||Se.configurable))&&(Se={enumerable:!0,get:function(){return Ge[Pe]}}),Object.defineProperty(ce,pe,Se)}:function(ce,Ge,Pe,pe){pe===void 0&&(pe=Pe),ce[pe]=Ge[Pe]};function j(ce,Ge){for(var Pe in ce)Pe!=="default"&&!Object.prototype.hasOwnProperty.call(Ge,Pe)&&B(Ge,ce,Pe)}function z(ce){var Ge=typeof Symbol=="function"&&Symbol.iterator,Pe=Ge&&ce[Ge],pe=0;if(Pe)return Pe.call(ce);if(ce&&typeof ce.length=="number")return{next:function(){return ce&&pe>=ce.length&&(ce=void 0),{value:ce&&ce[pe++],done:!ce}}};throw new TypeError(Ge?"Object is not iterable.":"Symbol.iterator is not defined.")}function W(ce,Ge){var Pe=typeof Symbol=="function"&&ce[Symbol.iterator];if(!Pe)return ce;var pe=Pe.call(ce),Se,_e=[],Ne;try{for(;(Ge===void 0||Ge-- >0)&&!(Se=pe.next()).done;)_e.push(Se.value)}catch(Le){Ne={error:Le}}finally{try{Se&&!Se.done&&(Pe=pe.return)&&Pe.call(pe)}finally{if(Ne)throw Ne.error}}return _e}function X(){for(var ce=[],Ge=0;Ge<arguments.length;Ge++)ce=ce.concat(W(arguments[Ge]));return ce}function Q(){for(var ce=0,Ge=0,Pe=arguments.length;Ge<Pe;Ge++)ce+=arguments[Ge].length;for(var pe=Array(ce),Se=0,Ge=0;Ge<Pe;Ge++)for(var _e=arguments[Ge],Ne=0,Le=_e.length;Ne<Le;Ne++,Se++)pe[Se]=_e[Ne];return pe}function K(ce,Ge,Pe){if(Pe||arguments.length===2)for(var pe=0,Se=Ge.length,_e;pe<Se;pe++)(_e||!(pe in Ge))&&(_e||(_e=Array.prototype.slice.call(Ge,0,pe)),_e[pe]=Ge[pe]);return ce.concat(_e||Array.prototype.slice.call(Ge))}function Y(ce){return this instanceof Y?(this.v=ce,this):new Y(ce)}function Z(ce,Ge,Pe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var pe=Pe.apply(ce,Ge||[]),Se,_e=[];return Se={},Ne("next"),Ne("throw"),Ne("return"),Se[Symbol.asyncIterator]=function(){return this},Se;function Ne(_t){pe[_t]&&(Se[_t]=function(zt){return new Promise(function(Vt,St){_e.push([_t,zt,Vt,St])>1||Le(_t,zt)})})}function Le(_t,zt){try{Ke(pe[_t](zt))}catch(Vt){It(_e[0][3],Vt)}}function Ke(_t){_t.value instanceof Y?Promise.resolve(_t.value.v).then(bt,yt):It(_e[0][2],_t)}function bt(_t){Le("next",_t)}function yt(_t){Le("throw",_t)}function It(_t,zt){_t(zt),_e.shift(),_e.length&&Le(_e[0][0],_e[0][1])}}function J(ce){var Ge,Pe;return Ge={},pe("next"),pe("throw",function(Se){throw Se}),pe("return"),Ge[Symbol.iterator]=function(){return this},Ge;function pe(Se,_e){Ge[Se]=ce[Se]?function(Ne){return(Pe=!Pe)?{value:Y(ce[Se](Ne)),done:!1}:_e?_e(Ne):Ne}:_e}}function ee(ce){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ge=ce[Symbol.asyncIterator],Pe;return Ge?Ge.call(ce):(ce=typeof z=="function"?z(ce):ce[Symbol.iterator](),Pe={},pe("next"),pe("throw"),pe("return"),Pe[Symbol.asyncIterator]=function(){return this},Pe);function pe(_e){Pe[_e]=ce[_e]&&function(Ne){return new Promise(function(Le,Ke){Ne=ce[_e](Ne),Se(Le,Ke,Ne.done,Ne.value)})}}function Se(_e,Ne,Le,Ke){Promise.resolve(Ke).then(function(bt){_e({value:bt,done:Le})},Ne)}}function re(ce,Ge){return Object.defineProperty?Object.defineProperty(ce,"raw",{value:Ge}):ce.raw=Ge,ce}var me=Object.create?function(ce,Ge){Object.defineProperty(ce,"default",{enumerable:!0,value:Ge})}:function(ce,Ge){ce.default=Ge};function fe(ce){if(ce&&ce.__esModule)return ce;var Ge={};if(ce!=null)for(var Pe in ce)Pe!=="default"&&Object.prototype.hasOwnProperty.call(ce,Pe)&&B(Ge,ce,Pe);return me(Ge,ce),Ge}function le(ce){return ce&&ce.__esModule?ce:{default:ce}}function Ve(ce,Ge,Pe,pe){if(Pe==="a"&&!pe)throw new TypeError("Private accessor was defined without a getter");if(typeof Ge=="function"?ce!==Ge||!pe:!Ge.has(ce))throw new TypeError("Cannot read private member from an object whose class did not declare it");return Pe==="m"?pe:Pe==="a"?pe.call(ce):pe?pe.value:Ge.get(ce)}function Ze(ce,Ge,Pe,pe,Se){if(pe==="m")throw new TypeError("Private method is not writable");if(pe==="a"&&!Se)throw new TypeError("Private accessor was defined without a setter");if(typeof Ge=="function"?ce!==Ge||!Se:!Ge.has(ce))throw new TypeError("Cannot write private member to an object whose class did not declare it");return pe==="a"?Se.call(ce,Pe):Se?Se.value=Pe:Ge.set(ce,Pe),Pe}function Ce(ce,Ge){if(Ge===null||typeof Ge!="object"&&typeof Ge!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof ce=="function"?Ge===ce:ce.has(Ge)}function ye(ce,Ge,Pe){if(Ge!=null){if(typeof Ge!="object"&&typeof Ge!="function")throw new TypeError("Object expected.");var pe;if(Pe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");pe=Ge[Symbol.asyncDispose]}if(pe===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");pe=Ge[Symbol.dispose]}if(typeof pe!="function")throw new TypeError("Object not disposable.");ce.stack.push({value:Ge,dispose:pe,async:Pe})}else Pe&&ce.stack.push({async:!0});return Ge}var Ae=typeof SuppressedError=="function"?SuppressedError:function(ce,Ge,Pe){var pe=new Error(Pe);return pe.name="SuppressedError",pe.error=ce,pe.suppressed=Ge,pe};function Fe(ce){function Ge(pe){ce.error=ce.hasError?new Ae(pe,ce.error,"An error was suppressed during disposal."):pe,ce.hasError=!0}function Pe(){for(;ce.stack.length;){var pe=ce.stack.pop();try{var Se=pe.dispose&&pe.dispose.call(pe.value);if(pe.async)return Promise.resolve(Se).then(Pe,function(_e){return Ge(_e),Pe()})}catch(_e){Ge(_e)}}if(ce.hasError)throw ce.error}return Pe()}var Qe={__extends:a,__assign:l,__rest:c,__decorate:v,__param:_,__metadata:M,__awaiter:O,__generator:N,__createBinding:B,__exportStar:j,__values:z,__read:W,__spread:X,__spreadArrays:Q,__spreadArray:K,__await:Y,__asyncGenerator:Z,__asyncDelegator:J,__asyncValues:ee,__makeTemplateObject:re,__importStar:fe,__importDefault:le,__classPrivateFieldGet:Ve,__classPrivateFieldSet:Ze,__classPrivateFieldIn:Ce,__addDisposableResource:ye,__disposeResources:Fe}},42827:U=>{"use strict";U.exports=JSON.parse('{"100":"\u{1F4AF}","1234":"\u{1F522}","grinning":"\u{1F600}","smiley":"\u{1F603}","smile":"\u{1F604}","grin":"\u{1F601}","laughing":"\u{1F606}","satisfied":"\u{1F606}","sweat_smile":"\u{1F605}","rofl":"\u{1F923}","joy":"\u{1F602}","slightly_smiling_face":"\u{1F642}","upside_down_face":"\u{1F643}","wink":"\u{1F609}","blush":"\u{1F60A}","innocent":"\u{1F607}","smiling_face_with_three_hearts":"\u{1F970}","heart_eyes":"\u{1F60D}","star_struck":"\u{1F929}","kissing_heart":"\u{1F618}","kissing":"\u{1F617}","relaxed":"\u263A\uFE0F","kissing_closed_eyes":"\u{1F61A}","kissing_smiling_eyes":"\u{1F619}","smiling_face_with_tear":"\u{1F972}","yum":"\u{1F60B}","stuck_out_tongue":"\u{1F61B}","stuck_out_tongue_winking_eye":"\u{1F61C}","zany_face":"\u{1F92A}","stuck_out_tongue_closed_eyes":"\u{1F61D}","money_mouth_face":"\u{1F911}","hugs":"\u{1F917}","hand_over_mouth":"\u{1F92D}","shushing_face":"\u{1F92B}","thinking":"\u{1F914}","zipper_mouth_face":"\u{1F910}","raised_eyebrow":"\u{1F928}","neutral_face":"\u{1F610}","expressionless":"\u{1F611}","no_mouth":"\u{1F636}","smirk":"\u{1F60F}","unamused":"\u{1F612}","roll_eyes":"\u{1F644}","grimacing":"\u{1F62C}","lying_face":"\u{1F925}","relieved":"\u{1F60C}","pensive":"\u{1F614}","sleepy":"\u{1F62A}","drooling_face":"\u{1F924}","sleeping":"\u{1F634}","mask":"\u{1F637}","face_with_thermometer":"\u{1F912}","face_with_head_bandage":"\u{1F915}","nauseated_face":"\u{1F922}","vomiting_face":"\u{1F92E}","sneezing_face":"\u{1F927}","hot_face":"\u{1F975}","cold_face":"\u{1F976}","woozy_face":"\u{1F974}","dizzy_face":"\u{1F635}","exploding_head":"\u{1F92F}","cowboy_hat_face":"\u{1F920}","partying_face":"\u{1F973}","disguised_face":"\u{1F978}","sunglasses":"\u{1F60E}","nerd_face":"\u{1F913}","monocle_face":"\u{1F9D0}","confused":"\u{1F615}","worried":"\u{1F61F}","slightly_frowning_face":"\u{1F641}","frowning_face":"\u2639\uFE0F","open_mouth":"\u{1F62E}","hushed":"\u{1F62F}","astonished":"\u{1F632}","flushed":"\u{1F633}","pleading_face":"\u{1F97A}","frowning":"\u{1F626}","anguished":"\u{1F627}","fearful":"\u{1F628}","cold_sweat":"\u{1F630}","disappointed_relieved":"\u{1F625}","cry":"\u{1F622}","sob":"\u{1F62D}","scream":"\u{1F631}","confounded":"\u{1F616}","persevere":"\u{1F623}","disappointed":"\u{1F61E}","sweat":"\u{1F613}","weary":"\u{1F629}","tired_face":"\u{1F62B}","yawning_face":"\u{1F971}","triumph":"\u{1F624}","rage":"\u{1F621}","pout":"\u{1F621}","angry":"\u{1F620}","cursing_face":"\u{1F92C}","smiling_imp":"\u{1F608}","imp":"\u{1F47F}","skull":"\u{1F480}","skull_and_crossbones":"\u2620\uFE0F","hankey":"\u{1F4A9}","poop":"\u{1F4A9}","shit":"\u{1F4A9}","clown_face":"\u{1F921}","japanese_ogre":"\u{1F479}","japanese_goblin":"\u{1F47A}","ghost":"\u{1F47B}","alien":"\u{1F47D}","space_invader":"\u{1F47E}","robot":"\u{1F916}","smiley_cat":"\u{1F63A}","smile_cat":"\u{1F638}","joy_cat":"\u{1F639}","heart_eyes_cat":"\u{1F63B}","smirk_cat":"\u{1F63C}","kissing_cat":"\u{1F63D}","scream_cat":"\u{1F640}","crying_cat_face":"\u{1F63F}","pouting_cat":"\u{1F63E}","see_no_evil":"\u{1F648}","hear_no_evil":"\u{1F649}","speak_no_evil":"\u{1F64A}","kiss":"\u{1F48B}","love_letter":"\u{1F48C}","cupid":"\u{1F498}","gift_heart":"\u{1F49D}","sparkling_heart":"\u{1F496}","heartpulse":"\u{1F497}","heartbeat":"\u{1F493}","revolving_hearts":"\u{1F49E}","two_hearts":"\u{1F495}","heart_decoration":"\u{1F49F}","heavy_heart_exclamation":"\u2763\uFE0F","broken_heart":"\u{1F494}","heart":"\u2764\uFE0F","orange_heart":"\u{1F9E1}","yellow_heart":"\u{1F49B}","green_heart":"\u{1F49A}","blue_heart":"\u{1F499}","purple_heart":"\u{1F49C}","brown_heart":"\u{1F90E}","black_heart":"\u{1F5A4}","white_heart":"\u{1F90D}","anger":"\u{1F4A2}","boom":"\u{1F4A5}","collision":"\u{1F4A5}","dizzy":"\u{1F4AB}","sweat_drops":"\u{1F4A6}","dash":"\u{1F4A8}","hole":"\u{1F573}\uFE0F","bomb":"\u{1F4A3}","speech_balloon":"\u{1F4AC}","eye_speech_bubble":"\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F","left_speech_bubble":"\u{1F5E8}\uFE0F","right_anger_bubble":"\u{1F5EF}\uFE0F","thought_balloon":"\u{1F4AD}","zzz":"\u{1F4A4}","wave":"\u{1F44B}","raised_back_of_hand":"\u{1F91A}","raised_hand_with_fingers_splayed":"\u{1F590}\uFE0F","hand":"\u270B","raised_hand":"\u270B","vulcan_salute":"\u{1F596}","ok_hand":"\u{1F44C}","pinched_fingers":"\u{1F90C}","pinching_hand":"\u{1F90F}","v":"\u270C\uFE0F","crossed_fingers":"\u{1F91E}","love_you_gesture":"\u{1F91F}","metal":"\u{1F918}","call_me_hand":"\u{1F919}","point_left":"\u{1F448}","point_right":"\u{1F449}","point_up_2":"\u{1F446}","middle_finger":"\u{1F595}","fu":"\u{1F595}","point_down":"\u{1F447}","point_up":"\u261D\uFE0F","+1":"\u{1F44D}","thumbsup":"\u{1F44D}","-1":"\u{1F44E}","thumbsdown":"\u{1F44E}","fist_raised":"\u270A","fist":"\u270A","fist_oncoming":"\u{1F44A}","facepunch":"\u{1F44A}","punch":"\u{1F44A}","fist_left":"\u{1F91B}","fist_right":"\u{1F91C}","clap":"\u{1F44F}","raised_hands":"\u{1F64C}","open_hands":"\u{1F450}","palms_up_together":"\u{1F932}","handshake":"\u{1F91D}","pray":"\u{1F64F}","writing_hand":"\u270D\uFE0F","nail_care":"\u{1F485}","selfie":"\u{1F933}","muscle":"\u{1F4AA}","mechanical_arm":"\u{1F9BE}","mechanical_leg":"\u{1F9BF}","leg":"\u{1F9B5}","foot":"\u{1F9B6}","ear":"\u{1F442}","ear_with_hearing_aid":"\u{1F9BB}","nose":"\u{1F443}","brain":"\u{1F9E0}","anatomical_heart":"\u{1FAC0}","lungs":"\u{1FAC1}","tooth":"\u{1F9B7}","bone":"\u{1F9B4}","eyes":"\u{1F440}","eye":"\u{1F441}\uFE0F","tongue":"\u{1F445}","lips":"\u{1F444}","baby":"\u{1F476}","child":"\u{1F9D2}","boy":"\u{1F466}","girl":"\u{1F467}","adult":"\u{1F9D1}","blond_haired_person":"\u{1F471}","man":"\u{1F468}","bearded_person":"\u{1F9D4}","red_haired_man":"\u{1F468}\u200D\u{1F9B0}","curly_haired_man":"\u{1F468}\u200D\u{1F9B1}","white_haired_man":"\u{1F468}\u200D\u{1F9B3}","bald_man":"\u{1F468}\u200D\u{1F9B2}","woman":"\u{1F469}","red_haired_woman":"\u{1F469}\u200D\u{1F9B0}","person_red_hair":"\u{1F9D1}\u200D\u{1F9B0}","curly_haired_woman":"\u{1F469}\u200D\u{1F9B1}","person_curly_hair":"\u{1F9D1}\u200D\u{1F9B1}","white_haired_woman":"\u{1F469}\u200D\u{1F9B3}","person_white_hair":"\u{1F9D1}\u200D\u{1F9B3}","bald_woman":"\u{1F469}\u200D\u{1F9B2}","person_bald":"\u{1F9D1}\u200D\u{1F9B2}","blond_haired_woman":"\u{1F471}\u200D\u2640\uFE0F","blonde_woman":"\u{1F471}\u200D\u2640\uFE0F","blond_haired_man":"\u{1F471}\u200D\u2642\uFE0F","older_adult":"\u{1F9D3}","older_man":"\u{1F474}","older_woman":"\u{1F475}","frowning_person":"\u{1F64D}","frowning_man":"\u{1F64D}\u200D\u2642\uFE0F","frowning_woman":"\u{1F64D}\u200D\u2640\uFE0F","pouting_face":"\u{1F64E}","pouting_man":"\u{1F64E}\u200D\u2642\uFE0F","pouting_woman":"\u{1F64E}\u200D\u2640\uFE0F","no_good":"\u{1F645}","no_good_man":"\u{1F645}\u200D\u2642\uFE0F","ng_man":"\u{1F645}\u200D\u2642\uFE0F","no_good_woman":"\u{1F645}\u200D\u2640\uFE0F","ng_woman":"\u{1F645}\u200D\u2640\uFE0F","ok_person":"\u{1F646}","ok_man":"\u{1F646}\u200D\u2642\uFE0F","ok_woman":"\u{1F646}\u200D\u2640\uFE0F","tipping_hand_person":"\u{1F481}","information_desk_person":"\u{1F481}","tipping_hand_man":"\u{1F481}\u200D\u2642\uFE0F","sassy_man":"\u{1F481}\u200D\u2642\uFE0F","tipping_hand_woman":"\u{1F481}\u200D\u2640\uFE0F","sassy_woman":"\u{1F481}\u200D\u2640\uFE0F","raising_hand":"\u{1F64B}","raising_hand_man":"\u{1F64B}\u200D\u2642\uFE0F","raising_hand_woman":"\u{1F64B}\u200D\u2640\uFE0F","deaf_person":"\u{1F9CF}","deaf_man":"\u{1F9CF}\u200D\u2642\uFE0F","deaf_woman":"\u{1F9CF}\u200D\u2640\uFE0F","bow":"\u{1F647}","bowing_man":"\u{1F647}\u200D\u2642\uFE0F","bowing_woman":"\u{1F647}\u200D\u2640\uFE0F","facepalm":"\u{1F926}","man_facepalming":"\u{1F926}\u200D\u2642\uFE0F","woman_facepalming":"\u{1F926}\u200D\u2640\uFE0F","shrug":"\u{1F937}","man_shrugging":"\u{1F937}\u200D\u2642\uFE0F","woman_shrugging":"\u{1F937}\u200D\u2640\uFE0F","health_worker":"\u{1F9D1}\u200D\u2695\uFE0F","man_health_worker":"\u{1F468}\u200D\u2695\uFE0F","woman_health_worker":"\u{1F469}\u200D\u2695\uFE0F","student":"\u{1F9D1}\u200D\u{1F393}","man_student":"\u{1F468}\u200D\u{1F393}","woman_student":"\u{1F469}\u200D\u{1F393}","teacher":"\u{1F9D1}\u200D\u{1F3EB}","man_teacher":"\u{1F468}\u200D\u{1F3EB}","woman_teacher":"\u{1F469}\u200D\u{1F3EB}","judge":"\u{1F9D1}\u200D\u2696\uFE0F","man_judge":"\u{1F468}\u200D\u2696\uFE0F","woman_judge":"\u{1F469}\u200D\u2696\uFE0F","farmer":"\u{1F9D1}\u200D\u{1F33E}","man_farmer":"\u{1F468}\u200D\u{1F33E}","woman_farmer":"\u{1F469}\u200D\u{1F33E}","cook":"\u{1F9D1}\u200D\u{1F373}","man_cook":"\u{1F468}\u200D\u{1F373}","woman_cook":"\u{1F469}\u200D\u{1F373}","mechanic":"\u{1F9D1}\u200D\u{1F527}","man_mechanic":"\u{1F468}\u200D\u{1F527}","woman_mechanic":"\u{1F469}\u200D\u{1F527}","factory_worker":"\u{1F9D1}\u200D\u{1F3ED}","man_factory_worker":"\u{1F468}\u200D\u{1F3ED}","woman_factory_worker":"\u{1F469}\u200D\u{1F3ED}","office_worker":"\u{1F9D1}\u200D\u{1F4BC}","man_office_worker":"\u{1F468}\u200D\u{1F4BC}","woman_office_worker":"\u{1F469}\u200D\u{1F4BC}","scientist":"\u{1F9D1}\u200D\u{1F52C}","man_scientist":"\u{1F468}\u200D\u{1F52C}","woman_scientist":"\u{1F469}\u200D\u{1F52C}","technologist":"\u{1F9D1}\u200D\u{1F4BB}","man_technologist":"\u{1F468}\u200D\u{1F4BB}","woman_technologist":"\u{1F469}\u200D\u{1F4BB}","singer":"\u{1F9D1}\u200D\u{1F3A4}","man_singer":"\u{1F468}\u200D\u{1F3A4}","woman_singer":"\u{1F469}\u200D\u{1F3A4}","artist":"\u{1F9D1}\u200D\u{1F3A8}","man_artist":"\u{1F468}\u200D\u{1F3A8}","woman_artist":"\u{1F469}\u200D\u{1F3A8}","pilot":"\u{1F9D1}\u200D\u2708\uFE0F","man_pilot":"\u{1F468}\u200D\u2708\uFE0F","woman_pilot":"\u{1F469}\u200D\u2708\uFE0F","astronaut":"\u{1F9D1}\u200D\u{1F680}","man_astronaut":"\u{1F468}\u200D\u{1F680}","woman_astronaut":"\u{1F469}\u200D\u{1F680}","firefighter":"\u{1F9D1}\u200D\u{1F692}","man_firefighter":"\u{1F468}\u200D\u{1F692}","woman_firefighter":"\u{1F469}\u200D\u{1F692}","police_officer":"\u{1F46E}","cop":"\u{1F46E}","policeman":"\u{1F46E}\u200D\u2642\uFE0F","policewoman":"\u{1F46E}\u200D\u2640\uFE0F","detective":"\u{1F575}\uFE0F","male_detective":"\u{1F575}\uFE0F\u200D\u2642\uFE0F","female_detective":"\u{1F575}\uFE0F\u200D\u2640\uFE0F","guard":"\u{1F482}","guardsman":"\u{1F482}\u200D\u2642\uFE0F","guardswoman":"\u{1F482}\u200D\u2640\uFE0F","ninja":"\u{1F977}","construction_worker":"\u{1F477}","construction_worker_man":"\u{1F477}\u200D\u2642\uFE0F","construction_worker_woman":"\u{1F477}\u200D\u2640\uFE0F","prince":"\u{1F934}","princess":"\u{1F478}","person_with_turban":"\u{1F473}","man_with_turban":"\u{1F473}\u200D\u2642\uFE0F","woman_with_turban":"\u{1F473}\u200D\u2640\uFE0F","man_with_gua_pi_mao":"\u{1F472}","woman_with_headscarf":"\u{1F9D5}","person_in_tuxedo":"\u{1F935}","man_in_tuxedo":"\u{1F935}\u200D\u2642\uFE0F","woman_in_tuxedo":"\u{1F935}\u200D\u2640\uFE0F","person_with_veil":"\u{1F470}","man_with_veil":"\u{1F470}\u200D\u2642\uFE0F","woman_with_veil":"\u{1F470}\u200D\u2640\uFE0F","bride_with_veil":"\u{1F470}\u200D\u2640\uFE0F","pregnant_woman":"\u{1F930}","breast_feeding":"\u{1F931}","woman_feeding_baby":"\u{1F469}\u200D\u{1F37C}","man_feeding_baby":"\u{1F468}\u200D\u{1F37C}","person_feeding_baby":"\u{1F9D1}\u200D\u{1F37C}","angel":"\u{1F47C}","santa":"\u{1F385}","mrs_claus":"\u{1F936}","mx_claus":"\u{1F9D1}\u200D\u{1F384}","superhero":"\u{1F9B8}","superhero_man":"\u{1F9B8}\u200D\u2642\uFE0F","superhero_woman":"\u{1F9B8}\u200D\u2640\uFE0F","supervillain":"\u{1F9B9}","supervillain_man":"\u{1F9B9}\u200D\u2642\uFE0F","supervillain_woman":"\u{1F9B9}\u200D\u2640\uFE0F","mage":"\u{1F9D9}","mage_man":"\u{1F9D9}\u200D\u2642\uFE0F","mage_woman":"\u{1F9D9}\u200D\u2640\uFE0F","fairy":"\u{1F9DA}","fairy_man":"\u{1F9DA}\u200D\u2642\uFE0F","fairy_woman":"\u{1F9DA}\u200D\u2640\uFE0F","vampire":"\u{1F9DB}","vampire_man":"\u{1F9DB}\u200D\u2642\uFE0F","vampire_woman":"\u{1F9DB}\u200D\u2640\uFE0F","merperson":"\u{1F9DC}","merman":"\u{1F9DC}\u200D\u2642\uFE0F","mermaid":"\u{1F9DC}\u200D\u2640\uFE0F","elf":"\u{1F9DD}","elf_man":"\u{1F9DD}\u200D\u2642\uFE0F","elf_woman":"\u{1F9DD}\u200D\u2640\uFE0F","genie":"\u{1F9DE}","genie_man":"\u{1F9DE}\u200D\u2642\uFE0F","genie_woman":"\u{1F9DE}\u200D\u2640\uFE0F","zombie":"\u{1F9DF}","zombie_man":"\u{1F9DF}\u200D\u2642\uFE0F","zombie_woman":"\u{1F9DF}\u200D\u2640\uFE0F","massage":"\u{1F486}","massage_man":"\u{1F486}\u200D\u2642\uFE0F","massage_woman":"\u{1F486}\u200D\u2640\uFE0F","haircut":"\u{1F487}","haircut_man":"\u{1F487}\u200D\u2642\uFE0F","haircut_woman":"\u{1F487}\u200D\u2640\uFE0F","walking":"\u{1F6B6}","walking_man":"\u{1F6B6}\u200D\u2642\uFE0F","walking_woman":"\u{1F6B6}\u200D\u2640\uFE0F","standing_person":"\u{1F9CD}","standing_man":"\u{1F9CD}\u200D\u2642\uFE0F","standing_woman":"\u{1F9CD}\u200D\u2640\uFE0F","kneeling_person":"\u{1F9CE}","kneeling_man":"\u{1F9CE}\u200D\u2642\uFE0F","kneeling_woman":"\u{1F9CE}\u200D\u2640\uFE0F","person_with_probing_cane":"\u{1F9D1}\u200D\u{1F9AF}","man_with_probing_cane":"\u{1F468}\u200D\u{1F9AF}","woman_with_probing_cane":"\u{1F469}\u200D\u{1F9AF}","person_in_motorized_wheelchair":"\u{1F9D1}\u200D\u{1F9BC}","man_in_motorized_wheelchair":"\u{1F468}\u200D\u{1F9BC}","woman_in_motorized_wheelchair":"\u{1F469}\u200D\u{1F9BC}","person_in_manual_wheelchair":"\u{1F9D1}\u200D\u{1F9BD}","man_in_manual_wheelchair":"\u{1F468}\u200D\u{1F9BD}","woman_in_manual_wheelchair":"\u{1F469}\u200D\u{1F9BD}","runner":"\u{1F3C3}","running":"\u{1F3C3}","running_man":"\u{1F3C3}\u200D\u2642\uFE0F","running_woman":"\u{1F3C3}\u200D\u2640\uFE0F","woman_dancing":"\u{1F483}","dancer":"\u{1F483}","man_dancing":"\u{1F57A}","business_suit_levitating":"\u{1F574}\uFE0F","dancers":"\u{1F46F}","dancing_men":"\u{1F46F}\u200D\u2642\uFE0F","dancing_women":"\u{1F46F}\u200D\u2640\uFE0F","sauna_person":"\u{1F9D6}","sauna_man":"\u{1F9D6}\u200D\u2642\uFE0F","sauna_woman":"\u{1F9D6}\u200D\u2640\uFE0F","climbing":"\u{1F9D7}","climbing_man":"\u{1F9D7}\u200D\u2642\uFE0F","climbing_woman":"\u{1F9D7}\u200D\u2640\uFE0F","person_fencing":"\u{1F93A}","horse_racing":"\u{1F3C7}","skier":"\u26F7\uFE0F","snowboarder":"\u{1F3C2}","golfing":"\u{1F3CC}\uFE0F","golfing_man":"\u{1F3CC}\uFE0F\u200D\u2642\uFE0F","golfing_woman":"\u{1F3CC}\uFE0F\u200D\u2640\uFE0F","surfer":"\u{1F3C4}","surfing_man":"\u{1F3C4}\u200D\u2642\uFE0F","surfing_woman":"\u{1F3C4}\u200D\u2640\uFE0F","rowboat":"\u{1F6A3}","rowing_man":"\u{1F6A3}\u200D\u2642\uFE0F","rowing_woman":"\u{1F6A3}\u200D\u2640\uFE0F","swimmer":"\u{1F3CA}","swimming_man":"\u{1F3CA}\u200D\u2642\uFE0F","swimming_woman":"\u{1F3CA}\u200D\u2640\uFE0F","bouncing_ball_person":"\u26F9\uFE0F","bouncing_ball_man":"\u26F9\uFE0F\u200D\u2642\uFE0F","basketball_man":"\u26F9\uFE0F\u200D\u2642\uFE0F","bouncing_ball_woman":"\u26F9\uFE0F\u200D\u2640\uFE0F","basketball_woman":"\u26F9\uFE0F\u200D\u2640\uFE0F","weight_lifting":"\u{1F3CB}\uFE0F","weight_lifting_man":"\u{1F3CB}\uFE0F\u200D\u2642\uFE0F","weight_lifting_woman":"\u{1F3CB}\uFE0F\u200D\u2640\uFE0F","bicyclist":"\u{1F6B4}","biking_man":"\u{1F6B4}\u200D\u2642\uFE0F","biking_woman":"\u{1F6B4}\u200D\u2640\uFE0F","mountain_bicyclist":"\u{1F6B5}","mountain_biking_man":"\u{1F6B5}\u200D\u2642\uFE0F","mountain_biking_woman":"\u{1F6B5}\u200D\u2640\uFE0F","cartwheeling":"\u{1F938}","man_cartwheeling":"\u{1F938}\u200D\u2642\uFE0F","woman_cartwheeling":"\u{1F938}\u200D\u2640\uFE0F","wrestling":"\u{1F93C}","men_wrestling":"\u{1F93C}\u200D\u2642\uFE0F","women_wrestling":"\u{1F93C}\u200D\u2640\uFE0F","water_polo":"\u{1F93D}","man_playing_water_polo":"\u{1F93D}\u200D\u2642\uFE0F","woman_playing_water_polo":"\u{1F93D}\u200D\u2640\uFE0F","handball_person":"\u{1F93E}","man_playing_handball":"\u{1F93E}\u200D\u2642\uFE0F","woman_playing_handball":"\u{1F93E}\u200D\u2640\uFE0F","juggling_person":"\u{1F939}","man_juggling":"\u{1F939}\u200D\u2642\uFE0F","woman_juggling":"\u{1F939}\u200D\u2640\uFE0F","lotus_position":"\u{1F9D8}","lotus_position_man":"\u{1F9D8}\u200D\u2642\uFE0F","lotus_position_woman":"\u{1F9D8}\u200D\u2640\uFE0F","bath":"\u{1F6C0}","sleeping_bed":"\u{1F6CC}","people_holding_hands":"\u{1F9D1}\u200D\u{1F91D}\u200D\u{1F9D1}","two_women_holding_hands":"\u{1F46D}","couple":"\u{1F46B}","two_men_holding_hands":"\u{1F46C}","couplekiss":"\u{1F48F}","couplekiss_man_woman":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}","couplekiss_man_man":"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}","couplekiss_woman_woman":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F469}","couple_with_heart":"\u{1F491}","couple_with_heart_woman_man":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}","couple_with_heart_man_man":"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F468}","couple_with_heart_woman_woman":"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F469}","family":"\u{1F46A}","family_man_woman_boy":"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}","family_man_woman_girl":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}","family_man_woman_girl_boy":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","family_man_woman_boy_boy":"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","family_man_woman_girl_girl":"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","family_man_man_boy":"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}","family_man_man_girl":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}","family_man_man_girl_boy":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F466}","family_man_man_boy_boy":"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u200D\u{1F466}","family_man_man_girl_girl":"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F467}","family_woman_woman_boy":"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}","family_woman_woman_girl":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}","family_woman_woman_girl_boy":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","family_woman_woman_boy_boy":"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","family_woman_woman_girl_girl":"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","family_man_boy":"\u{1F468}\u200D\u{1F466}","family_man_boy_boy":"\u{1F468}\u200D\u{1F466}\u200D\u{1F466}","family_man_girl":"\u{1F468}\u200D\u{1F467}","family_man_girl_boy":"\u{1F468}\u200D\u{1F467}\u200D\u{1F466}","family_man_girl_girl":"\u{1F468}\u200D\u{1F467}\u200D\u{1F467}","family_woman_boy":"\u{1F469}\u200D\u{1F466}","family_woman_boy_boy":"\u{1F469}\u200D\u{1F466}\u200D\u{1F466}","family_woman_girl":"\u{1F469}\u200D\u{1F467}","family_woman_girl_boy":"\u{1F469}\u200D\u{1F467}\u200D\u{1F466}","family_woman_girl_girl":"\u{1F469}\u200D\u{1F467}\u200D\u{1F467}","speaking_head":"\u{1F5E3}\uFE0F","bust_in_silhouette":"\u{1F464}","busts_in_silhouette":"\u{1F465}","people_hugging":"\u{1FAC2}","footprints":"\u{1F463}","monkey_face":"\u{1F435}","monkey":"\u{1F412}","gorilla":"\u{1F98D}","orangutan":"\u{1F9A7}","dog":"\u{1F436}","dog2":"\u{1F415}","guide_dog":"\u{1F9AE}","service_dog":"\u{1F415}\u200D\u{1F9BA}","poodle":"\u{1F429}","wolf":"\u{1F43A}","fox_face":"\u{1F98A}","raccoon":"\u{1F99D}","cat":"\u{1F431}","cat2":"\u{1F408}","black_cat":"\u{1F408}\u200D\u2B1B","lion":"\u{1F981}","tiger":"\u{1F42F}","tiger2":"\u{1F405}","leopard":"\u{1F406}","horse":"\u{1F434}","racehorse":"\u{1F40E}","unicorn":"\u{1F984}","zebra":"\u{1F993}","deer":"\u{1F98C}","bison":"\u{1F9AC}","cow":"\u{1F42E}","ox":"\u{1F402}","water_buffalo":"\u{1F403}","cow2":"\u{1F404}","pig":"\u{1F437}","pig2":"\u{1F416}","boar":"\u{1F417}","pig_nose":"\u{1F43D}","ram":"\u{1F40F}","sheep":"\u{1F411}","goat":"\u{1F410}","dromedary_camel":"\u{1F42A}","camel":"\u{1F42B}","llama":"\u{1F999}","giraffe":"\u{1F992}","elephant":"\u{1F418}","mammoth":"\u{1F9A3}","rhinoceros":"\u{1F98F}","hippopotamus":"\u{1F99B}","mouse":"\u{1F42D}","mouse2":"\u{1F401}","rat":"\u{1F400}","hamster":"\u{1F439}","rabbit":"\u{1F430}","rabbit2":"\u{1F407}","chipmunk":"\u{1F43F}\uFE0F","beaver":"\u{1F9AB}","hedgehog":"\u{1F994}","bat":"\u{1F987}","bear":"\u{1F43B}","polar_bear":"\u{1F43B}\u200D\u2744\uFE0F","koala":"\u{1F428}","panda_face":"\u{1F43C}","sloth":"\u{1F9A5}","otter":"\u{1F9A6}","skunk":"\u{1F9A8}","kangaroo":"\u{1F998}","badger":"\u{1F9A1}","feet":"\u{1F43E}","paw_prints":"\u{1F43E}","turkey":"\u{1F983}","chicken":"\u{1F414}","rooster":"\u{1F413}","hatching_chick":"\u{1F423}","baby_chick":"\u{1F424}","hatched_chick":"\u{1F425}","bird":"\u{1F426}","penguin":"\u{1F427}","dove":"\u{1F54A}\uFE0F","eagle":"\u{1F985}","duck":"\u{1F986}","swan":"\u{1F9A2}","owl":"\u{1F989}","dodo":"\u{1F9A4}","feather":"\u{1FAB6}","flamingo":"\u{1F9A9}","peacock":"\u{1F99A}","parrot":"\u{1F99C}","frog":"\u{1F438}","crocodile":"\u{1F40A}","turtle":"\u{1F422}","lizard":"\u{1F98E}","snake":"\u{1F40D}","dragon_face":"\u{1F432}","dragon":"\u{1F409}","sauropod":"\u{1F995}","t-rex":"\u{1F996}","whale":"\u{1F433}","whale2":"\u{1F40B}","dolphin":"\u{1F42C}","flipper":"\u{1F42C}","seal":"\u{1F9AD}","fish":"\u{1F41F}","tropical_fish":"\u{1F420}","blowfish":"\u{1F421}","shark":"\u{1F988}","octopus":"\u{1F419}","shell":"\u{1F41A}","snail":"\u{1F40C}","butterfly":"\u{1F98B}","bug":"\u{1F41B}","ant":"\u{1F41C}","bee":"\u{1F41D}","honeybee":"\u{1F41D}","beetle":"\u{1FAB2}","lady_beetle":"\u{1F41E}","cricket":"\u{1F997}","cockroach":"\u{1FAB3}","spider":"\u{1F577}\uFE0F","spider_web":"\u{1F578}\uFE0F","scorpion":"\u{1F982}","mosquito":"\u{1F99F}","fly":"\u{1FAB0}","worm":"\u{1FAB1}","microbe":"\u{1F9A0}","bouquet":"\u{1F490}","cherry_blossom":"\u{1F338}","white_flower":"\u{1F4AE}","rosette":"\u{1F3F5}\uFE0F","rose":"\u{1F339}","wilted_flower":"\u{1F940}","hibiscus":"\u{1F33A}","sunflower":"\u{1F33B}","blossom":"\u{1F33C}","tulip":"\u{1F337}","seedling":"\u{1F331}","potted_plant":"\u{1FAB4}","evergreen_tree":"\u{1F332}","deciduous_tree":"\u{1F333}","palm_tree":"\u{1F334}","cactus":"\u{1F335}","ear_of_rice":"\u{1F33E}","herb":"\u{1F33F}","shamrock":"\u2618\uFE0F","four_leaf_clover":"\u{1F340}","maple_leaf":"\u{1F341}","fallen_leaf":"\u{1F342}","leaves":"\u{1F343}","grapes":"\u{1F347}","melon":"\u{1F348}","watermelon":"\u{1F349}","tangerine":"\u{1F34A}","orange":"\u{1F34A}","mandarin":"\u{1F34A}","lemon":"\u{1F34B}","banana":"\u{1F34C}","pineapple":"\u{1F34D}","mango":"\u{1F96D}","apple":"\u{1F34E}","green_apple":"\u{1F34F}","pear":"\u{1F350}","peach":"\u{1F351}","cherries":"\u{1F352}","strawberry":"\u{1F353}","blueberries":"\u{1FAD0}","kiwi_fruit":"\u{1F95D}","tomato":"\u{1F345}","olive":"\u{1FAD2}","coconut":"\u{1F965}","avocado":"\u{1F951}","eggplant":"\u{1F346}","potato":"\u{1F954}","carrot":"\u{1F955}","corn":"\u{1F33D}","hot_pepper":"\u{1F336}\uFE0F","bell_pepper":"\u{1FAD1}","cucumber":"\u{1F952}","leafy_green":"\u{1F96C}","broccoli":"\u{1F966}","garlic":"\u{1F9C4}","onion":"\u{1F9C5}","mushroom":"\u{1F344}","peanuts":"\u{1F95C}","chestnut":"\u{1F330}","bread":"\u{1F35E}","croissant":"\u{1F950}","baguette_bread":"\u{1F956}","flatbread":"\u{1FAD3}","pretzel":"\u{1F968}","bagel":"\u{1F96F}","pancakes":"\u{1F95E}","waffle":"\u{1F9C7}","cheese":"\u{1F9C0}","meat_on_bone":"\u{1F356}","poultry_leg":"\u{1F357}","cut_of_meat":"\u{1F969}","bacon":"\u{1F953}","hamburger":"\u{1F354}","fries":"\u{1F35F}","pizza":"\u{1F355}","hotdog":"\u{1F32D}","sandwich":"\u{1F96A}","taco":"\u{1F32E}","burrito":"\u{1F32F}","tamale":"\u{1FAD4}","stuffed_flatbread":"\u{1F959}","falafel":"\u{1F9C6}","egg":"\u{1F95A}","fried_egg":"\u{1F373}","shallow_pan_of_food":"\u{1F958}","stew":"\u{1F372}","fondue":"\u{1FAD5}","bowl_with_spoon":"\u{1F963}","green_salad":"\u{1F957}","popcorn":"\u{1F37F}","butter":"\u{1F9C8}","salt":"\u{1F9C2}","canned_food":"\u{1F96B}","bento":"\u{1F371}","rice_cracker":"\u{1F358}","rice_ball":"\u{1F359}","rice":"\u{1F35A}","curry":"\u{1F35B}","ramen":"\u{1F35C}","spaghetti":"\u{1F35D}","sweet_potato":"\u{1F360}","oden":"\u{1F362}","sushi":"\u{1F363}","fried_shrimp":"\u{1F364}","fish_cake":"\u{1F365}","moon_cake":"\u{1F96E}","dango":"\u{1F361}","dumpling":"\u{1F95F}","fortune_cookie":"\u{1F960}","takeout_box":"\u{1F961}","crab":"\u{1F980}","lobster":"\u{1F99E}","shrimp":"\u{1F990}","squid":"\u{1F991}","oyster":"\u{1F9AA}","icecream":"\u{1F366}","shaved_ice":"\u{1F367}","ice_cream":"\u{1F368}","doughnut":"\u{1F369}","cookie":"\u{1F36A}","birthday":"\u{1F382}","cake":"\u{1F370}","cupcake":"\u{1F9C1}","pie":"\u{1F967}","chocolate_bar":"\u{1F36B}","candy":"\u{1F36C}","lollipop":"\u{1F36D}","custard":"\u{1F36E}","honey_pot":"\u{1F36F}","baby_bottle":"\u{1F37C}","milk_glass":"\u{1F95B}","coffee":"\u2615","teapot":"\u{1FAD6}","tea":"\u{1F375}","sake":"\u{1F376}","champagne":"\u{1F37E}","wine_glass":"\u{1F377}","cocktail":"\u{1F378}","tropical_drink":"\u{1F379}","beer":"\u{1F37A}","beers":"\u{1F37B}","clinking_glasses":"\u{1F942}","tumbler_glass":"\u{1F943}","cup_with_straw":"\u{1F964}","bubble_tea":"\u{1F9CB}","beverage_box":"\u{1F9C3}","mate":"\u{1F9C9}","ice_cube":"\u{1F9CA}","chopsticks":"\u{1F962}","plate_with_cutlery":"\u{1F37D}\uFE0F","fork_and_knife":"\u{1F374}","spoon":"\u{1F944}","hocho":"\u{1F52A}","knife":"\u{1F52A}","amphora":"\u{1F3FA}","earth_africa":"\u{1F30D}","earth_americas":"\u{1F30E}","earth_asia":"\u{1F30F}","globe_with_meridians":"\u{1F310}","world_map":"\u{1F5FA}\uFE0F","japan":"\u{1F5FE}","compass":"\u{1F9ED}","mountain_snow":"\u{1F3D4}\uFE0F","mountain":"\u26F0\uFE0F","volcano":"\u{1F30B}","mount_fuji":"\u{1F5FB}","camping":"\u{1F3D5}\uFE0F","beach_umbrella":"\u{1F3D6}\uFE0F","desert":"\u{1F3DC}\uFE0F","desert_island":"\u{1F3DD}\uFE0F","national_park":"\u{1F3DE}\uFE0F","stadium":"\u{1F3DF}\uFE0F","classical_building":"\u{1F3DB}\uFE0F","building_construction":"\u{1F3D7}\uFE0F","bricks":"\u{1F9F1}","rock":"\u{1FAA8}","wood":"\u{1FAB5}","hut":"\u{1F6D6}","houses":"\u{1F3D8}\uFE0F","derelict_house":"\u{1F3DA}\uFE0F","house":"\u{1F3E0}","house_with_garden":"\u{1F3E1}","office":"\u{1F3E2}","post_office":"\u{1F3E3}","european_post_office":"\u{1F3E4}","hospital":"\u{1F3E5}","bank":"\u{1F3E6}","hotel":"\u{1F3E8}","love_hotel":"\u{1F3E9}","convenience_store":"\u{1F3EA}","school":"\u{1F3EB}","department_store":"\u{1F3EC}","factory":"\u{1F3ED}","japanese_castle":"\u{1F3EF}","european_castle":"\u{1F3F0}","wedding":"\u{1F492}","tokyo_tower":"\u{1F5FC}","statue_of_liberty":"\u{1F5FD}","church":"\u26EA","mosque":"\u{1F54C}","hindu_temple":"\u{1F6D5}","synagogue":"\u{1F54D}","shinto_shrine":"\u26E9\uFE0F","kaaba":"\u{1F54B}","fountain":"\u26F2","tent":"\u26FA","foggy":"\u{1F301}","night_with_stars":"\u{1F303}","cityscape":"\u{1F3D9}\uFE0F","sunrise_over_mountains":"\u{1F304}","sunrise":"\u{1F305}","city_sunset":"\u{1F306}","city_sunrise":"\u{1F307}","bridge_at_night":"\u{1F309}","hotsprings":"\u2668\uFE0F","carousel_horse":"\u{1F3A0}","ferris_wheel":"\u{1F3A1}","roller_coaster":"\u{1F3A2}","barber":"\u{1F488}","circus_tent":"\u{1F3AA}","steam_locomotive":"\u{1F682}","railway_car":"\u{1F683}","bullettrain_side":"\u{1F684}","bullettrain_front":"\u{1F685}","train2":"\u{1F686}","metro":"\u{1F687}","light_rail":"\u{1F688}","station":"\u{1F689}","tram":"\u{1F68A}","monorail":"\u{1F69D}","mountain_railway":"\u{1F69E}","train":"\u{1F68B}","bus":"\u{1F68C}","oncoming_bus":"\u{1F68D}","trolleybus":"\u{1F68E}","minibus":"\u{1F690}","ambulance":"\u{1F691}","fire_engine":"\u{1F692}","police_car":"\u{1F693}","oncoming_police_car":"\u{1F694}","taxi":"\u{1F695}","oncoming_taxi":"\u{1F696}","car":"\u{1F697}","red_car":"\u{1F697}","oncoming_automobile":"\u{1F698}","blue_car":"\u{1F699}","pickup_truck":"\u{1F6FB}","truck":"\u{1F69A}","articulated_lorry":"\u{1F69B}","tractor":"\u{1F69C}","racing_car":"\u{1F3CE}\uFE0F","motorcycle":"\u{1F3CD}\uFE0F","motor_scooter":"\u{1F6F5}","manual_wheelchair":"\u{1F9BD}","motorized_wheelchair":"\u{1F9BC}","auto_rickshaw":"\u{1F6FA}","bike":"\u{1F6B2}","kick_scooter":"\u{1F6F4}","skateboard":"\u{1F6F9}","roller_skate":"\u{1F6FC}","busstop":"\u{1F68F}","motorway":"\u{1F6E3}\uFE0F","railway_track":"\u{1F6E4}\uFE0F","oil_drum":"\u{1F6E2}\uFE0F","fuelpump":"\u26FD","rotating_light":"\u{1F6A8}","traffic_light":"\u{1F6A5}","vertical_traffic_light":"\u{1F6A6}","stop_sign":"\u{1F6D1}","construction":"\u{1F6A7}","anchor":"\u2693","boat":"\u26F5","sailboat":"\u26F5","canoe":"\u{1F6F6}","speedboat":"\u{1F6A4}","passenger_ship":"\u{1F6F3}\uFE0F","ferry":"\u26F4\uFE0F","motor_boat":"\u{1F6E5}\uFE0F","ship":"\u{1F6A2}","airplane":"\u2708\uFE0F","small_airplane":"\u{1F6E9}\uFE0F","flight_departure":"\u{1F6EB}","flight_arrival":"\u{1F6EC}","parachute":"\u{1FA82}","seat":"\u{1F4BA}","helicopter":"\u{1F681}","suspension_railway":"\u{1F69F}","mountain_cableway":"\u{1F6A0}","aerial_tramway":"\u{1F6A1}","artificial_satellite":"\u{1F6F0}\uFE0F","rocket":"\u{1F680}","flying_saucer":"\u{1F6F8}","bellhop_bell":"\u{1F6CE}\uFE0F","luggage":"\u{1F9F3}","hourglass":"\u231B","hourglass_flowing_sand":"\u23F3","watch":"\u231A","alarm_clock":"\u23F0","stopwatch":"\u23F1\uFE0F","timer_clock":"\u23F2\uFE0F","mantelpiece_clock":"\u{1F570}\uFE0F","clock12":"\u{1F55B}","clock1230":"\u{1F567}","clock1":"\u{1F550}","clock130":"\u{1F55C}","clock2":"\u{1F551}","clock230":"\u{1F55D}","clock3":"\u{1F552}","clock330":"\u{1F55E}","clock4":"\u{1F553}","clock430":"\u{1F55F}","clock5":"\u{1F554}","clock530":"\u{1F560}","clock6":"\u{1F555}","clock630":"\u{1F561}","clock7":"\u{1F556}","clock730":"\u{1F562}","clock8":"\u{1F557}","clock830":"\u{1F563}","clock9":"\u{1F558}","clock930":"\u{1F564}","clock10":"\u{1F559}","clock1030":"\u{1F565}","clock11":"\u{1F55A}","clock1130":"\u{1F566}","new_moon":"\u{1F311}","waxing_crescent_moon":"\u{1F312}","first_quarter_moon":"\u{1F313}","moon":"\u{1F314}","waxing_gibbous_moon":"\u{1F314}","full_moon":"\u{1F315}","waning_gibbous_moon":"\u{1F316}","last_quarter_moon":"\u{1F317}","waning_crescent_moon":"\u{1F318}","crescent_moon":"\u{1F319}","new_moon_with_face":"\u{1F31A}","first_quarter_moon_with_face":"\u{1F31B}","last_quarter_moon_with_face":"\u{1F31C}","thermometer":"\u{1F321}\uFE0F","sunny":"\u2600\uFE0F","full_moon_with_face":"\u{1F31D}","sun_with_face":"\u{1F31E}","ringed_planet":"\u{1FA90}","star":"\u2B50","star2":"\u{1F31F}","stars":"\u{1F320}","milky_way":"\u{1F30C}","cloud":"\u2601\uFE0F","partly_sunny":"\u26C5","cloud_with_lightning_and_rain":"\u26C8\uFE0F","sun_behind_small_cloud":"\u{1F324}\uFE0F","sun_behind_large_cloud":"\u{1F325}\uFE0F","sun_behind_rain_cloud":"\u{1F326}\uFE0F","cloud_with_rain":"\u{1F327}\uFE0F","cloud_with_snow":"\u{1F328}\uFE0F","cloud_with_lightning":"\u{1F329}\uFE0F","tornado":"\u{1F32A}\uFE0F","fog":"\u{1F32B}\uFE0F","wind_face":"\u{1F32C}\uFE0F","cyclone":"\u{1F300}","rainbow":"\u{1F308}","closed_umbrella":"\u{1F302}","open_umbrella":"\u2602\uFE0F","umbrella":"\u2614","parasol_on_ground":"\u26F1\uFE0F","zap":"\u26A1","snowflake":"\u2744\uFE0F","snowman_with_snow":"\u2603\uFE0F","snowman":"\u26C4","comet":"\u2604\uFE0F","fire":"\u{1F525}","droplet":"\u{1F4A7}","ocean":"\u{1F30A}","jack_o_lantern":"\u{1F383}","christmas_tree":"\u{1F384}","fireworks":"\u{1F386}","sparkler":"\u{1F387}","firecracker":"\u{1F9E8}","sparkles":"\u2728","balloon":"\u{1F388}","tada":"\u{1F389}","confetti_ball":"\u{1F38A}","tanabata_tree":"\u{1F38B}","bamboo":"\u{1F38D}","dolls":"\u{1F38E}","flags":"\u{1F38F}","wind_chime":"\u{1F390}","rice_scene":"\u{1F391}","red_envelope":"\u{1F9E7}","ribbon":"\u{1F380}","gift":"\u{1F381}","reminder_ribbon":"\u{1F397}\uFE0F","tickets":"\u{1F39F}\uFE0F","ticket":"\u{1F3AB}","medal_military":"\u{1F396}\uFE0F","trophy":"\u{1F3C6}","medal_sports":"\u{1F3C5}","1st_place_medal":"\u{1F947}","2nd_place_medal":"\u{1F948}","3rd_place_medal":"\u{1F949}","soccer":"\u26BD","baseball":"\u26BE","softball":"\u{1F94E}","basketball":"\u{1F3C0}","volleyball":"\u{1F3D0}","football":"\u{1F3C8}","rugby_football":"\u{1F3C9}","tennis":"\u{1F3BE}","flying_disc":"\u{1F94F}","bowling":"\u{1F3B3}","cricket_game":"\u{1F3CF}","field_hockey":"\u{1F3D1}","ice_hockey":"\u{1F3D2}","lacrosse":"\u{1F94D}","ping_pong":"\u{1F3D3}","badminton":"\u{1F3F8}","boxing_glove":"\u{1F94A}","martial_arts_uniform":"\u{1F94B}","goal_net":"\u{1F945}","golf":"\u26F3","ice_skate":"\u26F8\uFE0F","fishing_pole_and_fish":"\u{1F3A3}","diving_mask":"\u{1F93F}","running_shirt_with_sash":"\u{1F3BD}","ski":"\u{1F3BF}","sled":"\u{1F6F7}","curling_stone":"\u{1F94C}","dart":"\u{1F3AF}","yo_yo":"\u{1FA80}","kite":"\u{1FA81}","8ball":"\u{1F3B1}","crystal_ball":"\u{1F52E}","magic_wand":"\u{1FA84}","nazar_amulet":"\u{1F9FF}","video_game":"\u{1F3AE}","joystick":"\u{1F579}\uFE0F","slot_machine":"\u{1F3B0}","game_die":"\u{1F3B2}","jigsaw":"\u{1F9E9}","teddy_bear":"\u{1F9F8}","pinata":"\u{1FA85}","nesting_dolls":"\u{1FA86}","spades":"\u2660\uFE0F","hearts":"\u2665\uFE0F","diamonds":"\u2666\uFE0F","clubs":"\u2663\uFE0F","chess_pawn":"\u265F\uFE0F","black_joker":"\u{1F0CF}","mahjong":"\u{1F004}","flower_playing_cards":"\u{1F3B4}","performing_arts":"\u{1F3AD}","framed_picture":"\u{1F5BC}\uFE0F","art":"\u{1F3A8}","thread":"\u{1F9F5}","sewing_needle":"\u{1FAA1}","yarn":"\u{1F9F6}","knot":"\u{1FAA2}","eyeglasses":"\u{1F453}","dark_sunglasses":"\u{1F576}\uFE0F","goggles":"\u{1F97D}","lab_coat":"\u{1F97C}","safety_vest":"\u{1F9BA}","necktie":"\u{1F454}","shirt":"\u{1F455}","tshirt":"\u{1F455}","jeans":"\u{1F456}","scarf":"\u{1F9E3}","gloves":"\u{1F9E4}","coat":"\u{1F9E5}","socks":"\u{1F9E6}","dress":"\u{1F457}","kimono":"\u{1F458}","sari":"\u{1F97B}","one_piece_swimsuit":"\u{1FA71}","swim_brief":"\u{1FA72}","shorts":"\u{1FA73}","bikini":"\u{1F459}","womans_clothes":"\u{1F45A}","purse":"\u{1F45B}","handbag":"\u{1F45C}","pouch":"\u{1F45D}","shopping":"\u{1F6CD}\uFE0F","school_satchel":"\u{1F392}","thong_sandal":"\u{1FA74}","mans_shoe":"\u{1F45E}","shoe":"\u{1F45E}","athletic_shoe":"\u{1F45F}","hiking_boot":"\u{1F97E}","flat_shoe":"\u{1F97F}","high_heel":"\u{1F460}","sandal":"\u{1F461}","ballet_shoes":"\u{1FA70}","boot":"\u{1F462}","crown":"\u{1F451}","womans_hat":"\u{1F452}","tophat":"\u{1F3A9}","mortar_board":"\u{1F393}","billed_cap":"\u{1F9E2}","military_helmet":"\u{1FA96}","rescue_worker_helmet":"\u26D1\uFE0F","prayer_beads":"\u{1F4FF}","lipstick":"\u{1F484}","ring":"\u{1F48D}","gem":"\u{1F48E}","mute":"\u{1F507}","speaker":"\u{1F508}","sound":"\u{1F509}","loud_sound":"\u{1F50A}","loudspeaker":"\u{1F4E2}","mega":"\u{1F4E3}","postal_horn":"\u{1F4EF}","bell":"\u{1F514}","no_bell":"\u{1F515}","musical_score":"\u{1F3BC}","musical_note":"\u{1F3B5}","notes":"\u{1F3B6}","studio_microphone":"\u{1F399}\uFE0F","level_slider":"\u{1F39A}\uFE0F","control_knobs":"\u{1F39B}\uFE0F","microphone":"\u{1F3A4}","headphones":"\u{1F3A7}","radio":"\u{1F4FB}","saxophone":"\u{1F3B7}","accordion":"\u{1FA97}","guitar":"\u{1F3B8}","musical_keyboard":"\u{1F3B9}","trumpet":"\u{1F3BA}","violin":"\u{1F3BB}","banjo":"\u{1FA95}","drum":"\u{1F941}","long_drum":"\u{1FA98}","iphone":"\u{1F4F1}","calling":"\u{1F4F2}","phone":"\u260E\uFE0F","telephone":"\u260E\uFE0F","telephone_receiver":"\u{1F4DE}","pager":"\u{1F4DF}","fax":"\u{1F4E0}","battery":"\u{1F50B}","electric_plug":"\u{1F50C}","computer":"\u{1F4BB}","desktop_computer":"\u{1F5A5}\uFE0F","printer":"\u{1F5A8}\uFE0F","keyboard":"\u2328\uFE0F","computer_mouse":"\u{1F5B1}\uFE0F","trackball":"\u{1F5B2}\uFE0F","minidisc":"\u{1F4BD}","floppy_disk":"\u{1F4BE}","cd":"\u{1F4BF}","dvd":"\u{1F4C0}","abacus":"\u{1F9EE}","movie_camera":"\u{1F3A5}","film_strip":"\u{1F39E}\uFE0F","film_projector":"\u{1F4FD}\uFE0F","clapper":"\u{1F3AC}","tv":"\u{1F4FA}","camera":"\u{1F4F7}","camera_flash":"\u{1F4F8}","video_camera":"\u{1F4F9}","vhs":"\u{1F4FC}","mag":"\u{1F50D}","mag_right":"\u{1F50E}","candle":"\u{1F56F}\uFE0F","bulb":"\u{1F4A1}","flashlight":"\u{1F526}","izakaya_lantern":"\u{1F3EE}","lantern":"\u{1F3EE}","diya_lamp":"\u{1FA94}","notebook_with_decorative_cover":"\u{1F4D4}","closed_book":"\u{1F4D5}","book":"\u{1F4D6}","open_book":"\u{1F4D6}","green_book":"\u{1F4D7}","blue_book":"\u{1F4D8}","orange_book":"\u{1F4D9}","books":"\u{1F4DA}","notebook":"\u{1F4D3}","ledger":"\u{1F4D2}","page_with_curl":"\u{1F4C3}","scroll":"\u{1F4DC}","page_facing_up":"\u{1F4C4}","newspaper":"\u{1F4F0}","newspaper_roll":"\u{1F5DE}\uFE0F","bookmark_tabs":"\u{1F4D1}","bookmark":"\u{1F516}","label":"\u{1F3F7}\uFE0F","moneybag":"\u{1F4B0}","coin":"\u{1FA99}","yen":"\u{1F4B4}","dollar":"\u{1F4B5}","euro":"\u{1F4B6}","pound":"\u{1F4B7}","money_with_wings":"\u{1F4B8}","credit_card":"\u{1F4B3}","receipt":"\u{1F9FE}","chart":"\u{1F4B9}","envelope":"\u2709\uFE0F","email":"\u{1F4E7}","e-mail":"\u{1F4E7}","incoming_envelope":"\u{1F4E8}","envelope_with_arrow":"\u{1F4E9}","outbox_tray":"\u{1F4E4}","inbox_tray":"\u{1F4E5}","package":"\u{1F4E6}","mailbox":"\u{1F4EB}","mailbox_closed":"\u{1F4EA}","mailbox_with_mail":"\u{1F4EC}","mailbox_with_no_mail":"\u{1F4ED}","postbox":"\u{1F4EE}","ballot_box":"\u{1F5F3}\uFE0F","pencil2":"\u270F\uFE0F","black_nib":"\u2712\uFE0F","fountain_pen":"\u{1F58B}\uFE0F","pen":"\u{1F58A}\uFE0F","paintbrush":"\u{1F58C}\uFE0F","crayon":"\u{1F58D}\uFE0F","memo":"\u{1F4DD}","pencil":"\u{1F4DD}","briefcase":"\u{1F4BC}","file_folder":"\u{1F4C1}","open_file_folder":"\u{1F4C2}","card_index_dividers":"\u{1F5C2}\uFE0F","date":"\u{1F4C5}","calendar":"\u{1F4C6}","spiral_notepad":"\u{1F5D2}\uFE0F","spiral_calendar":"\u{1F5D3}\uFE0F","card_index":"\u{1F4C7}","chart_with_upwards_trend":"\u{1F4C8}","chart_with_downwards_trend":"\u{1F4C9}","bar_chart":"\u{1F4CA}","clipboard":"\u{1F4CB}","pushpin":"\u{1F4CC}","round_pushpin":"\u{1F4CD}","paperclip":"\u{1F4CE}","paperclips":"\u{1F587}\uFE0F","straight_ruler":"\u{1F4CF}","triangular_ruler":"\u{1F4D0}","scissors":"\u2702\uFE0F","card_file_box":"\u{1F5C3}\uFE0F","file_cabinet":"\u{1F5C4}\uFE0F","wastebasket":"\u{1F5D1}\uFE0F","lock":"\u{1F512}","unlock":"\u{1F513}","lock_with_ink_pen":"\u{1F50F}","closed_lock_with_key":"\u{1F510}","key":"\u{1F511}","old_key":"\u{1F5DD}\uFE0F","hammer":"\u{1F528}","axe":"\u{1FA93}","pick":"\u26CF\uFE0F","hammer_and_pick":"\u2692\uFE0F","hammer_and_wrench":"\u{1F6E0}\uFE0F","dagger":"\u{1F5E1}\uFE0F","crossed_swords":"\u2694\uFE0F","gun":"\u{1F52B}","boomerang":"\u{1FA83}","bow_and_arrow":"\u{1F3F9}","shield":"\u{1F6E1}\uFE0F","carpentry_saw":"\u{1FA9A}","wrench":"\u{1F527}","screwdriver":"\u{1FA9B}","nut_and_bolt":"\u{1F529}","gear":"\u2699\uFE0F","clamp":"\u{1F5DC}\uFE0F","balance_scale":"\u2696\uFE0F","probing_cane":"\u{1F9AF}","link":"\u{1F517}","chains":"\u26D3\uFE0F","hook":"\u{1FA9D}","toolbox":"\u{1F9F0}","magnet":"\u{1F9F2}","ladder":"\u{1FA9C}","alembic":"\u2697\uFE0F","test_tube":"\u{1F9EA}","petri_dish":"\u{1F9EB}","dna":"\u{1F9EC}","microscope":"\u{1F52C}","telescope":"\u{1F52D}","satellite":"\u{1F4E1}","syringe":"\u{1F489}","drop_of_blood":"\u{1FA78}","pill":"\u{1F48A}","adhesive_bandage":"\u{1FA79}","stethoscope":"\u{1FA7A}","door":"\u{1F6AA}","elevator":"\u{1F6D7}","mirror":"\u{1FA9E}","window":"\u{1FA9F}","bed":"\u{1F6CF}\uFE0F","couch_and_lamp":"\u{1F6CB}\uFE0F","chair":"\u{1FA91}","toilet":"\u{1F6BD}","plunger":"\u{1FAA0}","shower":"\u{1F6BF}","bathtub":"\u{1F6C1}","mouse_trap":"\u{1FAA4}","razor":"\u{1FA92}","lotion_bottle":"\u{1F9F4}","safety_pin":"\u{1F9F7}","broom":"\u{1F9F9}","basket":"\u{1F9FA}","roll_of_paper":"\u{1F9FB}","bucket":"\u{1FAA3}","soap":"\u{1F9FC}","toothbrush":"\u{1FAA5}","sponge":"\u{1F9FD}","fire_extinguisher":"\u{1F9EF}","shopping_cart":"\u{1F6D2}","smoking":"\u{1F6AC}","coffin":"\u26B0\uFE0F","headstone":"\u{1FAA6}","funeral_urn":"\u26B1\uFE0F","moyai":"\u{1F5FF}","placard":"\u{1FAA7}","atm":"\u{1F3E7}","put_litter_in_its_place":"\u{1F6AE}","potable_water":"\u{1F6B0}","wheelchair":"\u267F","mens":"\u{1F6B9}","womens":"\u{1F6BA}","restroom":"\u{1F6BB}","baby_symbol":"\u{1F6BC}","wc":"\u{1F6BE}","passport_control":"\u{1F6C2}","customs":"\u{1F6C3}","baggage_claim":"\u{1F6C4}","left_luggage":"\u{1F6C5}","warning":"\u26A0\uFE0F","children_crossing":"\u{1F6B8}","no_entry":"\u26D4","no_entry_sign":"\u{1F6AB}","no_bicycles":"\u{1F6B3}","no_smoking":"\u{1F6AD}","do_not_litter":"\u{1F6AF}","non-potable_water":"\u{1F6B1}","no_pedestrians":"\u{1F6B7}","no_mobile_phones":"\u{1F4F5}","underage":"\u{1F51E}","radioactive":"\u2622\uFE0F","biohazard":"\u2623\uFE0F","arrow_up":"\u2B06\uFE0F","arrow_upper_right":"\u2197\uFE0F","arrow_right":"\u27A1\uFE0F","arrow_lower_right":"\u2198\uFE0F","arrow_down":"\u2B07\uFE0F","arrow_lower_left":"\u2199\uFE0F","arrow_left":"\u2B05\uFE0F","arrow_upper_left":"\u2196\uFE0F","arrow_up_down":"\u2195\uFE0F","left_right_arrow":"\u2194\uFE0F","leftwards_arrow_with_hook":"\u21A9\uFE0F","arrow_right_hook":"\u21AA\uFE0F","arrow_heading_up":"\u2934\uFE0F","arrow_heading_down":"\u2935\uFE0F","arrows_clockwise":"\u{1F503}","arrows_counterclockwise":"\u{1F504}","back":"\u{1F519}","end":"\u{1F51A}","on":"\u{1F51B}","soon":"\u{1F51C}","top":"\u{1F51D}","place_of_worship":"\u{1F6D0}","atom_symbol":"\u269B\uFE0F","om":"\u{1F549}\uFE0F","star_of_david":"\u2721\uFE0F","wheel_of_dharma":"\u2638\uFE0F","yin_yang":"\u262F\uFE0F","latin_cross":"\u271D\uFE0F","orthodox_cross":"\u2626\uFE0F","star_and_crescent":"\u262A\uFE0F","peace_symbol":"\u262E\uFE0F","menorah":"\u{1F54E}","six_pointed_star":"\u{1F52F}","aries":"\u2648","taurus":"\u2649","gemini":"\u264A","cancer":"\u264B","leo":"\u264C","virgo":"\u264D","libra":"\u264E","scorpius":"\u264F","sagittarius":"\u2650","capricorn":"\u2651","aquarius":"\u2652","pisces":"\u2653","ophiuchus":"\u26CE","twisted_rightwards_arrows":"\u{1F500}","repeat":"\u{1F501}","repeat_one":"\u{1F502}","arrow_forward":"\u25B6\uFE0F","fast_forward":"\u23E9","next_track_button":"\u23ED\uFE0F","play_or_pause_button":"\u23EF\uFE0F","arrow_backward":"\u25C0\uFE0F","rewind":"\u23EA","previous_track_button":"\u23EE\uFE0F","arrow_up_small":"\u{1F53C}","arrow_double_up":"\u23EB","arrow_down_small":"\u{1F53D}","arrow_double_down":"\u23EC","pause_button":"\u23F8\uFE0F","stop_button":"\u23F9\uFE0F","record_button":"\u23FA\uFE0F","eject_button":"\u23CF\uFE0F","cinema":"\u{1F3A6}","low_brightness":"\u{1F505}","high_brightness":"\u{1F506}","signal_strength":"\u{1F4F6}","vibration_mode":"\u{1F4F3}","mobile_phone_off":"\u{1F4F4}","female_sign":"\u2640\uFE0F","male_sign":"\u2642\uFE0F","transgender_symbol":"\u26A7\uFE0F","heavy_multiplication_x":"\u2716\uFE0F","heavy_plus_sign":"\u2795","heavy_minus_sign":"\u2796","heavy_division_sign":"\u2797","infinity":"\u267E\uFE0F","bangbang":"\u203C\uFE0F","interrobang":"\u2049\uFE0F","question":"\u2753","grey_question":"\u2754","grey_exclamation":"\u2755","exclamation":"\u2757","heavy_exclamation_mark":"\u2757","wavy_dash":"\u3030\uFE0F","currency_exchange":"\u{1F4B1}","heavy_dollar_sign":"\u{1F4B2}","medical_symbol":"\u2695\uFE0F","recycle":"\u267B\uFE0F","fleur_de_lis":"\u269C\uFE0F","trident":"\u{1F531}","name_badge":"\u{1F4DB}","beginner":"\u{1F530}","o":"\u2B55","white_check_mark":"\u2705","ballot_box_with_check":"\u2611\uFE0F","heavy_check_mark":"\u2714\uFE0F","x":"\u274C","negative_squared_cross_mark":"\u274E","curly_loop":"\u27B0","loop":"\u27BF","part_alternation_mark":"\u303D\uFE0F","eight_spoked_asterisk":"\u2733\uFE0F","eight_pointed_black_star":"\u2734\uFE0F","sparkle":"\u2747\uFE0F","copyright":"\xA9\uFE0F","registered":"\xAE\uFE0F","tm":"\u2122\uFE0F","hash":"#\uFE0F\u20E3","asterisk":"*\uFE0F\u20E3","zero":"0\uFE0F\u20E3","one":"1\uFE0F\u20E3","two":"2\uFE0F\u20E3","three":"3\uFE0F\u20E3","four":"4\uFE0F\u20E3","five":"5\uFE0F\u20E3","six":"6\uFE0F\u20E3","seven":"7\uFE0F\u20E3","eight":"8\uFE0F\u20E3","nine":"9\uFE0F\u20E3","keycap_ten":"\u{1F51F}","capital_abcd":"\u{1F520}","abcd":"\u{1F521}","symbols":"\u{1F523}","abc":"\u{1F524}","a":"\u{1F170}\uFE0F","ab":"\u{1F18E}","b":"\u{1F171}\uFE0F","cl":"\u{1F191}","cool":"\u{1F192}","free":"\u{1F193}","information_source":"\u2139\uFE0F","id":"\u{1F194}","m":"\u24C2\uFE0F","new":"\u{1F195}","ng":"\u{1F196}","o2":"\u{1F17E}\uFE0F","ok":"\u{1F197}","parking":"\u{1F17F}\uFE0F","sos":"\u{1F198}","up":"\u{1F199}","vs":"\u{1F19A}","koko":"\u{1F201}","sa":"\u{1F202}\uFE0F","ideograph_advantage":"\u{1F250}","accept":"\u{1F251}","congratulations":"\u3297\uFE0F","secret":"\u3299\uFE0F","u6e80":"\u{1F235}","red_circle":"\u{1F534}","orange_circle":"\u{1F7E0}","yellow_circle":"\u{1F7E1}","green_circle":"\u{1F7E2}","large_blue_circle":"\u{1F535}","purple_circle":"\u{1F7E3}","brown_circle":"\u{1F7E4}","black_circle":"\u26AB","white_circle":"\u26AA","red_square":"\u{1F7E5}","orange_square":"\u{1F7E7}","yellow_square":"\u{1F7E8}","green_square":"\u{1F7E9}","blue_square":"\u{1F7E6}","purple_square":"\u{1F7EA}","brown_square":"\u{1F7EB}","black_large_square":"\u2B1B","white_large_square":"\u2B1C","black_medium_square":"\u25FC\uFE0F","white_medium_square":"\u25FB\uFE0F","black_medium_small_square":"\u25FE","white_medium_small_square":"\u25FD","black_small_square":"\u25AA\uFE0F","white_small_square":"\u25AB\uFE0F","large_orange_diamond":"\u{1F536}","large_blue_diamond":"\u{1F537}","small_orange_diamond":"\u{1F538}","small_blue_diamond":"\u{1F539}","small_red_triangle":"\u{1F53A}","small_red_triangle_down":"\u{1F53B}","diamond_shape_with_a_dot_inside":"\u{1F4A0}","radio_button":"\u{1F518}","white_square_button":"\u{1F533}","black_square_button":"\u{1F532}","checkered_flag":"\u{1F3C1}","triangular_flag_on_post":"\u{1F6A9}","crossed_flags":"\u{1F38C}","black_flag":"\u{1F3F4}","white_flag":"\u{1F3F3}\uFE0F","rainbow_flag":"\u{1F3F3}\uFE0F\u200D\u{1F308}","transgender_flag":"\u{1F3F3}\uFE0F\u200D\u26A7\uFE0F","pirate_flag":"\u{1F3F4}\u200D\u2620\uFE0F","ascension_island":"\u{1F1E6}\u{1F1E8}","andorra":"\u{1F1E6}\u{1F1E9}","united_arab_emirates":"\u{1F1E6}\u{1F1EA}","afghanistan":"\u{1F1E6}\u{1F1EB}","antigua_barbuda":"\u{1F1E6}\u{1F1EC}","anguilla":"\u{1F1E6}\u{1F1EE}","albania":"\u{1F1E6}\u{1F1F1}","armenia":"\u{1F1E6}\u{1F1F2}","angola":"\u{1F1E6}\u{1F1F4}","antarctica":"\u{1F1E6}\u{1F1F6}","argentina":"\u{1F1E6}\u{1F1F7}","american_samoa":"\u{1F1E6}\u{1F1F8}","austria":"\u{1F1E6}\u{1F1F9}","australia":"\u{1F1E6}\u{1F1FA}","aruba":"\u{1F1E6}\u{1F1FC}","aland_islands":"\u{1F1E6}\u{1F1FD}","azerbaijan":"\u{1F1E6}\u{1F1FF}","bosnia_herzegovina":"\u{1F1E7}\u{1F1E6}","barbados":"\u{1F1E7}\u{1F1E7}","bangladesh":"\u{1F1E7}\u{1F1E9}","belgium":"\u{1F1E7}\u{1F1EA}","burkina_faso":"\u{1F1E7}\u{1F1EB}","bulgaria":"\u{1F1E7}\u{1F1EC}","bahrain":"\u{1F1E7}\u{1F1ED}","burundi":"\u{1F1E7}\u{1F1EE}","benin":"\u{1F1E7}\u{1F1EF}","st_barthelemy":"\u{1F1E7}\u{1F1F1}","bermuda":"\u{1F1E7}\u{1F1F2}","brunei":"\u{1F1E7}\u{1F1F3}","bolivia":"\u{1F1E7}\u{1F1F4}","caribbean_netherlands":"\u{1F1E7}\u{1F1F6}","brazil":"\u{1F1E7}\u{1F1F7}","bahamas":"\u{1F1E7}\u{1F1F8}","bhutan":"\u{1F1E7}\u{1F1F9}","bouvet_island":"\u{1F1E7}\u{1F1FB}","botswana":"\u{1F1E7}\u{1F1FC}","belarus":"\u{1F1E7}\u{1F1FE}","belize":"\u{1F1E7}\u{1F1FF}","canada":"\u{1F1E8}\u{1F1E6}","cocos_islands":"\u{1F1E8}\u{1F1E8}","congo_kinshasa":"\u{1F1E8}\u{1F1E9}","central_african_republic":"\u{1F1E8}\u{1F1EB}","congo_brazzaville":"\u{1F1E8}\u{1F1EC}","switzerland":"\u{1F1E8}\u{1F1ED}","cote_divoire":"\u{1F1E8}\u{1F1EE}","cook_islands":"\u{1F1E8}\u{1F1F0}","chile":"\u{1F1E8}\u{1F1F1}","cameroon":"\u{1F1E8}\u{1F1F2}","cn":"\u{1F1E8}\u{1F1F3}","colombia":"\u{1F1E8}\u{1F1F4}","clipperton_island":"\u{1F1E8}\u{1F1F5}","costa_rica":"\u{1F1E8}\u{1F1F7}","cuba":"\u{1F1E8}\u{1F1FA}","cape_verde":"\u{1F1E8}\u{1F1FB}","curacao":"\u{1F1E8}\u{1F1FC}","christmas_island":"\u{1F1E8}\u{1F1FD}","cyprus":"\u{1F1E8}\u{1F1FE}","czech_republic":"\u{1F1E8}\u{1F1FF}","de":"\u{1F1E9}\u{1F1EA}","diego_garcia":"\u{1F1E9}\u{1F1EC}","djibouti":"\u{1F1E9}\u{1F1EF}","denmark":"\u{1F1E9}\u{1F1F0}","dominica":"\u{1F1E9}\u{1F1F2}","dominican_republic":"\u{1F1E9}\u{1F1F4}","algeria":"\u{1F1E9}\u{1F1FF}","ceuta_melilla":"\u{1F1EA}\u{1F1E6}","ecuador":"\u{1F1EA}\u{1F1E8}","estonia":"\u{1F1EA}\u{1F1EA}","egypt":"\u{1F1EA}\u{1F1EC}","western_sahara":"\u{1F1EA}\u{1F1ED}","eritrea":"\u{1F1EA}\u{1F1F7}","es":"\u{1F1EA}\u{1F1F8}","ethiopia":"\u{1F1EA}\u{1F1F9}","eu":"\u{1F1EA}\u{1F1FA}","european_union":"\u{1F1EA}\u{1F1FA}","finland":"\u{1F1EB}\u{1F1EE}","fiji":"\u{1F1EB}\u{1F1EF}","falkland_islands":"\u{1F1EB}\u{1F1F0}","micronesia":"\u{1F1EB}\u{1F1F2}","faroe_islands":"\u{1F1EB}\u{1F1F4}","fr":"\u{1F1EB}\u{1F1F7}","gabon":"\u{1F1EC}\u{1F1E6}","gb":"\u{1F1EC}\u{1F1E7}","uk":"\u{1F1EC}\u{1F1E7}","grenada":"\u{1F1EC}\u{1F1E9}","georgia":"\u{1F1EC}\u{1F1EA}","french_guiana":"\u{1F1EC}\u{1F1EB}","guernsey":"\u{1F1EC}\u{1F1EC}","ghana":"\u{1F1EC}\u{1F1ED}","gibraltar":"\u{1F1EC}\u{1F1EE}","greenland":"\u{1F1EC}\u{1F1F1}","gambia":"\u{1F1EC}\u{1F1F2}","guinea":"\u{1F1EC}\u{1F1F3}","guadeloupe":"\u{1F1EC}\u{1F1F5}","equatorial_guinea":"\u{1F1EC}\u{1F1F6}","greece":"\u{1F1EC}\u{1F1F7}","south_georgia_south_sandwich_islands":"\u{1F1EC}\u{1F1F8}","guatemala":"\u{1F1EC}\u{1F1F9}","guam":"\u{1F1EC}\u{1F1FA}","guinea_bissau":"\u{1F1EC}\u{1F1FC}","guyana":"\u{1F1EC}\u{1F1FE}","hong_kong":"\u{1F1ED}\u{1F1F0}","heard_mcdonald_islands":"\u{1F1ED}\u{1F1F2}","honduras":"\u{1F1ED}\u{1F1F3}","croatia":"\u{1F1ED}\u{1F1F7}","haiti":"\u{1F1ED}\u{1F1F9}","hungary":"\u{1F1ED}\u{1F1FA}","canary_islands":"\u{1F1EE}\u{1F1E8}","indonesia":"\u{1F1EE}\u{1F1E9}","ireland":"\u{1F1EE}\u{1F1EA}","israel":"\u{1F1EE}\u{1F1F1}","isle_of_man":"\u{1F1EE}\u{1F1F2}","india":"\u{1F1EE}\u{1F1F3}","british_indian_ocean_territory":"\u{1F1EE}\u{1F1F4}","iraq":"\u{1F1EE}\u{1F1F6}","iran":"\u{1F1EE}\u{1F1F7}","iceland":"\u{1F1EE}\u{1F1F8}","it":"\u{1F1EE}\u{1F1F9}","jersey":"\u{1F1EF}\u{1F1EA}","jamaica":"\u{1F1EF}\u{1F1F2}","jordan":"\u{1F1EF}\u{1F1F4}","jp":"\u{1F1EF}\u{1F1F5}","kenya":"\u{1F1F0}\u{1F1EA}","kyrgyzstan":"\u{1F1F0}\u{1F1EC}","cambodia":"\u{1F1F0}\u{1F1ED}","kiribati":"\u{1F1F0}\u{1F1EE}","comoros":"\u{1F1F0}\u{1F1F2}","st_kitts_nevis":"\u{1F1F0}\u{1F1F3}","north_korea":"\u{1F1F0}\u{1F1F5}","kr":"\u{1F1F0}\u{1F1F7}","kuwait":"\u{1F1F0}\u{1F1FC}","cayman_islands":"\u{1F1F0}\u{1F1FE}","kazakhstan":"\u{1F1F0}\u{1F1FF}","laos":"\u{1F1F1}\u{1F1E6}","lebanon":"\u{1F1F1}\u{1F1E7}","st_lucia":"\u{1F1F1}\u{1F1E8}","liechtenstein":"\u{1F1F1}\u{1F1EE}","sri_lanka":"\u{1F1F1}\u{1F1F0}","liberia":"\u{1F1F1}\u{1F1F7}","lesotho":"\u{1F1F1}\u{1F1F8}","lithuania":"\u{1F1F1}\u{1F1F9}","luxembourg":"\u{1F1F1}\u{1F1FA}","latvia":"\u{1F1F1}\u{1F1FB}","libya":"\u{1F1F1}\u{1F1FE}","morocco":"\u{1F1F2}\u{1F1E6}","monaco":"\u{1F1F2}\u{1F1E8}","moldova":"\u{1F1F2}\u{1F1E9}","montenegro":"\u{1F1F2}\u{1F1EA}","st_martin":"\u{1F1F2}\u{1F1EB}","madagascar":"\u{1F1F2}\u{1F1EC}","marshall_islands":"\u{1F1F2}\u{1F1ED}","macedonia":"\u{1F1F2}\u{1F1F0}","mali":"\u{1F1F2}\u{1F1F1}","myanmar":"\u{1F1F2}\u{1F1F2}","mongolia":"\u{1F1F2}\u{1F1F3}","macau":"\u{1F1F2}\u{1F1F4}","northern_mariana_islands":"\u{1F1F2}\u{1F1F5}","martinique":"\u{1F1F2}\u{1F1F6}","mauritania":"\u{1F1F2}\u{1F1F7}","montserrat":"\u{1F1F2}\u{1F1F8}","malta":"\u{1F1F2}\u{1F1F9}","mauritius":"\u{1F1F2}\u{1F1FA}","maldives":"\u{1F1F2}\u{1F1FB}","malawi":"\u{1F1F2}\u{1F1FC}","mexico":"\u{1F1F2}\u{1F1FD}","malaysia":"\u{1F1F2}\u{1F1FE}","mozambique":"\u{1F1F2}\u{1F1FF}","namibia":"\u{1F1F3}\u{1F1E6}","new_caledonia":"\u{1F1F3}\u{1F1E8}","niger":"\u{1F1F3}\u{1F1EA}","norfolk_island":"\u{1F1F3}\u{1F1EB}","nigeria":"\u{1F1F3}\u{1F1EC}","nicaragua":"\u{1F1F3}\u{1F1EE}","netherlands":"\u{1F1F3}\u{1F1F1}","norway":"\u{1F1F3}\u{1F1F4}","nepal":"\u{1F1F3}\u{1F1F5}","nauru":"\u{1F1F3}\u{1F1F7}","niue":"\u{1F1F3}\u{1F1FA}","new_zealand":"\u{1F1F3}\u{1F1FF}","oman":"\u{1F1F4}\u{1F1F2}","panama":"\u{1F1F5}\u{1F1E6}","peru":"\u{1F1F5}\u{1F1EA}","french_polynesia":"\u{1F1F5}\u{1F1EB}","papua_new_guinea":"\u{1F1F5}\u{1F1EC}","philippines":"\u{1F1F5}\u{1F1ED}","pakistan":"\u{1F1F5}\u{1F1F0}","poland":"\u{1F1F5}\u{1F1F1}","st_pierre_miquelon":"\u{1F1F5}\u{1F1F2}","pitcairn_islands":"\u{1F1F5}\u{1F1F3}","puerto_rico":"\u{1F1F5}\u{1F1F7}","palestinian_territories":"\u{1F1F5}\u{1F1F8}","portugal":"\u{1F1F5}\u{1F1F9}","palau":"\u{1F1F5}\u{1F1FC}","paraguay":"\u{1F1F5}\u{1F1FE}","qatar":"\u{1F1F6}\u{1F1E6}","reunion":"\u{1F1F7}\u{1F1EA}","romania":"\u{1F1F7}\u{1F1F4}","serbia":"\u{1F1F7}\u{1F1F8}","ru":"\u{1F1F7}\u{1F1FA}","rwanda":"\u{1F1F7}\u{1F1FC}","saudi_arabia":"\u{1F1F8}\u{1F1E6}","solomon_islands":"\u{1F1F8}\u{1F1E7}","seychelles":"\u{1F1F8}\u{1F1E8}","sudan":"\u{1F1F8}\u{1F1E9}","sweden":"\u{1F1F8}\u{1F1EA}","singapore":"\u{1F1F8}\u{1F1EC}","st_helena":"\u{1F1F8}\u{1F1ED}","slovenia":"\u{1F1F8}\u{1F1EE}","svalbard_jan_mayen":"\u{1F1F8}\u{1F1EF}","slovakia":"\u{1F1F8}\u{1F1F0}","sierra_leone":"\u{1F1F8}\u{1F1F1}","san_marino":"\u{1F1F8}\u{1F1F2}","senegal":"\u{1F1F8}\u{1F1F3}","somalia":"\u{1F1F8}\u{1F1F4}","suriname":"\u{1F1F8}\u{1F1F7}","south_sudan":"\u{1F1F8}\u{1F1F8}","sao_tome_principe":"\u{1F1F8}\u{1F1F9}","el_salvador":"\u{1F1F8}\u{1F1FB}","sint_maarten":"\u{1F1F8}\u{1F1FD}","syria":"\u{1F1F8}\u{1F1FE}","swaziland":"\u{1F1F8}\u{1F1FF}","tristan_da_cunha":"\u{1F1F9}\u{1F1E6}","turks_caicos_islands":"\u{1F1F9}\u{1F1E8}","chad":"\u{1F1F9}\u{1F1E9}","french_southern_territories":"\u{1F1F9}\u{1F1EB}","togo":"\u{1F1F9}\u{1F1EC}","thailand":"\u{1F1F9}\u{1F1ED}","tajikistan":"\u{1F1F9}\u{1F1EF}","tokelau":"\u{1F1F9}\u{1F1F0}","timor_leste":"\u{1F1F9}\u{1F1F1}","turkmenistan":"\u{1F1F9}\u{1F1F2}","tunisia":"\u{1F1F9}\u{1F1F3}","tonga":"\u{1F1F9}\u{1F1F4}","tr":"\u{1F1F9}\u{1F1F7}","trinidad_tobago":"\u{1F1F9}\u{1F1F9}","tuvalu":"\u{1F1F9}\u{1F1FB}","taiwan":"\u{1F1F9}\u{1F1FC}","tanzania":"\u{1F1F9}\u{1F1FF}","ukraine":"\u{1F1FA}\u{1F1E6}","uganda":"\u{1F1FA}\u{1F1EC}","us_outlying_islands":"\u{1F1FA}\u{1F1F2}","united_nations":"\u{1F1FA}\u{1F1F3}","us":"\u{1F1FA}\u{1F1F8}","uruguay":"\u{1F1FA}\u{1F1FE}","uzbekistan":"\u{1F1FA}\u{1F1FF}","vatican_city":"\u{1F1FB}\u{1F1E6}","st_vincent_grenadines":"\u{1F1FB}\u{1F1E8}","venezuela":"\u{1F1FB}\u{1F1EA}","british_virgin_islands":"\u{1F1FB}\u{1F1EC}","us_virgin_islands":"\u{1F1FB}\u{1F1EE}","vietnam":"\u{1F1FB}\u{1F1F3}","vanuatu":"\u{1F1FB}\u{1F1FA}","wallis_futuna":"\u{1F1FC}\u{1F1EB}","samoa":"\u{1F1FC}\u{1F1F8}","kosovo":"\u{1F1FD}\u{1F1F0}","yemen":"\u{1F1FE}\u{1F1EA}","mayotte":"\u{1F1FE}\u{1F1F9}","south_africa":"\u{1F1FF}\u{1F1E6}","zambia":"\u{1F1FF}\u{1F1F2}","zimbabwe":"\u{1F1FF}\u{1F1FC}","england":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}","scotland":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{E0074}\u{E007F}","wales":"\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}\u{E0073}\u{E007F}"}')},68984:U=>{"use strict";U.exports=JSON.parse('{"Aacute":"\xC1","aacute":"\xE1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223E","acd":"\u223F","acE":"\u223E\u0333","Acirc":"\xC2","acirc":"\xE2","acute":"\xB4","Acy":"\u0410","acy":"\u0430","AElig":"\xC6","aelig":"\xE6","af":"\u2061","Afr":"\u{1D504}","afr":"\u{1D51E}","Agrave":"\xC0","agrave":"\xE0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03B1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2A3F","amp":"&","AMP":"&","andand":"\u2A55","And":"\u2A53","and":"\u2227","andd":"\u2A5C","andslope":"\u2A58","andv":"\u2A5A","ang":"\u2220","ange":"\u29A4","angle":"\u2220","angmsdaa":"\u29A8","angmsdab":"\u29A9","angmsdac":"\u29AA","angmsdad":"\u29AB","angmsdae":"\u29AC","angmsdaf":"\u29AD","angmsdag":"\u29AE","angmsdah":"\u29AF","angmsd":"\u2221","angrt":"\u221F","angrtvb":"\u22BE","angrtvbd":"\u299D","angsph":"\u2222","angst":"\xC5","angzarr":"\u237C","Aogon":"\u0104","aogon":"\u0105","Aopf":"\u{1D538}","aopf":"\u{1D552}","apacir":"\u2A6F","ap":"\u2248","apE":"\u2A70","ape":"\u224A","apid":"\u224B","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224A","Aring":"\xC5","aring":"\xE5","Ascr":"\u{1D49C}","ascr":"\u{1D4B6}","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224D","Atilde":"\xC3","atilde":"\xE3","Auml":"\xC4","auml":"\xE4","awconint":"\u2233","awint":"\u2A11","backcong":"\u224C","backepsilon":"\u03F6","backprime":"\u2035","backsim":"\u223D","backsimeq":"\u22CD","Backslash":"\u2216","Barv":"\u2AE7","barvee":"\u22BD","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23B5","bbrktbrk":"\u23B6","bcong":"\u224C","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201E","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29B0","bepsi":"\u03F6","bernou":"\u212C","Bernoullis":"\u212C","Beta":"\u0392","beta":"\u03B2","beth":"\u2136","between":"\u226C","Bfr":"\u{1D505}","bfr":"\u{1D51F}","bigcap":"\u22C2","bigcirc":"\u25EF","bigcup":"\u22C3","bigodot":"\u2A00","bigoplus":"\u2A01","bigotimes":"\u2A02","bigsqcup":"\u2A06","bigstar":"\u2605","bigtriangledown":"\u25BD","bigtriangleup":"\u25B3","biguplus":"\u2A04","bigvee":"\u22C1","bigwedge":"\u22C0","bkarow":"\u290D","blacklozenge":"\u29EB","blacksquare":"\u25AA","blacktriangle":"\u25B4","blacktriangledown":"\u25BE","blacktriangleleft":"\u25C2","blacktriangleright":"\u25B8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20E5","bnequiv":"\u2261\u20E5","bNot":"\u2AED","bnot":"\u2310","Bopf":"\u{1D539}","bopf":"\u{1D553}","bot":"\u22A5","bottom":"\u22A5","bowtie":"\u22C8","boxbox":"\u29C9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250C","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252C","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229F","boxplus":"\u229E","boxtimes":"\u22A0","boxul":"\u2518","boxuL":"\u255B","boxUl":"\u255C","boxUL":"\u255D","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255A","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253C","boxvH":"\u256A","boxVh":"\u256B","boxVH":"\u256C","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251C","boxvR":"\u255E","boxVr":"\u255F","boxVR":"\u2560","bprime":"\u2035","breve":"\u02D8","Breve":"\u02D8","brvbar":"\xA6","bscr":"\u{1D4B7}","Bscr":"\u212C","bsemi":"\u204F","bsim":"\u223D","bsime":"\u22CD","bsolb":"\u29C5","bsol":"\\\\","bsolhsub":"\u27C8","bull":"\u2022","bullet":"\u2022","bump":"\u224E","bumpE":"\u2AAE","bumpe":"\u224F","Bumpeq":"\u224E","bumpeq":"\u224F","Cacute":"\u0106","cacute":"\u0107","capand":"\u2A44","capbrcup":"\u2A49","capcap":"\u2A4B","cap":"\u2229","Cap":"\u22D2","capcup":"\u2A47","capdot":"\u2A40","CapitalDifferentialD":"\u2145","caps":"\u2229\uFE00","caret":"\u2041","caron":"\u02C7","Cayleys":"\u212D","ccaps":"\u2A4D","Ccaron":"\u010C","ccaron":"\u010D","Ccedil":"\xC7","ccedil":"\xE7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2A4C","ccupssm":"\u2A50","Cdot":"\u010A","cdot":"\u010B","cedil":"\xB8","Cedilla":"\xB8","cemptyv":"\u29B2","cent":"\xA2","centerdot":"\xB7","CenterDot":"\xB7","cfr":"\u{1D520}","Cfr":"\u212D","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03A7","chi":"\u03C7","circ":"\u02C6","circeq":"\u2257","circlearrowleft":"\u21BA","circlearrowright":"\u21BB","circledast":"\u229B","circledcirc":"\u229A","circleddash":"\u229D","CircleDot":"\u2299","circledR":"\xAE","circledS":"\u24C8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25CB","cirE":"\u29C3","cire":"\u2257","cirfnint":"\u2A10","cirmid":"\u2AEF","cirscir":"\u29C2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201D","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2A74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2A6D","Congruent":"\u2261","conint":"\u222E","Conint":"\u222F","ContourIntegral":"\u222E","copf":"\u{1D554}","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xA9","COPY":"\xA9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21B5","cross":"\u2717","Cross":"\u2A2F","Cscr":"\u{1D49E}","cscr":"\u{1D4B8}","csub":"\u2ACF","csube":"\u2AD1","csup":"\u2AD0","csupe":"\u2AD2","ctdot":"\u22EF","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22DE","cuesc":"\u22DF","cularr":"\u21B6","cularrp":"\u293D","cupbrcap":"\u2A48","cupcap":"\u2A46","CupCap":"\u224D","cup":"\u222A","Cup":"\u22D3","cupcup":"\u2A4A","cupdot":"\u228D","cupor":"\u2A45","cups":"\u222A\uFE00","curarr":"\u21B7","curarrm":"\u293C","curlyeqprec":"\u22DE","curlyeqsucc":"\u22DF","curlyvee":"\u22CE","curlywedge":"\u22CF","curren":"\xA4","curvearrowleft":"\u21B6","curvearrowright":"\u21B7","cuvee":"\u22CE","cuwed":"\u22CF","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232D","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21A1","dArr":"\u21D3","dash":"\u2010","Dashv":"\u2AE4","dashv":"\u22A3","dbkarow":"\u290F","dblac":"\u02DD","Dcaron":"\u010E","dcaron":"\u010F","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21CA","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2A77","deg":"\xB0","Del":"\u2207","Delta":"\u0394","delta":"\u03B4","demptyv":"\u29B1","dfisht":"\u297F","Dfr":"\u{1D507}","dfr":"\u{1D521}","dHar":"\u2965","dharl":"\u21C3","dharr":"\u21C2","DiacriticalAcute":"\xB4","DiacriticalDot":"\u02D9","DiacriticalDoubleAcute":"\u02DD","DiacriticalGrave":"`","DiacriticalTilde":"\u02DC","diam":"\u22C4","diamond":"\u22C4","Diamond":"\u22C4","diamondsuit":"\u2666","diams":"\u2666","die":"\xA8","DifferentialD":"\u2146","digamma":"\u03DD","disin":"\u22F2","div":"\xF7","divide":"\xF7","divideontimes":"\u22C7","divonx":"\u22C7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231E","dlcrop":"\u230D","dollar":"$","Dopf":"\u{1D53B}","dopf":"\u{1D555}","Dot":"\xA8","dot":"\u02D9","DotDot":"\u20DC","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22A1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222F","DoubleDot":"\xA8","DoubleDownArrow":"\u21D3","DoubleLeftArrow":"\u21D0","DoubleLeftRightArrow":"\u21D4","DoubleLeftTee":"\u2AE4","DoubleLongLeftArrow":"\u27F8","DoubleLongLeftRightArrow":"\u27FA","DoubleLongRightArrow":"\u27F9","DoubleRightArrow":"\u21D2","DoubleRightTee":"\u22A8","DoubleUpArrow":"\u21D1","DoubleUpDownArrow":"\u21D5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21D3","DownArrowUpArrow":"\u21F5","DownBreve":"\u0311","downdownarrows":"\u21CA","downharpoonleft":"\u21C3","downharpoonright":"\u21C2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295E","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21BD","DownRightTeeVector":"\u295F","DownRightVectorBar":"\u2957","DownRightVector":"\u21C1","DownTeeArrow":"\u21A7","DownTee":"\u22A4","drbkarow":"\u2910","drcorn":"\u231F","drcrop":"\u230C","Dscr":"\u{1D49F}","dscr":"\u{1D4B9}","DScy":"\u0405","dscy":"\u0455","dsol":"\u29F6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22F1","dtri":"\u25BF","dtrif":"\u25BE","duarr":"\u21F5","duhar":"\u296F","dwangle":"\u29A6","DZcy":"\u040F","dzcy":"\u045F","dzigrarr":"\u27FF","Eacute":"\xC9","eacute":"\xE9","easter":"\u2A6E","Ecaron":"\u011A","ecaron":"\u011B","Ecirc":"\xCA","ecirc":"\xEA","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042D","ecy":"\u044D","eDDot":"\u2A77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\u{1D508}","efr":"\u{1D522}","eg":"\u2A9A","Egrave":"\xC8","egrave":"\xE8","egs":"\u2A96","egsdot":"\u2A98","el":"\u2A99","Element":"\u2208","elinters":"\u23E7","ell":"\u2113","els":"\u2A95","elsdot":"\u2A97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25FB","emptyv":"\u2205","EmptyVerySmallSquare":"\u25AB","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014A","eng":"\u014B","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\u{1D53C}","eopf":"\u{1D556}","epar":"\u22D5","eparsl":"\u29E3","eplus":"\u2A71","epsi":"\u03B5","Epsilon":"\u0395","epsilon":"\u03B5","epsiv":"\u03F5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2A96","eqslantless":"\u2A95","Equal":"\u2A75","equals":"=","EqualTilde":"\u2242","equest":"\u225F","Equilibrium":"\u21CC","equiv":"\u2261","equivDD":"\u2A78","eqvparsl":"\u29E5","erarr":"\u2971","erDot":"\u2253","escr":"\u212F","Escr":"\u2130","esdot":"\u2250","Esim":"\u2A73","esim":"\u2242","Eta":"\u0397","eta":"\u03B7","ETH":"\xD0","eth":"\xF0","Euml":"\xCB","euml":"\xEB","euro":"\u20AC","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\uFB03","fflig":"\uFB00","ffllig":"\uFB04","Ffr":"\u{1D509}","ffr":"\u{1D523}","filig":"\uFB01","FilledSmallSquare":"\u25FC","FilledVerySmallSquare":"\u25AA","fjlig":"fj","flat":"\u266D","fllig":"\uFB02","fltns":"\u25B1","fnof":"\u0192","Fopf":"\u{1D53D}","fopf":"\u{1D557}","forall":"\u2200","ForAll":"\u2200","fork":"\u22D4","forkv":"\u2AD9","Fouriertrf":"\u2131","fpartint":"\u2A0D","frac12":"\xBD","frac13":"\u2153","frac14":"\xBC","frac15":"\u2155","frac16":"\u2159","frac18":"\u215B","frac23":"\u2154","frac25":"\u2156","frac34":"\xBE","frac35":"\u2157","frac38":"\u215C","frac45":"\u2158","frac56":"\u215A","frac58":"\u215D","frac78":"\u215E","frasl":"\u2044","frown":"\u2322","fscr":"\u{1D4BB}","Fscr":"\u2131","gacute":"\u01F5","Gamma":"\u0393","gamma":"\u03B3","Gammad":"\u03DC","gammad":"\u03DD","gap":"\u2A86","Gbreve":"\u011E","gbreve":"\u011F","Gcedil":"\u0122","Gcirc":"\u011C","gcirc":"\u011D","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2A8C","gel":"\u22DB","geq":"\u2265","geqq":"\u2267","geqslant":"\u2A7E","gescc":"\u2AA9","ges":"\u2A7E","gesdot":"\u2A80","gesdoto":"\u2A82","gesdotol":"\u2A84","gesl":"\u22DB\uFE00","gesles":"\u2A94","Gfr":"\u{1D50A}","gfr":"\u{1D524}","gg":"\u226B","Gg":"\u22D9","ggg":"\u22D9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2AA5","gl":"\u2277","glE":"\u2A92","glj":"\u2AA4","gnap":"\u2A8A","gnapprox":"\u2A8A","gne":"\u2A88","gnE":"\u2269","gneq":"\u2A88","gneqq":"\u2269","gnsim":"\u22E7","Gopf":"\u{1D53E}","gopf":"\u{1D558}","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22DB","GreaterFullEqual":"\u2267","GreaterGreater":"\u2AA2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2A7E","GreaterTilde":"\u2273","Gscr":"\u{1D4A2}","gscr":"\u210A","gsim":"\u2273","gsime":"\u2A8E","gsiml":"\u2A90","gtcc":"\u2AA7","gtcir":"\u2A7A","gt":">","GT":">","Gt":"\u226B","gtdot":"\u22D7","gtlPar":"\u2995","gtquest":"\u2A7C","gtrapprox":"\u2A86","gtrarr":"\u2978","gtrdot":"\u22D7","gtreqless":"\u22DB","gtreqqless":"\u2A8C","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\uFE00","gvnE":"\u2269\uFE00","Hacek":"\u02C7","hairsp":"\u200A","half":"\xBD","hamilt":"\u210B","HARDcy":"\u042A","hardcy":"\u044A","harrcir":"\u2948","harr":"\u2194","hArr":"\u21D4","harrw":"\u21AD","Hat":"^","hbar":"\u210F","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22B9","hfr":"\u{1D525}","Hfr":"\u210C","HilbertSpace":"\u210B","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21FF","homtht":"\u223B","hookleftarrow":"\u21A9","hookrightarrow":"\u21AA","hopf":"\u{1D559}","Hopf":"\u210D","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\u{1D4BD}","Hscr":"\u210B","hslash":"\u210F","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224E","HumpEqual":"\u224F","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xCD","iacute":"\xED","ic":"\u2063","Icirc":"\xCE","icirc":"\xEE","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xA1","iff":"\u21D4","ifr":"\u{1D526}","Ifr":"\u2111","Igrave":"\xCC","igrave":"\xEC","ii":"\u2148","iiiint":"\u2A0C","iiint":"\u222D","iinfin":"\u29DC","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012A","imacr":"\u012B","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22B7","imped":"\u01B5","Implies":"\u21D2","incare":"\u2105","in":"\u2208","infin":"\u221E","infintie":"\u29DD","inodot":"\u0131","intcal":"\u22BA","int":"\u222B","Int":"\u222C","integers":"\u2124","Integral":"\u222B","intercal":"\u22BA","Intersection":"\u22C2","intlarhk":"\u2A17","intprod":"\u2A3C","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012E","iogon":"\u012F","Iopf":"\u{1D540}","iopf":"\u{1D55A}","Iota":"\u0399","iota":"\u03B9","iprod":"\u2A3C","iquest":"\xBF","iscr":"\u{1D4BE}","Iscr":"\u2110","isin":"\u2208","isindot":"\u22F5","isinE":"\u22F9","isins":"\u22F4","isinsv":"\u22F3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xCF","iuml":"\xEF","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\u{1D50D}","jfr":"\u{1D527}","jmath":"\u0237","Jopf":"\u{1D541}","jopf":"\u{1D55B}","Jscr":"\u{1D4A5}","jscr":"\u{1D4BF}","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039A","kappa":"\u03BA","kappav":"\u03F0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041A","kcy":"\u043A","Kfr":"\u{1D50E}","kfr":"\u{1D528}","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040C","kjcy":"\u045C","Kopf":"\u{1D542}","kopf":"\u{1D55C}","Kscr":"\u{1D4A6}","kscr":"\u{1D4C0}","lAarr":"\u21DA","Lacute":"\u0139","lacute":"\u013A","laemptyv":"\u29B4","lagran":"\u2112","Lambda":"\u039B","lambda":"\u03BB","lang":"\u27E8","Lang":"\u27EA","langd":"\u2991","langle":"\u27E8","lap":"\u2A85","Laplacetrf":"\u2112","laquo":"\xAB","larrb":"\u21E4","larrbfs":"\u291F","larr":"\u2190","Larr":"\u219E","lArr":"\u21D0","larrfs":"\u291D","larrhk":"\u21A9","larrlp":"\u21AB","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21A2","latail":"\u2919","lAtail":"\u291B","lat":"\u2AAB","late":"\u2AAD","lates":"\u2AAD\uFE00","lbarr":"\u290C","lBarr":"\u290E","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298B","lbrksld":"\u298F","lbrkslu":"\u298D","Lcaron":"\u013D","lcaron":"\u013E","Lcedil":"\u013B","lcedil":"\u013C","lceil":"\u2308","lcub":"{","Lcy":"\u041B","lcy":"\u043B","ldca":"\u2936","ldquo":"\u201C","ldquor":"\u201E","ldrdhar":"\u2967","ldrushar":"\u294B","ldsh":"\u21B2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27E8","LeftArrowBar":"\u21E4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21D0","LeftArrowRightArrow":"\u21C6","leftarrowtail":"\u21A2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27E6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21C3","LeftFloor":"\u230A","leftharpoondown":"\u21BD","leftharpoonup":"\u21BC","leftleftarrows":"\u21C7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21D4","leftrightarrows":"\u21C6","leftrightharpoons":"\u21CB","leftrightsquigarrow":"\u21AD","LeftRightVector":"\u294E","LeftTeeArrow":"\u21A4","LeftTee":"\u22A3","LeftTeeVector":"\u295A","leftthreetimes":"\u22CB","LeftTriangleBar":"\u29CF","LeftTriangle":"\u22B2","LeftTriangleEqual":"\u22B4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21BF","LeftVectorBar":"\u2952","LeftVector":"\u21BC","lEg":"\u2A8B","leg":"\u22DA","leq":"\u2264","leqq":"\u2266","leqslant":"\u2A7D","lescc":"\u2AA8","les":"\u2A7D","lesdot":"\u2A7F","lesdoto":"\u2A81","lesdotor":"\u2A83","lesg":"\u22DA\uFE00","lesges":"\u2A93","lessapprox":"\u2A85","lessdot":"\u22D6","lesseqgtr":"\u22DA","lesseqqgtr":"\u2A8B","LessEqualGreater":"\u22DA","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2AA1","lesssim":"\u2272","LessSlantEqual":"\u2A7D","LessTilde":"\u2272","lfisht":"\u297C","lfloor":"\u230A","Lfr":"\u{1D50F}","lfr":"\u{1D529}","lg":"\u2276","lgE":"\u2A91","lHar":"\u2962","lhard":"\u21BD","lharu":"\u21BC","lharul":"\u296A","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21C7","ll":"\u226A","Ll":"\u22D8","llcorner":"\u231E","Lleftarrow":"\u21DA","llhard":"\u296B","lltri":"\u25FA","Lmidot":"\u013F","lmidot":"\u0140","lmoustache":"\u23B0","lmoust":"\u23B0","lnap":"\u2A89","lnapprox":"\u2A89","lne":"\u2A87","lnE":"\u2268","lneq":"\u2A87","lneqq":"\u2268","lnsim":"\u22E6","loang":"\u27EC","loarr":"\u21FD","lobrk":"\u27E6","longleftarrow":"\u27F5","LongLeftArrow":"\u27F5","Longleftarrow":"\u27F8","longleftrightarrow":"\u27F7","LongLeftRightArrow":"\u27F7","Longleftrightarrow":"\u27FA","longmapsto":"\u27FC","longrightarrow":"\u27F6","LongRightArrow":"\u27F6","Longrightarrow":"\u27F9","looparrowleft":"\u21AB","looparrowright":"\u21AC","lopar":"\u2985","Lopf":"\u{1D543}","lopf":"\u{1D55D}","loplus":"\u2A2D","lotimes":"\u2A34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25CA","lozenge":"\u25CA","lozf":"\u29EB","lpar":"(","lparlt":"\u2993","lrarr":"\u21C6","lrcorner":"\u231F","lrhar":"\u21CB","lrhard":"\u296D","lrm":"\u200E","lrtri":"\u22BF","lsaquo":"\u2039","lscr":"\u{1D4C1}","Lscr":"\u2112","lsh":"\u21B0","Lsh":"\u21B0","lsim":"\u2272","lsime":"\u2A8D","lsimg":"\u2A8F","lsqb":"[","lsquo":"\u2018","lsquor":"\u201A","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2AA6","ltcir":"\u2A79","lt":"<","LT":"<","Lt":"\u226A","ltdot":"\u22D6","lthree":"\u22CB","ltimes":"\u22C9","ltlarr":"\u2976","ltquest":"\u2A7B","ltri":"\u25C3","ltrie":"\u22B4","ltrif":"\u25C2","ltrPar":"\u2996","lurdshar":"\u294A","luruhar":"\u2966","lvertneqq":"\u2268\uFE00","lvnE":"\u2268\uFE00","macr":"\xAF","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21A6","mapsto":"\u21A6","mapstodown":"\u21A7","mapstoleft":"\u21A4","mapstoup":"\u21A5","marker":"\u25AE","mcomma":"\u2A29","Mcy":"\u041C","mcy":"\u043C","mdash":"\u2014","mDDot":"\u223A","measuredangle":"\u2221","MediumSpace":"\u205F","Mellintrf":"\u2133","Mfr":"\u{1D510}","mfr":"\u{1D52A}","mho":"\u2127","micro":"\xB5","midast":"*","midcir":"\u2AF0","mid":"\u2223","middot":"\xB7","minusb":"\u229F","minus":"\u2212","minusd":"\u2238","minusdu":"\u2A2A","MinusPlus":"\u2213","mlcp":"\u2ADB","mldr":"\u2026","mnplus":"\u2213","models":"\u22A7","Mopf":"\u{1D544}","mopf":"\u{1D55E}","mp":"\u2213","mscr":"\u{1D4C2}","Mscr":"\u2133","mstpos":"\u223E","Mu":"\u039C","mu":"\u03BC","multimap":"\u22B8","mumap":"\u22B8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20D2","nap":"\u2249","napE":"\u2A70\u0338","napid":"\u224B\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266E","naturals":"\u2115","natur":"\u266E","nbsp":"\xA0","nbump":"\u224E\u0338","nbumpe":"\u224F\u0338","ncap":"\u2A43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2A6D\u0338","ncup":"\u2A42","Ncy":"\u041D","ncy":"\u043D","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21D7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200B","NegativeThickSpace":"\u200B","NegativeThinSpace":"\u200B","NegativeVeryThinSpace":"\u200B","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226B","NestedLessLess":"\u226A","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\u{1D511}","nfr":"\u{1D52B}","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2A7E\u0338","nges":"\u2A7E\u0338","nGg":"\u22D9\u0338","ngsim":"\u2275","nGt":"\u226B\u20D2","ngt":"\u226F","ngtr":"\u226F","nGtv":"\u226B\u0338","nharr":"\u21AE","nhArr":"\u21CE","nhpar":"\u2AF2","ni":"\u220B","nis":"\u22FC","nisd":"\u22FA","niv":"\u220B","NJcy":"\u040A","njcy":"\u045A","nlarr":"\u219A","nlArr":"\u21CD","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219A","nLeftarrow":"\u21CD","nleftrightarrow":"\u21AE","nLeftrightarrow":"\u21CE","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2A7D\u0338","nles":"\u2A7D\u0338","nless":"\u226E","nLl":"\u22D8\u0338","nlsim":"\u2274","nLt":"\u226A\u20D2","nlt":"\u226E","nltri":"\u22EA","nltrie":"\u22EC","nLtv":"\u226A\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xA0","nopf":"\u{1D55F}","Nopf":"\u2115","Not":"\u2AEC","not":"\xAC","NotCongruent":"\u2262","NotCupCap":"\u226D","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226F","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226B\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2A7E\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224E\u0338","NotHumpEqual":"\u224F\u0338","notin":"\u2209","notindot":"\u22F5\u0338","notinE":"\u22F9\u0338","notinva":"\u2209","notinvb":"\u22F7","notinvc":"\u22F6","NotLeftTriangleBar":"\u29CF\u0338","NotLeftTriangle":"\u22EA","NotLeftTriangleEqual":"\u22EC","NotLess":"\u226E","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226A\u0338","NotLessSlantEqual":"\u2A7D\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2AA2\u0338","NotNestedLessLess":"\u2AA1\u0338","notni":"\u220C","notniva":"\u220C","notnivb":"\u22FE","notnivc":"\u22FD","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2AAF\u0338","NotPrecedesSlantEqual":"\u22E0","NotReverseElement":"\u220C","NotRightTriangleBar":"\u29D0\u0338","NotRightTriangle":"\u22EB","NotRightTriangleEqual":"\u22ED","NotSquareSubset":"\u228F\u0338","NotSquareSubsetEqual":"\u22E2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22E3","NotSubset":"\u2282\u20D2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2AB0\u0338","NotSucceedsSlantEqual":"\u22E1","NotSucceedsTilde":"\u227F\u0338","NotSuperset":"\u2283\u20D2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2AFD\u20E5","npart":"\u2202\u0338","npolint":"\u2A14","npr":"\u2280","nprcue":"\u22E0","nprec":"\u2280","npreceq":"\u2AAF\u0338","npre":"\u2AAF\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219B","nrArr":"\u21CF","nrarrw":"\u219D\u0338","nrightarrow":"\u219B","nRightarrow":"\u21CF","nrtri":"\u22EB","nrtrie":"\u22ED","nsc":"\u2281","nsccue":"\u22E1","nsce":"\u2AB0\u0338","Nscr":"\u{1D4A9}","nscr":"\u{1D4C3}","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22E2","nsqsupe":"\u22E3","nsub":"\u2284","nsubE":"\u2AC5\u0338","nsube":"\u2288","nsubset":"\u2282\u20D2","nsubseteq":"\u2288","nsubseteqq":"\u2AC5\u0338","nsucc":"\u2281","nsucceq":"\u2AB0\u0338","nsup":"\u2285","nsupE":"\u2AC6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20D2","nsupseteq":"\u2289","nsupseteqq":"\u2AC6\u0338","ntgl":"\u2279","Ntilde":"\xD1","ntilde":"\xF1","ntlg":"\u2278","ntriangleleft":"\u22EA","ntrianglelefteq":"\u22EC","ntriangleright":"\u22EB","ntrianglerighteq":"\u22ED","Nu":"\u039D","nu":"\u03BD","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224D\u20D2","nvdash":"\u22AC","nvDash":"\u22AD","nVdash":"\u22AE","nVDash":"\u22AF","nvge":"\u2265\u20D2","nvgt":">\u20D2","nvHarr":"\u2904","nvinfin":"\u29DE","nvlArr":"\u2902","nvle":"\u2264\u20D2","nvlt":"<\u20D2","nvltrie":"\u22B4\u20D2","nvrArr":"\u2903","nvrtrie":"\u22B5\u20D2","nvsim":"\u223C\u20D2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21D6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xD3","oacute":"\xF3","oast":"\u229B","Ocirc":"\xD4","ocirc":"\xF4","ocir":"\u229A","Ocy":"\u041E","ocy":"\u043E","odash":"\u229D","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2A38","odot":"\u2299","odsold":"\u29BC","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29BF","Ofr":"\u{1D512}","ofr":"\u{1D52C}","ogon":"\u02DB","Ograve":"\xD2","ograve":"\xF2","ogt":"\u29C1","ohbar":"\u29B5","ohm":"\u03A9","oint":"\u222E","olarr":"\u21BA","olcir":"\u29BE","olcross":"\u29BB","oline":"\u203E","olt":"\u29C0","Omacr":"\u014C","omacr":"\u014D","Omega":"\u03A9","omega":"\u03C9","Omicron":"\u039F","omicron":"\u03BF","omid":"\u29B6","ominus":"\u2296","Oopf":"\u{1D546}","oopf":"\u{1D560}","opar":"\u29B7","OpenCurlyDoubleQuote":"\u201C","OpenCurlyQuote":"\u2018","operp":"\u29B9","oplus":"\u2295","orarr":"\u21BB","Or":"\u2A54","or":"\u2228","ord":"\u2A5D","order":"\u2134","orderof":"\u2134","ordf":"\xAA","ordm":"\xBA","origof":"\u22B6","oror":"\u2A56","orslope":"\u2A57","orv":"\u2A5B","oS":"\u24C8","Oscr":"\u{1D4AA}","oscr":"\u2134","Oslash":"\xD8","oslash":"\xF8","osol":"\u2298","Otilde":"\xD5","otilde":"\xF5","otimesas":"\u2A36","Otimes":"\u2A37","otimes":"\u2297","Ouml":"\xD6","ouml":"\xF6","ovbar":"\u233D","OverBar":"\u203E","OverBrace":"\u23DE","OverBracket":"\u23B4","OverParenthesis":"\u23DC","para":"\xB6","parallel":"\u2225","par":"\u2225","parsim":"\u2AF3","parsl":"\u2AFD","part":"\u2202","PartialD":"\u2202","Pcy":"\u041F","pcy":"\u043F","percnt":"%","period":".","permil":"\u2030","perp":"\u22A5","pertenk":"\u2031","Pfr":"\u{1D513}","pfr":"\u{1D52D}","Phi":"\u03A6","phi":"\u03C6","phiv":"\u03D5","phmmat":"\u2133","phone":"\u260E","Pi":"\u03A0","pi":"\u03C0","pitchfork":"\u22D4","piv":"\u03D6","planck":"\u210F","planckh":"\u210E","plankv":"\u210F","plusacir":"\u2A23","plusb":"\u229E","pluscir":"\u2A22","plus":"+","plusdo":"\u2214","plusdu":"\u2A25","pluse":"\u2A72","PlusMinus":"\xB1","plusmn":"\xB1","plussim":"\u2A26","plustwo":"\u2A27","pm":"\xB1","Poincareplane":"\u210C","pointint":"\u2A15","popf":"\u{1D561}","Popf":"\u2119","pound":"\xA3","prap":"\u2AB7","Pr":"\u2ABB","pr":"\u227A","prcue":"\u227C","precapprox":"\u2AB7","prec":"\u227A","preccurlyeq":"\u227C","Precedes":"\u227A","PrecedesEqual":"\u2AAF","PrecedesSlantEqual":"\u227C","PrecedesTilde":"\u227E","preceq":"\u2AAF","precnapprox":"\u2AB9","precneqq":"\u2AB5","precnsim":"\u22E8","pre":"\u2AAF","prE":"\u2AB3","precsim":"\u227E","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2AB9","prnE":"\u2AB5","prnsim":"\u22E8","prod":"\u220F","Product":"\u220F","profalar":"\u232E","profline":"\u2312","profsurf":"\u2313","prop":"\u221D","Proportional":"\u221D","Proportion":"\u2237","propto":"\u221D","prsim":"\u227E","prurel":"\u22B0","Pscr":"\u{1D4AB}","pscr":"\u{1D4C5}","Psi":"\u03A8","psi":"\u03C8","puncsp":"\u2008","Qfr":"\u{1D514}","qfr":"\u{1D52E}","qint":"\u2A0C","qopf":"\u{1D562}","Qopf":"\u211A","qprime":"\u2057","Qscr":"\u{1D4AC}","qscr":"\u{1D4C6}","quaternions":"\u210D","quatint":"\u2A16","quest":"?","questeq":"\u225F","quot":"\\"","QUOT":"\\"","rAarr":"\u21DB","race":"\u223D\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221A","raemptyv":"\u29B3","rang":"\u27E9","Rang":"\u27EB","rangd":"\u2992","range":"\u29A5","rangle":"\u27E9","raquo":"\xBB","rarrap":"\u2975","rarrb":"\u21E5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21A0","rArr":"\u21D2","rarrfs":"\u291E","rarrhk":"\u21AA","rarrlp":"\u21AC","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21A3","rarrw":"\u219D","ratail":"\u291A","rAtail":"\u291C","ratio":"\u2236","rationals":"\u211A","rbarr":"\u290D","rBarr":"\u290F","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298C","rbrksld":"\u298E","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201D","rdquor":"\u201D","rdsh":"\u21B3","real":"\u211C","realine":"\u211B","realpart":"\u211C","reals":"\u211D","Re":"\u211C","rect":"\u25AD","reg":"\xAE","REG":"\xAE","ReverseElement":"\u220B","ReverseEquilibrium":"\u21CB","ReverseUpEquilibrium":"\u296F","rfisht":"\u297D","rfloor":"\u230B","rfr":"\u{1D52F}","Rfr":"\u211C","rHar":"\u2964","rhard":"\u21C1","rharu":"\u21C0","rharul":"\u296C","Rho":"\u03A1","rho":"\u03C1","rhov":"\u03F1","RightAngleBracket":"\u27E9","RightArrowBar":"\u21E5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21D2","RightArrowLeftArrow":"\u21C4","rightarrowtail":"\u21A3","RightCeiling":"\u2309","RightDoubleBracket":"\u27E7","RightDownTeeVector":"\u295D","RightDownVectorBar":"\u2955","RightDownVector":"\u21C2","RightFloor":"\u230B","rightharpoondown":"\u21C1","rightharpoonup":"\u21C0","rightleftarrows":"\u21C4","rightleftharpoons":"\u21CC","rightrightarrows":"\u21C9","rightsquigarrow":"\u219D","RightTeeArrow":"\u21A6","RightTee":"\u22A2","RightTeeVector":"\u295B","rightthreetimes":"\u22CC","RightTriangleBar":"\u29D0","RightTriangle":"\u22B3","RightTriangleEqual":"\u22B5","RightUpDownVector":"\u294F","RightUpTeeVector":"\u295C","RightUpVectorBar":"\u2954","RightUpVector":"\u21BE","RightVectorBar":"\u2953","RightVector":"\u21C0","ring":"\u02DA","risingdotseq":"\u2253","rlarr":"\u21C4","rlhar":"\u21CC","rlm":"\u200F","rmoustache":"\u23B1","rmoust":"\u23B1","rnmid":"\u2AEE","roang":"\u27ED","roarr":"\u21FE","robrk":"\u27E7","ropar":"\u2986","ropf":"\u{1D563}","Ropf":"\u211D","roplus":"\u2A2E","rotimes":"\u2A35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2A12","rrarr":"\u21C9","Rrightarrow":"\u21DB","rsaquo":"\u203A","rscr":"\u{1D4C7}","Rscr":"\u211B","rsh":"\u21B1","Rsh":"\u21B1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22CC","rtimes":"\u22CA","rtri":"\u25B9","rtrie":"\u22B5","rtrif":"\u25B8","rtriltri":"\u29CE","RuleDelayed":"\u29F4","ruluhar":"\u2968","rx":"\u211E","Sacute":"\u015A","sacute":"\u015B","sbquo":"\u201A","scap":"\u2AB8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2ABC","sc":"\u227B","sccue":"\u227D","sce":"\u2AB0","scE":"\u2AB4","Scedil":"\u015E","scedil":"\u015F","Scirc":"\u015C","scirc":"\u015D","scnap":"\u2ABA","scnE":"\u2AB6","scnsim":"\u22E9","scpolint":"\u2A13","scsim":"\u227F","Scy":"\u0421","scy":"\u0441","sdotb":"\u22A1","sdot":"\u22C5","sdote":"\u2A66","searhk":"\u2925","searr":"\u2198","seArr":"\u21D8","searrow":"\u2198","sect":"\xA7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\u{1D516}","sfr":"\u{1D530}","sfrown":"\u2322","sharp":"\u266F","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xAD","Sigma":"\u03A3","sigma":"\u03C3","sigmaf":"\u03C2","sigmav":"\u03C2","sim":"\u223C","simdot":"\u2A6A","sime":"\u2243","simeq":"\u2243","simg":"\u2A9E","simgE":"\u2AA0","siml":"\u2A9D","simlE":"\u2A9F","simne":"\u2246","simplus":"\u2A24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2A33","smeparsl":"\u29E4","smid":"\u2223","smile":"\u2323","smt":"\u2AAA","smte":"\u2AAC","smtes":"\u2AAC\uFE00","SOFTcy":"\u042C","softcy":"\u044C","solbar":"\u233F","solb":"\u29C4","sol":"/","Sopf":"\u{1D54A}","sopf":"\u{1D564}","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\uFE00","sqcup":"\u2294","sqcups":"\u2294\uFE00","Sqrt":"\u221A","sqsub":"\u228F","sqsube":"\u2291","sqsubset":"\u228F","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25A1","Square":"\u25A1","SquareIntersection":"\u2293","SquareSubset":"\u228F","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25AA","squ":"\u25A1","squf":"\u25AA","srarr":"\u2192","Sscr":"\u{1D4AE}","sscr":"\u{1D4C8}","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22C6","Star":"\u22C6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03F5","straightphi":"\u03D5","strns":"\xAF","sub":"\u2282","Sub":"\u22D0","subdot":"\u2ABD","subE":"\u2AC5","sube":"\u2286","subedot":"\u2AC3","submult":"\u2AC1","subnE":"\u2ACB","subne":"\u228A","subplus":"\u2ABF","subrarr":"\u2979","subset":"\u2282","Subset":"\u22D0","subseteq":"\u2286","subseteqq":"\u2AC5","SubsetEqual":"\u2286","subsetneq":"\u228A","subsetneqq":"\u2ACB","subsim":"\u2AC7","subsub":"\u2AD5","subsup":"\u2AD3","succapprox":"\u2AB8","succ":"\u227B","succcurlyeq":"\u227D","Succeeds":"\u227B","SucceedsEqual":"\u2AB0","SucceedsSlantEqual":"\u227D","SucceedsTilde":"\u227F","succeq":"\u2AB0","succnapprox":"\u2ABA","succneqq":"\u2AB6","succnsim":"\u22E9","succsim":"\u227F","SuchThat":"\u220B","sum":"\u2211","Sum":"\u2211","sung":"\u266A","sup1":"\xB9","sup2":"\xB2","sup3":"\xB3","sup":"\u2283","Sup":"\u22D1","supdot":"\u2ABE","supdsub":"\u2AD8","supE":"\u2AC6","supe":"\u2287","supedot":"\u2AC4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27C9","suphsub":"\u2AD7","suplarr":"\u297B","supmult":"\u2AC2","supnE":"\u2ACC","supne":"\u228B","supplus":"\u2AC0","supset":"\u2283","Supset":"\u22D1","supseteq":"\u2287","supseteqq":"\u2AC6","supsetneq":"\u228B","supsetneqq":"\u2ACC","supsim":"\u2AC8","supsub":"\u2AD4","supsup":"\u2AD6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21D9","swarrow":"\u2199","swnwar":"\u292A","szlig":"\xDF","Tab":"\\t","target":"\u2316","Tau":"\u03A4","tau":"\u03C4","tbrk":"\u23B4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20DB","telrec":"\u2315","Tfr":"\u{1D517}","tfr":"\u{1D531}","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03B8","thetasym":"\u03D1","thetav":"\u03D1","thickapprox":"\u2248","thicksim":"\u223C","ThickSpace":"\u205F\u200A","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223C","THORN":"\xDE","thorn":"\xFE","tilde":"\u02DC","Tilde":"\u223C","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2A31","timesb":"\u22A0","times":"\xD7","timesd":"\u2A30","tint":"\u222D","toea":"\u2928","topbot":"\u2336","topcir":"\u2AF1","top":"\u22A4","Topf":"\u{1D54B}","topf":"\u{1D565}","topfork":"\u2ADA","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25B5","triangledown":"\u25BF","triangleleft":"\u25C3","trianglelefteq":"\u22B4","triangleq":"\u225C","triangleright":"\u25B9","trianglerighteq":"\u22B5","tridot":"\u25EC","trie":"\u225C","triminus":"\u2A3A","TripleDot":"\u20DB","triplus":"\u2A39","trisb":"\u29CD","tritime":"\u2A3B","trpezium":"\u23E2","Tscr":"\u{1D4AF}","tscr":"\u{1D4C9}","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040B","tshcy":"\u045B","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226C","twoheadleftarrow":"\u219E","twoheadrightarrow":"\u21A0","Uacute":"\xDA","uacute":"\xFA","uarr":"\u2191","Uarr":"\u219F","uArr":"\u21D1","Uarrocir":"\u2949","Ubrcy":"\u040E","ubrcy":"\u045E","Ubreve":"\u016C","ubreve":"\u016D","Ucirc":"\xDB","ucirc":"\xFB","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21C5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296E","ufisht":"\u297E","Ufr":"\u{1D518}","ufr":"\u{1D532}","Ugrave":"\xD9","ugrave":"\xF9","uHar":"\u2963","uharl":"\u21BF","uharr":"\u21BE","uhblk":"\u2580","ulcorn":"\u231C","ulcorner":"\u231C","ulcrop":"\u230F","ultri":"\u25F8","Umacr":"\u016A","umacr":"\u016B","uml":"\xA8","UnderBar":"_","UnderBrace":"\u23DF","UnderBracket":"\u23B5","UnderParenthesis":"\u23DD","Union":"\u22C3","UnionPlus":"\u228E","Uogon":"\u0172","uogon":"\u0173","Uopf":"\u{1D54C}","uopf":"\u{1D566}","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21D1","UpArrowDownArrow":"\u21C5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21D5","UpEquilibrium":"\u296E","upharpoonleft":"\u21BF","upharpoonright":"\u21BE","uplus":"\u228E","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03C5","Upsi":"\u03D2","upsih":"\u03D2","Upsilon":"\u03A5","upsilon":"\u03C5","UpTeeArrow":"\u21A5","UpTee":"\u22A5","upuparrows":"\u21C8","urcorn":"\u231D","urcorner":"\u231D","urcrop":"\u230E","Uring":"\u016E","uring":"\u016F","urtri":"\u25F9","Uscr":"\u{1D4B0}","uscr":"\u{1D4CA}","utdot":"\u22F0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25B5","utrif":"\u25B4","uuarr":"\u21C8","Uuml":"\xDC","uuml":"\xFC","uwangle":"\u29A7","vangrt":"\u299C","varepsilon":"\u03F5","varkappa":"\u03F0","varnothing":"\u2205","varphi":"\u03D5","varpi":"\u03D6","varpropto":"\u221D","varr":"\u2195","vArr":"\u21D5","varrho":"\u03F1","varsigma":"\u03C2","varsubsetneq":"\u228A\uFE00","varsubsetneqq":"\u2ACB\uFE00","varsupsetneq":"\u228B\uFE00","varsupsetneqq":"\u2ACC\uFE00","vartheta":"\u03D1","vartriangleleft":"\u22B2","vartriangleright":"\u22B3","vBar":"\u2AE8","Vbar":"\u2AEB","vBarv":"\u2AE9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22A2","vDash":"\u22A8","Vdash":"\u22A9","VDash":"\u22AB","Vdashl":"\u2AE6","veebar":"\u22BB","vee":"\u2228","Vee":"\u22C1","veeeq":"\u225A","vellip":"\u22EE","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200A","Vfr":"\u{1D519}","vfr":"\u{1D533}","vltri":"\u22B2","vnsub":"\u2282\u20D2","vnsup":"\u2283\u20D2","Vopf":"\u{1D54D}","vopf":"\u{1D567}","vprop":"\u221D","vrtri":"\u22B3","Vscr":"\u{1D4B1}","vscr":"\u{1D4CB}","vsubnE":"\u2ACB\uFE00","vsubne":"\u228A\uFE00","vsupnE":"\u2ACC\uFE00","vsupne":"\u228B\uFE00","Vvdash":"\u22AA","vzigzag":"\u299A","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2A5F","wedge":"\u2227","Wedge":"\u22C0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\u{1D51A}","wfr":"\u{1D534}","Wopf":"\u{1D54E}","wopf":"\u{1D568}","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\u{1D4B2}","wscr":"\u{1D4CC}","xcap":"\u22C2","xcirc":"\u25EF","xcup":"\u22C3","xdtri":"\u25BD","Xfr":"\u{1D51B}","xfr":"\u{1D535}","xharr":"\u27F7","xhArr":"\u27FA","Xi":"\u039E","xi":"\u03BE","xlarr":"\u27F5","xlArr":"\u27F8","xmap":"\u27FC","xnis":"\u22FB","xodot":"\u2A00","Xopf":"\u{1D54F}","xopf":"\u{1D569}","xoplus":"\u2A01","xotime":"\u2A02","xrarr":"\u27F6","xrArr":"\u27F9","Xscr":"\u{1D4B3}","xscr":"\u{1D4CD}","xsqcup":"\u2A06","xuplus":"\u2A04","xutri":"\u25B3","xvee":"\u22C1","xwedge":"\u22C0","Yacute":"\xDD","yacute":"\xFD","YAcy":"\u042F","yacy":"\u044F","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042B","ycy":"\u044B","yen":"\xA5","Yfr":"\u{1D51C}","yfr":"\u{1D536}","YIcy":"\u0407","yicy":"\u0457","Yopf":"\u{1D550}","yopf":"\u{1D56A}","Yscr":"\u{1D4B4}","yscr":"\u{1D4CE}","YUcy":"\u042E","yucy":"\u044E","yuml":"\xFF","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017A","Zcaron":"\u017D","zcaron":"\u017E","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017B","zdot":"\u017C","zeetrf":"\u2128","ZeroWidthSpace":"\u200B","Zeta":"\u0396","zeta":"\u03B6","zfr":"\u{1D537}","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21DD","zopf":"\u{1D56B}","Zopf":"\u2124","Zscr":"\u{1D4B5}","zscr":"\u{1D4CF}","zwj":"\u200D","zwnj":"\u200C"}')}},U=>{var C=i=>U(U.s=i),e=C(43720)}]);
